/* 🌿 CLOROFILA Trail Manager - Premium Design System CSS Stylesheet */
/* A fonte Outfit é carregada pelo ClorofilaAsset (Google Fonts). */

/* ── DESIGN SYSTEM TOKENS ────────────────────────────────────────── */
:root {
    /* Color Palette (Light Theme Default - Bege Pergaminho / Verde Pinho Escuro Theme) */
    --clorofila-primary: #1b4332; /* Verde Pinho Escuro */
    --clorofila-primary-hover: #081c15;
    --clorofila-primary-dark: #ebece6;
    --clorofila-primary-light: #2d6a4f;
    --clorofila-bg-gradient: linear-gradient(135deg, #f2f4ee 0%, #ebece6 100%);
    --clorofila-card-bg: #ffffff;
    --clorofila-border: rgba(27, 67, 50, 0.12);
    --clorofila-text: #1b4332; /* Verde Pinho Escuro */
    --clorofila-text-muted: #4e5652; /* Cinza Granito */
    --clorofila-highlight: #e65c00; /* Âmbar de Bivaque */
    --cl-input-bg: #ffffff;

    /* Glow Metrics Value Colors */
    --cl-glow-cyan-color: #0d9488;
    --cl-glow-green-color: #1b4332;
    --cl-glow-orange-color: #e65c00;
    --cl-glow-purple-color: #6d28d9;

    /* Difficulty Colors */
    --diff-easy: #2ecc71;
    --diff-moderate: #e67e22; /* Organic Amber */
    --diff-hard: #c0392b;
    --diff-extreme: #2c3e50;

    /* Spacing Scale (4px/8px grid) */
    --cl-space-1: 4px;
    --cl-space-2: 8px;
    --cl-space-3: 12px;
    --cl-space-4: 16px;
    --cl-space-5: 20px;
    --cl-space-6: 24px;
    --cl-space-7: 32px;
    --cl-space-8: 48px;

    /* Border Radius */
    --cl-radius-sm: 8px;
    --cl-radius-md: 12px;
    --cl-radius-lg: 20px;

    /* Typography Scale */
    --cl-font-xs: 12px;
    --cl-font-sm: 13.5px;
    --cl-font-base: 15px;
    --cl-font-lg: 18px;
    --cl-font-xl: 24px;
    --cl-font-2xl: 32px;

    /* Z-indexes */
    --cl-z-map: 10;
    --cl-z-toggle: 1040;
    --cl-z-overlay: 1000;
}

/* ── DARK SCHEME COMPATIBILITY (Deep Forest Night) ───── */
@media (prefers-color-scheme: dark) {
    :root {
        --clorofila-primary: #40916c;
        --clorofila-primary-hover: #52b788;
        --clorofila-primary-dark: #1b4332;
        --clorofila-primary-light: #b7e4c7;
        --clorofila-bg-gradient: linear-gradient(135deg, #081c15 0%, #132a13 100%);
        --clorofila-card-bg: rgba(27, 67, 50, 0.25);
        --clorofila-border: rgba(82, 183, 136, 0.15);
        --clorofila-text: #ebece6;
        --clorofila-text-muted: #95a5a6; /* Cinza Granito */
        --clorofila-highlight: #ff7300; /* Âmbar de Bivaque */
        --cl-input-bg: rgba(8, 28, 21, 0.6);

        --cl-glow-cyan-color: #00ff88;
        --cl-glow-green-color: #90db89;
        --cl-glow-orange-color: #ff9f43;
        --cl-glow-purple-color: #a55eea;
    }
}

/* Typography Overrides */
.cl-page {
    font-family: 'Outfit', sans-serif !important;
}

.cl-page h1, .cl-page h2, .cl-page h3, .cl-page h4, .cl-page h5, .cl-page h6,
.cl-title, .event-card-title, .trail-card-title, .cl-card-title-premium, .modal-title {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
}

/* Base Outfit Typography Fallbacks */
.clorofila-font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* ── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes markerPulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .trail-card-premium,
    .cl-card--interactive,
    .cl-mobile-toggle-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ── COMPONENT CLASS SYSTEM ─────────────────────────────────────── */

/* 1. Page Wrapper Panel */
.cl-page {
    font-family: 'Outfit', sans-serif;
    background: var(--clorofila-bg-gradient);
    color: var(--clorofila-text);
    border-radius: var(--cl-radius-lg);
    padding: var(--cl-space-6);
    border: 1px solid var(--clorofila-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: var(--cl-space-6);
}

@media (max-width: 767px) {
    .cl-page {
        padding: var(--cl-space-4);
        border-radius: var(--cl-radius-md);
    }
}

/* 2. Header and Typography */
.cl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clorofila-border);
    padding-bottom: var(--cl-space-4);
    margin-bottom: var(--cl-space-5);
    gap: var(--cl-space-4);
}

@media (max-width: 767px) {
    .cl-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.cl-title {
    font-size: clamp(22px, 5vw, var(--cl-font-2xl));
    font-weight: 700;
    background: linear-gradient(90deg, var(--clorofila-primary) 0%, var(--clorofila-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.cl-subtitle {
    font-size: var(--cl-font-sm);
    color: var(--clorofila-text-muted);
    margin-top: var(--cl-space-1);
    margin-bottom: 0;
}

/* 3. Cards */
.cl-card {
    background: var(--clorofila-card-bg);
    border: 1px solid var(--clorofila-border);
    border-radius: var(--cl-radius-md);
    padding: var(--cl-space-5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cl-card--interactive {
    cursor: pointer;
}

.cl-card--interactive:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(144, 219, 137, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Strong touch feedback for mobile */
.cl-card--interactive:active {
    transform: scale(0.985);
    background: rgba(144, 219, 137, 0.12);
    border-color: var(--clorofila-primary);
    transition: transform 0.05s ease;
}

.cl-card.active-card {
    background: rgba(144, 219, 137, 0.07);
    border-color: var(--clorofila-primary);
    box-shadow: 0 0 15px rgba(144, 219, 137, 0.2);
}

/* 4. Buttons */
.cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--cl-space-2);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: var(--cl-font-base);
    padding: 10px 20px;
    border-radius: var(--cl-radius-sm);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    min-height: 44px; /* Touch target safety */
}

.cl-btn--primary {
    background: linear-gradient(135deg, #e65c00 0%, #d97706 100%); /* Âmbar de Bivaque gradient */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    border: none;
}

.cl-btn--primary:hover {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}

.cl-btn--ghost {
    background: transparent;
    border-color: rgba(144, 219, 137, 0.3);
    color: var(--clorofila-primary) !important;
}

.cl-btn--ghost:hover {
    background: rgba(144, 219, 137, 0.08);
    border-color: var(--clorofila-primary);
    color: var(--clorofila-primary-light) !important;
}

.cl-btn--sm {
    padding: 6px 12px;
    font-size: var(--cl-font-sm);
    min-height: 36px;
}

.cl-btn--lg {
    padding: 12px 24px;
    font-size: var(--cl-font-lg);
    min-height: 48px;
}

/* 5. Badges */
.cl-badge {
    font-size: var(--cl-font-xs);
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-block;
    border: 1px solid transparent;
}

.cl-badge--easy {
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--diff-easy);
    border-color: rgba(46, 204, 113, 0.3);
}

.cl-badge--moderate {
    background-color: rgba(241, 196, 95, 0.15);
    color: var(--diff-moderate);
    border-color: rgba(241, 196, 95, 0.3);
}

.cl-badge--hard {
    background-color: rgba(231, 76, 60, 0.15);
    color: var(--diff-hard);
    border-color: rgba(231, 76, 60, 0.3);
}

.cl-badge--extreme {
    background-color: rgba(0, 0, 0, 0.35);
    color: #95a5a6;
    border-color: rgba(255, 255, 255, 0.2);
}

.cl-badge--scheduled {
    background: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
    border-color: rgba(0, 229, 255, 0.4);
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

.cl-badge--status-published {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.3);
}

.cl-badge--status-draft {
    background: rgba(230, 126, 34, 0.15);
    color: #e67e22;
    border-color: rgba(230, 126, 34, 0.3);
}

.cl-field-feedback {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.cl-field-feedback--error {
    color: #c0392b;
}

.cl-page .form-control.is-invalid {
    border-color: rgba(192, 57, 43, 0.65) !important;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.15);
}

.cl-badge--status-in-progress {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
}

.cl-badge--status-completed {
    background: rgba(149, 165, 166, 0.15);
    color: #bdc3c7;
    border-color: rgba(149, 165, 166, 0.3);
}

.cl-badge--status-cancelled {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
}

/* 6. Telemetry Grid */
.cl-telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cl-space-2);
    background: var(--clorofila-card-bg);
    padding: var(--cl-space-3);
    border-radius: var(--cl-radius-sm);
    border: 1px solid var(--clorofila-border);
    margin-bottom: var(--cl-space-4);
}

.cl-telemetry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cl-telemetry-label {
    font-size: 10px;
    color: var(--clorofila-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--cl-space-1);
}

.cl-telemetry-value {
    font-size: var(--cl-font-sm);
    font-weight: 700;
    color: var(--clorofila-primary);
}

/* 7. Grid Layouts */
.cl-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--cl-space-5);
    align-items: start;
}

@media (max-width: 991px) {
    .cl-grid-layout {
        grid-template-columns: 1fr;
    }
}

.cl-scroll-list {
    display: flex;
    flex-direction: column;
    gap: var(--cl-space-4);
    max-height: 600px;
    overflow-y: auto;
    padding-right: var(--cl-space-2);
}

.cl-scroll-list::-webkit-scrollbar {
    width: 6px;
}
.cl-scroll-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}
.cl-scroll-list::-webkit-scrollbar-thumb {
    background: rgba(144, 219, 137, 0.2);
    border-radius: 10px;
}
.cl-scroll-list::-webkit-scrollbar-thumb:hover {
    background: rgba(144, 219, 137, 0.4);
}

/* 8. Map Wrapper & Customizations */
.cl-map-wrapper {
    border-radius: var(--cl-radius-md);
    overflow: hidden;
    border: 1px solid rgba(144, 219, 137, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    height: calc(100vh - 200px);
    min-height: 400px;
    position: sticky;
    top: var(--cl-space-5);
    z-index: var(--cl-z-map);
}

@media (max-width: 991px) {
    .cl-map-wrapper {
        position: relative;
        top: 0;
        height: 55vh;
        min-height: 320px;
    }
}

@media (max-width: 575px) {
    .cl-map-wrapper {
        height: 48vh;
        min-height: 260px;
    }
}

/* Leaflet Zoom Control Premium Customization */
.leaflet-control-zoom {
    border: 1px solid rgba(144, 219, 137, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out {
    background-color: #0b170c !important;
    color: #90db89 !important;
    border-bottom: 1px solid rgba(144, 219, 137, 0.1) !important;
    transition: all 0.2s ease !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    font-size: 18px !important;
}

.leaflet-control-zoom-in:hover, .leaflet-control-zoom-out:hover {
    background-color: #132615 !important;
    color: #c4f7be !important;
}

@media (max-width: 991px) {
    .leaflet-control-zoom {
        border-width: 1.5px !important;
    }
    .leaflet-control-zoom-in, .leaflet-control-zoom-out {
        width: 36px !important;
        height: 36px !important;
        line-height: 34px !important;
        font-size: 20px !important;
    }
}

.leaflet-popup-content-wrapper {
    background: rgba(15, 32, 17, 0.95) !important;
    border: 1px solid rgba(144, 219, 137, 0.3) !important;
    border-radius: 12px !important;
    color: #e3ebd5 !important;
    font-family: 'Outfit', sans-serif !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.leaflet-popup-tip {
    background: rgba(15, 32, 17, 0.95) !important;
    border: 1px solid rgba(144, 219, 137, 0.3) !important;
}

.leaflet-popup-content {
    margin: 10px 14px !important;
    font-size: 13px !important;
}

/* 9. Mobile Responsiveness Alternate View Trigger Button */
.cl-mobile-toggle-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--cl-z-toggle);
    background: linear-gradient(135deg, #e65c00 0%, #d97706 100%); /* Âmbar de Bivaque gradient */
    color: #ffffff !important;
    border: 1px solid rgba(217, 119, 6, 0.4);
    border-radius: 30px;
    padding: 12px 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: var(--cl-font-base);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    align-items: center;
    gap: var(--cl-space-2);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cl-mobile-toggle-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .cl-mobile-toggle-btn {
        display: flex !important;
        bottom: 4px;
        right: 4px;
        padding: 8px 12px;
        font-size: 12.5px;
        min-height: 36px;
    }
    .cl-grid-layout > .left-column.cl-mobile-hide,
    .cl-grid-layout > .cl-map-wrapper.cl-mobile-hide {
        display: none !important;
    }
    .cl-scroll-list.cl-mobile-hide {
        display: none !important;
    }
    .cl-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .cl-grid-layout > .left-column {
        order: 2 !important;
        width: 100% !important;
    }
    .cl-grid-layout > .cl-map-wrapper {
        order: 1 !important;
        margin-bottom: 12px !important;
        height: 56vh !important;
        min-height: 300px !important;
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        z-index: 1 !important;
    }
}

/* 10. Filter / Search Bar Premium */
.clorofila-filter-bar {
    display: flex;
    gap: var(--cl-space-3);
    margin-bottom: var(--cl-space-5);
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 18px;
    border-radius: var(--cl-radius-md);
    border: 1px solid var(--clorofila-border);
}

.clorofila-filter-input {
    flex: 1;
    background: var(--cl-input-bg) !important;
    border: 1px solid var(--clorofila-border) !important;
    color: var(--clorofila-text) !important;
    padding: 10px 16px;
    border-radius: var(--cl-radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.clorofila-filter-input:focus {
    outline: none;
    border-color: var(--clorofila-primary) !important;
    background: var(--cl-input-bg) !important;
    box-shadow: 0 0 12px rgba(144, 219, 137, 0.25) !important;
}

.clorofila-filter-input::placeholder {
    color: var(--clorofila-text-muted) !important;
    opacity: 0.95 !important;
}

.advanced-filters {
    display: flex;
    flex-direction: column;
    gap: var(--cl-space-3);
    align-items: stretch;
}

.filter-row {
    display: flex;
    gap: var(--cl-space-3);
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    flex: 1;
    min-width: 150px;
}
.search-group {
    flex: 2;
    min-width: 250px;
}
.switch-group {
    display: flex;
    align-items: center;
    gap: var(--cl-space-2);
    flex: 0;
    min-width: 180px;
}
/* Mobile Collapsible Filters */
.mobile-filters-toggle, #mobile-filters-toggle {
    display: none;
    width: 100%;
    margin-bottom: 8px;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px 16px;
}

@media (max-width: 991px) {
    .mobile-filters-toggle, #mobile-filters-toggle {
        display: flex;
    }
    
    .filter-row {
        display: none;
    }
    
    .filter-row.is-open {
        display: flex;
    }
    
    .clorofila-filter-bar {
        padding-bottom: 8px;
    }
}


/* Mobile filter improvements */
@media (max-width: 991px) {
    .filter-row {
        gap: 10px;
    }
    .filter-group {
        min-width: 42%;
        flex: 1 1 42%;
    }
    .search-group {
        min-width: 100%;
        flex: 1 1 100%;
    }
    .switch-group {
        min-width: 100%;
        justify-content: flex-start;
        margin-top: 4px;
    }
}

@media (max-width: 575px) {
    .filter-group {
        min-width: 100%;
        flex: 1 1 100%;
    }
    .clorofila-filter-input,
    .clorofila-filter-select {
        padding: 9px 12px;
        font-size: 14px;
    }
}

.clorofila-filter-select {
    width: 100%;
    background: var(--cl-input-bg) !important;
    border: 1px solid var(--clorofila-border) !important;
    color: var(--clorofila-text) !important;
    padding: 10px 16px;
    border-radius: var(--cl-radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e65c00%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px top 50% !important;
    background-size: 12px auto !important;
}

.clorofila-filter-select:focus {
    outline: none;
    border-color: var(--clorofila-primary) !important;
    background-color: var(--cl-input-bg) !important;
    box-shadow: 0 0 12px rgba(144, 219, 137, 0.25) !important;
}

.clorofila-filter-select option {
    background: #0f2011 !important;
    color: #e3ebd5 !important;
}

/* 11. Custom Toggle Switch */
.clorofila-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}

.clorofila-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .3s;
    border: 1px solid rgba(227, 235, 213, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: #a7ba98;
    transition: .3s;
}

input:checked + .slider {
    background-color: rgba(0, 255, 136, 0.2);
    border-color: #00ff88;
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-label {
    font-size: 14px;
    color: #a7ba98;
    font-weight: 500;
}

@media (max-width: 767px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group, .switch-group {
        width: 100%;
    }
    .clorofila-filter-bar {
        padding: 15px;
    }
}

/* 12. Trail Detail List and Meta Descriptions */
.trail-description {
    font-size: var(--cl-font-sm) !important;
    color: var(--clorofila-text-muted) !important;
    line-height: 1.5 !important;
    margin-bottom: var(--cl-space-4) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-height: 62px !important;
}

.cl-detail-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: var(--cl-space-3) var(--cl-space-4);
    margin-bottom: var(--cl-space-4);
}

.cl-detail-list dt {
    font-weight: 600;
    color: var(--clorofila-text-muted);
}

.cl-detail-list dd {
    margin: 0;
    color: var(--clorofila-text);
}

@media (max-width: 575px) {
    .cl-detail-list {
        grid-template-columns: 1fr;
        gap: var(--cl-space-1);
    }
}

/* 13. Empty States & Loaders */
.cl-empty-state {
    text-align: center;
    padding: var(--cl-space-8) var(--cl-space-4);
    background: rgba(255, 255, 255, 0.015);
    border-radius: var(--cl-radius-md);
    border: 1px dashed var(--clorofila-border);
    color: var(--clorofila-text-muted);
}

.cl-empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: var(--cl-space-4);
}

.cl-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--cl-space-4);
}

.cl-loading-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid rgba(144, 219, 137, 0.15);
    border-top-color: var(--clorofila-primary);
    animation: spinnerRotate 1.0s linear infinite;
}

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

