/* Meetings Page */
.page-meetings {
    padding-bottom: 100px;
}

.page-meetings h2 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Day Tabs */
.day-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 24px;
}

.day-tab {
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-tab:hover {
    background: rgba(255, 255, 255, 0.35);
}

.day-tab.active {
    background: white;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Download Button */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 30px;
    padding: 12px 24px;
    background: white;
    color: #667eea;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-btn:hover {
    background: #fafafa;
    border-color: #667eea;
}

.download-icon {
    font-size: 14px;
}

/* Meetings List */
#meetingsList {
    max-width: 900px;
    margin: 0 auto;
}

/* Meeting Card */
.meeting-card {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 16px;
}

.meeting-company {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    flex: 1;
    line-height: 1.3;
}

.booth-badge {
    background: #f0f4ff;
    color: #5b6eea;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.meeting-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.detail-icon {
    font-size: 12px;
    width: auto;
}

.detail-text {
    white-space: nowrap;
}

.detail-row:first-child .detail-icon {
    color: #9ca3af;
}

.detail-row:last-child .detail-icon {
    color: #ef4444;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    max-width: 900px;
    margin: 20px auto;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    /* Safe area for notched devices */
    padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.nav-item {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    white-space: nowrap;
    text-align: center;
}

.nav-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-subtext {
    font-size: 14px;
    opacity: 0.9;
}

.loading-dots {
    display: inline-block;
}

.loading-dots span {
    animation: blink 1.4s infinite;
    animation-fill-mode: both;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .page-meetings h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .day-tabs {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .day-tab {
        padding: 10px 20px;
        font-size: 13px;
    }

    .download-btn {
        padding: 10px 18px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .meeting-card {
        padding: 14px 16px;
    }

    .meeting-header {
        flex-wrap: wrap;
        gap: 10px;
    }

    .meeting-company {
        font-size: 14px;
    }

    .booth-badge {
        padding: 5px 10px;
        font-size: 11px;
    }

    .detail-row {
        font-size: 12px;
        gap: 6px;
    }

    .nav-item {
        padding: 10px 18px;
        font-size: 13px;
    }

    #meetingsList {
        max-width: 100%;
    }

    .empty-state {
        padding: 40px 16px;
        margin: 16px auto;
    }

    .empty-state p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .page-meetings h2 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .day-tabs {
        gap: 6px;
        margin-bottom: 20px;
    }

    .day-tab {
        padding: 8px 16px;
        font-size: 12px;
    }

    .download-btn {
        padding: 10px 16px;
        font-size: 12px;
        gap: 6px;
        margin-bottom: 20px;
    }

    .download-icon {
        font-size: 12px;
    }

    .meeting-card {
        padding: 12px 14px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .meeting-header {
        gap: 8px;
        margin-bottom: 6px;
    }

    .meeting-company {
        font-size: 13px;
    }

    .booth-badge {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 5px;
    }

    .meeting-details {
        gap: 3px;
    }

    .detail-row {
        font-size: 11px;
        gap: 5px;
    }

    .detail-icon {
        font-size: 10px;
    }

    .nav-item {
        padding: 8px 14px;
        font-size: 12px;
    }

    .bottom-nav {
        padding: 12px 16px;
    }

    .empty-state {
        padding: 32px 14px;
        border-radius: 16px;
    }
}
