/* Wedding Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #255096;
    --secondary-color: #255096;
    --accent-color: #255096;
    --text-color: #255096;
    --background-color: rgba(255, 255, 255, 0.9);
    --border-color: rgba(26, 54, 93, 0.2);
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    --radius: 10px;
    --corner-radius: 100px;
    --corner-width: 60px;
    --corner-height: 60px;
    --corner-font-size: 10pt;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x:hidden;
    overflow-y: hidden;
    touch-action: manipulation; /* Improves touch responsiveness */
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);

}

body {
    font-family: 'Times' !important;
    line-height: 1.6;
    color: var(--text-dark);

    margin: 0;
    padding: 0;
    background: rgba(239, 246, 255, 0.85); /* Reduced opacity on gradient background */
    
    -webkit-text-size-adjust: 100%; /* Prevents text zoom on mobile */
    -ms-text-size-adjust: 100%;
    background-image: url('/static/images/background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: top;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}



/* Home Page Styles */
.invite-container {
    /* background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(8px);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 15px;
    padding-top: calc(15px + env(safe-area-inset-top));
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    max-width: 100%;
}


.main-card {
    
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 40px 60px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    max-width: 500px;
    width: calc(100% - 120px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.couple-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: -70px auto 20px;
    padding: 10px;
    display: block;
    object-fit: contain;
    background: var(--white);
}

.couple-initials {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

.wedding-date {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-button {
    /* background: var(--white);
    color: var(--primary-color); */
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Times New Roman', serif;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    /* background: var(--primary-color);
    color: var(--white); */
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* Corner Buttons */
.corner-btn {
    position: fixed;
    width: var(--corner-width);
    height: var(--corner-height);
    border-radius: var(--corner-radius);
    border: 1px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    font-size: var(--corner-font-size);
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1000;
    animation: fadeIn 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    /* Touch optimizations */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.corner-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.top-left { 
    top: 20px; 
    top: calc(20px + env(safe-area-inset-top)); 
    left: 20px; 
    left: calc(20px + env(safe-area-inset-left)); 
    animation-delay: 0.2s; 
}
.top-right { 
    top: 20px; 
    top: calc(20px + env(safe-area-inset-top)); 
    right: 20px; 
    right: calc(20px + env(safe-area-inset-right)); 
    animation-delay: 0.4s; 
}
.bottom-left { 
    bottom: 20px; 
    bottom: calc(20px + env(safe-area-inset-bottom)); 
    left: 20px; 
    left: calc(20px + env(safe-area-inset-left)); 
    animation-delay: 0.6s; 
}
.bottom-right { 
    bottom: 20px; 
    bottom: calc(20px + env(safe-area-inset-bottom)); 
    right: 20px; 
    right: calc(20px + env(safe-area-inset-right)); 
    animation-delay: 0.8s; 
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: var(--shadow);
}

.modal-header {
    background: var(--accent-color);
    color: var(--white);
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    text-align: center;
    display: flex;
    justify-content: center;
}

.modal-title {
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.modal-body {
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}


/* Thank You Page */
.thank-you-container {
    min-height: 90vh;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.thank-you-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 60px 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out;
}

.thank-you-card h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-card p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Admin Panel */
.admin-container {
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: 90vh;
}

.admin-header {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

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

.stat-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.table-container {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background: var(--secondary-color);
    font-weight: 600;
    padding: 15px;
    border: none;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.guest-detail {
    margin-bottom: 10px;
}

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

.guest-detail hr {
    margin: 8px 0;
    border-color: #e5e7eb;
}



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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}



@media (max-width: 576px) {

    
    .main-card {
        padding: 25px 15px 35px 15px;
        max-width: 320px;
        width: calc(100% - 40px);
        border-radius: 12px;
        min-height: auto;
    }
    
    .couple-logo {
        width: 80px;
        height: 80px;
        margin: -50px auto 15px;
    }
    
    .couple-initials {
        font-size: 2rem;
    }
    
    .wedding-date {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .corner-btn {
        width: var(--corner-width);
        height: var(--corner-height);
        font-size: var(--corner-font-size);
        border-radius: var(--corner-radius);
    }
    
    .top-left, .top-right { 
        top: 12px; 
        top: calc(12px + env(safe-area-inset-top)); 
    }
    .bottom-left, .bottom-right { 
        bottom: 12px; 
        bottom: calc(12px + env(safe-area-inset-bottom)); 
    }
    .top-left, .bottom-left { 
        left: 12px; 
        left: calc(12px + env(safe-area-inset-left)); 
    }
    .top-right, .bottom-right { 
        right: 12px; 
        right: calc(12px + env(safe-area-inset-right)); 
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .modal-dialog {
        max-width: 98%;
        margin: 0.25rem;
    }
    
    .modal-body {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .venue-name {
        font-size: 1rem;
    }
    
    .venue-address {
        font-size: 0.85rem;
    }
    
    .event-time {
        font-size: 0.9rem;
        padding: 5px 10px;
        min-width: 60px;
    }
    
    .location-timeline {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .location-event {
        gap: 15px;
    }
    
    .contact-item {
        margin-bottom: 15px !important;
    }
    
    .contact-label {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .contact-number {
        font-size: 0.85rem;
    }
    
    .dress-code-section h4 {
        font-size: 1.1rem;
    }
    
    .dress-code-main {
        font-size: 1rem !important;
    }
    
    .dress-code-detail {
        font-size: 0.8rem;
    }
}

/* Thank You Page */
.thank-you-container {
    min-height: 90vh;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.thank-you-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 60px 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out;
}

.thank-you-card h1 {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-card p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Admin Panel */
.admin-container {
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: 90vh;
}

.admin-header {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

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

.stat-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.table-container {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table th {
    background: var(--secondary-color);
    font-weight: 600;
    padding: 15px;
    border: none;
}

.table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.guest-detail {
    margin-bottom: 10px;
}

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

.guest-detail hr {
    margin: 8px 0;
    border-color: #e5e7eb;
}

/* Responsive Design */



/* Guest Management Styles */
.guest-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    position: relative;
}

.guest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.remove-guest-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.remove-guest-btn:hover {
    background: #fee2e2;
}

.dietary-section {
    margin-top: 30px;
}

.dietary-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.dietary-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.dietary-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
}

.dietary-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

    .add-guest-btn {
        background: var(--primary-color);
        border: 2px solid var(--primary-color);
        color: var(--white);
        padding: 12px 24px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        margin: 15px 0;
        width: 100%;
    }

.add-guest-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Form Updates */
.form-container {
    position: relative;
    padding-top: 6px; /* Space for progress bar */
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.radio-option {
    flex: none;
    padding: 20px 30px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    background: var(--white);
}

.radio-option:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.02);
}

.radio-option.selected {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
}

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

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Map Styles */
.map-container {
    height: 100px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.location-timeline {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(37, 99, 235, 0.03);
    /* border-radius: 12px;
    border-left: 4px solid var(--primary-color); */
    border-radius: var(--radius);
    border: 1px solid var(--primary-color);
}

.location-event {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.event-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    min-width: 80px;
    text-align: center;
}

.event-details {
    flex: 1;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.venue-address {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
    margin: 0;
}

.directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.directions-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-text {
    font-size: 1rem;
}

/* Leaflet popup custom styles */
.leaflet-popup-content-wrapper {
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.leaflet-popup-content {
    margin: 15px !important;
    font-family: 'Montserrat', sans-serif !important;
}

.popup-venue-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.popup-venue-address {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.popup-venue-time {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Modal improvements */
.modal-dialog {
    max-width: 600px;
}

.modal-body {
    max-height: 90vh;
    overflow-y: auto;
}

/* Custom map marker icons */
.custom-div-icon {
    background: var(--white);
    border-radius: 50%;
    width: 35px !important;
    height: 35px !important;
    border: 1px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}


/* Fix for directions buttons in flex layout */
.directions-btn.flex-fill {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px 15px;
}

.directions-btn.flex-fill .btn-text {
    font-size: 0.85rem;
}

/* Responsive map container */
@media (max-width: 576px) {
    .map-container {
        height: 200px;
        margin: 15px 0;
    }
    
    .directions-btn.flex-fill {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    
    .directions-btn.flex-fill .btn-text {
        font-size: 0.75rem;
    }
}



.rsvp-page-container {
        min-height: 100vh;
        min-height: calc(100vh + env(safe-area-inset-top));
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        padding: 20px;
        padding-top: calc(20px + env(safe-area-inset-top));
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
        position: relative;
    }
    
    .rsvp-page-content {
        max-width: 800px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        overflow: hidden;
        position: relative;
    }
    
    .form-content {
        padding: 40px 30px 30px;
        position: relative;
    }
    
    .wedding-ornament {
        text-align: center;
        font-size: 24px;
        color: var(--primary-color);
        margin-bottom: 30px;
        opacity: 0.7;
    }
    
    .question-slide {
        display: none;
        animation: elegantFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
    }
    
    .question-slide.active {
        display: block;
    }
    
    @keyframes elegantFadeIn {
        from { 
            opacity: 0; 
            transform: translateY(30px) scale(0.95);
        }
        to { 
            opacity: 1; 
            transform: translateY(0) scale(1);
        }
    }
    
    .question-number {
        color: var(--primary-color);
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 10px;
        display: block;
        letter-spacing: 1px;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
    }
    
    .question-title {
        font-size: 24px;
        font-weight: 400;
        color: var(--text-color);
        margin-bottom: 25px;
        line-height: 1.3;
        font-family: 'Playfair Display', serif;
        letter-spacing: -0.3px;
    }
    
    .form-input {
        width: 100%;
        border: none;
        border-bottom: 2px solid rgba(37, 80, 150, 0.3);
        background: transparent;
        font-size: 16px;
        padding: 15px 0;
        outline: none;
        transition: all 0.4s ease;
        font-family: 'Playfair Display', serif;
        text-align: center;
        color: var(--text-color);
    }
    
    .form-input:focus {
        border-bottom-color: var(--primary-color);
        box-shadow: 0 2px 15px rgba(37, 80, 150, 0.2);
    }
    
    .form-input::placeholder {
        color: rgba(44, 44, 44, 0.5);
        font-style: italic;
    }
    
    .choice-group {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .choice-option {
        background: rgba(255, 255, 255, 0.8);
        border: 2px solid rgba(37, 80, 150, 0.2);
        border-radius: 15px;
        padding: 18px 22px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
        gap: 15px;
        backdrop-filter: blur(10px);
        position: relative;
        overflow: hidden;
    }
    
    .choice-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(37, 80, 150, 0.1), transparent);
        transition: left 0.6s ease;
    }
    
    .choice-option:hover::before {
        left: 100%;
    }
    
    .choice-option:hover {
        border-color: var(--primary-color);
        background: rgba(37, 80, 150, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(37, 80, 150, 0.15);
    }
    
    .choice-option.selected {
        border-color: var(--primary-color);
        background: linear-gradient(135deg, rgba(37, 80, 150, 0.1), rgba(37, 80, 150, 0.2));
        color: var(--text-color);
        box-shadow: 0 15px 40px rgba(37, 80, 150, 0.2);
        transform: translateY(-2px);
    }
    
    .choice-letter {
        background: rgba(37, 80, 150, 0.1);
        color: var(--primary-color);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        font-family: 'Montserrat', sans-serif;
        border: 2px solid rgba(37, 80, 150, 0.3);
        transition: all 0.3s ease;
    }
    
    .choice-option.selected .choice-letter {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
        box-shadow: 0 5px 15px rgba(37, 80, 150, 0.3);
    }
    
    .choice-text {
        font-size: 15px;
        font-weight: 400;
        font-family: 'Playfair Display', serif;
    }
    
    .guest-section {
        margin-top: 40px;
        text-align: left;
    }
    
    .guest-item {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 15px;
        border: 2px solid rgba(37, 80, 150, 0.1);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .guest-item:hover {
        border-color: rgba(37, 80, 150, 0.3);
        box-shadow: 0 10px 30px rgba(37, 80, 150, 0.1);
    }
    
    .guest-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .guest-label {
        font-weight: 500;
        color: var(--text-color);
        font-size: 15px;
        font-family: 'Playfair Display', serif;
    }
    
    .remove-guest {
        background: none;
        border: none;
        color: rgba(37, 80, 150, 0.7);
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .remove-guest:hover {
        background: rgba(37, 80, 150, 0.1);
        color: var(--primary-color);
        transform: rotate(90deg);
    }
    
    
    
    .add-guest-btn:hover::before {
        left: 100%;
    }
    
    .add-guest-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(37, 80, 150, 0.2);
    }
    
    .notes-textarea {
        width: 100%;
        border: 2px solid rgba(37, 80, 150, 0.2);
        border-radius: 12px;
        padding: 15px;
        font-size: 16px;
        font-family: 'Playfair Display', serif;
        resize: vertical;
        min-height: 90px;
        outline: none;
        transition: all 0.3s ease;
        background: rgba(37, 80, 150, 0.1);
        backdrop-filter: blur(5px);
    }
    
    .notes-textarea:focus {
        border-color: var(--primary-color);
        box-shadow: 0 5px 20px rgba(37, 80, 150, 0.2);
        background: rgba(37, 80, 150, 0.1);
    }
    
    .notes-textarea::placeholder {
        color: rgba(44, 44, 44, 0.5);
        font-style: italic;
    }
    
    .menu-section {
        margin: 20px 0;
    }
    
    .menu-title {
        font-size: 14px;
        font-weight: 500;
        color: var(--primary-color);
        margin-bottom: 12px;
    }
    
    .menu-options {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .menu-radio {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        font-size: 13px;
        color: var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .menu-radio input[type="radio"] {
        display: none;
    }
    
    .radio-custom {
        width: 16px;
        height: 16px;
        border: 2px solid rgba(37, 80, 150, 0.2);
        border-radius: 50%;
        position: relative;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.8);
    }
    
    .radio-custom::after {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary-color);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.3s ease;
    }
    
    .menu-radio input[type="radio"]:checked + .radio-custom {
        border-color: var(--primary-color);
        box-shadow: 0 0 10px rgba(37, 80, 150, 0.3);
    }
    
    .menu-radio input[type="radio"]:checked + .radio-custom::after {
        transform: translate(-50%, -50%) scale(1);
    }
    
    .menu-radio:hover .radio-custom {
        border-color: var(--primary-color);
        background: rgba(37, 80, 150, 0.1);
    }
    
    .navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 60px;
        padding-top: 40px;
        border-top: 1px solid rgba(37, 80, 150, 0.2);
    }
    
    .nav-btn {
        background: var(--primary-color);
        color: var(--white);
        border: none;
        border-radius: var(--radius);
        padding: 14px 28px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 0.3px;
        box-shadow: 0 6px 20px rgba(37, 80, 150, 0.2);
        position: relative;
        overflow: hidden;
    }
    
    .nav-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
    }
    
    .nav-btn:hover:not(:disabled)::before {
        left: 100%;
    }
    
    .nav-btn:hover:not(:disabled) {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(37, 80, 150, 0.3);
    }
    
    .nav-btn:disabled {
        background: rgba(37, 80, 150, 0.3);
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }
    
    .nav-btn.secondary {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid rgba(37, 80, 150, 0.3);
        box-shadow: none;
    }
    
    .nav-btn.secondary::before {
        background: linear-gradient(90deg, transparent, rgba(37, 80, 150, 0.1), transparent);
    }
    
    .nav-btn.secondary:hover:not(:disabled) {
        background: rgba(37, 80, 150, 0.1);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    .question-hint {
        color: rgba(37, 80, 150, 0.7);
        font-size: 14px;
        margin-top: 20px;
        font-style: italic;
        font-family: 'Montserrat', sans-serif;
        letter-spacing: 0.5px;
    }
    
    /* Responsive adjustments */
    @media (max-width: 992px) {
        .elegant-card {
            max-width: 90%;
            margin: 20px;
        }
        
        .form-content {
            padding: 50px 40px 40px;
        }
        
        .question-title {
            font-size: 28px;
        }
    }
    
    @media (max-width: 768px) {
        .rsvp-page-container {
            padding: 10px;
            padding-top: calc(10px + env(safe-area-inset-top));
            padding-bottom: calc(10px + env(safe-area-inset-bottom));
        }
        
        .rsvp-page-content {
            max-width: 95%;
            margin: 5px auto;
            border-radius: 12px;
        }
        
        .form-content {
            padding: 25px 20px 20px;
        }
        
        .wedding-ornament img {
            width: 50px !important;
        }
        
        .question-title {
            font-size: 20px;
            margin-bottom: 20px;
        }
        
        .question-number {
            font-size: 11px;
            margin-bottom: 8px;
        }
        
        .form-input {
            font-size: 16px;
            padding: 12px 0;
        }
        
        .choice-group {
            max-width: 100%;
            gap: 12px;
            margin-top: 20px;
        }
        
        .choice-option {
            padding: 15px 18px;
            gap: 12px;
            border-radius: 12px;
        }
        
        .choice-letter {
            width: 28px;
            height: 28px;
            font-size: 12px;
        }
        
        .choice-text {
            font-size: 14px;
        }
        
        .guest-item {
            padding: 15px;
            border-radius: 12px;
            margin-bottom: 12px;
        }
        
        .guest-label {
            font-size: 14px;
        }
        
        .menu-title {
            font-size: 12px;
            margin-bottom: 10px;
        }
        
        .menu-radio {
            font-size: 12px;
        }
        
        .notes-textarea {
            min-height: 80px;
            padding: 12px;
            font-size: 16px;
        }
        
        .navigation {
            margin-top: 30px;
            padding-top: 25px;
        }
        
        .nav-btn {
            padding: 12px 20px;
            font-size: 13px;
        }
        
        .add-guest-btn {
            margin: 12px 0;
            padding: 10px 16px;
            font-size: 13px;
        }
    }
    
    @media (max-width: 576px) {
        .rsvp-page-container {
            padding: 8px;
            padding-top: calc(8px + env(safe-area-inset-top));
            padding-bottom: calc(8px + env(safe-area-inset-bottom));
        }
        
        .rsvp-page-content {
            max-width: 98%;
            margin: 3px auto;
            border-radius: 10px;
        }
        
        .form-content {
            padding: 20px 15px 18px;
        }
        
        .wedding-ornament img {
            width: 40px !important;
            margin-bottom: 3px !important;
        }
        
        .question-title {
            font-size: 18px;
            margin-bottom: 18px;
            line-height: 1.2;
        }
        
        .question-number {
            font-size: 10px;
            margin-bottom: 6px;
        }
        
        .form-input {
            font-size: 16px;
            padding: 10px 0;
        }
        
        .choice-group {
            gap: 10px;
            margin-top: 15px;
        }
        
        .choice-option {
            padding: 14px 16px;
            gap: 10px;
            border-radius: 10px;
        }
        
        .choice-letter {
            width: 26px;
            height: 26px;
            font-size: 11px;
        }
        
        .choice-text {
            font-size: 13px;
        }
        
        .guest-item {
            padding: 12px;
            border-radius: 10px;
            margin-bottom: 10px;
        }
        
        .guest-label {
            font-size: 13px;
        }
        
        .menu-title {
            font-size: 11px;
            margin-bottom: 8px;
        }
        
        .menu-options {
            gap: 12px;
        }
        
        .menu-radio {
            font-size: 11px;
        }
        
        .radio-custom {
            width: 14px;
            height: 14px;
        }
        
        .radio-custom::after {
            width: 5px;
            height: 5px;
        }
        
        .notes-textarea {
            min-height: 70px;
            padding: 10px;
            font-size: 16px;
            border-radius: 10px;
        }
        
        .navigation {
            margin-top: 25px;
            padding-top: 20px;
        }
        
        .nav-btn {
            padding: 10px 16px;
            font-size: 12px;
            border-radius: 6px;
        }
        
        .add-guest-btn {
            margin: 10px 0;
            padding: 8px 12px;
            font-size: 12px;
            border-radius: 6px;
        }
        
        .remove-guest {
            width: 24px;
            height: 24px;
            font-size: 18px;
        }

        .invite-container {
            min-height: 90vh;
        }
         }

.leaflet-control-attribution {
    display: none !important;
}
