/**
 * Custom CSS Styles
 * 2026 RSPC Information Help Desk
 * Modern, Government-style Design
 */

/* =============================================
   CSS Variables & Base Styles
   ============================================= */
:root {
    --primary-color: #0a192f;
    --secondary-color: #1a365d;
    --accent-color: #2c5282;
    --success-color: #38a169;
    --warning-color: #dd6b20;
    --danger-color: #e53e3e;
    --info-color: #0bc5ea;
    --light-bg: #f7fafc;
    --dark-bg: #1a202c;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-bg);
}

/* =============================================
   Lazy Image Loading - Blur-up Effect
   ============================================= */
img.lazy-loading {
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease, filter 0.4s ease;
}
img.lazy-loaded {
    opacity: 1;
    filter: blur(0);
}
/* Skeleton placeholder while image loads */
img.lazy[data-src] {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    min-height: 80px;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
    background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%) !important;
    padding: 0.75rem 0;
    z-index: 1030 !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Ensure collapsed navbar menu appears above other elements */
.navbar-collapse {
    z-index: 1050;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* =============================================
   Hero Section
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, #0a192f 0%, #142e5a 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Hero Brand Badge */
.hero-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 10px 20px 10px 12px;
}

.hero-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hero-brand-label {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.hero-brand-sub {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.stat-card {
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* =============================================
   Cards
   ============================================= */
.card {
    border: none;
    border-radius: 0.75rem;
    transition: var(--transition);
}

/* Transparent cards on public pages with body background */
body:has(#feedbackSection) .card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

/* =============================================
   Map Markers
   ============================================= */
.marker-pin {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.marker-pin i {
    transform: rotate(45deg);
    color: white;
    font-size: 14px;
}

.marker-pin.billeting {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.marker-pin.venue {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
}

.marker-pin.helpdesk {
    background: linear-gradient(135deg, #0bc5ea 0%, #0987a0 100%);
}

.marker-pin.user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.marker-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    margin: 7px 0 0 7px;
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    border-radius: 50%;
}

/* Map Popup — Compact Card */
.map-popup-compact {
    font-family: inherit;
}

.map-popup-compact .popup-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.map-popup-compact .popup-thumb {
    flex-shrink: 0;
    width: 80px;
    min-height: 70px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #e2e8f0;
}

.map-popup-compact .popup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.map-popup-compact .popup-thumb:hover img {
    transform: scale(1.05);
}

.map-popup-compact .popup-img-badge {
    position: absolute;
    bottom: 3px;
    right: 3px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.6rem;
    padding: 1px 5px;
    border-radius: 4px;
    line-height: 1.3;
}

.map-popup-compact .popup-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-popup-compact .popup-extra {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1px;
    line-height: 1.2;
}

.map-popup-compact .popup-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.map-popup-compact .popup-addr {
    font-size: 0.65rem;
    color: #718096;
    line-height: 1.25;
    margin-bottom: 1px;
}

.map-popup-compact .popup-addr i {
    font-size: 0.55rem;
    margin-right: 2px;
}

.map-popup-compact .popup-detail {
    font-size: 0.62rem;
    color: #4a5568;
    line-height: 1.25;
}

.map-popup-compact .popup-detail i {
    font-size: 0.55rem;
    margin-right: 2px;
    color: #718096;
}

.map-popup-compact .popup-detail a {
    color: var(--primary-color);
    text-decoration: none;
}

.map-popup-compact .popup-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    justify-content: stretch;
}

.map-popup-compact .popup-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    padding: 6px 0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #fff;
}

.map-popup-compact .popup-btn-dir {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.map-popup-compact .popup-btn-dir:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.map-popup-compact .popup-btn-gmap {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.map-popup-compact .popup-btn-gmap:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #fff;
}

/* Legacy popup fallback */
.map-popup {
    min-width: 200px;
}

.map-popup h6 {
    color: var(--primary-color);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-success {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    border: none;
    color: white;
}

.btn-warning:hover {
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, #0bc5ea 0%, #0987a0 100%);
    border: none;
}

/* =============================================
   Forms
   ============================================= */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 0.625rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.15);
}

.input-group-text {
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
}

/* =============================================
   Footer
   ============================================= */
footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d3748 100%) !important;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* =============================================
   Animations
   ============================================= */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    /* Ensure mobile menu links are fully clickable and properly stacked */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: linear-gradient(135deg, #0a192f 0%, #1a365d 100%);
        padding: 0.5rem 1rem 1rem;
        margin: 0.5rem -12px 0;
        border-radius: 0 0 0.5rem 0.5rem;
        position: relative;
        z-index: 1060;
    }
    
    /* Fix: Ensure each nav-item has proper layout in mobile */
    .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-collapse .nav-item {
        position: relative;
        display: block;
        width: 100%;
    }
    
    .navbar-collapse .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem !important;
    }
    
    /* Prevent navbar-brand from overlapping collapsed menu */
    .navbar-brand {
        position: static;
        z-index: auto;
    }
    
    .nav-link {
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .stat-card {
        padding: 1rem !important;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    /* Footer columns */
    footer .col-md-3,
    footer .col-md-6 {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    footer h5, footer h6 {
        margin-top: 0.5rem;
    }
}

/* =============================================
   Mobile-First: Small Phones (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
    /* Prevent iOS zoom on input focus */
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="search"],
    input[type="password"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* Navbar brand - prevent overflow */
    .navbar-brand {
        font-size: 0.95rem;
        max-width: 60vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .navbar-brand img {
        height: 28px !important;
        width: 28px !important;
    }
    
    /* Hero section small screens */
    .hero-section {
        padding: 2rem 0 !important;
    }
    
    .hero-section h1.display-4 {
        font-size: 1.4rem !important;
    }
    
    .hero-section .lead {
        font-size: 0.875rem;
    }
    
    .hero-section .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-brand-badge {
        padding: 8px 14px 8px 8px;
        gap: 8px;
    }
    
    .hero-brand-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero-brand-label {
        font-size: 14px;
    }
    
    .hero-brand-sub {
        font-size: 10px;
    }
    
    /* Stat cards grid */
    .hero-stats .col-6 {
        padding: 0.2rem !important;
    }
    
    .stat-card {
        padding: 0.75rem !important;
    }
    
    .stat-card h3 {
        font-size: 1.25rem;
    }
    
    .stat-card small {
        font-size: 0.65rem;
    }
    
    .stat-card i.fs-2 {
        font-size: 1.25rem !important;
    }
    
    /* Section headings */
    h2.fw-bold {
        font-size: 1.3rem;
    }
    
    h3, h4 {
        font-size: 1.1rem;
    }
    
    /* SDO / Discover section */
    .sdo-card {
        min-height: 260px !important;
    }
    
    .sdo-video {
        min-height: 220px !important;
    }
    
    .sdo-logo-img {
        height: 60px;
    }
    
    /* Cards */
    .card-body {
        padding: 0.875rem;
    }
    
    /* Buttons for touch */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-sm {
        min-height: 36px;
    }
    
    /* Feedback section */
    .feedback-input-card {
        padding: 16px;
    }
    
    .feedback-post-btn {
        width: 44px;
        height: 44px;
    }
    
    .feedback-item {
        padding: 14px;
    }
    
    .feedback-item-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    /* Chat button */
    .chat-float-btn {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    
    /* Footer */
    footer {
        padding: 1.5rem 0 !important;
    }
    
    footer .container .row > div {
        text-align: center;
    }
    
    footer h5 {
        font-size: 1rem;
    }
    
    footer h6 {
        font-size: 0.9rem;
    }
    
    footer .small, footer small {
        font-size: 0.75rem;
    }
    
    /* Announcement modal */
    .announcement-modal-content {
        margin: 0.5rem;
    }
    
    .announcement-modal-header {
        padding: 1rem;
    }
    
    .announcement-modal-icon {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    
    .announcement-modal-item {
        padding: 0.875rem 1rem;
    }
    
    /* Page headers */
    section.bg-success h1,
    section.bg-warning h1,
    section.bg-info h1 {
        font-size: 1.3rem;
    }
    
    section.bg-success p,
    section.bg-warning p,
    section.bg-info p {
        font-size: 0.8rem;
    }
    
    /* Search inputs */
    .form-control-lg {
        font-size: 1rem;
        padding: 0.625rem 1rem;
    }
    
    /* Contact cards */
    .avatar-circle {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    
    .contact-details .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
}

/* =============================================
   Mobile: Landscape & Small Tablets (481-767px)
   ============================================= */
@media (min-width: 481px) and (max-width: 767.98px) {
    .hero-section h1.display-4 {
        font-size: 1.6rem !important;
    }
    
    .sdo-card {
        min-height: 280px !important;
    }
    
    .sdo-video {
        min-height: 260px !important;
    }
}

/* =============================================
   iOS Safe Area (notch / home indicator)
   ============================================= */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .chat-float-btn {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
    
    .chat-box {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    footer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }
}

/* =============================================
   Touch-Friendly Improvements
   ============================================= */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .hover-card:hover {
        transform: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
    
    /* Make interactive elements easier to tap */
    .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        min-height: 40px;
    }
    
    .location-card {
        padding: 0.75rem !important;
    }
    
    /* Popup carousel buttons always visible on touch */
    .popup-carousel-btn {
        opacity: 0.8 !important;
    }
    
    .popup-expand-btn {
        opacity: 0.8 !important;
    }
    
    /* Disable SDO card hover lift on touch */
    .sdo-card:hover {
        transform: none;
    }
    
    /* Feedback cards no hover lift on touch */
    .feedback-item:hover {
        transform: none;
    }
}

/* =============================================
   Venues / Billeting / Contacts - Mobile Fixes
   ============================================= */

/* Sticky filter: offset for fixed navbar height */
@media (max-width: 991.98px) {
    section.sticky-top {
        top: 56px; /* Bootstrap navbar collapse height */
        z-index: 1020;
    }
}

@media (max-width: 480px) {
    /* Venues/Billeting card images shorter on phones */
    .card-img-top[style*="height: 180px"],
    .card-img-top[style*="height: 160px"] {
        height: 140px !important;
    }
    
    /* Card titles */
    .card-title {
        font-size: 1rem;
    }
    
    /* Get Directions button full width already, just ensure touch friendly */
    .card-footer .btn {
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    /* Category section headings */
    .category-section h3 {
        font-size: 1.05rem;
    }
    
    /* Department section headings */
    .department-section h4 {
        font-size: 1.05rem;
    }
    
    /* SDO Contact Host section on mobile */
    .col-lg-8 .card-body.p-4 {
        padding: 1rem !important;
    }
    
    .col-lg-8 .card-body.p-4 h4 {
        font-size: 1.1rem;
    }
}

/* Contact card layout on very small screens */
@media (max-width: 375px) {
    .contact-card .d-flex.align-items-start {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }
    
    .contact-card .avatar-circle {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
    
    .contact-card .flex-grow-1 {
        text-align: center;
    }
}

/* =============================================
   Utility Classes
   ============================================= */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

/* Leaflet Popup Overrides */
.leaflet-popup-content-wrapper {
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-content {
    margin: 10px 12px;
}

/* Leaflet Routing Machine */
.leaflet-routing-container {
    background: white;
    padding: 10px;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    font-size: 0.85rem;
}

.leaflet-routing-alt {
    max-height: 200px;
    overflow-y: auto;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* =============================================
   Glassmorphism Effects
   ============================================= */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-modal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
}

/* =============================================
   Feedback Section
   ============================================= */
.feedback-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    position: relative;
    overflow: hidden;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.05) 0%, transparent 70%);
    animation: pulse-bg 15s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(30px) translateY(30px); }
}

.feedback-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feedback-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(49, 130, 206, 0.1);
    line-height: 1;
}

.feedback-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feedback-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.feedback-stars {
    color: #ffc107;
}

.feedback-stars i {
    margin-right: 2px;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.2s;
    padding: 0 2px;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffc107;
}

/* =============================================
   Simple Floating Chat Button & Box
   ============================================= */

/* Simple Floating Button */
.chat-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f 0%, #3182ce 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.4);
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(30, 58, 95, 0.5);
}

.chat-float-btn.active {
    display: none;
}

/* Chat Backdrop */
.chat-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.chat-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 150px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-box.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Chat Box Header */
.chat-box-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-box-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-box-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-box-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Chat Box Body */
.chat-box-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}

/* Chat Start Form */
.chat-start {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chat-start .form-control {
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
}

.chat-start .form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

/* Chat Messages */
.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 100%;
}

.chat-message {
    max-width: 80%;
}

.chat-message.sent {
    margin-left: auto;
}

.chat-message.received {
    margin-right: auto;
}

.chat-message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.sent .chat-message-bubble {
    background: #1e3a5f;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.received .chat-message-bubble {
    background: white;
    color: #2d3748;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.chat-message-time {
    font-size: 0.7rem;
    color: #a0aec0;
    margin-top: 4px;
}

.chat-message.sent .chat-message-time {
    text-align: right;
}

/* Chat Box Footer */
.chat-box-footer {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chat-box-footer .form-control {
    border-radius: 20px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
}

.chat-box-footer .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: white;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a0aec0;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator .typing-label {
    font-size: 0.75rem;
    color: #718096;
    margin-left: 4px;
    white-space: nowrap;
}

.typing-indicator .typing-label::after {
    content: '';
    animation: ellipsis 1.5s infinite;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* Waiting for Representative Animation */
.waiting-for-rep {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 260px;
    margin: 8px auto;
    animation: fadeInUp 0.4s ease-out;
}

.waiting-dots {
    display: flex;
    gap: 6px;
}

.waiting-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color, #1a365d);
    opacity: 0.4;
    animation: waitPulse 1.6s infinite ease-in-out;
}

.waiting-dots span:nth-child(1) { animation-delay: 0s; }
.waiting-dots span:nth-child(2) { animation-delay: 0.3s; }
.waiting-dots span:nth-child(3) { animation-delay: 0.6s; }

.waiting-text {
    font-size: 0.8rem;
    color: #4a5568;
    font-weight: 500;
    text-align: center;
}

.waiting-text .ellipsis-anim::after {
    content: '';
    animation: ellipsis 1.5s infinite;
}

@keyframes waitPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes ellipsis {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chat-float-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .chat-box {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}

/* =============================================
   Simple Feedback Section
   ============================================= */

.feedback-input-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feedback-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback-user-info {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.feedback-user-info .form-control {
    flex: 1;
    min-width: 200px;
    border-radius: 10px;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
}

.feedback-user-info .form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.feedback-rating-inline {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star-rating-inline {
    display: flex;
    gap: 4px;
}

.star-rating-inline i {
    font-size: 1.2rem;
    color: #cbd5e0;
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating-inline i:hover,
.star-rating-inline i.active {
    color: #f6ad55;
    transform: scale(1.1);
}

.feedback-message-box {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.feedback-message-box .form-control {
    flex: 1;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    resize: none;
}

.feedback-message-box .form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.feedback-post-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a5f 0%, #3182ce 100%);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feedback-post-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

.feedback-post-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback List Items */
.feedback-item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.feedback-item:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feedback-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feedback-item-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feedback-item-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-weight: 600;
    font-size: 1.1rem;
}

.feedback-item-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 2px;
}

.feedback-item-date {
    font-size: 0.8rem;
    color: #a0aec0;
}

.feedback-item-stars {
    color: #f6ad55;
    font-size: 0.9rem;
}

.feedback-item-stars i.empty {
    color: #e2e8f0;
}

.feedback-item-message {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.feedback-item-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;
}

.feedback-item.editable .feedback-item-actions {
    display: block;
}

.feedback-edit-btn {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.feedback-edit-btn:hover {
    background: #edf2f7;
    color: #3182ce;
}

/* No feedbacks message */
.no-feedbacks {
    text-align: center;
    padding: 40px;
    color: #718096;
}

.no-feedbacks i {
    font-size: 3rem;
    color: #e2e8f0;
    margin-bottom: 16px;
}

/* Feedback Pagination */
.feedback-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding: 8px 0;
}

.feedback-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(255,255,255,0.85);
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.feedback-page-btn:hover:not(:disabled):not(.active) {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

.feedback-page-btn.active {
    background: #3182ce;
    border-color: #3182ce;
    color: #fff;
    box-shadow: 0 2px 6px rgba(49,130,206,0.3);
}

.feedback-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.feedback-page-dots {
    color: #a0aec0;
    padding: 0 2px;
    font-weight: 600;
    user-select: none;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .feedback-user-info {
        flex-direction: column;
        align-items: stretch;
    }
    
    .feedback-user-info .form-control {
        min-width: 100%;
    }
    
    .feedback-rating-inline {
        justify-content: center;
    }
}

/* =============================================
   Discover / SDO Section
   ============================================= */
.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sdo-card {
    border-radius: 1rem !important;
    min-height: 420px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sdo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

/* SDO Card Header with gradient banner */
.sdo-card-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8e 50%, #3b7dcc 100%);
    height: 90px;
    position: relative;
    border-radius: 1rem 1rem 0 0;
}

.sdo-logo-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.sdo-logo-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.sdo-info-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.85rem;
}

.sdo-carousel-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.sdo-video {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    background: #000;
    border-radius: 1rem;
}

/* Tourist Spots Carousel — ensure it fills the card height */
.sdo-card .carousel,
.sdo-card .carousel-inner,
.sdo-card .carousel-item {
    height: 100%;
    min-height: inherit;
}

.sdo-card .carousel-item img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .sdo-card {
        min-height: 350px;
    }
    .sdo-video {
        min-height: 350px;
    }
}

@media (max-width: 575.98px) {
    .sdo-card {
        min-height: 300px;
    }
    .sdo-video {
        min-height: 280px;
    }
}

/* =============================================
   Schedule of Activities Section
   ============================================= */
.schedule-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0;
}
.schedule-tabs-wrapper::-webkit-scrollbar { display: none; }

.schedule-tabs {
    gap: 0.5rem;
    display: inline-flex;
    flex-wrap: nowrap;
    padding: 0 0.5rem;
}
.schedule-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-weight: 600;
    transition: all 0.25s ease;
    min-width: 70px;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}
.schedule-tabs .nav-link:hover {
    border-color: #2563eb;
    color: #2563eb;
}
.schedule-tabs .nav-link.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.sched-tab-day {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    line-height: 1.2;
}
.sched-tab-date {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}
.schedule-date-header {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}
.schedule-timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 1rem;
}
.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #e2e8f0, #cbd5e1);
    border-radius: 3px;
}
.schedule-item {
    position: relative;
    margin-bottom: 1rem;
}
.schedule-item-dot {
    position: absolute;
    left: -28px;
    top: 12px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
    z-index: 1;
}
.schedule-item-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 90px;
}
.schedule-item-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.schedule-item-time {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 2px;
}
.schedule-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.3;
}
.schedule-item-venue {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px;
}
.schedule-map-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 2px 8px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.schedule-map-btn:hover {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(37,99,235,0.35);
}
.schedule-item-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 6px;
    white-space: pre-line;
    word-break: break-word;
    line-height: 1.5;
}
.schedule-item-desc .schedule-link {
    color: #2563eb;
    text-decoration: none;
    word-break: break-all;
    font-weight: 500;
}
.schedule-item-desc .schedule-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
.schedule-cat-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Mobile responsive for schedule */
@media (max-width: 767.98px) {
    .schedule-tabs-wrapper {
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .schedule-tabs.justify-content-center {
        justify-content: flex-start !important;
    }
    .schedule-tabs .nav-link {
        min-width: 60px;
        width: 60px;
        height: 60px;
        padding: 0.4rem 0.6rem;
    }
    .sched-tab-day { font-size: 0.6rem; }
    .sched-tab-date { font-size: 0.8rem; }
    .schedule-date-header { font-size: 0.95rem; }
    .schedule-timeline { padding-left: 24px; }
    .schedule-item-dot { left: -20px; width: 12px; height: 12px; top: 10px; }
    .schedule-item-card { 
        padding: 0.85rem 1rem; 
        min-height: 80px;
    }
    .schedule-item-title { font-size: 0.9rem; }
    .schedule-item-time { font-size: 0.72rem; }
    .schedule-item-venue { font-size: 0.75rem; }
    .schedule-item-desc { font-size: 0.75rem; }
}

@media (max-width: 575.98px) {
    .schedule-tabs.justify-content-center {
        justify-content: flex-start !important;
    }
    .schedule-tabs .nav-link {
        min-width: 54px;
        width: 54px;
        height: 54px;
        padding: 0.35rem 0.5rem;
        border-radius: 10px;
    }
    .sched-tab-day { font-size: 0.55rem; letter-spacing: 0; }
    .sched-tab-date { font-size: 0.75rem; }
    .schedule-tabs { gap: 0.35rem; }
    .schedule-timeline { padding-left: 20px; }
    .schedule-item-dot { left: -16px; width: 10px; height: 10px; }
    .schedule-item-card { 
        padding: 0.75rem 0.85rem;
        border-radius: 10px;
        min-height: auto;
    }
    .schedule-item-title { font-size: 0.85rem; }
    .schedule-item-time { font-size: 0.7rem; }
    .schedule-item-venue { font-size: 0.72rem; }
    .schedule-item-desc { font-size: 0.72rem; }
    .schedule-cat-badge { font-size: 0.6rem; padding: 2px 6px; }
    .schedule-map-btn { font-size: 0.62rem; padding: 2px 6px; }
}

/* =============================================
   Aurora Tourism Section
   ============================================= */
.tourism-section {
    background: linear-gradient(180deg, #e8f5e9 0%, #f1f8e9 50%, #e8f5e9 100%);
}

.tourism-carousel-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.tourism-carousel-inner {
    aspect-ratio: 7 / 4;
    height: auto;
}

.tourism-carousel-inner .carousel-item {
    aspect-ratio: 7 / 4;
    height: auto;
}

.tourism-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .tourism-carousel-inner,
    .tourism-carousel-inner .carousel-item {
        aspect-ratio: 7 / 4;
        height: auto;
    }
}

@media (max-width: 575.98px) {
    .tourism-carousel-inner,
    .tourism-carousel-inner .carousel-item {
        aspect-ratio: 7 / 4;
        height: auto;
    }
}

.tourism-video-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tourism-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.tourism-spot-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tourism-spot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.tourism-spot-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.tourism-spot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.tourism-spot-card:hover .tourism-spot-img {
    transform: scale(1.08);
}
.tourism-spot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #94a3b8;
    gap: 0.5rem;
}
.tourism-spot-placeholder i {
    font-size: 2.5rem;
    opacity: 0.5;
}
.tourism-spot-placeholder span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tourism-featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tourism-nav-btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    transition: all 0.2s;
}
.tourism-nav-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

