/* General */
:root {
    --primary-color: #333;
    --secondary-color: #ebe9d6;
    --accent-color: #8B7355; /* From old SVG */
    --promo-bg: #2c2416;
    --promo-text: #ebe9d6;
    --promo-accent: #c4c09a;
    --font-family: 'Georgia', serif;
    --color-primary: #8B7355;
    --color-bg: #181818;
    --color-text: #fff;
    --color-accent: #e25555;
    --color-range: #fff;
    --font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--primary-color);
    background-color: var(--secondary-color);
    margin: 0;
    line-height: 1.6;
    overflow-y: scroll; /* Always show vertical scrollbar to prevent layout shifts */
}

main {
    padding: 2rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

section {
    margin-bottom: 3rem;
}

h1, h2, h3 {
    font-weight: normal;
    color: var(--accent-color);
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; margin-bottom: 1.5rem; }
h3 { font-size: 1.6em; margin-bottom: 1rem; }

a {
    color: var(--accent-color);
}

/* Header */
header {
    min-height: 70px; /* Pre-allocate space for fixed navigation to prevent content jumping */
}

#hero {
    text-align: center;
    padding: 2rem;
    background: #fdfcf7;
    padding-top: 80px; /* Adjust this value based on the nav height */
}

.logo-container {
    margin-bottom: 1.5rem;
}

.logo-video {
    max-width: 350px;
    width: 100%;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.subtitle {
    font-size: 1.2em;
    color: #666;
}

/* Content Sections */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 1rem 0;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#map {
    height: 450px;
    width: 100%;
    margin-top: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.instructions-detailed {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px;
}

.instructions-detailed ol,
.instructions-detailed ul {
    padding-left: 20px;
}

.wifi-section,
.important-notes,
.contact-info {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

.wifi-section { background-color: #f0f8ff; }
.important-notes { background-color: #fff8dc; }
.contact-info { background-color: #f0fff0; }

.instruction-image {
    text-align: center;
    margin: 1rem 0;
}
.instruction-image img {
    max-width: 100%;
    border-radius: 8px;
    cursor: pointer;
}
.image-caption {
    font-size: 0.9em;
    color: #777;
    margin-top: 0.5rem;
}

/* Policies */
.policy-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.check-in-info, .check-out-info {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Promo Section from old version */
.promo-section {
    position: relative;
    margin: 60px 0 0 0;
    background: linear-gradient(135deg, #2c2416 0%, #1a1610 50%, #0f0e0a 100%);
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.promo-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.promo-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    background-size: 200% 200%;
    animation: backgroundShift 20s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    color: #ebe9d6;
}

.promo-header {
    text-align: center;
    margin-bottom: 60px;
}

.promo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    opacity: 0.9;
    animation: iconFloat 6s ease-in-out infinite;
}

.promo-header h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ebe9d6 0%, #d4d1b8 50%, #c4c09a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.promo-subtitle {
    font-size: 1.3rem;
    color: #c4c09a;
    font-style: italic;
    opacity: 0.9;
    margin: 0;
}

.promo-body {
    display: grid;
    gap: 50px;
}

.promo-description {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    color: #d4d1b8;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.promo-description strong {
    color: #ebe9d6;
    font-weight: 500;
}

.referral-details {
    background: linear-gradient(135deg, rgba(235, 233, 214, 0.05) 0%, rgba(196, 192, 154, 0.03) 100%);
    border: 1px solid rgba(139, 115, 85, 0.2);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.referral-details h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ebe9d6;
    font-weight: 300;
}

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

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, #8B7355 0%, #6B5B45 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.step p {
    color: #c4c09a;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.reference-code-container {
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.1) 0%, rgba(107, 91, 69, 0.05) 100%);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(139, 115, 85, 0.3);
}

.code-label {
    font-size: 1.1rem;
    color: #c4c09a;
    margin-bottom: 15px;
    font-weight: 300;
}

.reference-code {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #8B7355 0%, #6B5B45 100%);
    border-radius: 12px;
    padding: 15px 25px;
    margin: 10px 0;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-code span {
    font-family: 'Courier New', monospace;
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.1em;
    margin-right: 15px;
}

.copy-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.code-instruction {
    font-size: 0.95rem;
    color: #c4c09a;
    margin-top: 15px;
    margin-bottom: 0;
    opacity: 0.8;
}

.explore-links {
    text-align: center;
}

.explore-links h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ebe9d6;
    font-weight: 300;
}

.explore-links > p {
    font-size: 1.1rem;
    color: #c4c09a;
    margin-bottom: 30px;
    opacity: 0.9;
}

.promo-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.promo-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(235, 233, 214, 0.08) 0%, rgba(196, 192, 154, 0.05) 100%);
    border: 1px solid rgba(139, 115, 85, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #ebe9d6;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.promo-button:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 115, 85, 0.5);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.2);
    background: linear-gradient(135deg, rgba(235, 233, 214, 0.12) 0%, rgba(196, 192, 154, 0.08) 100%);
}

.promo-button.primary {
    background: linear-gradient(135deg, #8B7355 0%, #6B5B45 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.3);
}

.promo-button.primary:hover {
    background: linear-gradient(135deg, #9D8465 0%, #7D6B55 100%);
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.4);
}

.button-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.button-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Animations */
@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem 1rem;
}
footer a {
    color: var(--secondary-color);
}

/* 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);
}
.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* PWA Install Button */
#install-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#install-button.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-info {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
}

