/* 
   Project: ThuMoiOnline - Mobile Meeting Invitation
   Author: Antigravity AI
   Design Theme: Premium Royal Violet & Rose Gold
*/

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #5850ec;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --accent-gradient: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --bg-dark: #0f172a;
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-premium: 0 10px 30px -10px rgba(79, 70, 229, 0.15);
    --shadow-intense: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    --radius-lg: 20px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* App Shell - Constrains desktop, perfect for mobile */
.app-container {
    width: 100%;
    max-width: 480px;
    height: 100vh;
    min-height: 568px;
    background: #ffffff;
    box-shadow: var(--shadow-intense);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 481px) {
    .app-container {
        height: 850px;
        border-radius: 30px;
        border: 8px solid #1e293b;
    }
}

/* Screen Transitions (SPA Setup) */
.screen-flow {
    flex: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    pointer-events: none;
}

.screen.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.screen.previous {
    transform: translateX(-30%);
    opacity: 0.5;
}

/* Typography elements */
h1, h2, h3, .title-font {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 700;
}

.screen-title {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-align: center;
}

.screen-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.4;
}

/* Custom Scrollbar for premium vibe */
.screen::-webkit-scrollbar {
    width: 4px;
}
.screen::-webkit-scrollbar-track {
    background: transparent;
}
.screen::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 4px;
}

/* SCREEN 1: Home / Greeting Cover */
#screen-welcome {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15) 0%, rgba(255, 255, 255, 0) 60%),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.15) 0%, rgba(255, 255, 255, 0) 60%),
                #ffffff;
    justify-content: space-between;
}

.welcome-header {
    text-align: center;
    margin-top: 20px;
}

.welcome-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.welcome-logo-img {
    height: 76px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.school-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 30px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.welcome-title {
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Invitation Card Mockup */
.invite-envelope {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 20px 0;
    box-shadow: var(--shadow-premium);
    position: relative;
    overflow: hidden;
}

.invite-envelope::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary-gradient);
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.event-detail-item:last-child {
    margin-bottom: 0;
}

.event-icon {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.event-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.event-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Premium Buttons */
.btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
    align-self: flex-start;
    margin-bottom: 16px;
}

.btn-secondary:active {
    color: var(--primary-color);
}

/* Premium Event Info Card Component */
.event-info-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(244, 63, 94, 0.03) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    gap: 12px;
    box-shadow: 0 4px 20px -5px rgba(99, 102, 241, 0.08);
}

.event-info-cell {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-info-icon {
    width: 36px;
    height: 36px;
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    border-radius: 10px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.1);
}

.event-info-content {
    display: flex;
    flex-direction: column;
}

.event-info-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.event-info-value {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
}

.event-info-divider {
    width: 1px;
    height: 36px;
    background: rgba(99, 102, 241, 0.15);
    align-self: center;
}

/* Confirmed Log Section */
.confirmed-log-section {
    margin-top: 32px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 20px;
    text-align: left;
}

.confirmed-log-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.confirmed-log-title::before {
    content: "✨";
}

.confirmed-log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom mini scrollbar for confirmed log list */
.confirmed-log-list::-webkit-scrollbar {
    width: 3px;
}
.confirmed-log-list::-webkit-scrollbar-track {
    background: transparent;
}
.confirmed-log-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

.confirmed-log-item {
    font-size: 0.82rem;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.confirmed-log-item.status-yes {
    border-left: 3px solid #10b981;
}

.confirmed-log-item.status-no {
    border-left: 3px solid #ef4444;
}

.confirmed-log-name {
    font-weight: 600;
    color: #1e293b;
}

.confirmed-log-student {
    color: #64748b;
    font-size: 0.76rem;
    display: block;
    margin-top: 2px;
    font-weight: normal;
}

.confirmed-log-status {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.confirmed-log-status.status-yes {
    color: #10b981;
}

.confirmed-log-status.status-no {
    color: #ef4444;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* SCREEN 2: Chọn lớp */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px 0;
}

.class-card {
    background: white;
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 14px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.class-card:hover {
    border-color: rgba(99, 102, 241, 0.6);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.08);
}

.class-card:active {
    transform: scale(0.96);
    background: rgba(99, 102, 241, 0.04);
}

.class-card .class-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.class-card:active .class-icon {
    background: var(--primary-gradient);
    color: white;
}

.class-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* SCREEN 3: Chọn học sinh */
.search-container {
    position: sticky;
    top: -24px;
    background: #ffffff;
    padding: 10px 0 16px 0;
    z-index: 10;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}

.search-input:focus {
    background: white;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.student-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding-bottom: 24px;
}

.student-card {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.student-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.student-card:active {
    transform: scale(0.98);
}

/* Card states for confirmed student registrations */
.student-card.confirmed-yes {
    background: #f0fdf4;
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.03);
}

.student-card.confirmed-yes:hover {
    border-color: #059669;
    background: #f0fdf4;
}

.student-card.confirmed-yes:active {
    background: #e6fced;
}

.student-card.confirmed-no {
    background: #fef2f2;
    border-color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.03);
}

.student-card.confirmed-no:hover {
    border-color: #dc2626;
    background: #fef2f2;
}

.student-card.confirmed-no:active {
    background: #fde8e8;
}

/* Status Badges */
.status-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-left: 12px;
    flex-shrink: 0;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-sizing: border-box;
}

