/* Kalparuksha Amber-Gold Theme - Mobile First */
:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8960C;
    --light-gold: #F4E4C1;
    --amber: #FFBF00;
    --cream: #FFF8DC;
    --white: #FFFFFF;
    --text-dark: #2C2416;
    --text-light: #5C5440;
    --shadow: rgba(180, 150, 55, 0.3);
    --success: #4CAF50;
    --error: #F44336;
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 36px;
    height: 36px;
    color: white;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* Mobile: fixed height to prevent scroll */
@media (max-width: 767px) {
    body {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
        height: 100dvh;
    }
}

/* Desktop: natural flow */
@media (min-width: 768px) {
    body {
        overflow-y: auto;
        position: relative;
    }
}

/* Screen Container */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
}

/* Desktop: allow natural scrolling, fit content, no white space */
@media (min-width: 768px) {
    .screen {
        position: relative !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-y: visible !important;
        max-width: 1200px !important;
        margin: 0 auto 20px auto !important;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.1) !important;
        padding: 0 !important;
        display: none !important;
        /* Hide by default on desktop */
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        z-index: 1 !important;
    }

    .screen.active {
        display: block !important;
        /* Only show active screen */
        z-index: 10 !important;
    }

    body {
        padding: 20px 20px !important;
        overflow-y: auto !important;
        max-width: 100% !important;
    }
}

#screen-banner {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

.screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Desktop: reduce padding */
@media (min-width: 768px) {
    .screen-content {
        padding: 20px !important;
        display: block !important;
        flex: none !important;
        overflow-y: visible !important;
    }
}

/* Banner Screen */
.banner-content {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
}

/* Mobile: full height */
@media (max-width: 767px) {
    .banner-content {
        min-height: 100vh;
        min-height: 100dvh;
    }
}

/* Desktop: natural height */
@media (min-width: 768px) {
    .banner-content {
        min-height: 0;
    }
}

.header-images {
    display: flex;
    gap: 10px;
    padding: 15px;
    justify-content: center;
    background: var(--white);
    flex-shrink: 0;
}

.header-img {
    width: 48%;
    max-height: 120px;
    object-fit: contain;
}

.event-info {
    flex: 0 0 auto;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
    padding: 30px 20px 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
}

.subtitle {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    order: 1;
}

.main-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-gold);
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
    order: 2;
}

.slogan {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 25px 0;
    font-style: italic;
    max-width: 300px;
    order: 3;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--amber) 100%);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    order: 4;
}

.btn-register:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px var(--shadow);
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 15px var(--shadow);
    order: 5;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

.event-detail:not(:last-child) {
    border-bottom: 1px solid var(--light-gold);
}

.detail-icon {
    font-size: 28px;
    min-width: 40px;
    text-align: center;
}

.detail-info {
    flex: 1;
    text-align: left;
}

.detail-info strong {
    display: block;
    color: var(--primary-gold);
    font-size: 14px;
    margin-bottom: 4px;
}

.detail-info p {
    margin: 0;
    color: var(--text-dark);
    font-size: 14px;
}

.venue-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.venue-link:hover {
    text-decoration: underline;
}

/* Headings */
h2 {
    color: var(--primary-gold);
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

h3 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Selection Cards - Compact Grid with Price */
.selection-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
    max-height: 70vh;
    overflow-y: auto;
}

.selection-card {
    background: var(--white);
    border: 2px solid var(--light-gold);
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.selection-card:active {
    transform: scale(0.97);
}

.selection-card.selected {
    border-color: var(--primary-gold);
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--cream) 100%);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
    border-width: 3px;
}

.card-name {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.card-price {
    font-size: 0.85rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.selection-card.selected .card-name {
    color: var(--primary-gold);
}

.selection-card.selected .card-price {
    color: var(--amber-gold);
}

/* Description Box - Shows selected card details */
.description-box {
    display: none;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--cream) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.2);
}