/* PWA Install Prompt */
.pwa-prompt {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    max-width: 360px;
}

.pwa-prompt:not(.hidden) {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.pwa-prompt.hidden {
    display: none;
}

.pwa-prompt-content {
    display: flex;
    align-items: center;
    padding: 16px;
    position: relative;
}

.pwa-close-btn {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.pwa-prompt-icon {
    flex-shrink: 0;
    margin-right: 16px;
    color: var(--accent-color);
}
.pwa-prompt-icon svg {
    width: 48px;
    height: 48px;
}

.pwa-prompt-text h3 {
    margin: 0 0 4px;
    font-size: 1.1em;
    color: var(--primary-color);
}
.pwa-prompt-text p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

.pwa-install-btn {
    margin-left: 16px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--font-family);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pwa-install-btn:hover {
    background-color: #6B5B45; /* Darker shade of accent */
}

/* Amenities Section */
.amenities-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.amenities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
    margin-bottom: 3rem;
}

.amenities-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.amenities-subtitle {
    font-size: 1.125rem;
    color: #666;
}

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

.amenity-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.amenity-icon-container {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenity-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent-color);
}

.amenity-name {
    font-weight: 600;
    color: var(--primary-color);
}

.show-all-container {
    text-align: center;
    margin-top: 2.5rem;
}

.show-all-button {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.show-all-button:hover {
    background-color: var(--promo-bg);
}

/* Responsive Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw; /* Ensure navigation spans full viewport width */
    z-index: 50;
    height: 60px;
}
nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s, color 0.3s;
}
nav ul li a:hover {
    background-color: #f3f4f6;
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

/* Mobile & Tablet Styles */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        padding: 1rem 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav a {
        text-align: center;
        padding: 1rem;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.whatsapp-button:hover {
    background-color: #128c7e;
}

.whatsapp-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* --- Image Gallery --- */

.gallery-section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.gallery-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

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

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
    background-color: #f0f0f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.image-item:hover .image-overlay {
    opacity: 1;
}

.image-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.image-item:hover .image-title {
    transform: translateY(0);
    opacity: 1;
}

/* --- Lightbox --- */
.lightbox-hidden {
    display: none;
}

#lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

#lightbox.active {
    display: flex; /* Show when active */
}

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

.lightbox-content {
    width: 80vw;
    height: 80vh;
    max-width: 1200px;
    object-fit: contain;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(30, 30, 30, 0.6);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 480px) {
    .nav-logo a {
        font-size: 1.2rem;
    }

    .main-nav {
        padding: 1rem;
    }
} 