@media (max-width: 575.98px) {
    .tourism-spot-img-wrapper { height: 160px; }
}

/* =============================================
   Announcement Popup Modal
   ============================================= */
.announcement-modal-content {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.announcement-modal-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.announcement-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.announcement-modal-header small {
    color: rgba(255,255,255,0.7) !important;
}

.announcement-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.announcement-modal-header .btn-close:hover {
    opacity: 1;
}

.announcement-modal-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fbbf24;
}

.announcement-modal-body {
    padding: 0 !important;
    max-height: 60vh;
    overflow-y: auto;
}

.announcement-modal-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.announcement-modal-item:last-child {
    border-bottom: none;
}

.announcement-modal-item:hover {
    background: #f8fafc;
}

.announcement-modal-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.4rem;
}

.announcement-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.announcement-modal-text {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.65;
}

.announcement-modal-text a {
    color: #2563eb;
    text-decoration: underline;
}

.announcement-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 1rem 1.5rem;
    justify-content: center;
}

.announcement-modal-footer .btn-primary {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.5rem 2rem;
}

/* Modal scrollbar */
.announcement-modal-body::-webkit-scrollbar {
    width: 5px;
}

.announcement-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.announcement-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.announcement-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 576px) {
    .announcement-modal-content {
        border-radius: 0.75rem;
    }
    .announcement-modal-item {
        padding: 1rem 1.25rem;
    }
}