.description-box.visible {
    display: block;
}

.description-box p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

/* Compact Form Styles - No Floating Labels */
.compact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
}

.form-row input,
.form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--light-gold);
    border-radius: 8px;
    font-size: 15px;
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
    color: var(--text-dark);
}

.form-row input::placeholder {
    color: var(--text-light);
}

.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row input:focus,
.form-row select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Searchable Club Dropdown */
.club-dropdown-wrapper {
    position: relative;
}

.club-options-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 2px solid var(--primary-gold);
    border-radius: 8px;
    margin-top: 5px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.club-options-list.show {
    display: block;
}

.club-option {
    padding: 12px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    transition: background 0.2s;
}

.club-option:hover {
    background: var(--light-gold);
}

.club-option:last-child {
    border-bottom: none;
}

/* Compact Meal Preference */
.meal-row {
    margin-top: 0.5rem;
}

.meal-label-compact {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.meal-buttons {
    display: flex;
    gap: 0.5rem;
}

.meal-btn-compact {
    flex: 1;
    padding: 12px 8px;
    border: 2px solid var(--light-gold);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.meal-btn-compact.veg {
    color: #2E7D32;
}

.meal-btn-compact.non-veg {
    color: #C62828;
}

.meal-btn-compact.jain {
    color: #F57C00;
}

.meal-btn-compact.selected {
    transform: scale(1.02);
}

.meal-btn-compact.veg.selected {
    background: #E8F5E9;
    border-color: #2E7D32;
    border-width: 3px;
}

.meal-btn-compact.non-veg.selected {
    background: #FFEBEE;
    border-color: #C62828;
    border-width: 3px;
}

.meal-btn-compact.jain.selected {
    background: #FFF3E0;
    border-color: #F57C00;
    border-width: 3px;
}

.meal-btn-compact:active {
    transform: scale(0.98);
}

/* Old form styles - keep for backward compatibility if needed */
.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.meal-group {
    margin-top: 2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gold);
    border-radius: 8px;
    font-size: 16px;
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 12px;
    color: var(--text-light);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group .select-label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--white);
    padding: 0 5px;
    color: var(--primary-gold);
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background: var(--white);
    padding: 0 5px;
    color: var(--primary-gold);
}

/* Meal Preference Toggle - No Icons, More Space */
.meal-label {
    display: block;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
}

.meal-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.meal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    border: 2px solid var(--light-gold);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 600;
    min-height: 56px;
}

.meal-btn.veg {
    color: #2E7D32;
}

.meal-btn.non-veg {
    color: #C62828;
}

.meal-btn.jain {
    color: #F57C00;
}

.meal-btn.selected {
    transform: scale(1.05);
}

.meal-btn.veg.selected {
    background: #E8F5E9;
    border-color: #2E7D32;
    border-width: 3px;
}

.meal-btn.non-veg.selected {
    background: #FFEBEE;
    border-color: #C62828;
    border-width: 3px;
}

.meal-btn.jain.selected {
    background: #FFF3E0;
    border-color: #F57C00;
    border-width: 3px;
}

.meal-btn:active {
    transform: scale(0.98);
}

/* Mobile: stack meal buttons to avoid overlap on narrow viewports */
@media (max-width: 480px) {
    .meal-toggle {
        flex-direction: column;
        gap: 12px;
    }

    .meal-btn {
        width: 100%;
    }
}

/* Review Section */
.review-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.review-section {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--light-gold);
}

.review-section h3 {
    color: var(--primary-gold);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--light-gold);
    padding-bottom: 8px;
}

.review-section p {
    margin: 8px 0;
    color: var(--text-dark);
    font-size: 14px;
}

.review-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-gold);
    margin-top: 10px !important;
}

.review-description {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--light-gold);
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.6;
}

.review-description ul {
    margin: 8px 0;
    padding-left: 20px;
}

.review-description ul li {
    margin: 4px 0;
}