.offline-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 1000;
} 

@media (max-width: 600px) {
  #notifications-btn, .notifications-btn {
    font-size: 1.25rem !important;
    padding: 1rem 2rem !important;
    min-width: 80vw !important;
    min-height: 3.5rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin: 1.5rem auto !important;
    display: block !important;
  }
} 

#custom-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: #fff;
  padding: 1em;
  text-align: center;
  z-index: 9999;
  font-size: 1.1em;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}
#custom-install-banner button {
  background: #fff;
  color: #222;
  border: none;
  border-radius: 4px;
  padding: 0.5em 1.2em;
  font-size: 1em;
  margin-left: 1em;
  cursor: pointer;
} 

@media (max-width: 600px) {
  #notifications-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
    margin: 1.2em 0 1.5em 0 !important;
  }
  #notifications-container a {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    margin-right: 0 !important;
    font-size: 1em !important;
    padding: 0.9em 0 !important;
  }
  #notifications-container p {
    font-size: 0.97em;
    margin-top: 0.7em;
    margin-bottom: 0;
    text-align: center;
  }
} 

/* --- Notification Buttons & Section (See Images, Booking Status) --- */
#notifications-container {
  text-align: center;
  margin: 2em 0;
}

#see-images-btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  font-size: 1.1em;
  font-weight: 500;
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 0.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
  margin-right: 0.7em;
}
#see-images-btn:hover {
  background: #145dc1;
}

.booking-status-btn {
  display: inline-block;
  padding: 0.7em 1.5em;
  font-size: 1.1em;
  font-weight: 500;
  border-radius: 0.5em;
  background: #f5f5f5;
  color: #1877f2;
  border: 1px solid #e0e0e0;
  transition: background 0.2s;
  text-decoration: none;
}
.booking-status-btn:hover {
  background: #e0eaff;
}

@media (max-width: 600px) {
  #notifications-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
    margin: 1.2em 0 1.5em 0 !important;
  }
  #notifications-container a {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    margin-right: 0 !important;
    font-size: 1em !important;
    padding: 0.9em 0 !important;
  }
  #notifications-container p {
    font-size: 0.97em;
    margin-top: 0.7em;
    margin-bottom: 0;
    text-align: center;
  }
}
/* --- End Notification Buttons & Section --- */ 
html {
  overflow-y: scroll;
} 

/* --- Admin Modern Form & Table Styles --- */
.admin-form {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2em 1.5em;
  max-width: 480px;
  margin: 0 auto 2em auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.admin-form .form-group {
  margin-bottom: 1.2em;
}
.admin-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4em;
  color: #22223b;
}
.admin-input {
  width: 100%;
  padding: 0.7em 1em;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  font-size: 1em;
  transition: border 0.2s;
}
.admin-input:focus {
  border: 1.5px solid #1877f2;
  outline: none;
  background: #f0f8ff;
}
.admin-form button[type="submit"] {
  background: #1877f2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.admin-form button[type="submit"]:hover {
  background: #145dc1;
}
#booking-status-log table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
#booking-status-log th, #booking-status-log td {
  padding: 0.8em 1em;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}
#booking-status-log th {
  background: #f1f5f9;
  font-weight: 700;
  color: #22223b;
}
#booking-status-log tr:nth-child(even) {
  background: #f8fafc;
}
#booking-status-log tr:last-child td {
  border-bottom: none;
} 

/* --- Material-Inspired Admin Form & Button Styles --- */
.admin-form-material {
  background: #fff;
  border-radius: 12px;
  padding: 2em 1.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 480px;
  margin: 0 auto 2em auto;
}
.admin-form-material .form-group {
  margin-bottom: 1.5em;
}
.admin-form-material label {
  font-weight: 600;
  margin-bottom: 0.3em;
  display: block;
  color: #333;
}
.admin-input-material {
  width: 100%;
  padding: 0.7em 1em;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f9fafb;
  font-size: 1em;
  transition: border 0.2s;
}
.admin-input-material:focus {
  border: 1.5px solid #1976d2;
  outline: none;
  background: #e3f2fd;
}
.admin-btn-material {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7em 1.5em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.admin-btn-material:hover {
  background: #1565c0;
}

/* --- Admin Booking Log Table: Modern & Mobile Optimized --- */
#booking-status-log {
  width: 100%;
  overflow-x: auto;
}
#booking-status-log table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  font-size: 1em;
  margin: 0;
  min-width: 600px;
}
#booking-status-log th, #booking-status-log td {
  padding: 1em 1.2em;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}