.status-badge.pending {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.status-badge.confirmed-yes {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.status-badge.confirmed-no {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

.student-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 14px;
    flex-shrink: 0;
}

.student-card.female .student-avatar {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.student-card.male .student-avatar {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.student-info {
    flex: 1;
}

.student-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.student-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.student-select-chevron {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.student-card:active .student-select-chevron {
    color: #4f46e5;
    transform: translateX(4px);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

/* SCREEN 4: Xác nhận tham gia */
.confirmation-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: var(--text-secondary);
}

.info-value {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s;
}

.form-input:focus {
    border-color: #6366f1;
}

.form-textarea {
    resize: none;
    min-height: 90px;
}

/* SCREEN 5: Giấy mời điện tử (Ticket VIP) */
.ticket-wrapper {
    margin: 10px 0 24px 0;
    perspective: 1000px;
}

.ticket {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.ticket-header {
    background: var(--primary-gradient);
    color: white;
    padding: 24px 20px;
    text-align: center;
    position: relative;
}

.ticket-header h2 {
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ticket-header p {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Side cutouts to simulate classic event ticket */
.ticket-divider {
    height: 1px;
    border-top: 2px dashed #e2e8f0;
    position: relative;
    margin: 12px 14px;
}

.ticket-divider::before, 
.ticket-divider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #f5f7fa; /* Matches page background gradient area */
    border-radius: 50%;
    top: -10px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.ticket-divider::before {
    left: -25px;
}

.ticket-divider::after {
    right: -25px;
}

.ticket-body {
    padding: 12px 24px 24px 24px;
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.ticket-info-block h5 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.ticket-info-block p {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-info-block.full-row {
    grid-column: span 2;
}

/* Real-looking barcode made purely in CSS columns */
.ticket-barcode {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 10px;
}

.barcode-lines {
    height: 50px;
    display: flex;
    gap: 1px;
    align-items: flex-end;
}

.barcode-lines span {
    display: inline-block;
    width: 2px;
    height: 100%;
    background: #1e293b;
}

.barcode-lines span:nth-child(even) { width: 1px; }
.barcode-lines span:nth-child(3n) { width: 3px; }
.barcode-lines span:nth-child(5n) { width: 4px; }
.barcode-lines span:nth-child(2) { height: 90%; }
.barcode-lines span:nth-child(10) { height: 90%; }
.barcode-lines span:nth-child(20) { height: 90%; }

.barcode-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: bold;
}

/* Glassmorphic Stamp "ĐÃ XÁC NHẬN" (CONFIRMED Stamp) */
.confirmed-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-12deg);
    border: 4px solid #10b981;
    color: #10b981;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.15;
    pointer-events: none;
    user-select: none;
}

/* Spinner / Loading Overlays */
.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(99, 102, 241, 0.1);
    border-top: 4px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* STREAMLINED RSVP TOUCH BUTTON CARDS */
.rsvp-cards-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.rsvp-touch-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.rsvp-touch-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05);
}

.rsvp-touch-card:active {
    transform: translateY(0) scale(0.98);
}

.rsvp-card-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.rsvp-card-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color 0.2s;
}

/* Enabled state for "Tôi Tham Gia" button */
#btn-rsvp-yes.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.04);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}
#btn-rsvp-yes.active .rsvp-card-label {
    color: #065f46;
}

/* Enabled state for "Tôi Vắng Họp" button */
#btn-rsvp-no.active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.04);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}
#btn-rsvp-no.active .rsvp-card-label {
    color: #991b1b;
}

/* Meeting Agenda Component styles */
.agenda-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(244, 245, 246, 0.9) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    margin-top: 24px;
    margin-bottom: 28px;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out;
}

.agenda-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4f46e5, #818cf8);
}

.agenda-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1.5px solid rgba(99, 102, 241, 0.12);
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.agenda-title-icon {
    font-size: 1.25rem;
}

.agenda-title-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #312e81;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.agenda-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.agenda-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #334155;
    font-weight: 500;
}

.agenda-item-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.25);
    margin-top: 1px;
}

.agenda-item-content {
    flex: 1;
    font-family: 'Be Vietnam Pro', sans-serif;
}

/* Phased Welcome Step Containers and Animation Transitions */
#invitation-details-container,
#class-selection-container {
    animation: welcomeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes welcomeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