/* ── FOCUS STATES FOR ACCESSIBILITY ────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--clorofila-highlight) !important;
    outline-offset: 3px !important;
}

/* Legacy/Fallback compatibility support */
.trail-card-premium {
    position: relative;
    border: 1px solid var(--clorofila-border);
    background: var(--clorofila-card-bg);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.trail-card-premium:hover {
    border-color: rgba(144, 219, 137, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

/* ── VIEW-SPECIFIC COMPONENTS (MIGRATED FROM EVENT/VIEW.PHP) ──── */

.cl-card-title-premium {
    font-size: 18px;
    font-weight: 600;
    color: var(--clorofila-primary);
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(227, 235, 213, 0.06);
    padding-bottom: 8px;
}

/* Button variant helpers */
.cl-btn--success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    border: none;
}
.cl-btn--success:hover {
    background: linear-gradient(135deg, #2cf27f 0%, #2ebd6c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46, 204, 113, 0.4);
}

.cl-btn--danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: none;
}
.cl-btn--danger:hover {
    background: linear-gradient(135deg, #ff5e4e 0%, #d64030 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(231, 76, 60, 0.4);
}

.cl-btn--warning {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    border: none;
}
.cl-btn--warning:hover {
    background: linear-gradient(135deg, #ff9537 0%, #eb6200 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(230, 126, 34, 0.4);
}

.cl-btn--full {
    width: 100%;
    display: inline-flex;
}

/* Map frame & large map */
.cl-map-frame {
    border-radius: var(--cl-radius-sm);
    overflow: hidden;
    border: 1px solid rgba(144, 219, 137, 0.2);
    height: 250px;
    margin-bottom: 12px;
}

.cl-map-frame--large {
    height: 300px;
}

@media (max-width: 991px) {
    .cl-map-frame { height: 210px; }
    .cl-map-frame--large { height: 250px; }
}

/* Attendees List styling */
.cl-attendee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(227, 235, 213, 0.05);
    border-radius: var(--cl-radius-sm);
    margin-bottom: 8px;
}

.cl-attendee-name {
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cl-attendee-date {
    font-size: 11px;
    color: var(--clorofila-text-muted);
}

.cl-badge-user-wait {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    border: 1px solid rgba(230, 126, 34, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* Rating / Reviews block */
.cl-rating-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.15);
    padding: 15px;
    border-radius: var(--cl-radius-sm);
    border: 1px solid rgba(227, 235, 213, 0.05);
    margin-top: 20px;
}

.cl-rating-stars {
    display: flex;
    gap: 5px;
    color: #f1c40f;
    font-size: 18px;
}

.cl-rating-author {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--clorofila-primary);
}

.cl-rating-text {
    font-size: 13.5px;
    color: var(--clorofila-text-muted);
    line-height: 1.5;
}

.cl-star-radio-container {
    display: flex;
    gap: 12px;
    font-size: 24px;
    margin-bottom: 10px;
}

.cl-star-radio-container input {
    display: none;
}

.cl-star-label {
    color: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: color 0.1s ease;
}

.cl-star-label:hover,
.cl-star-label:hover ~ .cl-star-label {
    color: #f1c40f;
}

.cl-selected-star {
    color: #f1c40f !important;
}

/* Premium Event Chat styling */
.cl-chat-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(227, 235, 213, 0.1);
    border-radius: var(--cl-radius-md);
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.cl-chat-header {
    border-bottom: 1px solid rgba(227, 235, 213, 0.06);
    padding-bottom: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cl-chat-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--clorofila-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cl-chat-badge {
    background: rgba(0, 255, 136, 0.1);
    color: var(--clorofila-highlight);
    border: 1px solid rgba(0, 255, 136, 0.2);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.cl-chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cl-chat-messages::-webkit-scrollbar {
    width: 6px;
}
.cl-chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.cl-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(144, 219, 137, 0.3);
    border-radius: 3px;
}
.cl-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(144, 219, 137, 0.5);
}

.cl-chat-message-bubble {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    position: relative;
    animation: clFadeInBubble 0.2s ease-out;
}

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

.cl-chat-message-left {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(227, 235, 213, 0.05);
    border-top-left-radius: 2px;
}

.cl-chat-message-right {
    align-self: flex-end;
    background: rgba(144, 219, 137, 0.06);
    border: 1px solid rgba(144, 219, 137, 0.12);
    border-top-right-radius: 2px;
}

.cl-chat-message-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 4px;
    font-size: 11px;
}

.cl-chat-message-author {
    font-weight: 600;
    color: var(--clorofila-primary);
}

.cl-chat-message-right .cl-chat-message-author {
    color: var(--clorofila-primary);
}

.cl-chat-message-time {
    color: var(--clorofila-text-muted);
}

.cl-chat-message-text {
    font-size: 13.5px;
    color: var(--clorofila-text);
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
}

.cl-chat-message-delete {
    position: absolute;
    top: 5px;
    right: 8px;
    color: rgba(231, 76, 60, 0.6);
    cursor: pointer;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.cl-chat-message-bubble:hover .cl-chat-message-delete {
    opacity: 1;
}

.cl-chat-message-delete:hover {
    color: #e74c3c;
}

.cl-chat-guide-badge {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 5px;
    display: inline-block;
}

.cl-chat-admin-badge {
    background: linear-gradient(135deg, #d35400 0%, #ba4a00 100%);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 5px;
    display: inline-block;
}

.cl-chat-input-wrapper {
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(227, 235, 213, 0.06);
    padding-top: 12px;
}

.cl-chat-input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(227, 235, 213, 0.12) !important;
    color: var(--clorofila-text) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    resize: none;
    height: 42px;
    transition: border-color 0.2s ease;
}

.cl-chat-input:focus {
    border-color: rgba(144, 219, 137, 0.4) !important;
    outline: none;
}

.cl-chat-send-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border: none;
    color: #ffffff;
    border-radius: 8px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.2);
    transition: all 0.2s ease;
}

.cl-chat-send-btn:hover {
    background: linear-gradient(135deg, #2cf27f 0%, #2ebd6c 100%);
    transform: translateY(-1px);
}

.cl-chat-locked-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(227, 235, 213, 0.15);
    border-radius: var(--cl-radius-md);
    padding: 30px;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.cl-chat-locked-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.cl-chat-locked-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--clorofila-primary);
    margin-bottom: 8px;
}