#booking-status-log th {
  background: #f1f5f9;
  font-weight: 700;
  color: #22223b;
  font-size: 1.05em;
  letter-spacing: 0.01em;
}
#booking-status-log tr:nth-child(even) {
  background: #f8fafc;
}
#booking-status-log tr:last-child td {
  border-bottom: none;
}
@media (max-width: 700px) {
  #booking-status-log table, #booking-status-log thead, #booking-status-log tbody, #booking-status-log th, #booking-status-log td, #booking-status-log tr {
    display: block;
    width: 100%;
  }
  #booking-status-log thead {
    display: none;
  }
  #booking-status-log tr {
    margin-bottom: 1.2em;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    padding: 1em 0.5em;
  }
  #booking-status-log td {
    border: none;
    position: relative;
    padding-left: 50%;
    min-height: 2.5em;
    font-size: 1em;
  }
  #booking-status-log td:before {
    position: absolute;
    top: 0.9em;
    left: 1em;
    width: 45%;
    white-space: nowrap;
    font-weight: 700;
    color: #888;
    content: attr(data-label);
    font-size: 0.98em;
  }
}

/* --- Mobile Admin Dashboard Styles --- */
.admin-mobile-bg {
  background: #181a20;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.admin-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem 0.5rem 1.2rem;
  background: linear-gradient(90deg, #181a20 60%, #23263a 100%);
  border-bottom: 1px solid #23263a;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-mobile-header-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.admin-mobile-logo {
  font-size: 1.7rem;
  background: linear-gradient(135deg, #3b82f6, #a78bfa);
  border-radius: 0.5rem;
  padding: 0.3rem 0.5rem;
  color: #fff;
}
.admin-mobile-title {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.01em;
}
.admin-mobile-header-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.admin-mobile-clock {
  font-size: 0.95rem;
  color: #a1a1aa;
}
.admin-mobile-settings {
  background: #23263a;
  border: none;
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
  color: #a1a1aa;
  font-size: 1.2rem;
}
.admin-mobile-quickstats {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.7rem 1.2rem 0.7rem 1.2rem;
}
.admin-mobile-stat {
  background: #23263a;
  border-radius: 0.7rem;
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.2rem 0.5rem 0.2rem;
}
.admin-mobile-stat-value {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
}
.admin-mobile-green { color: #4ade80; }
.admin-mobile-blue { color: #60a5fa; }
.admin-mobile-purple { color: #a78bfa; }
.admin-mobile-stat-label {
  font-size: 0.85rem;
  color: #a1a1aa;
}
.admin-mobile-main {
  padding: 0.5rem 0.5rem 5.5rem 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}
.admin-mobile-section {
  display: none;
  margin-bottom: 1.5rem;
}
.admin-mobile-section.active {
  display: block;
}
.admin-mobile-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: #fff;
}
.admin-mobile-card, .admin-mobile-listitem {
  background: #23263a;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px 0 #0002;
  border: 1px solid #23263a;
}
.admin-mobile-listitem {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.admin-mobile-listitem-title {
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
}
.admin-mobile-listitem-meta {
  font-size: 0.9rem;
  color: #a1a1aa;
}
.admin-mobile-listitem-status {
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0.5rem;
  padding: 0.2rem 0.7rem;
  display: inline-block;
  margin-top: 0.2rem;
}
.admin-mobile-status-confirmed {
  background: #4ade8015;
  color: #4ade80;
  border: 1px solid #4ade8030;
}
.admin-mobile-status-pending {
  background: #fde04715;
  color: #fde047;
  border: 1px solid #fde04730;
}
.admin-mobile-status-cancelled {
  background: #f8717115;
  color: #f87171;
  border: 1px solid #f8717130;
}
.admin-mobile-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 480px;
  background: #181a20ee;
  border-top: 1px solid #23263a;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.2rem 0;
  z-index: 100;
  box-shadow: 0 -2px 8px 0 #0002;
  backdrop-filter: blur(8px);
}
.admin-mobile-navbtn {
  background: none;
  border: none;
  outline: none;
  color: #a1a1aa;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.5rem 0.7rem 0.2rem 0.7rem;
  border-radius: 0.8rem;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.admin-mobile-navbtn.active, .admin-mobile-navbtn:focus {
  background: #23263a;
  color: #60a5fa;
}
.admin-mobile-navicon {
  font-size: 1.3rem;
}
.admin-mobile-navlabel {
  font-size: 0.8rem;
  font-weight: 500;
}
@media (max-width: 600px) {
  .admin-mobile-main, .admin-mobile-bottomnav {
    max-width: 100vw;
  }
}

/* --- Improved Mobile Form Styles for Unified Look --- */
.admin-mobile-form {
  background: #23263a;
  border-radius: 1rem;
  padding: 1.2rem 1rem 1rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px 0 #0002;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}
.admin-mobile-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.admin-mobile-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.9em 1em;
  border: none;
  border-radius: 0;
  background: #23263a;
  color: #fff;
  font-size: 1em;
  font-family: inherit;
  outline: none;
  box-shadow: none;
  border-bottom: 1px solid #35384a;
  transition: border 0.2s, background 0.2s;
  resize: none;
}
.admin-mobile-input:focus {
  background: #181a20;
  border-bottom: 2px solid #60a5fa;
}
.admin-mobile-form-group textarea.admin-mobile-input {
  resize: vertical;
  min-height: 2.5em;
  max-height: 8em;
  overflow-x: hidden;
}
.admin-mobile-form-group:first-child .admin-mobile-input {
  border-top-left-radius: 0.7em;
  border-top-right-radius: 0.7em;
}
.admin-mobile-form-group:last-of-type .admin-mobile-input {
  border-bottom-left-radius: 0.7em;
  border-bottom-right-radius: 0.7em;
  border-bottom: none;
}
.admin-mobile-btn {
  background: linear-gradient(90deg, #3b82f6 60%, #a78bfa 100%);
  color: #fff;
  border: none;
  border-radius: 0.7em;
  padding: 0.9em 1em;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 #0002;
  margin-top: 1.2em;
}
.admin-mobile-btn:active {
  background: #60a5fa;
}
.admin-mobile-response {
  margin-top: 0.5em;
  color: #4ade80;
  font-size: 0.98em;
  min-height: 1.2em;
}
@media (max-width: 600px) {
  .admin-mobile-form {
    max-width: 98vw;
    padding: 1.1rem 0.5rem 0.7rem 0.5rem;
  }
} 

@media (max-width: 600px) {
  .promo-section {
    margin: 30px 0 0 0;
    padding: 0 0.5rem;
    overflow-x: hidden;
  }
  .promo-content {
    padding: 18px 2px 18px 2px;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .promo-header {
    margin-bottom: 22px;
  }
  .promo-header h2 {
    font-size: 1.3rem;
    margin-bottom: 7px;
    text-shadow: none;
    letter-spacing: 0;
  }
  .promo-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
  }
  .promo-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  .promo-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .promo-description {
    font-size: 0.98rem;
    line-height: 1.5;
    padding: 0 2px;
    max-width: 100vw;
    margin: 0 auto 8px auto;
  }
  .referral-details {
    padding: 10px 6px;
    border-radius: 10px;
    margin: 0.7rem auto 0 auto;
    box-shadow: none;
  }
  .referral-details h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }
  .steps {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 10px;
    width: 100%;
  }
  .step {
    padding: 7px 2px;
    font-size: 0.97rem;
  }
  .step-number {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .reference-code-container {
    padding: 10px 2px;
    border-radius: 7px;
    margin-top: 0.5rem;
  }
  .code-label {
    font-size: 0.98rem;
    margin-bottom: 7px;
  }
  .reference-code {
    padding: 7px 10px;
    border-radius: 6px;
    gap: 0.3rem;
    font-size: 1rem;
  }
  .reference-code span {
    font-size: 0.98rem;
    margin-right: 7px;
  }
  .copy-button {
    padding: 4px 7px;
    font-size: 1em;
    min-width: 36px;
    min-height: 36px;
    border-radius: 6px;
  }
  .code-instruction {
    font-size: 0.85em;
    margin-top: 0.3rem;
  }
  .explore-links {
    margin-top: 0.7rem;
  }
  .explore-links h3 {
    font-size: 1.1rem;
    margin-bottom: 7px;
  }
  .explore-links > p {
    font-size: 0.97rem;
    margin-bottom: 10px;
  }
  .promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
  }
  .promo-button {
    padding: 10px 6px;
    font-size: 0.98rem;
    border-radius: 7px;
    width: 100%;
    min-height: 48px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .button-text {
    font-size: 1em;
    margin-bottom: 2px;
  }
  .button-subtitle {
    font-size: 0.85em;
  }
} 

/* --- Fix Translate Icon and Dropdown Visibility --- */
nav ul li img[alt="Translate"] {
  display: inline-block !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  vertical-align: middle;
  cursor: pointer;
  z-index: 101 !important;
}
#translate-dropdown {
  z-index: 9999 !important;
  min-width: 140px;
  min-height: 40px;
  box-shadow: 0 2px 8px #0002;
  background: #fff;
  border-radius: 8px;
  padding: 0.5em 0.7em;
  position: absolute;
  right: 0;
  top: 32px;
  display: none;
  border: 2px solid #f00; /* DEBUG: red border to verify visibility */
}
#translate-dropdown.show {
  display: block !important;
  min-width: 140px;
  min-height: 40px;
  border: 2px solid #0f0; /* DEBUG: green border to verify .show state */
} 

/* --- Full Page Loading Spinner Overlay --- */
#global-loading-overlay {
  position: fixed;
  z-index: 99999;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  opacity: 1;
  pointer-events: all;
}
#global-loading-overlay.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.loading-spinner {
  width: 56px;
  height: 56px;
  border: 6px solid #e0e0e0;
  border-top: 6px solid #8B7355;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  background: transparent;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#global-loading-overlay .loading-text {
  margin-top: 1.2em;
  font-size: 1.1em;
  color: #8B7355;
  text-align: center;
  font-weight: 500;
}
@media (max-width: 600px) {
  .loading-spinner {
    width: 38px;
    height: 38px;
    border-width: 4px;
  }
  #global-loading-overlay .loading-text {
    font-size: 1em;
  }
} 
 
/* Modern Dual-Month Booking Calendar (AirBNB-style, dark theme) */
.calendar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  width: 90%;
  margin: 2em auto 1.5em auto;
  background: var(--color-bg);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.08);
  padding: 2.5em 1em 2.5em 1em;
  overflow: hidden;
}
.modern-calendar {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.modern-calendar-month {
  background: #232323;
  border-radius: 18px;
  padding: 1.5em 1.2em 1.7em 1.2em;
  min-width: 320px;
  max-width: 340px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  margin-bottom: 1em;
}
.modern-calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.7em;
  gap: 0.5em;
}
.modern-calendar-title {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  flex: 1;
}
.modern-calendar-arrow {
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.2s;
}
.modern-calendar-arrow:hover, .modern-calendar-arrow:focus {
  background: #333;
  transform: scale(1.05);
}
.modern-calendar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0 auto;
}
.modern-calendar-table thead th {
  color: #aaa;
  font-weight: 500;
  font-size: 0.98em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.3em;
  font-family: var(--font-family);
}
.modern-calendar-table tbody {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 8px;
}
.modern-calendar-table tr {
  display: contents;
}
.modern-calendar-table td {
  text-align: center;
  padding: 0;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  position: relative;
}
.modern-calendar-day {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  font-size: 1.08em;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border: none;
  background: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  outline: none;
}
.modern-calendar-day.today {
  border: 2px solid var(--color-accent);
  border-radius: 50%;
}
.modern-calendar-day.selected {
  /* This class is no longer used for range, but can be kept for single selection if needed */
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

.range-start,
.range-end {
  background-color: var(--color-primary) !important; /* Use primary color for start/end points */
  color: #fff !important;
  font-weight: 700;
}

.in-range {
  background-color: var(--color-range) !important; /* Use light color for the range itself */
  color: #181818 !important; /* Dark text for contrast */
  transition: background-color 0.2s ease;
  border-radius: 0; /* No radius for days in the middle */
}

.range-start {
  border-radius: 4px 0 0 4px !important;
}

.range-end {
  border-radius: 0 4px 4px 0 !important;
}

.modern-calendar-day.range {
  background: var(--color-range);
  color: #181818;
  border-radius: 0;
  transition: background 0.2s;
}
.modern-calendar-day:focus {
  box-shadow: 0 0 0 2px var(--color-accent);
  z-index: 2;
}
.modern-calendar-day.blocked {
  opacity: 0.4;
  pointer-events: none;
  position: relative;
}
.modern-calendar-day.blocked::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}
.range-start,
.range-end,
.in-range {
  background-color: var(--color-range) !important;
  color: #181818 !important;
  transition: background-color 0.3s ease;
}
.range-start { border-radius: 4px 0 0 4px !important; }
.range-end   { border-radius: 0 4px 4px 0 !important; }