/* Payment */
.payment-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.payment-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 2px solid var(--primary-gold);
}

.payment-summary h3 {
    color: var(--primary-gold);
    font-size: 24px;
    margin-top: 10px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-btn {
    padding: 18px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: var(--primary-gold);
    color: var(--white);
    transition: all 0.3s ease;
}

.payment-btn:active {
    transform: scale(0.98);
}

.payment-btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--light-gold);
}

/* PhonePe Payment Button */
.instamojo-btn {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.instamojo-btn:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FF6B35 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.payment-gateway-badge {
    background: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--light-gold);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px !important;
}

.payment-info {
    background: var(--light-gold);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.payment-info p {
    margin: 5px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.payment-note {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 12px;
}

/* Acknowledgment */
.acknowledgment {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

/* Desktop/Tablet optimization - keep mobile-first design working */
@media (min-width: 768px) {
    .selection-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .event-card {
        max-width: 500px;
    }
}

.success-icon,
.failure-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.success-icon {
    background: var(--success);
    color: var(--white);
}

.failure-icon {
    background: var(--error);
    color: var(--white);
}

/* QR Code Container */
.qr-code-container {
    background: var(--white);
    border: 3px solid var(--primary-gold);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

#qr-code canvas,
#qr-code img {
    max-width: 200px !important;
    height: auto !important;
    border-radius: 8px;
}

.qr-label {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.confirmation-details,
.failure-details {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    width: 100%;
    border: 1px solid var(--light-gold);
}

.confirmation-details p,
.failure-details p {
    margin: 10px 0;
    font-size: 14px;
}

.info-text {
    color: var(--text-light);
    font-size: 13px;
    margin: 15px 0;
}

/* Registration Ticket Styles - A4 Size */
.ticket-container {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8DC 100%);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 40px;
    /* A4 proportions: 210mm x 297mm = 1:1.414 ratio */
    width: 210mm;
    max-width: 95%;
    min-height: 297mm;
    margin: 0 auto 20px;
    border: 2px solid var(--primary-gold);
    box-sizing: border-box;
}

.ticket-header {
    text-align: center;
    margin-bottom: 30px;
}

.ticket-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.logo-left img,
.logo-right img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.ticket-title {
    flex: 1;
    text-align: center;
}

.ticket-subtitle {
    color: var(--text-dark);
    font-size: 14px;
    margin: 0 0 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-title h1 {
    color: var(--primary-gold);
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ticket-success-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.ticket-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--light-gold), transparent);
    margin: 20px 0;
}

.ticket-section {
    margin: 16px 0;
}

.section-title {
    color: var(--primary-gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--light-gold);
    padding-bottom: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.detail-row:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(4px);
}

.highlight-row {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-left: 4px solid var(--primary-gold);
}

.detail-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 13px;
}

.detail-value {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    text-align: right;
}

.detail-value.amount {
    color: var(--primary-gold);
    font-size: 18px;
    font-weight: 800;
}

.detail-value.success-status {
    color: #4CAF50;
    font-weight: 800;
}

.ticket-qr-section {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    margin: 16px 0;
    border: 2px dashed var(--primary-gold);
}

.ticket-qr-section #qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.ticket-qr-section #qr-code canvas,
.ticket-qr-section #qr-code img {
    max-width: 180px !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-instruction {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.event-details .detail-row {
    background: rgba(212, 175, 55, 0.08);
}

.ticket-gratitude {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 191, 0, 0.1));
    border-radius: 12px;
    margin: 16px 0;
}