/* =============================================
   Navigation & Compass (Google Maps–style North-Up)
   ============================================= */

/* ── Old compass widget -- hidden (replaced by inline compass inside map) ── */
.compass-widget {
    display: none !important;
}

.compass-widget:hover {
    display: none !important;
}

.compass-widget.active {
    display: none !important;
}

.compass-widget.active .compass-ring {
    display: none !important;
}

.compass-widget.navigating {
    display: none !important;
}

@keyframes compassPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.compass-ring {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    position: relative;
    border: 2px solid #e2e8f0;
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 40px;
    margin: -20px 0 0 -3px;
    transition: transform 0.3s ease-out;
    transform-origin: center center;
}

.needle-north {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 18px solid #e53e3e;
}

.needle-south {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 18px solid #a0aec0;
}

.compass-n, .compass-e, .compass-s, .compass-w {
    position: absolute;
    font-size: 9px;
    font-weight: 700;
    color: #4a5568;
    line-height: 1;
}

.compass-n { top: 3px; left: 50%; transform: translateX(-50%); color: #e53e3e; }
.compass-s { bottom: 3px; left: 50%; transform: translateX(-50%); }
.compass-e { right: 5px; top: 50%; transform: translateY(-50%); }
.compass-w { left: 5px; top: 50%; transform: translateY(-50%); }

.compass-heading-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 2px;
}