@media (max-width: 1024px) {
  .calendar-container {
    max-width: 98vw;
    padding: 1.2em 0.2em 1.5em 0.2em;
  }
  .modern-calendar-month {
    min-width: 220px;
    max-width: 99vw;
    padding: 1em 0.2em 1em 0.2em;
  }
  .modern-calendar-table td {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
  }
}
@media (max-width: 700px) {
  .calendar-container {
    flex-direction: column;
    max-width: 100vw;
    padding: 0.5em 0.1em 1em 0.1em;
    border-radius: 14px;
    min-height: unset;
    box-shadow: 0 2px 10px rgba(0,0,0,0.13);
  }
  .modern-calendar {
    flex-direction: column;
    gap: 0.7em;
    align-items: center;
    max-width: 100vw;
    width: 100%;
  }
  .modern-calendar-month {
    min-width: 98vw;
    max-width: 99vw;
    padding: 0.7em 0.1em 1em 0.1em;
    border-radius: 14px;
    margin: 0 auto;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  }
  .modern-calendar-header {
    padding: 0 0.2em;
  }
  .modern-calendar-title {
    font-size: 1em;
  }
  .modern-calendar-arrow {
    font-size: 1.6em;
    width: 2.5em;
    height: 2.5em;
  }
  .modern-calendar-table th, .modern-calendar-table td {
    font-size: 1.1em;
    padding: 0.1em;
  }
  .modern-calendar-day {
    width: 2.7em;
    height: 2.7em;
    line-height: 2.7em;
    font-size: 1.15em;
    border-radius: 10px;
    margin: 0.05em;
  }
} 
 
