/* Inter Font */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter/Inter-Bold.woff2') format('woff2');
}

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --purple-light: #a78bfa;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--purple-dark); }

/* Layout Components */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--purple);
    border-bottom-color: var(--purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-select,
.currency-select {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--white);
    font-family: var(--font-family);
    cursor: pointer;
    font-size: 0.9rem;
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.currency-select {
    min-width: 75px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

/* Make home hero flex-grow and use background image with overlay */
.home .hero {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    background-image: linear-gradient(135deg, rgba(124,58,237,0.6) 0%, rgba(91,33,182,0.6) 100%), url('/images/home-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Countdown */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.countdown {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    text-decoration: none;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--purple-dark);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-outline:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-block {
    width: 100%;
    display: block;
}

/* Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card h3 {
    color: var(--purple);
    margin-bottom: 1rem;
}

/* Sections */
.page-header {
    background: var(--purple);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.content-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
}

.form-input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-help {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.form-actions {
    margin-top: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    border-left: 2px solid var(--purple);
    margin-left: 1rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--purple);
    border-radius: 50%;
}

.timeline-item .time {
    font-weight: 600;
    color: var(--purple);
    min-width: 100px;
}

/* Map Container */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 1rem 0;
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item h3 {
    color: var(--purple);
    margin-bottom: 1rem;
}

.menu-item ul {
    list-style: none;
    padding-left: 0;
}

.menu-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    cursor: pointer;
}

/* Upload Section */
.upload-section {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.upload-progress {
    margin-top: 1rem;
}

.progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--purple);
    transition: width 0.3s ease;
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.login-help {
    text-align: center;
    margin-top: 2rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Admin Dashboard */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--purple);
}

.tab-btn.active {
    color: var(--purple);
    border-bottom-color: var(--purple);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.data-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    background: var(--gray-50);
    font-weight: 600;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--purple);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

.footer a {
    color: var(--purple-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .nav-menu {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .countdown-container {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Account indicator */
.account-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--gray-200);
}

.account-indicator .avatar {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--purple);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.account-indicator .account-name {
    color: var(--gray-700);
    font-weight: 500;
}

.account-indicator .logout {
    background: none;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
}

.account-indicator .login-link {
    color: var(--purple);
    font-weight: 600;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.gallery-tabs .tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 0.25rem;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.gallery-tabs .tab-btn.active {
    color: var(--purple);
    border-bottom-color: var(--purple);
}

/* Profile Page Styles */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.profile-header {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.profile-photo-section {
    flex-shrink: 0;
}

.profile-photo {
    text-align: center;
}

/* Ensure default user image renders circular */
.profile-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple);
    margin-bottom: 1rem;
}

/* Profile photo layout: stack image and button vertically */
.profile-photo {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.profile-photo .btn-sm {
	padding: 0.4rem 0.8rem;
	font-size: 0.875rem;
	display: inline-block;
	margin-top: 0.5rem;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.guest-id {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.guest-id span {
    font-family: monospace;
    background: var(--gray-100);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.profile-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.profile-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 500;
}

.rsvp-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rsvp-status-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
}

.rsvp-status-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.status-date {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge.confirmed {
    background: #10b981;
    color: white;
}

.status-badge.declined {
    background: #ef4444;
    color: white;
}

.status-badge.pending {
    background: var(--gray-400);
    color: white;
}

.plus-one-status {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-400);
}

.modal-close:hover {
    color: var(--gray-600);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .profile-section .info-grid,
    .rsvp-status-grid {
        grid-template-columns: 1fr;
    }
}

/* RSVP Card-Based Form Styles */
.rsvp-form-cards {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rsvp-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rsvp-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.card-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Event Selection */
.event-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-option {
    position: relative;
}

.event-checkbox {
    position: absolute;
    opacity: 0;
}

.event-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-label:hover {
    border-color: var(--purple-light);
    background: var(--gray-50);
}

.event-checkbox:checked + .event-label {
    border-color: var(--purple);
    background: rgba(124, 58, 237, 0.05);
}

.event-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.event-date {
    color: var(--purple);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.event-location {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.checkbox-indicator {
    width: 32px;
    height: 32px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-indicator svg {
    display: none;
}

.event-checkbox:checked + .event-label .checkbox-indicator {
    background: var(--purple);
    border-color: var(--purple);
}

.event-checkbox:checked + .event-label .checkbox-indicator svg {
    display: block;
    color: white;
}

/* Guest Information Grid */
.guest-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Toggle Buttons */
.toggle-group {
    display: flex;
    gap: 0;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:not(:last-child) {
    border-right: 1px solid var(--gray-300);
}

.toggle-btn:hover {
    background: var(--gray-50);
}

.toggle-btn.active {
    background: var(--purple);
    color: white;
}

/* Plus One Section */
.plus-one-section {
    margin-top: 2rem;
    animation: slideDown 0.3s ease;
}

.divider {
    height: 1px;
    background: var(--gray-200);
    margin: 2rem 0 1.5rem;
}

.plus-one-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

/* Submit Section */
.rsvp-submit-section {
    text-align: center;
    padding: 2rem;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.submit-note {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* RSVP Status Summary */
.rsvp-status-summary {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.rsvp-status-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.status-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.status-card .date {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.plus-one-summary {
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
    .rsvp-card {
        padding: 1.5rem;
    }
    
    .event-selection-grid,
    .guest-info-grid,
    .preferences-grid {
        grid-template-columns: 1fr;
    }
    
    .toggle-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* PDF Viewer Styles */
.pdf-viewer {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-viewer iframe {
    display: block;
    width: 100%;
    background: white;
}

/* Travel vertical card list */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.travel-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.travel-card .cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.travel-card .content {
    padding: 1.25rem 1.5rem;
}

.travel-card h3 {
    margin-bottom: 0.75rem;
}

/* Airline list with logos */
.airline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.airline-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.airline-logo {
    height: 20px;
    width: auto;
}

/* Airline Cards Grid */
.airline-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Individual Airline Card */
.airline-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.airline-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.airline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
}

.airline-header h3 {
    color: var(--purple);
    font-size: 1.25rem;
    font-weight: 600;
}

.frequency {
    background: var(--purple-light);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.route-info {
    margin-bottom: 1rem;
}

.route-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-50);
}

.route-label {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
}

.route-value {
    color: var(--gray-900);
    font-weight: 600;
    font-size: 0.875rem;
}

.price-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.price-label {
    color: var(--gray-600);
    font-weight: 500;
}

.price-value {
    color: var(--purple);
    font-size: 1.125rem;
    font-weight: 700;
}

.airline-comment {
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.5;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

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

/* Hotel Search Widget */
.hotel-search-widget {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.hotel-search-widget h3 {
    color: var(--purple);
    margin-bottom: 1rem;
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

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

/* Recommended Hotels Section */
.recommended-section {
    margin: 2rem 0 1rem 0;
}

.recommended-section h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

/* Hotel card with photo left, details right */
.hotel-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 1rem;
    transition: box-shadow 0.2s ease;
}

.hotel-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hotel-card .body {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.hotel-photo {
    width: 140px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--gray-100);
}

.hotel-details {
    flex: 1;
}

.hotel-details h3 {
    margin-bottom: 0.25rem;
    color: var(--purple);
}

.hotel-details p {
    margin-bottom: 0.4rem;
}

.hotel-rating {
    color: var(--orange);
    font-weight: 500;
}

.hotel-amenities {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.price-range {
    color: var(--purple);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.hotel-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hotel-actions .btn-outline {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
    border: 1px solid var(--purple);
    color: var(--purple);
    background: transparent;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.hotel-actions .btn-outline:hover {
    background: var(--purple);
    color: var(--white);
}

/* Booking Widget Section */
.booking-widget-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
    text-align: center;
}

.booking-widget-section h3 {
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.city-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.city-link-btn {
    padding: 0.75rem 1.5rem;
    background: var(--purple);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.city-link-btn:hover {
    background: var(--purple-dark);
}

/* Native Search Container */
.native-search-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.search-controls {
    display: flex;
    background: var(--gray-100);
    border-bottom: 2px solid var(--purple);
}

.search-tab-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--gray-700);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.search-tab-btn:hover {
    background: var(--gray-200);
}

.search-tab-btn.active {
    background: var(--white);
    color: var(--purple);
    font-weight: 600;
}

.search-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple);
}

/* Native Date Selection */
.native-date-selection {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    align-items: flex-end;
}

.date-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.date-input-group label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.native-date-input {
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.875rem;
    background: var(--white);
}

.native-date-input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}

.native-search-button {
    padding: 0.5rem 1.5rem;
    background: var(--purple);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.native-search-button:hover {
    background: var(--purple-dark);
}

@media (max-width: 768px) {
    .native-date-selection {
        flex-direction: column;
    }
    
    .native-search-button {
        width: 100%;
        padding: 0.75rem;
    }
}

.search-results-container {
    min-height: 400px;
    padding: 1.5rem;
}

.search-placeholder {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

/* Native Hotel Result Cards */
.native-hotel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.native-hotel-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.native-hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--purple-light);
}

/* Hotel Image Container */
.hotel-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hotel-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.hotel-rating-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.image-source-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* Hotel Card Content */
.hotel-card-content {
    padding: 1.25rem;
}

.hotel-card-content h4 {
    color: var(--purple);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.native-hotel-price {
    color: var(--purple);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.native-hotel-features {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.native-hotel-book {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--purple);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.native-hotel-book:hover {
    background: var(--purple-dark);
}

/* Loading animation */
.search-loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--purple);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Iframe container for Booking.com embed */
.booking-iframe-container {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hotel-card .body {
        flex-direction: column;
    }
    .hotel-photo {
        width: 100%;
        height: 180px;
    }
}

/* Weddingstagram feed */
.feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.post-header .avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    color: var(--white);
    font-weight: 700;
}

.post-header .meta {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.post-header .meta .time {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.post-img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    display: block;
}

.post-caption {
    padding: 0.75rem 1rem 1rem 1rem;
    color: var(--gray-800);
}