.cl-chat-locked-desc {
    font-size: 13.5px;
    color: var(--clorofila-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── GUIDE DIRECTORY AND PROFILE COMPONENTS ───────────────────── */

.cl-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.cl-guide-card {
    background: var(--clorofila-card-bg);
    border: 1px solid var(--clorofila-border);
    border-radius: var(--cl-radius-lg);
    padding: var(--cl-space-6);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.cl-guide-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(144, 219, 137, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.cl-avatar-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c20 0%, #0d1e0f 100%);
    border: 2px solid rgba(144, 219, 137, 0.3);
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #90db89;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.cl-guide-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--clorofila-text);
    margin-bottom: 5px;
}

.cl-rank-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.cl-rank-badge--guide {
    background: rgba(144, 219, 137, 0.15);
    color: var(--clorofila-primary);
    border: 1px solid rgba(144, 219, 137, 0.3);
}

.cl-rank-badge--ambassador {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.cl-rank-badge--admin {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.cl-guide-bio {
    font-size: 13px;
    color: var(--clorofila-text-muted);
    line-height: 1.5;
    height: 58px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
}

.cl-stars-display {
    color: #f1c40f;
    font-size: 16px;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.cl-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(227, 235, 213, 0.05);
    margin-bottom: 20px;
}

.cl-stat-box {
    display: flex;
    flex-direction: column;
}

.cl-stat-label {
    font-size: 9px;
    color: #8fa084;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.cl-stat-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--clorofila-primary);
}

/* ── PROFILE & DASHBOARD CLASSES ─────────────────────────────── */

.cl-profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    border-bottom: 1px solid var(--clorofila-border);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    .cl-profile-header {
        flex-direction: column;
        text-align: center;
    }
}

.cl-profile-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1e3c20 0%, #0d1e0f 100%);
    border: 3px solid rgba(144, 219, 137, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #90db89;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.cl-profile-meta-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--clorofila-text);
    margin: 0;
}

.cl-rank-badge--walker {
    background: rgba(255, 255, 255, 0.05);
    color: var(--clorofila-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cl-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(227, 235, 213, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
}

.cl-item-title {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--clorofila-text);
}

.cl-item-meta {
    font-size: 12px;
    color: var(--clorofila-text-muted);
}

.cl-outdoor-dashboard-panel {
    background: var(--clorofila-card-bg);
    border: 1px solid var(--clorofila-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cl-dashboard-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--clorofila-primary);
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cl-dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 991px) {
    .cl-dashboard-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .cl-dashboard-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.cl-metric-glow-card {
    background: var(--clorofila-card-bg);
    border: 1px solid var(--clorofila-border);
    border-radius: 12px;
    padding: 18px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cl-metric-glow-card:hover {
    transform: translateY(-4px);
    background: rgba(27, 67, 50, 0.04);
}

.cl-metric-glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

.cl-glow-cyan {
    border-bottom: 3px solid var(--cl-glow-cyan-color);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.05);
}
.cl-glow-cyan:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.15);
    border-color: var(--cl-glow-cyan-color);
}
.cl-glow-cyan .cl-metric-value {
    color: var(--cl-glow-cyan-color);
}

.cl-glow-green {
    border-bottom: 3px solid var(--cl-glow-green-color);
    box-shadow: 0 4px 15px rgba(144, 219, 137, 0.05);
}
.cl-glow-green:hover {
    box-shadow: 0 8px 25px rgba(144, 219, 137, 0.15);
    border-color: var(--cl-glow-green-color);
}
.cl-glow-green .cl-metric-value {
    color: var(--cl-glow-green-color);
}

.cl-glow-orange {
    border-bottom: 3px solid var(--cl-glow-orange-color);
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.05);
}
.cl-glow-orange:hover {
    box-shadow: 0 8px 25px rgba(255, 159, 67, 0.15);
    border-color: var(--cl-glow-orange-color);
}
.cl-glow-orange .cl-metric-value {
    color: var(--cl-glow-orange-color);
}

.cl-glow-purple {
    border-bottom: 3px solid var(--cl-glow-purple-color);
    box-shadow: 0 4px 15px rgba(165, 94, 234, 0.05);
}
.cl-glow-purple:hover {
    box-shadow: 0 8px 25px rgba(165, 94, 234, 0.15);
    border-color: var(--cl-glow-purple-color);
}
.cl-glow-purple .cl-metric-value {
    color: var(--cl-glow-purple-color);
}

.cl-metric-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.cl-metric-label {
    font-size: 11px;
    color: var(--clorofila-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.cl-metric-value {
    font-size: 22px;
    font-weight: 700;
}

.cl-hike-sub-section {
    background: rgba(0, 0, 0, 0.15);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(227, 235, 213, 0.04);
}

/* ── ABOUT AND FAQ VIEWS STYLES ──────────────────────────────── */
.cl-about-header {
    text-align: center;
    margin-bottom: 45px;
}

.cl-about-subtitle {
    font-size: 17px;
    color: var(--clorofila-text-muted);
    margin-top: 12px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.cl-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, var(--clorofila-border) 50%, transparent 90%);
    margin: 40px 0;
}

.cl-sigla-container {
    background: rgba(0, 255, 136, 0.02);
    border: 1px solid rgba(0, 255, 136, 0.12);
    border-radius: 24px;
    padding: 30px 40px;
    margin-bottom: 45px;
    box-shadow: 0 15px 35px rgba(0, 255, 136, 0.03);
    position: relative;
}

.cl-sigla-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--clorofila-highlight);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
}

.cl-sigla-word-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    justify-content: center;
}

.cl-sigla-letter-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.01);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(227, 235, 213, 0.04);
    transition: all 0.2s ease;
}