/* [Placeholder] Airbnb HorizonCalendar-inspired calendar styles will be implemented here. */ 

.airbnb-calendar {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(24,119,242,0.08);
  max-width: 420px;
  margin: 2em auto;
  padding: 1.5em 1.2em 2em 1.2em;
  font-family: 'Inter', 'Segoe UI', system-ui, Arial, sans-serif;
}
.airbnb-calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
}
.airbnb-calendar-title {
  font-size: 1.25em;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.01em;
}
.airbnb-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2em;
}
.airbnb-calendar-cell {
  background: #f8fafc;
  border-radius: 10px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.08em;
  color: #222;
  position: relative;
  transition: background 0.15s;
  margin-bottom: 0.1em;
  padding: 0.3em 0 0.2em 0;
}
.airbnb-calendar-cell:hover:not(.airbnb-calendar-blocked):not(.airbnb-calendar-weekday):not(.airbnb-calendar-empty) {
  background: #eaf4ff;
  cursor: pointer;
}
.airbnb-calendar-weekday {
  background: none;
  color: #1877f2;
  font-weight: 600;
  font-size: 1em;
  border-radius: 0;
  min-height: 32px;
  margin-bottom: 0.2em;
}
.airbnb-calendar-empty {
  background: none;
  pointer-events: none;
}
.airbnb-calendar-day {
  font-size: 1.13em;
  font-weight: 500;
  margin-bottom: 0.1em;
}
.airbnb-calendar-blocked {
  background: #fdf2f2;
  color: #c00;
  opacity: 0.7;
  pointer-events: none;
}
.airbnb-calendar-blocked .airbnb-calendar-day {
  color: #c00;
}
.airbnb-calendar-status {
  font-size: 0.85em;
  color: #c00;
  background: #fdeaea;
  border-radius: 6px;
  padding: 0.1em 0.6em;
  margin-top: 0.1em;
  font-weight: 500;
}
@media (max-width: 600px) {
  .airbnb-calendar {
    max-width: 99vw;
    padding: 1em 0.2em 1.2em 0.2em;
  }
  .airbnb-calendar-title {
    font-size: 1.05em;
  }
  .airbnb-calendar-cell {
    min-height: 36px;
    font-size: 0.97em;
    padding: 0.15em 0 0.1em 0;
  }
} 
 
