@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* CSS Custom Properties / Theme Variables */
:root {
    --primary-deep: #1e3f20;
    --primary-medium: #2d5a27;
    --primary-light: #4c8c4a;
    --accent-gold: #b45309;
    --accent-gold-light: #d97706;
    --accent-gold-dark: #7c2d12;
    --bg-light: #fafaf9;
    --bg-card: #ffffff;
    --text-dark: #292524;
    --text-muted: #78716c;
    --text-light: #292524;
    --gold-gradient: linear-gradient(135deg, #d97706 0%, #b45309 50%, #7c2d12 100%);
    --emerald-gradient: linear-gradient(135deg, #f4f6f5 0%, #ebefed 100%);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-arabic: 'Amiri', serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 0 10px rgba(180, 83, 9, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Base Styles & Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGold {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(180, 83, 9, 0.15);
        border-color: rgba(180, 83, 9, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(180, 83, 9, 0.35);
        border-color: rgba(217, 119, 6, 0.5);
    }
}

@keyframes floatLantern {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

@keyframes bgPulse {

    0%,
    100% {
        opacity: 0.05;
    }

    50% {
        opacity: 0.08;
    }
}

@keyframes goldShine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Reveal on Scroll styling */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography elements */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Decorative Ornaments & Divider */
.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto;
    width: 100%;
    max-width: 320px;
}

.ornament-line {
    flex-grow: 1;
    height: 1px;
    background: var(--gold-gradient);
}

.ornament-symbol {
    color: var(--accent-gold);
    margin: 0 16px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arabic-bismillah {
    font-family: var(--font-arabic);
    font-size: 1.8rem;
    color: var(--accent-gold);
    text-align: center;
    margin-bottom: 8px;
    direction: rtl;
    letter-spacing: 0;
}

/* Audio Player */
.audio-controller {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(180, 83, 9, 0.3);
    padding: 10px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.audio-controller:hover {
    transform: scale(1.1);
    border-color: var(--accent-gold);
}

.audio-controller svg {
    fill: var(--primary-medium);
    width: 20px;
    height: 20px;
}

/* Lantern decorative overlays */
.lantern-wrapper {
    position: absolute;
    top: 0;
    width: 60px;
    height: 140px;
    z-index: 2;
    animation: floatLantern 4s ease-in-out infinite;
    pointer-events: none;
}

.lantern-wrapper.left {
    left: 4%;
    transform-origin: top center;
}

.lantern-wrapper.right {
    right: 4%;
    transform-origin: top center;
    animation-delay: -2s;
}

.hero {
    position: relative;
    padding: 120px 0 80px;
    background: var(--emerald-gradient);
    color: var(--text-dark);
    text-align: center;
    overflow: hidden;
}

/* Background image of the house with low opacity */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('house.jpeg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.15;
    /* subtle light overlay */
    pointer-events: none;
    z-index: 1;
}

/* Islamic Geometric Background Pattern Overlay on top */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 0l40 40-40 40L0 40z' fill='%23b45309' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 2;
    animation: bgPulse 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 5;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary-deep);
}

.host-names {
    font-size: 2.1rem;
    font-family: var(--font-heading);
    color: var(--primary-medium);
    margin: 20px 0;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 40px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Call to Action Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold-gradient);
    color: #ffffff;
    border: none;
    box-shadow: var(--shadow-sm);
    background-size: 200% auto;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-medium);
    border: 2px solid var(--primary-medium);
}

.btn-secondary:hover {
    background: rgba(45, 90, 39, 0.05);
    border-color: var(--primary-medium);
    transform: translateY(-2px);
}

/* ---------------------------------------------------- */
/* LIVE COUNTDOWN TIMER                                 */
/* ---------------------------------------------------- */
.countdown-box {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(180, 83, 9, 0.2);
    box-shadow: var(--shadow-md);
}

.countdown-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold-dark);
    margin-bottom: 14px;
    font-weight: 600;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fdfbf7;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #f3eedf;
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-deep);
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ---------------------------------------------------- */
/* ABOUT THE EVENT & ISLAMIC QUOTE                      */
/* ---------------------------------------------------- */
.about {
    padding: 90px 0;
    background-color: var(--bg-light);
    position: relative;
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Architectural Arch Frame Effect */
.about-card::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: calc(var(--border-radius) - 4px);
    pointer-events: none;
}

.greeting-text {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-medium);
    margin-bottom: 24px;
}

.about-p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Islamic Quote Styling */
.quote-container {
    background: #f0fdf4;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    margin-top: 40px;
    border: 1px solid #d1fae5;
    position: relative;
    overflow: hidden;
}

.quote-container::before {
    content: '“';
    position: absolute;
    font-size: 10rem;
    color: rgba(45, 90, 39, 0.04);
    top: -30px;
    left: 15px;
    font-family: serif;
    line-height: 1;
}

.arabic-quote {
    font-family: var(--font-arabic);
    font-size: 1.7rem;
    color: var(--primary-deep);
    line-height: 2;
    margin-bottom: 18px;
    direction: rtl;
}

.english-quote {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.quote-author {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    font-weight: 600;
}

/* ---------------------------------------------------- */
/* EVENT DETAILS                                        */
/* ---------------------------------------------------- */
.details-section {
    padding: 90px 0;
    background: #f5f5f4;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.detail-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 78, 59, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-medium);
    transition: var(--transition);
}

.detail-card:hover .detail-icon {
    background: var(--primary-medium);
    color: #ffffff;
}

.detail-card svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.detail-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--primary-deep);
}