.compass-mode-label {
    font-size: 0.6rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile compass adjustments - now handled by inline compass in map.php */\n\n/* \u2500\u2500 Navigation Arrow (Google Maps blue arrow, always visible) \u2500\u2500 */
.marker-pin.nav-arrow-active {
    border-radius: 0;
    width: 40px;
    height: 40px;
    margin: 0;
    background: none;
    box-shadow: none;
    animation: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-pin.nav-arrow-active::after {
    display: none;
}

.marker-pin.nav-arrow-active .nav-arrow-svg {
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
    transition: filter 0.3s ease;
}

.marker-pin.navigating .nav-arrow-svg polygon {
    fill: #34A853;
}

/* Accuracy circle around user */
.user-accuracy-circle {
    background: rgba(66, 133, 244, 0.12);
    border: 2px solid rgba(66, 133, 244, 0.3);
    border-radius: 50%;
}

/* ── Heading-Up Mode (leaflet-rotate plugin handles rotation natively) ── */
/* No CSS rotation needed — map.setBearing() rotates the canvas properly */
/* Markers, popups, and controls stay correctly positioned automatically */

/* ── Offline Banner ── */
.offline-banner {
    background: linear-gradient(90deg, #f6ad55 0%, #ed8936 100%);
    color: #744210;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
    animation: offlineSlideIn 0.3s ease-out;
}

.offline-banner .fa-wifi-slash::before {
    content: "\f6ac"; /* font-awesome wifi-slash */
}

@keyframes offlineSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Enhanced Tracking Status Bar ── */
.tracking-status-bar {
    background: linear-gradient(90deg, #ebf8ff 0%, #e6fffa 100%);
    border: 1px solid #bee3f8;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.tracking-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2d3748;
    font-weight: 500;
}

.tracking-stat i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.tracking-stat small {
    font-weight: 400;
    color: #718096;
}

/* Mobile tracking bar */
@media (max-width: 480px) {
    .tracking-status-bar {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    .tracking-stat {
        gap: 2px;
    }
}

/* ── Tile Cache Progress ── */
.tile-cache-progress {
    background: rgba(235, 248, 255, 0.95);
    border: 1px solid #bee3f8;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.78rem;
    color: #2c5282;
    animation: offlineSlideIn 0.3s ease-out;
}

/* ── Heading-Up Toggle Button (in navigation panel) ── */
.heading-up-btn {
    border-radius: 20px;
    font-size: 0.78rem;
    padding: 4px 12px;
    transition: all 0.2s ease;
}

.heading-up-btn.active {
    background: #48bb78 !important;
    border-color: #48bb78 !important;
    color: white !important;
}

/* ── Speed Display in Navigation ── */
.nav-speed-display {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
}

.nav-speed-value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.nav-speed-unit {
    font-size: 0.55rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ── ETA display ── */
.nav-eta {
    font-size: 0.8rem;
    opacity: 0.9;
}

.nav-eta-time {
    font-size: 1.1rem;
    font-weight: 600;
}

/* =============================================
   Toast Notifications
   ============================================= */
.toast-container {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.toast-notification {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(10px);
    animation: toastSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.toast-notification.removing {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    to {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
}

.toast-notification.success { border-left-color: var(--success-color); }
.toast-notification.error { border-left-color: var(--danger-color); }
.toast-notification.warning { border-left-color: var(--warning-color); }
.toast-notification.info { border-left-color: var(--info-color); }

.toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 14px;
}

.toast-notification.success .toast-icon { background: rgba(56, 161, 105, 0.15); color: var(--success-color); }
.toast-notification.error .toast-icon { background: rgba(229, 62, 62, 0.15); color: var(--danger-color); }
.toast-notification.warning .toast-icon { background: rgba(221, 107, 32, 0.15); color: var(--warning-color); }
.toast-notification.info .toast-icon { background: rgba(11, 197, 234, 0.15); color: var(--info-color); }

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    margin-left: 10px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-color);
    animation: toastProgress 4s linear forwards;
}

.toast-notification.success .toast-progress { background: var(--success-color); }
.toast-notification.error .toast-progress { background: var(--danger-color); }
.toast-notification.warning .toast-progress { background: var(--warning-color); }
.toast-notification.info .toast-progress { background: var(--info-color); }

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* =============================================
   Confirm Modal
   ============================================= */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.confirm-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    background: white;
    border-radius: 16px;
    padding: 0;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.confirm-modal-overlay.show .confirm-modal {
    transform: scale(1) translateY(0);
}

.confirm-modal-header {
    padding: 28px 28px 16px;
    text-align: center;
}

.confirm-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.confirm-modal-icon.danger {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: var(--danger-color);
}

.confirm-modal-icon.warning {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--warning-color);
}

.confirm-modal-icon.info {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: var(--info-color);
}

.confirm-modal-icon.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--success-color);
}

.confirm-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.confirm-modal-body {
    padding: 0 28px 20px;
    text-align: center;
}

.confirm-modal-message {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.confirm-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    justify-content: center;
}

.confirm-modal-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.confirm-modal-btn.cancel {
    background: #f1f5f9;
    color: var(--text-dark);
}

.confirm-modal-btn.cancel:hover {
    background: #e2e8f0;
}

.confirm-modal-btn.confirm {
    background: linear-gradient(135deg, var(--danger-color), #c53030);
    color: white;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.35);
}

.confirm-modal-btn.confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
}

.confirm-modal-btn.confirm.warning {
    background: linear-gradient(135deg, var(--warning-color), #c05621);
    box-shadow: 0 4px 12px rgba(221, 107, 32, 0.35);
}

.confirm-modal-btn.confirm.info {
    background: linear-gradient(135deg, var(--info-color), #0891b2);
    box-shadow: 0 4px 12px rgba(11, 197, 234, 0.35);
}

.confirm-modal-btn.confirm.success {
    background: linear-gradient(135deg, var(--success-color), #2f855a);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.35);
}

@media (max-width: 480px) {
    .toast-container {
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .confirm-modal-footer {
        flex-direction: column-reverse;
    }
    
    .confirm-modal-btn {
        width: 100%;
    }
}

/* =============================================
   Hotels/Accommodation List Page Styles
   ============================================= */
.hotels-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hotels-header {
    text-align: center;
    margin-bottom: 32px;
}

.hotels-container .page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

/* Barangay Sections */
.barangay-section {
    margin-bottom: 32px;
}

.barangay-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px 12px 0 0;
    box-shadow: var(--shadow);
}

.barangay-icon {
    font-size: 1.3rem;
}

.barangay-name {
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    letter-spacing: 0.5px;
}

.hotel-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Accommodation List */
.accommodation-list {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accommodation-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
    gap: 16px;
}

.accommodation-item:last-child {
    border-bottom: none;
}

.accommodation-item:hover {
    background: var(--light-bg);
}

.accommodation-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.accommodation-details {
    flex: 1;
    min-width: 0;
}

.accommodation-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.accommodation-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.icon-sm {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Actions/Navigation Button */
.accommodation-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.3);
    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.4);
    color: white;
}

.nav-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Contact/Phone Styles */
.accommodation-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.phone-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(56, 161, 105, 0.3);
}

.phone-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(56, 161, 105, 0.4);
    color: white;
}

.phone-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.phone-number {
    font-size: 0.85rem;
}

.copy-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--light-bg);
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.copy-btn.copied {
    background: #38a169;
    color: white;
    border-color: #38a169;
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.no-phone {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 20px;
}

/* Copy Toast */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #38a169;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(56, 161, 105, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive Design for Hotels Page */
@media (max-width: 768px) {
    .hotels-container .page-title {
        font-size: 1.6rem;
    }
    
    .accommodation-item {
        flex-wrap: wrap;
        padding: 16px;
    }
    
    .accommodation-details {
        flex: 1;
        min-width: calc(100% - 60px);
    }
    
    .accommodation-name-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .accommodation-contact {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 12px;
        padding-left: 48px;
    }
    
    .barangay-header {
        padding: 14px 16px;
    }
    
    .barangay-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hotels-container {
        padding: 20px 12px;
    }
    
    .hotels-container .page-title {
        font-size: 1.4rem;
    }
    
    .search-input {
        padding: 12px 16px 12px 44px;
        font-size: 0.95rem;
    }
    
    .accommodation-item {
        padding: 14px 12px;
    }
    
    .accommodation-name {
        font-size: 0.95rem;
    }
    
    .accommodation-location {
        font-size: 0.8rem;
    }
    
    .accommodation-contact {
        padding-left: 40px;
    }
    
    .nav-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    
    .phone-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .phone-number {
        font-size: 0.8rem;
    }
    
    .copy-btn {
        width: 28px;
        height: 28px;
    }
    
    .copy-btn svg {
        width: 12px;
        height: 12px;
    }
}