.ticket-gratitude p:first-child {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.gratitude-text {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ticket-footer {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    margin-top: 16px;
    border: 1px dashed var(--light-gold);
}

.ticket-footer p {
    color: var(--text-light);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

.download-section {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* Download Buttons */
.download-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 20px 0;
}

.btn-download {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    cursor: pointer;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-download:active {
    transform: translateY(2px);
    background: var(--light-gold);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--amber) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow);
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px var(--shadow);
}

.btn-primary:disabled {
    background: var(--light-gold);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--light-gold);
    margin-top: 10px;
}

.btn-back {
    background: transparent;
    border: none;
    color: var(--primary-gold);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-back:hover {
    color: var(--amber);
    transform: translateX(-3px);
}

.btn-secondary:active {
    background: var(--light-gold);
}

/* Responsive adjustments for very small screens */
@media (max-height: 600px) {
    .screen-content {
        padding: 15px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .selection-card {
        padding: 15px;
    }

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

/* Landscape mode optimization */
@media (orientation: landscape) and (max-height: 500px) {
    .event-banner {
        min-height: 150px;
    }

    .register-card {
        padding: 20px 15px;
    }

    .acknowledgment {
        padding: 10px;
    }

    .success-icon,
    .failure-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
}

/* Mobile responsive for ticket */
@media (max-width: 768px) {
    .ticket-container {
        width: 100%;
        padding: 20px;
        min-height: auto;
        border-radius: 12px;
    }

    .ticket-title h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .ticket-subtitle {
        font-size: 12px;
    }

    .logo-left img,
    .logo-right img {
        max-width: 50px;
        max-height: 50px;
    }

    .section-title {
        font-size: 14px;
    }

    .detail-label,
    .detail-value {
        font-size: 12px;
    }
}


/* Responsive adjustments for larger phones and tablets */
@media (min-width: 400px) {
    .event-info {
        padding: 40px 30px 50px 30px;
    }

    .main-title {
        font-size: 42px;
    }

    .btn-register {
        font-size: 20px;
        padding: 18px 50px;
    }
}

@media (min-width: 600px) {
    body {
        max-width: 600px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    .screen {
        max-width: 600px;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
}

/* Desktop compatibility - allow scrolling */
@media (min-width: 768px) {
    body {
        overflow: auto;
        position: relative;
        height: auto;
        max-width: 100%;
    }

    .screen {
        position: relative;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    #screen-banner {
        overflow: visible;
    }
}

/* Quick Registration Dropdown Styles */
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: #f9f9f9;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item.selected {
    background: #e8f4f8;
    color: var(--primary-gold);
    font-weight: 600;
}

.dropdown-no-results {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

#quick-reg-mode input[type="text"],
#manual-reg-mode input[type="text"],
#manual-reg-mode input[type="email"],
#manual-reg-mode input[type="tel"],
#autofilled-details input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border 0.3s;
}

#quick-reg-mode input:focus,
#manual-reg-mode input:focus,
#autofilled-details input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* ===================================================================================
   COUPON CODE SYSTEM - Animated discount section with shimmer effects
   =================================================================================== */

.coupon-wrapper {
    margin: 25px 0;
    animation: fadeIn 0.6s ease-in;
}

.coupon-container {
    position: relative;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 2px solid #F59E0B;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

.coupon-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.coupon-content {
    position: relative;
    z-index: 1;
}

.coupon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.coupon-icon {
    font-size: 28px;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {

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

    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.coupon-header h3 {
    margin: 0;
    color: #92400E;
    font-size: 18px;
    font-weight: 600;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.coupon-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #F59E0B;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background: white;
    transition: all 0.3s;
}

.coupon-input:focus {
    outline: none;
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
    transform: scale(1.02);
}

.coupon-input:disabled {
    background: #F3F4F6;
    cursor: not-allowed;
    opacity: 0.7;
}

.coupon-input.shake {
    animation: shake 0.5s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}

.coupon-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.coupon-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.coupon-btn:active:not(:disabled) {
    transform: translateY(0);
}

.coupon-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.coupon-btn.shrink-pulse {
    animation: shrinkPulse 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Menu & New Sections Styles
   ========================================= */

/* =========================================
   Refined Navigation Styles
   ========================================= */

.nav-container {
    display: none;
    /* Hidden by default on mobile */
    justify-content: center;
    padding: 10px 20px;
    margin-bottom: 10px;
    position: relative;
    z-index: 100;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--light-gold);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-gold);
    color: white;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}

/* Event Info - Relative for absolute positioning of menu */
.event-info {
    position: relative;
}

/* Header Row (Subtitle + Menu) */
.header-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.header-row .subtitle {
    margin-bottom: 0;
    /* Remove bottom margin as row handles spacing */
    padding: 0 40px;
    /* Add padding to prevent overlap with button */
}

/* Mobile Menu Button (Absolute Top-Right) */
.mobile-menu-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    /* Shown on mobile */
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--primary-gold);
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 100;
}

.mobile-menu-btn:active {
    transform: scale(0.9);
}

/* Responsive Visibility */
@media (min-width: 768px) {
    .nav-container {
        display: flex;
        /* Show on desktop */
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Improved Mobile Menu Overlay Styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.menu-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 85%;
    /* Wider on mobile */
    max-width: 320px;
    height: 100%;
    background: #FAFAFA;
    /* Light grey background for contrast */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.menu-overlay.active .menu-content {
    right: 0;
}

.menu-header {
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--amber) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.menu-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

/* Card-style Menu Links */
.menu-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-links a:hover,
.menu-links a:active {
    background: #FFFDF5;
    border-color: var(--primary-gold);
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.15);
    color: var(--dark-gold);
}

.menu-links a svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-gold);
}

/* Committee Styles */
.committee-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 40px;
}

.committee-section {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gold);
}

.committee-header {
    background: linear-gradient(135deg, var(--light-gold) 0%, #FFF 100%);
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gold);
    position: sticky;
    top: 0;
}

.committee-header h3 {
    margin: 0;
    color: var(--dark-gold);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.committee-members {
    padding: 10px;
}

.committee-member {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.committee-member:last-child {
    border-bottom: none;
}

.member-role {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.member-name {
    font-size: 15px;
    color: var(--primary-gold);
    font-weight: 500;
}

/* Highlight key roles */
.committee-member.highlight {
    background: #FFFDF5;
}

.committee-member.highlight .member-name {
    font-weight: 700;
}

/* Hotels Styles */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding-bottom: 40px;
}

.hotel-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
}

.hotel-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hotel-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-btn:active {
    transform: scale(0.98);
}

.btn-call {
    background: #E3F2FD;
    color: #1565C0;
}

.btn-email {
    background: #F3E5F5;
    color: #7B1FA2;
}

.btn-web {
    background: #E8F5E9;
    color: #2E7D32;
}

@keyframes shrinkPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.85);
    }

    100% {
        transform: scale(1);
    }
}