.detail-text {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.detail-venue-name {
    font-weight: 700;
    color: var(--primary-medium);
    font-size: 1.1rem;
}

/* ---------------------------------------------------- */
/* MAP SECTION                                          */
/* ---------------------------------------------------- */
.map-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.map-card {
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e4e4e7;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-action {
    text-align: center;
    padding: 14px 0 6px;
}

.map-action .btn {
    padding: 10px 24px;
    font-size: 0.8rem;
}

/* ---------------------------------------------------- */
/* RSVP FORM SECTION                                    */
/* ---------------------------------------------------- */
.rsvp-section {
    padding: 80px 0;
    background: #f4f6f5;
    color: var(--text-dark);
    position: relative;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0l30 30-30 30L0 30z' fill='%232d5a27' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}

.rsvp-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.rsvp-header h2 {
    font-size: 2rem;
    color: var(--primary-deep);
    margin-bottom: 12px;
}

.rsvp-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.rsvp-card {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow-md);
}

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

.rsvp-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--primary-deep);
}

/* Radio Selection Styles */
.attendance-options {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.attendance-option {
    position: relative;
    flex: 1;
    min-width: 150px;
}

.attendance-option input[type="radio"] {
    display: none;
}

.attendance-label {
    display: block;
    text-align: center;
    padding: 12px 16px;
    background: #fafaf9;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.attendance-option input[type="radio"]:checked+.attendance-label {
    background: var(--primary-medium);
    border-color: transparent;
    color: #ffffff;
}

.attendance-option input[type="radio"]:hover+.attendance-label {
    border-color: var(--primary-light);
}

/* Form Input Fields */
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 8px rgba(45, 90, 39, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.rsvp-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Submission success block */
.rsvp-success-message {
    display: none;
    text-align: center;
    padding: 30px 10px;
    animation: fadeInUp 0.6s ease forwards;
}

.success-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

/* ---------------------------------------------------- */
/* CONTACT SECTION                                      */
/* ---------------------------------------------------- */
.contact-section {
    padding: 90px 0;
    background: var(--bg-light);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 12px;
    font-size: 2rem;
    color: var(--primary-deep);
}

.contact-section p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 30px 40px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-medium);
    margin-bottom: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 14px;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-item:hover {
    color: var(--accent-gold-dark);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-gold);
}

/* ---------------------------------------------------- */
/* FOOTER SECTION                                       */
/* ---------------------------------------------------- */
.footer {
    background: #e8ece9;
    color: var(--text-dark);
    padding: 60px 0 40px;
    text-align: center;
    border-top: 3px solid var(--accent-gold);
}

.footer-blessing {
    font-size: 1.1rem;
    color: var(--primary-deep);
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.footer-closing {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold-dark);
    margin-bottom: 30px;
}

.footer-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.footer-detail-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-detail-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.footer-bottom {
    margin-top: 40px;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ---------------------------------------------------- */
/* ADMIN DASHBOARD PAGE                                 */
/* ---------------------------------------------------- */
.admin-body {
    background: #f4f4f5;
    padding: 40px 0;
    font-family: var(--font-body);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-title {
    color: var(--primary-deep);
}

.admin-controls {
    display: flex;
    gap: 15px;
}

.admin-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid var(--primary-medium);
}

.stat-box.highlight {
    border-left-color: var(--accent-gold);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 5px;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e4e4e7;
}

.admin-table th {
    background: var(--primary-deep);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.admin-table tr:hover {
    background: #fafafa;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-yes {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.badge-no {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.btn-danger {
    background: #ef4444;
    color: #ffffff;
    border: none;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-success {
    background: #10b981;
    color: #ffffff;
    border: none;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

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

.empty-state svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    fill: #cbd5e1;
}

/* ---------------------------------------------------- */
/* MEDIA QUERIES FOR RESPONSIVE DESIGN                 */
/* ---------------------------------------------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .host-names {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding: 100px 0 70px;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .host-names {
        font-size: 1.5rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .about-card {
        padding: 35px 20px;
    }

    .quote-container {
        padding: 30px 20px;
    }

    .arabic-quote {
        font-size: 1.5rem;
        line-height: 2;
    }

    .english-quote {
        font-size: 1rem;
    }

    .rsvp-card {
        padding: 25px 20px;
    }

    .footer-details {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .attendance-options {
        flex-direction: column;
        gap: 10px;
    }

    .attendance-option {
        width: 100%;
    }
}

/* ==================================================== */
/* SCRATCH TO OPEN OVERLAY                              */
/* ==================================================== */
#scratchScreen {
    position: fixed;
    inset: 0;
    background: rgba(2, 44, 34, 0.45);
    /* blurred backdrop overlay */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.scratch-card {
    position: relative;
    width: 440px;
    height: 320px;
    max-width: 90%;
    background: #ffffff;
    border-radius: 20px;
    /* curved corner design */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 4px solid #ffffff;
    /* elegant frame look */
}

.scratch-content {
    position: absolute;
    text-align: center;
    pointer-events: none;
    width: 100%;
    padding: 24px;
    z-index: 1;
}

#scratchCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    z-index: 2;
    border-radius: 16px;
    /* curves the inside gold canvas */
}