.cl-sigla-letter-box:hover {
    background: rgba(0, 255, 136, 0.03);
    border-color: rgba(0, 255, 136, 0.2);
    transform: scale(1.02);
}

.cl-sigla-char {
    background: linear-gradient(135deg, #90db89 0%, #00ff88 100%);
    color: #060a06;
    font-weight: 800;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 255, 136, 0.15);
}

.cl-sigla-word {
    font-weight: 500;
    color: var(--clorofila-text);
}

.cl-manifesto-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(227, 235, 213, 0.08);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 45px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.cl-manifesto-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: rgba(144, 219, 137, 0.05);
    font-family: serif;
    line-height: 0;
}

.cl-manifesto-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--clorofila-primary);
    margin-top: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cl-manifesto-text {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--clorofila-text);
    text-align: justify;
    margin-bottom: 20px;
    font-weight: 400;
}

.cl-manifesto-quote {
    font-size: 18px;
    font-style: italic;
    color: var(--clorofila-primary-light);
    border-left: 3px solid var(--clorofila-primary-light);
    padding-left: 20px;
    margin: 25px 0;
    line-height: 1.6;
    font-weight: 400;
}

.cl-section-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--clorofila-text);
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.cl-about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.cl-about-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--clorofila-border);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.cl-about-stat-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 255, 136, 0.1);
}