.btn-icon {
    font-size: 18px;
    animation: sparkle 1.5s infinite;
}

.coupon-message {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.coupon-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.coupon-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

.coupon-message.slide-in {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.discount-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding: 16px;
    background: white;
    border: 2px solid #10B981;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.discount-display.success-pop {
    animation: successPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successPop {
    0% {
        transform: scale(0.8) rotate(-3deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.15) rotate(3deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.discount-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discount-icon {
    font-size: 32px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.discount-details {
    display: flex;
    flex-direction: column;
}

.discount-label {
    font-size: 12px;
    color: #065F46;
    font-weight: 500;
}

.discount-value {
    font-size: 20px;
    color: #059669;
    font-weight: 700;
}

.discount-savings {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.savings-text {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.savings-value {
    font-size: 24px;
    color: #10B981;
    font-weight: 800;
}

/* Final Amount Card */
.final-amount-card {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.amount-row:last-child {
    border-bottom: none;
}

.amount-label {
    font-size: 14px;
    color: #D1D5DB;
    font-weight: 500;
}

.amount-value {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.discount-row {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 6px;
    padding: 10px 12px !important;
    margin: 4px 0;
}

.discount-text {
    color: #10B981 !important;
    font-weight: 700 !important;
}

.total-row {
    padding-top: 16px !important;
    margin-top: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.amount-label-large {
    font-size: 18px;
    font-weight: 700;
    color: #FCD34D;
}

.amount-value-large {
    font-size: 28px;
    font-weight: 800;
    color: #FCD34D;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.amount-value-large.amount-bounce {
    animation: amountBounce 2s;
}

@keyframes amountBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1.05);
    }
}

/* ===================================================================================
   BYPASS CODE MODAL - Manual registration for authorized personnel
   =================================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(0.9);
    }

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

/* =========================================
   Scroll to Top Progress Button
   ========================================= */

.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    background-color: white;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.progress-wrap svg.progress-circle path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--primary-gold);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

.progress-wrap .arrow-up {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-gold);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms linear;
}

.progress-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.progress-wrap:hover .arrow-up {
    color: var(--dark-gold);
    transform: translate(-50%, -60%);
}

/* =========================================
   About Section Styles
   ========================================= */
.about-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gold);
}

.about-header {
    background: linear-gradient(135deg, var(--light-gold) 0%, #FFF 100%);
    padding: 20px;
    border-bottom: 1px solid var(--light-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.about-header h3 {
    margin: 0;
    color: var(--dark-gold);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-badge {
    background: var(--primary-gold);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-body {
    padding: 25px;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 15px;
}

.about-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.about-body p:last-child {
    margin-bottom: 0;
}

.profile-photo {
    width: 150px;
    height: 180px;
    object-fit: contain;
    /* Changed to contain for transparent images */
    float: left;
    margin-right: 25px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid var(--light-gold);
    /* Thinner border */
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    /* Subtle background */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Specific style for full-body/long photos */
.profile-photo-long {
    height: auto;
    max-height: 350px;
    width: auto;
    max-width: 200px;
}

/* Right aligned photo */
.profile-photo-right {
    float: right;
    margin-right: 0;
    margin-left: 25px;
}

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
    clear: both;
    /* Ensure signature is below floated image */
}

.signature p {
    margin: 2px 0;
    text-align: right;
    color: var(--text-light);
}

.signature strong {
    display: block;
    color: var(--primary-gold);
    font-size: 16px;
    margin: 5px 0;
}

@media (max-width: 768px) {
    .about-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-body {
        padding: 20px;
    }

    .profile-photo {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: 160px;
        height: 190px;
    }

    .profile-photo-long {
        width: auto;
        height: auto;
        max-height: 300px;
        max-width: 100%;
    }
}

.bypass-modal {
    border-top: 4px solid #D97706;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #F3F4F6;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

.modal-close:hover {
    background: #E5E7EB;
    transform: rotate(90deg);
}

.modal-header {
    padding: 30px 24px 20px;
    border-bottom: 1px solid #E5E7EB;
    text-align: center;
}

.modal-header h2 {
    margin: 0 0 8px 0;
    color: #1F2937;
    font-size: 24px;
}

.modal-subtitle {
    margin: 0;
    color: #6B7280;
    font-size: 14px;
}

.modal-body {
    padding: 24px;
}

.bypass-step {
    display: block;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.modal-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.modal-input:focus {
    outline: none;
    border-color: #D97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.input-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6B7280;
    font-style: italic;
}

.error-message {
    background: #FEE2E2;
    color: #991B1B;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin: 12px 0;
    border: 1px solid #EF4444;
    animation: slideIn 0.3s;
}

.success-indicator {
    background: #D1FAE5;
    border: 2px solid #10B981;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: successPop 0.6s;
}

.success-icon {
    font-size: 24px;
}

.success-text {
    color: #065F46;
    font-weight: 600;
    font-size: 15px;
}

.btn-modal-primary {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-modal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
}

.btn-modal-success {
    flex: 1;
    padding: 14px 24px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-modal-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-modal-secondary {
    flex: 1;
    padding: 14px 24px;
    background: #F3F4F6;
    color: #374151;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-secondary:hover {
    background: #E5E7EB;
    border-color: #9CA3AF;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .coupon-input-group {
        flex-direction: column;
    }

    .coupon-btn {
        width: 100%;
        justify-content: center;
    }

    .discount-display {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .discount-savings {
        align-items: center;
    }

    .amount-value-large {
        font-size: 24px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
    }
}

@media (max-width: 360px) {
    .coupon-header h3 {
        font-size: 16px;
    }

    .coupon-input {
        font-size: 14px;
        padding: 10px 14px;
    }

    .coupon-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* ===================================================================================
   SIMPLIFIED COUPON SECTION - Minimal, Animated, Single Input with Remove Button
   =================================================================================== */

.coupon-simple-wrapper {
    margin: 20px 0;
    padding: 0;
}

.coupon-label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 10px;
    text-align: center;
}

.coupon-input-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 3px solid #F59E0B;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    animation: pulseBorder 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes pulseBorder {

    0%,
    100% {
        border-color: #F59E0B;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
        transform: scale(1);
    }

    25% {
        border-color: #D97706;
        box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);
        transform: scale(1.02);
    }

    50% {
        border-color: #F59E0B;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
        transform: scale(1);
    }

    75% {
        border-color: #FBBF24;
        box-shadow: 0 6px 16px rgba(251, 191, 36, 0.3);
        transform: scale(1.01);
    }
}

.coupon-input-container:hover {
    animation: none;
    border-color: #D97706;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    transform: scale(1.02);
}

.coupon-input-container:focus-within {
    animation: none;
    border-color: #B45309;
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.5);
    transform: scale(1.03);
}

.coupon-simple-input {
    flex: 1;
    padding: 16px 18px;
    border: none;
    background: transparent;
    font-size: 17px;
    font-weight: 600;
    color: #92400E;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coupon-simple-input::placeholder {
    color: #B45309;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.coupon-simple-input:focus {
    color: #78350F;
}

.coupon-simple-btn,
.coupon-remove-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.coupon-simple-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.coupon-simple-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

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

.coupon-simple-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
    box-shadow: none;
}

.coupon-remove-btn {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.coupon-remove-btn:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px) rotate(90deg);
}

.coupon-remove-btn:active {
    transform: translateY(0) rotate(90deg);
}

.coupon-simple-message {
    margin-bottom: 12px;
    margin-top: 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.coupon-simple-message.success {
    background: #D1FAE5;
    color: #065F46;
    border: 2px solid #10B981;
}

.coupon-simple-message.error {
    background: #FEE2E2;
    color: #991B1B;
    border: 2px solid #EF4444;
}

.coupon-simple-message:empty {
    display: none;
}

/* Enhanced Pay Button */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Mobile Responsive for Simplified Coupon */
@media (max-width: 480px) {
    .coupon-input-container {
        flex-wrap: wrap;
    }

    .coupon-simple-input {
        font-size: 15px;
        padding: 12px 14px;
    }

    .coupon-simple-btn,
    .coupon-remove-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .coupon-simple-input {
        font-size: 14px;
        padding: 10px 12px;
    }

    .coupon-simple-btn,
    .coupon-remove-btn {
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* =========================================
   Hotels Section
   ========================================= */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.hotel-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.hotel-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #D4AF37;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hotel-rating {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-score {
    color: #059669;
    font-weight: 800;
    font-size: 16px;
}

.rating-platform {
    font-size: 11px;
    color: #6B7280;
}

.hotel-details {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-name {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
    line-height: 1.3;
}

.hotel-address {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.hotel-price {
    font-size: 18px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 15px;
}

.per-night {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 400;
}

.hotel-highlights {
    background: #FFFBEB;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #D4AF37;
}

.hotel-highlights p {
    font-size: 13px;
    color: #92400E;
    margin: 0;
    line-height: 1.4;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.amenity-tag {
    background: #F3F4F6;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    color: #4B5563;
    font-weight: 500;
}

.hotel-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 100px;
}

.booking-btn.agoda {
    background: #EBF8FF;
    color: #004466;
    border: 1px solid #BEE3F8;
}

.booking-btn.expedia {
    background: #FFFBEB;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.booking-btn.makemytrip {
    background: #FDF2F8;
    color: #BE185D;
    border: 1px solid #FBCFE8;
}

.booking-btn.booking {
    background: #F0F9FF;
    color: #0369A1;
    border: 1px solid #BAE6FD;
}

.booking-btn.goibibo {
    background: #FFF7ED;
    color: #C2410C;
    border: 1px solid #FFEDD5;
}

.booking-btn.tripadvisor {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-links {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #F3F4F6;
    padding-top: 15px;
}

.contact-link {
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #D4AF37;
}

@media (max-width: 768px) {
    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .hotel-image {
        height: 200px;
    }
}

.view-photos-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    z-index: 2;
}

.view-photos-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* =========================================
   Hotel Action Buttons (New)
   ========================================= */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 150px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.call-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: none;
}

.map-btn {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    border: none;
}

.hotel-actions {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F3F4F6;
}

/* =========================================
   Desktop Layout Fixes (Comprehensive)
   ========================================= */
@media (min-width: 768px) {

    /* Ensure all main containers use full available width */
    .about-container,
    .review-container,
    .hotels-grid {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* About Section: Side-by-side messages */
    .about-container {
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 30px !important;
    }

    .about-card {
        flex: 1 !important;
        width: auto !important;
    }





    /* Ensure screen content is centered but wide */
    .screen-content {
        max-width: 1200px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
}

/* =========================================
   Registration Pages Constraint (Desktop)
   ========================================= */
@media (min-width: 768px) {

    /* Constrain registration flow screens to a focused width */
    #screen-register-type,
    #screen-personal-details,
    #screen-review,
    #screen-payment,
    #screen-success,
    #screen-failure {
        max-width: 600px !important;
        margin: 0 auto 20px auto !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    }

    /* Ensure content within these screens is centered and contained */
    #screen-register-type .screen-content,
    #screen-personal-details .screen-content,
    #screen-review .screen-content,
    #screen-payment .screen-content,
    #screen-success .screen-content,
    #screen-failure .screen-content {
        max-width: 100% !important;
        padding: 30px !important;
    }
}

/* =========================================
   Committee Section Layout (User Requested)
   ========================================= */
.committee-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    /* Separator line */
}

.committee-section:last-child {
    border-bottom: none;
}

.committee-header h3 {
    color: #D4AF37;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    /* Centered title */
}

.committee-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    /* Auto-fill columns based on width */
    gap: 20px;
    max-width: 100%;
    /* Use full width */
    margin: 0 auto;
}

.committee-member {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}

.committee-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-color: #D4AF37;
}

.member-role {
    font-size: 12px;
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.member-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

/* Mobile check: keep 2 columns on mobile too as per | example, but maybe stack on very small screens */
@media (max-width: 480px) {
    .committee-members {
        grid-template-columns: 1fr;
        /* Stack on very small screens for readability */
        gap: 10px;
    }
}

/* =========================================
   Committee Layout: First Member Highlight
   (Only for District Team as requested)
   ========================================= */
.district-team-section .committee-member:first-child {
    grid-column: 1 / -1;
    /* Span all columns */
    justify-self: center;
    /* Center horizontally */
    max-width: 400px;
    /* Limit width of the highlighted member */
    width: 100%;
    background: #FFFBEB;
    /* Subtle highlight background */
    border-color: #D4AF37;
    /* Gold border for the lead */
    transform: scale(1.02);
    /* Slight emphasis */
}

.district-team-section .committee-member:first-child .member-role {
    font-size: 14px;
    /* Larger role text */
}

.district-team-section .committee-member:first-child .member-name {
    font-size: 18px;
    /* Larger name text */
}