/* =========================================
   BASE SETTINGS & COLOR SCHEME (Emerald & Gold)
   ========================================= */
:root {
    --primary: #11784A;       /* Emerald Green */
    --primary-dark: #0A4F30;  /* Deep Emerald */
    --accent: #D4AF37;        /* Metallic Gold */
    --accent-hover: #b5952f;  /* Darker Gold */
    --dark: #1A251C;          /* Very dark green-tinted grey */
    --light: #F8FBF9;         /* Off-white with subtle green hint */
    --success: #27AE60;
    --error: #E74C3C;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth; /* Modern UX: Smooth anchor scrolling */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Crisper text rendering */
}

/* Accessibility: Clear focus indicators for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.reveal {
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    will-change: transform, opacity;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; }

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.2rem); /* Fluid typography */
    color: var(--primary);
    margin-bottom: 40px;
}

.left-align { text-align: left; }
.accent-text { color: var(--accent); }
.margin-top-25 { margin-top: 25px; }
.full-width { width: 100%; }

.section-description {
    margin-bottom: 30px;
    color: #555;
    font-size: 1.1rem;
}

/* =========================================
   BUTTONS & LOADING STATES
   ========================================= */
.cta-button, .submit-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background var(--transition-speed) ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    position: relative;
}

.cta-button:hover, .submit-btn:hover { 
    background: var(--accent-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.cta-button:active, .submit-btn:active { 
    transform: translateY(0); 
    box-shadow: none; 
}

.danger-btn {
    background: var(--error); color: white;
    padding: 8px 15px; border: none;
    border-radius: 4px; cursor: pointer;
    transition: background 0.2s ease;
}
.danger-btn:hover { background: #c0392b; }

.nav-btn { padding: 8px 15px; font-size: 0.9rem; }
.hero-btn { font-size: 1.1rem; padding: 15px 40px; }

/* Button Loading Spinner for Automated Emails */
.btn-loading {
    color: transparent !important;
    pointer-events: none;
}
.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--dark);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* =========================================
   HERO & NAVIGATION
   ========================================= */
.hero {
    height: 70vh;
    min-height: 500px;
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-slide::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.hero-inner-overlay { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; width: 100%; }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.logo-link { text-decoration: none; display: flex; align-items: center; }
.logo { display: flex; align-items: center; }

.logo-image { 
    max-height: 180px; 
    max-width: 180px; 
    width: auto; 
    height: auto; 
    display: block; 
    object-fit: contain;
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; }
.nav-links a:not(.cta-button) { color: white; text-decoration: none; font-weight: 500; transition: color var(--transition-speed); }
.nav-links a:not(.cta-button):hover { color: var(--accent); }

.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; padding: 0 20px; }
.hero-content h1 { 
    font-size: clamp(2.5rem, 6vw, 4rem); 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
}
.hero-subtitle { font-size: clamp(1rem, 3vw, 1.3rem); margin-bottom: 20px; }

/* =========================================
   MAIN LAYOUT & SECTIONS
   ========================================= */
.listing-layout { display: flex; gap: 40px; align-items: flex-start; padding-top: 40px; padding-bottom: 60px; }
.listing-main { flex: 1; min-width: 0; }
.content-section { margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid #ddd; }
.content-section:last-child { border-bottom: none; }

/* =========================================
   FEATURES (Interactive Cards)
   ========================================= */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.feature-card {
    background: white; padding: 25px; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary); cursor: pointer; transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.feature-card:hover, .feature-card:focus-within { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.feature-title { color: var(--primary); margin-bottom: 10px; }

/* =========================================
   FLOORPLAN
   ========================================= */
.floorplan-section { background: white; padding: 40px; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.floorplan-container { position: relative; max-width: 800px; margin: 0 auto; }
.floorplan-container img { width: 100%; height: auto; border-radius: var(--border-radius); display: block; }
.hotspot { 
    position: absolute; width: 28px; height: 28px; background: var(--accent); 
    border: 3px solid white; border-radius: 50%; transform: translate(-50%, -50%); 
    cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.3); animation: pulse 2s infinite; 
    padding: 0; z-index: 5; transition: transform 0.2s;
}
.hotspot:hover, .hotspot:focus { transform: translate(-50%, -50%) scale(1.2); animation: none; background: var(--primary); }

.hotspot-tooltip { 
    position: absolute; background: var(--dark); color: white; padding: 8px 12px; 
    border-radius: 4px; font-size: 0.85rem; white-space: nowrap; opacity: 0; pointer-events: none; 
    transform: translate(-50%, -15px); transition: opacity var(--transition-speed), transform var(--transition-speed); z-index: 10; 
}
.hotspot:hover + .hotspot-tooltip, .hotspot:focus + .hotspot-tooltip { opacity: 1; transform: translate(-50%, -40px); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); } 70% { box-shadow: 0 0 0 12px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }

/* =========================================
   GALLERIES
   ========================================= */
.scrolling-gallery { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: thin; scroll-behavior: auto; }
.scrolling-gallery::-webkit-scrollbar { height: 8px; }
.scrolling-gallery::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.scrolling-gallery .gallery-item { flex: 0 0 300px; height: 220px; cursor: pointer; transition: transform 0.2s ease; }
.scrolling-gallery .gallery-item:hover, .scrolling-gallery .gallery-item:focus-within { transform: scale(1.02); z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.scrolling-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--border-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 15px; }

/* =========================================
   SIDEBAR CALENDAR
   ========================================= */
.listing-sidebar { width: 380px; flex-shrink: 0; position: sticky; top: 30px; z-index: 100; }
.calendar-wrapper { background: white; color: var(--dark); padding: 25px; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.06); border: 1px solid #eaeaea; }
.calendar-title { margin-bottom: 5px; color: var(--dark); font-size: 1.3rem; font-weight: 600; }
.calendar-subtitle { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
.calendar-legend-new { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; font-size: 0.85rem; color: #555; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-box { width: 16px; height: 16px; border-radius: 2px; display: inline-block; }
.box-unavail { background: #e16b61; }
.box-avail { background: #dcecdb; }
.box-checkin { background: #dcecdb; border: 2px solid #8ab58a; }
.calendar-header-controls-new { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.calendar-header-controls-new h4 { font-size: 1.2rem; margin: 0; color: var(--dark); font-weight: 600;}
.cal-nav-buttons { display: flex; gap: 6px; }
.cal-nav-buttons button { background: #334155; color: white; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-weight: 600; font-size: 0.9rem; transition: background 0.2s; }
.cal-nav-buttons button:hover, .cal-nav-buttons button:focus { background: #1e293b; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid #e0e0e0; border-left: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.days-header { background: white; border-top: none; border-left: none; }
.calendar-day-header { font-weight: bold; color: var(--dark); padding: 10px 0; font-size: 0.85rem; text-align: center; border-bottom: 1px solid #e0e0e0; }
.calendar-day { min-height: 60px; border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 5px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; font-size: 0.9rem; cursor: pointer; background: linear-gradient(to bottom right, var(--bg-morning, #f4f4f4) 50%, var(--bg-afternoon, #f4f4f4) 50%); transition: filter 0.2s; }
.calendar-day:hover:not(.disabled), .calendar-day:focus:not(.disabled) { box-shadow: inset 0 0 0 2px #8ab58a; outline: none; filter: brightness(0.95); }
.calendar-day.selected-checkin, .calendar-day.selected-checkout { box-shadow: inset 0 0 0 3px #8ab58a; }
.calendar-day.disabled { cursor: default; }
.calendar-day .day-num { font-weight: normal; margin-top: 5px; z-index: 2; }
.calendar-day .day-price { font-size: 0.7rem; color: #555; text-align: center; margin-top: 5px; z-index: 2; display: none; }

.booking-summary-box { margin-top: 25px; padding-top: 20px; border-top: 2px solid #eee; animation: slideUpFade 0.3s ease forwards; }
.booking-summary-box h4 { margin-bottom: 15px; font-size: 1.2rem; color: var(--primary); }
.booking-summary-box p { font-size: 0.95rem; margin-bottom: 8px; }
.booking-summary-box .deposit-text { margin-bottom: 10px; color: #555; }
.booking-summary-box .price-text { font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.price-display { color: var(--success); font-weight: bold; transition: color 0.3s ease; }

@keyframes slideUpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 951px) {
    .calendar-wrapper { position: relative; }
    .booking-summary-box { position: absolute !important; top: 20px; right: calc(100% + 20px); width: 320px; background: white; padding: 25px; border-radius: 12px; box-shadow: -8px 10px 30px rgba(0,0,0,0.15); border: 1px solid #eaeaea; border-right: 6px solid var(--primary); margin-top: 0; border-top: none; z-index: 200; }
    .booking-summary-box::after { content: ''; position: absolute; top: 30px; right: -12px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 12px solid var(--primary); }
}

/* =========================================
   SOCIAL MEDIA LINKS
   ========================================= */
.social-media-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 10px;
    border-radius: var(--border-radius);
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.social-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.facebook-btn { background: #1877F2; }
.instagram-btn { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.email-btn { background: #334155; }
.whatsapp-color-btn { background: #25D366; }

/* =========================================
   SPECIAL EVENTS CARDS (EXPANDABLE)
   ========================================= */
.special-events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.special-event-card { 
    background: white; border-radius: var(--border-radius); overflow: hidden; 
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2); border: 2px solid var(--accent); 
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, opacity 0.3s ease; 
    cursor: pointer; position: relative; display: flex; flex-direction: column; 
}
.special-event-card.hidden { display: none; }
.special-event-card:hover, .special-event-card:focus-within { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4); }

.special-event-img { width: 100%; height: 180px; object-fit: cover; border-bottom: 2px solid var(--accent); transition: height var(--transition-speed) ease; }
.special-event-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.special-event-title { color: var(--primary-dark); font-size: 1.3rem; margin-bottom: 10px; font-weight: bold; }
.special-event-dates { font-size: 0.95rem; color: #555; flex: 1; }

/* Smooth Expandable Blurb */
.special-event-blurb-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-speed) ease;
}
.special-event-blurb {
    overflow: hidden;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0;
    transition: opacity var(--transition-speed) ease, margin var(--transition-speed) ease;
}

.special-event-card.expanded .special-event-blurb-wrapper { grid-template-rows: 1fr; }
.special-event-card.expanded .special-event-blurb { opacity: 1; margin-top: 15px; margin-bottom: 15px; }
.special-event-card.expanded .special-event-img { height: 120px; } /* Shrink image slightly to make room */

.special-event-price { 
    font-size: 1.4rem; color: var(--success); font-weight: bold; border-top: 1px solid #eee; 
    padding-top: 15px; margin-top: 15px; display: flex; justify-content: space-between; align-items: center; 
}
.event-badge { position: absolute; top: 15px; right: 15px; background: var(--accent); color: var(--dark); padding: 5px 12px; border-radius: 4px; font-weight: bold; font-size: 0.85rem; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }

.event-select-btn { display: none; margin-top: 10px; text-align: center; }
.special-event-card.expanded .event-select-btn { display: block; animation: slideUpFade 0.3s ease forwards 0.2s; opacity: 0; }

/* =========================================
   MODALS & LIGHTBOX
   ========================================= */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); display: flex; justify-content: center; align-items: center; z-index: 2000; opacity: 0; pointer-events: none; transition: opacity var(--transition-speed) ease; overflow-y: auto; padding: 20px 0; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { background: white; padding: 40px; border-radius: var(--border-radius); width: 90%; max-width: 650px; position: relative; margin: auto; color: var(--dark); box-shadow: 0 15px 50px rgba(0,0,0,0.5); transform: translateY(-20px); transition: transform var(--transition-speed) ease; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 25px; font-size: 30px; cursor: pointer; color: #888; line-height: 1; background: none; border: none; transition: color 0.2s, transform 0.2s; }
.modal-close:hover, .modal-close:focus { color: var(--error); outline: none; transform: scale(1.1); }
.modal-header { color: var(--primary); border-bottom: 2px solid #eee; padding-bottom: 10px; }

.modal-summary-box { background: var(--light); padding: 20px; border-radius: 4px; margin-top: 20px; border-left: 5px solid var(--accent); }
.modal-summary-box p { margin-bottom: 10px; font-size: 1.1rem; }
.modal-total-price { margin-top: 10px; font-size: 1.2rem; }

.form-label { font-weight: bold; display: block; margin-bottom: 8px; }
.form-select, textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s; }
.form-select:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(17, 120, 74, 0.15); }
textarea { resize: vertical; }

/* Micro-interaction for valid discount code */
.discount-success-pulse { animation: pulseGreen 1.5s ease; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(39, 174, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(39, 174, 96, 0); } }

.modal-disclaimer { margin-top: 25px; font-size: 0.9rem; color: #666; text-align: center; }
.modal-actions { display: flex; gap: 15px; margin-top: 15px; }
.primary-action { flex: 2; font-size: 1.1rem; }
.secondary-action { flex: 1; background: #555; color: white; }

.feature-bullets-list { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-bullets-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1.05rem; line-height: 1.4; color: #444; }
.emoji-bullet { font-size: 1.3rem; flex-shrink: 0; line-height: 1.2; }

/* LIGHTBOX */
.lightbox { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 80vh; border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; font-weight: bold; cursor: pointer; background: none; border: none; }
.lightbox-nav { position: absolute; top: 50%; color: white; font-size: 50px; font-weight: bold; cursor: pointer; transform: translateY(-50%); user-select: none; padding: 20px; background: none; border: none; transition: color 0.2s; }
.lightbox-nav:hover { color: var(--accent); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* TOASTS */
#toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--dark); color: white; padding: 15px 25px; border-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); animation: slideIn 0.3s ease forwards; }
.toast.success { border-left: 5px solid var(--success); }
.toast.error { border-left: 5px solid var(--error); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Micro-interaction: Success Confetti Bounce */
.success-icon-bounce { display: inline-block; animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; transform-origin: bottom center; }
@keyframes bounceIn { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.2); opacity: 1; } 70% { transform: scale(0.9); } 100% { transform: scale(1); opacity: 1; } }

/* =========================================
   USER DASHBOARD STYLES
   ========================================= */
.user-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.user-table th, .user-table td { padding: 12px 15px; border-bottom: 1px solid #eee; text-align: left; }
.user-table th { background: #f9f9f9; color: var(--dark); font-weight: bold; }
.pay-badge { padding: 4px 8px; border-radius: 12px; font-size: 0.8rem; font-weight: bold; display: inline-block; }
.pay-unpaid { background: #fee2e2; color: #b91c1c; }
.pay-partial { background: #fef08a; color: #b45309; }
.pay-paid { background: #dcfce7; color: #15803d; }

/* =========================================
   ADMIN DASHBOARD UI
   ========================================= */
.admin-container-full { width: 100%; min-height: 100vh; padding: 40px 5%; background: #f4f7f6; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-top: 30px; }
.dashboard-card { background: white; padding: 30px 25px; border-radius: var(--border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.05); cursor: pointer; transition: transform var(--transition-speed), box-shadow var(--transition-speed); border-top: 5px solid var(--primary); text-align: left; }
.dashboard-card:hover, .dashboard-card:focus-within { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.dashboard-card h3 { color: var(--dark); margin-bottom: 10px; font-size: 1.3rem; }
.dashboard-card p { color: #666; font-size: 0.95rem; line-height: 1.4; }

.admin-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); display: flex; justify-content: center; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; z-index: 3000; opacity: 0; pointer-events: none; transition: opacity var(--transition-speed) ease; overflow-y: auto; }
.admin-modal-overlay.active { opacity: 1; pointer-events: all; }
.admin-modal-content { background: white; padding: 40px; border-radius: var(--border-radius); width: 95%; max-width: 900px; position: relative; margin: auto; color: var(--dark); box-shadow: 0 15px 50px rgba(0,0,0,0.5); transform: translateY(-20px); transition: transform var(--transition-speed) ease; }
.admin-modal-overlay.active .admin-modal-content { transform: translateY(0); }
.admin-modal-close { position: absolute; top: 20px; right: 25px; font-size: 35px; cursor: pointer; color: #888; line-height: 1; background: none; border: none; z-index: 10; transition: color 0.2s; }
.admin-modal-close:hover, .admin-modal-close:focus { color: var(--error); outline: none; }

.form-row { display: flex; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.form-group { flex: 1; display: flex; flex-direction: column; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
th { background-color: var(--light); }

#auth-overlay { position: fixed; top:0; left:0; width:100%; height:100%; background: var(--primary); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.auth-card { background: white; padding: 40px; border-radius: var(--border-radius); box-shadow: 0 15px 40px rgba(0,0,0,0.2); width: 90%; max-width: 400px; text-align: center; }

.emoji-toolbar { display: flex; gap: 5px; padding: 8px 12px; background: #fdfdfd; border: 1px solid #ccc; border-bottom: none; border-radius: 4px 4px 0 0; flex-wrap: wrap; }
.emoji-btn { background: none; border: 1px solid transparent; font-size: 1.3rem; cursor: pointer; padding: 5px 8px; border-radius: 4px; transition: background 0.2s, border-color 0.2s; }
.emoji-btn:hover, .emoji-btn:focus { background: #eee; border-color: #ddd; outline: none; }
#feature-bullets { border-radius: 0 0 4px 4px; }

.collage-workspace { margin-top: 20px; padding: 15px; background: #f9f9f9; border: 1px dashed #ccc; border-radius: 4px; }
.collage-preview { width: 100%; max-width: 800px; height: 400px; background: #eee; margin: 15px auto; position: relative; border-radius: 4px; overflow: hidden; display: none; }
.collage-preview canvas { width: 100%; height: 100%; object-fit: cover; }

/* =========================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 950px) {
    .listing-layout { flex-direction: column; }
    .listing-sidebar { width: 100%; position: relative; top: 0; }
    .calendar-wrapper { max-width: 500px; margin: 0 auto; }
    .calendar-day { min-height: 70px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; } 
}