.cl-about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #90db89, #00ff88);
    opacity: 0.7;
}

.cl-about-stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(0, 255, 136, 0.2));
}

.cl-about-stat-value {
    font-size: 34px;
    font-weight: 700;
    color: var(--clorofila-highlight);
    margin-bottom: 5px;
    font-feature-settings: "tnum";
}

.cl-about-stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--clorofila-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cl-associados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 45px;
}

.cl-associado-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--clorofila-border);
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cl-associado-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(144, 219, 137, 0.2);
    transform: translateY(-2px);
}

.cl-associado-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.cl-associado-badge--fundadores { background: rgba(155, 89, 182, 0.15); color: #9b59b6; border: 1px solid rgba(155, 89, 182, 0.3); }
.cl-associado-badge--guias { background: rgba(144, 219, 137, 0.15); color: var(--clorofila-primary); border: 1px solid rgba(144, 219, 137, 0.3); }
.cl-associado-badge--caminhantes { background: rgba(52, 152, 219, 0.15); color: #3498db; border: 1px solid rgba(52, 152, 219, 0.3); }
.cl-associado-badge--supporters { background: rgba(241, 196, 15, 0.15); color: #f1c40f; border: 1px solid rgba(241, 196, 15, 0.3); }

.cl-associado-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--clorofila-text);
}

.cl-associado-desc {
    font-size: 13.5px;
    color: var(--clorofila-text-muted);
    line-height: 1.6;
    font-weight: 400;
}

.cl-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.cl-pillar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(227, 235, 213, 0.06);
    border-radius: 18px;
    padding: 30px;
    transition: all 0.3s ease;
}

