/* Mobile-First Webapp Styles - Brücke-Krücke Color Scheme */
/* Import shared design tokens */
@import url('../../shared/css/variables.css');

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

.webapp-body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bk-light-gray);
    color: var(--bk-dark-gray);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.webapp-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100vw;
}

/* Header Styles */
.webapp-header {
    background: linear-gradient(135deg, var(--bk-primary-orange) 0%, var(--bk-coral) 100%);
    color: var(--bk-white);
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(46, 76, 109, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.event-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 1rem;
}

.access-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Main Content */
.webapp-content {
    flex: 1;
    padding-bottom: 80px; /* Space for bottom navigation */
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.page-content {
    padding: 1rem;
}

.page-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.page-header h2 {
    margin: 0 0 0.5rem 0;
    color: var(--bk-deep-blue);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-header p {
    margin: 0;
    color: var(--bk-text-gray);
    font-size: 0.95rem;
}

/* Flash Messages */
.flash-message {
    margin: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flash-message.flash-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flash-message.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-message.flash-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Card Components */
.welcome-section,
.event-info-card,
.user-info-card,
.announcement-card,
.accommodation-card,
.assignment-card,
.poll-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.welcome-section h2,
.event-info-card h3,
.user-info-card h3 {
    margin: 0 0 1rem 0;
    color: var(--bk-deep-blue);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.welcome-section p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

/* Info Grid */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-label {
    font-weight: 600;
    min-width: 120px;
    color: #555;
    font-size: 0.9rem;
}

.info-value {
    color: #333;
    flex: 1;
    font-size: 0.9rem;
}

.event-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.event-description h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.event-description p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Quick Navigation */
.quick-navigation {
    margin: 1.5rem 0;
}

.quick-navigation h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.quick-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    text-decoration: none;
    color: #333;
}

.quick-nav-item .nav-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bk-primary-orange), var(--bk-coral));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.quick-nav-item .nav-icon i {
    font-size: 1.5rem;
    color: white;
}

.quick-nav-item .nav-text {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.quick-nav-item small {
    color: #666;
    font-size: 0.8rem;
    text-align: center;
}

/* Status Badge */
.status-confirmed {
    background-color: #d4edda;
    color: #155724;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Announcements */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement-header {
    margin-bottom: 1rem;
}

.announcement-title {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #666;
    align-items: center;
}

.announcement-author {
    font-weight: 500;
}

.announcement-updated {
    font-style: italic;
}

.announcement-content {
    line-height: 1.6;
}

.announcement-text {
    margin-bottom: 1rem;
    color: #333;
}

.announcement-image {
    margin: 1rem 0;
    text-align: center;
}

.announcement-image-display {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.announcement-image-display:hover {
    transform: scale(1.02);
}

.announcement-file {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.file-download-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-download-link:hover {
    color: #c82333;
    text-decoration: underline;
}

/* Accommodations */
.accommodations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accommodation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.accommodation-name {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    flex: 1;
}

.accommodation-capacity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: var(--bk-pink);
    color: var(--bk-white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.accommodation-description {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.6;
}

.accommodation-details {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--bk-primary-orange);
    width: 1.2rem;
    text-align: center;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.accommodation-contacts {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.accommodation-contacts h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0066cc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.contact-link:hover {
    background-color: #e3f2fd;
    text-decoration: none;
    color: #0066cc;
}

.accommodation-rooms {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.accommodation-rooms h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.room-item {
    padding: 0.75rem;
    background: var(--bk-white);
    border-radius: 6px;
    border-left: 3px solid var(--bk-coral);
}

.room-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.room-number {
    font-weight: 600;
    color: #17a2b8;
}

.room-name {
    color: #666;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.accommodation-image {
    margin: 1rem 0;
    text-align: center;
}

.accommodation-image-display {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.accommodation-image-display:hover {
    transform: scale(1.02);
}

/* Room Assignment */
.user-room-assignment {
    margin-bottom: 2rem;
}

.assignment-card {
    border-left: 4px solid var(--bk-primary-orange);
    background: linear-gradient(135deg, rgba(255, 110, 49, 0.05) 0%, rgba(255, 110, 49, 0.02) 100%);
}

.assignment-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 110, 49, 0.2);
}

.assignment-header h3 {
    margin: 0;
    color: var(--bk-deep-blue);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.assignment-header h3 i {
    color: var(--bk-primary-orange);
}

.room-number-display {
    background: var(--bk-primary-orange);
    color: var(--bk-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
}

.assignment-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.detail-label {
    font-weight: 600;
    color: var(--bk-deep-blue);
    min-width: 100px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.detail-value {
    flex: 1;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Roommates section styling */
.roommates-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--bk-border-gray);
}

.roommates-section h4 {
    color: var(--bk-deep-blue);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.roommates-section h4 i {
    color: var(--bk-primary-orange);
}

.roommates-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roommate-item {
    background: var(--bk-white);
    border: 1px solid var(--bk-border-gray);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.2s ease;
}

.roommate-item:hover {
    border-color: var(--bk-primary-orange);
    box-shadow: 0 2px 8px rgba(255, 110, 49, 0.1);
}

.roommate-name {
    color: var(--bk-dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Accommodation Slider */
.accommodation-navigation {
    margin-bottom: 1rem;
    text-align: center;
}

.nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bk-border-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--bk-primary-orange);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: var(--bk-soft-orange);
}

.accommodations-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    width: 100%;
    max-width: 100vw;
    touch-action: manipulation;
    align-items: flex-start; /* Prevent items from stretching to match tallest item */
    transition: height 0.3s ease; /* Smooth height transitions */
}

.accommodations-slider::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.accommodation-page {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
    min-width: 0; /* Allow shrinking */
    box-sizing: border-box;
}

/* Ensure content within each page doesn't overflow */
.accommodation-page > * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure existing accommodation styles work within the slider */
.accommodation-page .accommodation-card {
    margin-bottom: 1rem;
    width: 100%;
    max-width: none;
}

.accommodation-page .user-room-assignment {
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: none;
}

/* Override any fixed widths that might cause overflow */
.page-content {
    overflow-x: hidden;
}

.accommodations-slider .accommodation-card,
.accommodations-slider .user-room-assignment,
.accommodations-slider .assignment-card {
    max-width: 100%;
    overflow: hidden;
}

/* Polls */
.polls-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.poll-header {
    margin-bottom: 1rem;
}

.poll-question {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.poll-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #666;
    align-items: center;
}

.poll-author {
    font-weight: 500;
}

.poll-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.poll-status--open {
    background-color: #d4edda;
    color: #155724;
}

.poll-status--closed {
    background-color: #f8d7da;
    color: #721c24;
}

.poll-voted {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.poll-closing-time {
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.poll-vote-form {
    margin-bottom: 1rem;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.poll-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.poll-option:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.poll-option--selected {
    background: #e8f5e8;
    border-color: #20c997;
}

.poll-input {
    width: 20px;
    height: 20px;
    accent-color: #20c997;
    cursor: pointer;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.poll-option-text {
    flex: 1;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    line-height: 1.4;
}

.poll-option-checkmark {
    display: none;
    color: #20c997;
    font-size: 1.2rem;
}

.poll-option--selected .poll-option-checkmark {
    display: block;
}

.poll-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bk-primary-orange), var(--bk-soft-orange));
    color: var(--bk-white);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--bk-soft-orange), var(--bk-primary-orange));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 110, 49, 0.3);
}

.btn-secondary {
    background: var(--bk-deep-blue);
    color: var(--bk-white);
    border: none;
}

.btn-secondary:hover {
    background: var(--bk-dark-gray);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 76, 109, 0.3);
}

.poll-guest-notice {
    padding: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.poll-guest-notice i {
    color: #856404;
    font-size: 1.5rem;
}

.poll-guest-notice p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.poll-results {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.poll-results h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.poll-result-item {
    margin-bottom: 1rem;
}

.poll-result-text {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.poll-result-bar-container {
    height: 32px;
    background-color: #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
}

.poll-result-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--bk-primary-orange), var(--bk-coral));
    color: var(--bk-white);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 16px;
    transition: width 1s ease-in-out;
    min-width: 0;
}

.poll-result-counts {
    font-size: 0.85rem;
    color: #666;
}

.poll-results-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #666;
}

.poll-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.poll-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.poll-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.empty-icon {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
}

.empty-state p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Image Overlay */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.enlarged-image {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    min-width: 0;
    flex: 1;
    max-width: 120px;
}

.nav-item:hover {
    text-decoration: none;
    color: var(--bk-primary-orange);
    background-color: rgba(255, 110, 49, 0.1);
}

.nav-item.active {
    color: var(--bk-primary-orange);
    background-color: rgba(255, 110, 49, 0.1);
}

.nav-item .nav-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.nav-item .nav-icon i {
    font-size: 1.25rem;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #666;
}

.error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #721c24;
    background-color: #f8d7da;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
}

/* PWA Installation Card Styles */
.pwa-install-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: relative;
    animation: slideInUp 0.3s ease-out;
}

.pwa-install-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pwa-install-icon {
    font-size: 1.5rem;
    color: var(--bk-primary-orange);
    margin-top: 0.25rem;
}

.pwa-install-text {
    flex: 1;
}

.pwa-install-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--bk-deep-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

.pwa-install-text p {
    margin: 0 0 1rem 0;
    color: var(--bk-text-gray);
    font-size: 0.9rem;
    line-height: 1.4;
}

.pwa-install-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-install {
    background: var(--bk-primary-orange);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-install:hover {
    background: var(--bk-coral);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 110, 49, 0.3);
}

.btn-install:active {
    transform: translateY(0);
}

.btn-close {
    background: none;
    color: var(--bk-text-gray);
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.btn-close:hover {
    background: var(--bk-border-gray);
    color: var(--bk-dark-gray);
}

.ios-instructions,
.android-instructions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bk-border-gray);
}

.ios-instructions h4,
.android-instructions h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--bk-deep-blue);
}

.ios-instructions ol,
.android-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--bk-text-gray);
}

.ios-instructions li,
.android-instructions li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.ios-instructions i,
.android-instructions i {
    background: var(--bk-light-gray);
    color: var(--bk-primary-orange);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin: 0 0.25rem;
    font-size: 0.8rem;
}

/* PWA Installation Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive PWA Card */
@media (max-width: 768px) {
    .pwa-install-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .pwa-install-icon {
        align-self: center;
        font-size: 2rem;
    }
    
    .pwa-install-text {
        text-align: center;
    }
    
    .pwa-install-actions {
        justify-content: center;
        width: 100%;
    }
    
    .btn-install {
        flex: 1;
        justify-content: center;
    }
    
    .btn-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .pwa-install-card {
        margin: 1rem 0;
    }
    
    .pwa-install-content {
        gap: 0.75rem;
    }
    
    .btn-install {
        width: 100%;
    }
}