.booking-status-card {
  background: #fff;
  border-radius: 1.1em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2em 2.5em 1.5em 2.5em;
  margin: 2.5em auto 1.5em auto;
  max-width: 700px;
  text-align: center;
  color: #333;
} 
 
/* --- Booking Request Form Modal Styles --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top of other content, higher than tooltip */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    padding-top: 60px; /* Location of the box */
    animation: fadeInModal 0.3s ease-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 30px;
    border: 1px solid #888;
    width: 90%; /* Could be more responsive */
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    position: relative; /* For the close button */
    animation: slideInModal 0.3s ease-out;
}

.modal-content h2 {
    text-align: center;
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 2em;
}

.modal-content p {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    width: calc(100% - 20px); /* Account for padding */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
}

.submit-button {
    background-color: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    transition: background-color 0.2s ease;
    margin-top: 20px;
}

.submit-button:hover {
    background-color: #6d5b4a; /* Slightly darker shade of accent-color */
}

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

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

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .modal-content {
        margin: 20px auto; /* Adjust margin for smaller screens */
        padding: 20px;
        width: 95%;
    }

    .modal {
        padding-top: 20px;
    }

    .modal-content h2 {
        font-size: 1.6em;
    }
}
/* --- End Booking Request Form Modal Styles --- */

/* --- Tooltip Styles for Blocked Dates */
#blocked-date-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    white-space: nowrap;
    z-index: 1000; /* Ensure it's on top */
    pointer-events: none; /* Allows clicks to pass through to elements beneath */
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#blocked-date-tooltip.show {
    opacity: 1;
}

/* Media query for smaller screens, if needed for positioning */
@media (max-width: 600px) {
    #blocked-date-tooltip {
        /* Adjust position for mobile, e.g., slightly lower or centered */
    }
} 

/* Cleaning Schedule Styles */
.cleaning-schedule {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cleaning-schedule table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.cleaning-schedule th,
.cleaning-schedule td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cleaning-schedule th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.cleaning-schedule tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.cleaning-schedule tbody tr:hover {
    background-color: #eaeaea;
}

.cleaning-schedule .status-pending {
    color: orange;
    font-weight: bold;
}

.cleaning-schedule .status-completed {
    color: green;
    font-weight: bold;
}

.cleaning-schedule .status-in-progress {
    color: blue;
    font-weight: bold;
} 
 