.cl-pillar-card:hover {
    border-color: rgba(144, 219, 137, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.cl-pillar-icon {
    width: 50px;
    height: 50px;
    background: rgba(144, 219, 137, 0.1);
    border: 1px solid rgba(144, 219, 137, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--clorofila-primary);
    margin-bottom: 20px;
}

.cl-pillar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--clorofila-text);
    margin-top: 0;
    margin-bottom: 12px;
}

.cl-pillar-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--clorofila-text-muted);
    margin-bottom: 0;
}

/* FAQ view styles */
.cl-faq-search-wrapper {
    position: relative;
    max-width: 550px;
    margin: 0 auto 40px auto;
}

.cl-faq-search-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(227, 235, 213, 0.15);
    border-radius: 30px;
    padding: 15px 25px 15px 50px;
    color: var(--clorofila-text);
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cl-faq-search-input:focus {
    border-color: var(--clorofila-highlight);
    outline: none;
    box-shadow: 0 0 15px rgba(144, 219, 137, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.cl-faq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8fa084;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.cl-faq-search-input:focus + .cl-faq-search-icon {
    color: var(--clorofila-highlight);
}

.cl-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cl-faq-item {
    background: var(--clorofila-card-bg);
    border: 1px solid var(--clorofila-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cl-faq-item:hover {
    border-color: rgba(144, 219, 137, 0.35);
}

.cl-faq-item.is-open {
    border-color: rgba(230, 92, 0, 0.35);
    box-shadow: 0 8px 24px rgba(27, 67, 50, 0.08);
}

.cl-faq-question-header {
    padding: 22px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    user-select: none;
}

.cl-faq-question {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--clorofila-text);
    transition: color 0.2s ease;
}

.cl-faq-item:hover .cl-faq-question {
    color: var(--clorofila-primary);
}

.cl-faq-item.is-open .cl-faq-question {
    color: var(--clorofila-highlight);
}

.cl-faq-trigger-btn {
    background: transparent;
    border: none;
    color: #8fa084;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.cl-faq-item.is-open .cl-faq-trigger-btn {
    color: var(--clorofila-highlight);
    transform: rotate(180deg);
}

.cl-faq-panel {
    display: none;
    border-top: 1px solid var(--clorofila-border);
    background: transparent;
}

.cl-faq-panel:not([hidden]) {
    display: block !important;
}

.cl-faq-answer-body {
    margin: 0;
    padding: 18px 25px 24px 25px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--clorofila-text-muted) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cl-faq-empty-state {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: var(--clorofila-text-muted);
}

.cl-faq-empty-state span {
    font-size: 40px;
    display: block;
    margin-bottom: 15px;
}

.cl-faq-empty-state h4 {
    font-weight: 600;
    color: var(--clorofila-text);
    margin-bottom: 5px;
}

/* ── FORM ELEMENTS AND INPUTS ──────────────────────────────────── */
.cl-page label,
.cl-page .control-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--clorofila-primary) !important;
    font-size: 13.5px !important;
    margin-bottom: 8px !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cl-page .form-control,
.cl-page .form-select {
    background-color: var(--cl-input-bg) !important;
    border: 1px solid rgba(227, 235, 213, 0.15) !important;
    color: var(--clorofila-text) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    transition: all 0.25s ease !important;
}

.cl-page .form-control:focus,
.cl-page .form-select:focus {
    border-color: var(--clorofila-primary) !important;
    background-color: var(--cl-input-bg) !important;
    box-shadow: 0 0 10px rgba(144, 219, 137, 0.25) !important;
    outline: none !important;
}

.cl-page .form-control::placeholder {
    color: var(--clorofila-text-muted);
    opacity: 0.6;
}

/* Custom select with custom arrow */
.cl-page .form-select {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2390db89' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

.cl-page .form-select option {
    background-color: var(--clorofila-primary-dark) !important;
    color: var(--clorofila-text) !important;
}

/* GPX Upload Zone styles */
.cl-gpx-upload-zone {
    border: 2px dashed rgba(144, 219, 137, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: rgba(144, 219, 137, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    position: relative;
}

.cl-gpx-upload-zone:hover {
    border-color: var(--clorofila-primary);
    background: rgba(144, 219, 137, 0.05);
    transform: translateY(-2px);
}

.cl-gpx-upload-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.cl-gpx-upload-text {
    font-weight: 500;
    color: var(--clorofila-primary-light);
    margin-bottom: 5px;
    display: block;
}

.cl-gpx-upload-hint {
    font-size: 12px;
    color: var(--clorofila-text-muted);
    display: block;
}

.cl-hidden-file-input {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* Event picker map styles */
.cl-picker-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(144, 219, 137, 0.3);
    height: 350px;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cl-picker-map {
    width: 100%;
    height: 100%;
    background: #111812;
}

.cl-map-help-text {
    font-size: 12.5px;
    color: var(--clorofila-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Map Containers */
#trail-map,
#events-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Pagination Customizations */
.pagination .page-link {
    background: var(--clorofila-card-bg) !important;
    border-color: var(--clorofila-border) !important;
    color: var(--clorofila-primary-light) !important;
    transition: all 0.2s ease;
}
.pagination .page-link:hover {
    background: rgba(144, 219, 137, 0.1) !important;
    border-color: var(--clorofila-primary) !important;
    color: var(--clorofila-primary) !important;
}
.pagination .active .page-link,
.pagination .page-item.active .page-link {
    background: var(--clorofila-primary) !important;
    border-color: var(--clorofila-primary) !important;
    color: var(--clorofila-primary-dark) !important;
}

/* ── CLOROFILA MAP MARKERS ───────────────────────────────────────── */
.clorofila-marker {
    position: relative;
    width: 42px;
    height: 42px;
}

.clorofila-marker-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2.5px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marker-normal .clorofila-marker-inner {
    background: #1b4332;
    border-color: #00ff88;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.45);
}

.marker-scheduled .clorofila-marker-inner {
    background: #006064;
    border-color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.65);
}

.clorofila-marker:hover .clorofila-marker-inner {
    transform: scale(1.18);
}

/* Pulsing background glow for scheduled walks */
.marker-scheduled .marker-pulse {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.35);
    animation: markerPulse 1.8s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
}

/* ── CLOROFILA MAP INFO CARD (DESKTOP & MOBILE) ──────────────────────────────────── */
.cl-mobile-info-card {
    display: block;
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 380px;
    background: rgba(15, 32, 17, 0.96) !important;
    border: 1.5px solid rgba(144, 219, 137, 0.4) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
    padding: 18px !important;
    z-index: 1000 !important; /* higher than leaflet layers, but lower than bootstrap modals/dropdowns */
    color: #e3ebd5 !important;
    font-family: 'Outfit', sans-serif !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease;
}

.cl-mobile-info-card.d-none {
    display: none !important;
}

.cl-mobile-card-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    font-size: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    transition: all 0.2s ease;
}

.cl-mobile-card-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .cl-mobile-info-card {
        bottom: 0;   /* push all the way down to the edge */
        left: 4px;
        right: 75px;   /* leave plenty of space on the right for the Ver Lista toggle */
        width: auto;
        max-height: 65px !important;  /* keep it tiny so it doesn't reach the middle */
        padding: 4px 6px !important;
        padding-bottom: 2px !important;
        z-index: 1035 !important;
        background: rgba(15, 32, 17, 0.75) !important;
        border-radius: 6px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
    }
    .cl-mobile-info-card .trail-description,
    .cl-mobile-info-card p {
        display: none !important;
    }
    .cl-mobile-info-card .trail-card-header {
        margin-bottom: 1px !important;
    }
    .cl-mobile-info-card .trail-card-title {
        font-size: 11.5px !important;
        line-height: 1.05 !important;
    }
    .cl-mobile-card-close {
        top: 3px;
        right: 3px;
        width: 16px;
        height: 16px;
        font-size: 8px;
    }
}

/* ── MAPA TRILHOS: loader overlay + lista vazia por filtros ─────────────────── */
.map-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(15, 32, 17, 0.88);
    border-radius: 12px;
    z-index: 1000;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.map-loading-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.map-loading-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(144, 219, 137, 0.2);
    border-top-color: var(--clorofila-primary-light, #90db89);
    border-radius: 50%;
    animation: clMapSpin 0.9s linear infinite;
}

.map-loading-text {
    color: #c4f7be;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.map-loading-count {
    color: #8fa084;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
}

.map-loading-dots span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 3px;
    border-radius: 50%;
    background: rgba(144, 219, 137, 0.6);
    animation: clMapDotPulse 1.2s ease-in-out infinite;
}

.map-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.map-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

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

@keyframes clMapDotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

.cl-list-empty-state {
    text-align: center;
    padding: 40px 24px;
    color: var(--clorofila-text-muted, #a7ba98);
    border: 1px dashed rgba(144, 219, 137, 0.25);
    border-radius: 12px;
    background: rgba(15, 32, 17, 0.4);
}

.cl-list-empty-state h4 {
    color: var(--clorofila-text, #e3ebd5);
    margin: 12px 0 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.cl-list-empty-state p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
}

/* ── AGENDA: datas legíveis + cards compactos ─────────────────────────────────── */
.cl-event-date-row {
    line-height: 1.4 !important;
    margin-bottom: 4px;
}

.cl-event-label {
    color: var(--clorofila-primary-light, #90db89);
    font-weight: 600;
    font-size: 12px;
    margin-right: 4px;
}

.event-info-grid {
    line-height: 1.4;
    gap: 6px;
}

.cl-card .event-card-title {
    line-height: 1.35;
    margin-bottom: 10px;
}

/* ── FORMULÁRIO AGENDAR: largura contida ─────────────────────────────────────── */
.cl-form-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.cl-form-narrow .form-control,
.cl-form-narrow .clorofila-filter-input,
.cl-form-narrow .clorofila-filter-select,
.cl-form-narrow textarea {
    max-width: 600px;
}

/* ── MAPAS: altura mínima garantida (Mac/Safari) ────────────────────────────── */
#trail-map,
#events-map,
#hub-regional-map,
.cl-map-wrapper #trail-map,
.cl-map-wrapper #events-map {
    min-height: 400px !important;
    height: calc(100vh - 220px);
}

.cl-map-wrapper {
    overflow: visible;
}

/* ── CLF-003/004: branding HumHub + barra compacta mobile ───────────────────── */
#topbar-first,
.layout-nav-container {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%) !important;
    border-bottom: 1px solid rgba(144, 219, 137, 0.25);
}

#topbar-first .navbar-brand,
#topbar-first .nav > li > a,
.layout-nav-container .nav > li > a {
    color: #e3ebd5 !important;
}

@media (max-width: 767px) {
    #topbar-first,
    #topbar-second {
        min-height: 48px;
    }

    #topbar-first .navbar-brand {
        font-size: 14px;
        padding: 12px 10px;
    }
}



/* Glassmorphism Classes (Workstream F) */
.cl-glass-card {
    background: var(--clorofila-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(227, 235, 213, 0.1);
    border-radius: 16px;
    padding: 20px;
}

.cl-glass-modal .modal-content {
    background: var(--clorofila-bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(227, 235, 213, 0.1);
    border-radius: 16px;
}
.cl-glass-modal .modal-header {
    border-bottom: 1px solid rgba(227, 235, 213, 0.05);
    padding: 15px 20px;
}
.cl-glass-modal .modal-body {
    padding: 20px;
}
.cl-glass-modal .modal-footer {
    border-top: 1px solid rgba(227, 235, 213, 0.05);
    padding: 15px 20px;
}

/* Status Alerts */
.cl-status-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 5px solid;
    background: rgba(0,0,0,0.2);
}
.cl-status-alert--caution {
    background: rgba(243, 156, 18, 0.15);
    border: 1px solid #f39c12;
    border-left: 5px solid #f39c12;
}
.cl-status-alert--caution h4 { color: #f39c12; }
.cl-status-alert--closed {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid #e74c3c;
    border-left: 5px solid #e74c3c;
}
.cl-status-alert--closed h4 { color: #e74c3c; }
.cl-status-alert h4 {
    margin: 0 0 5px 0;
    font-weight: 700;
    font-size: 16px;
}
.cl-status-alert p {
    margin: 0;
    color: var(--clorofila-text);
    font-size: 14.5px;
}

/* Weather Widget */
.cl-weather-widget {
    border-left: 4px solid #3498db !important;
    background: rgba(52, 152, 219, 0.02) !important;
}
.cl-weather-widget h3 {
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.1);
}
.cl-weather-widget-content {
    display: flex;
    gap: 20px;
    align-items: center;
    color: var(--clorofila-text);
}

/* Chat bubble buttons */
.cl-chat-bubble-action {
    position: absolute;
    top: 10px;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.cl-chat-bubble-action:hover {
    opacity: 1;
}

/* FTP Deploy Trigger Test - 07/04/2026 16:22:03 */


/* Better mobile map interaction */
#trail-map, #events-map, .cl-map-wrapper .leaflet-container,
#hub-leaflet-map, #meeting-map, #trail-map-detail, #picker-map {
    touch-action: pan-x pan-y;
}

@media (max-width: 991px) {
    .leaflet-popup-content {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        padding: 2px 4px !important;
    }
    .leaflet-popup-content a {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }
}

/* ── PÁGINA DE AUTENTICAÇÃO (Landing de Visitantes) ────────────── */
/* Identidade visual CLOROFILA no login/registo do HumHub (guests). */
body.login-container {
    background: linear-gradient(135deg, #081c15 0%, #132a13 55%, #1b4332 100%) !important;
    font-family: 'Outfit', sans-serif !important;
    color: #e3ebd5;
}

body.login-container #user-auth-login #app-title::before {
    content: '🌿 CLOROFILA';
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c4f7be;
    text-shadow: 0 4px 20px rgba(0, 255, 136, 0.25);
    margin: 40px 0 5px 0;
}

body.login-container #user-auth-login #app-title::after {
    content: 'Comunidade de Caminhadas e Trilhos';
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #8fa084;
    margin-bottom: 10px;
}

body.login-container #login-form.panel,
body.login-container #register-form.panel {
    background: rgba(27, 67, 50, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(144, 219, 137, 0.25);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

body.login-container #login-form .panel-heading,
body.login-container #register-form .panel-heading {
    background: rgba(8, 28, 21, 0.55);
    border-bottom: 1px solid rgba(144, 219, 137, 0.2);
    color: #c4f7be;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    letter-spacing: 0.4px;
}

body.login-container #login-form .panel-body,
body.login-container #register-form .panel-body {
    color: #a7ba98;
    font-size: 13.5px;
}

body.login-container #login-form .form-control,
body.login-container #register-form .form-control,
body.login-container #choose-language-form .form-control {
    background: rgba(8, 28, 21, 0.6);
    border: 1px solid rgba(144, 219, 137, 0.25);
    border-radius: 10px;
    color: #e3ebd5;
}

body.login-container #login-form .form-control:focus,
body.login-container #register-form .form-control:focus {
    border-color: #00ff88;
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.12);
    background: rgba(8, 28, 21, 0.8);
}

body.login-container #login-button.btn-primary,
body.login-container #register-form .btn-primary {
    background: linear-gradient(135deg, #2d6a4f, #1b4332);
    border: 1px solid rgba(144, 219, 137, 0.4);
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 0.4px;
}

body.login-container #login-button.btn-primary:hover,
body.login-container #register-form .btn-primary:hover {
    background: linear-gradient(135deg, #40916c, #2d6a4f);
    border-color: #00ff88;
}

body.login-container a,
body.login-container #password-recovery-link {
    color: #90db89;
}

body.login-container a:hover,
body.login-container #password-recovery-link:hover {
    color: #c4f7be;
}

body.login-container .text.text-center,
body.login-container .langSwitcher {
    color: #8fa084;
}

/* Botão de denúncia de review: hover em CSS (substitui handlers inline proibidos pela CSP — CLF-633) */
.cl-review-report-btn {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.cl-review-report-btn:hover {
    opacity: 1;
}
