/*
 * WeCar - CSS unificado para frontend e login
 *
 * Cores: #1B7BE7 (azul), #91E220 (verde), #292735 (escuro), #e6f9d7 (verde claro)
 * Fontes: Outfit (titulos), Montserrat (textos)
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Outfit:wght@600;700&display=swap');

:root {
    --wecar-azul: #1B7BE7;
    --wecar-azul-hover: #1567c7;
    --wecar-verde: #91E220;
    --wecar-verde-btn: #6db620;
    --wecar-escuro: #292735;
    --wecar-escuro-alt: #2d2b38;
    --wecar-ciano: #00c5c5;
    --wecar-verde-claro: #e6f9d7;
    --wecar-bg: #f5f7fa;
    --wecar-text: #333;
    --wecar-text-muted: #777;
    --wecar-card-bg: rgba(27, 123, 231, 0.88);
    --wecar-card-shadow: rgba(27, 123, 231, 0.25);
    --wecar-input-bg: rgba(255, 255, 255, 0.12);
    --wecar-input-border: rgba(255, 255, 255, 0.2);
    --wecar-border: #e0e0e0;
    --wecar-input-focus-bg: rgba(255, 255, 255, 0.18);
    --wecar-input-focus-border: rgba(255, 255, 255, 0.4);
}

html[data-theme="dark"] {
    --wecar-bg: #1a1a2e;
    --wecar-text: #e0e0e0;
    --wecar-text-muted: #aaa;
    --wecar-card-bg: rgba(41, 39, 53, 0.92);
    --wecar-card-shadow: rgba(0, 0, 0, 0.35);
    --wecar-input-bg: rgba(0, 0, 0, 0.22);
    --wecar-input-border: rgba(255, 255, 255, 0.1);
    --wecar-border: rgba(255, 255, 255, 0.1);
    --wecar-input-focus-bg: rgba(0, 0, 0, 0.3);
    --wecar-input-focus-border: rgba(145, 226, 32, 0.3);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--wecar-bg);
    color: var(--wecar-text);
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-weight: 700;
}

a { color: var(--wecar-azul); text-decoration: none; }
a:hover { color: var(--wecar-azul-hover); }

/* ── Navbar ── */
.wecar-navbar {
    background: var(--wecar-azul);
    border-bottom: 3px solid var(--wecar-verde);
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

html[data-theme="dark"] .wecar-navbar {
    background: var(--wecar-escuro);
}

.wecar-navbar .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.wecar-navbar .brand img {
    height: 50px;
}

.wecar-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wecar-navbar .nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.wecar-navbar .nav-links a:hover {
    color: var(--wecar-verde);
}

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

.wecar-navbar .nav-actions > a {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ── Profile dropdown ── */
.nav-profile-dropdown {
    position: relative;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-profile-btn .fa-user-circle {
    font-size: 1.1rem;
}

.nav-profile-btn .fa-caret-down {
    font-size: 0.7rem;
    opacity: 0.7;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 200px;
    background: var(--wecar-bg);
    border: 1px solid var(--wecar-border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0.4rem 0;
    z-index: 1100;
    animation: dropdownFadeIn 0.15s ease;
}

.nav-dropdown-menu.show {
    display: block;
}

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

.nav-dropdown-menu .nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border: none;
    background: none;
    color: var(--wecar-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.nav-dropdown-menu .nav-dropdown-item:hover {
    background: var(--wecar-azul);
    color: #fff;
}

.nav-dropdown-item i {
    width: 1.1rem;
    text-align: center;
    font-size: 0.85rem;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--wecar-border);
    margin: 0.3rem 0;
}

.nav-dropdown-menu .nav-dropdown-danger {
    color: #e74a5a;
}

.nav-dropdown-menu .nav-dropdown-danger:hover {
    background: #e74a5a;
    color: #fff;
}

/* ── Botoes ── */
.btn-wecar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-wecar-primary {
    background: var(--wecar-verde);
    color: var(--wecar-azul);
}

.btn-wecar-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(145, 226, 32, 0.35);
    color: var(--wecar-azul);
}

.btn-wecar-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-wecar-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}

/* ── Cards de login ── */
.wecar-auth-card {
    border-radius: 10px;
    background: linear-gradient(180deg,
        rgba(27, 123, 231, 0.88),
        rgba(21, 103, 199, 0.82),
        rgba(27, 123, 231, 0.75));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: none;
    box-shadow: 0 8px 32px var(--wecar-card-shadow),
                0 2px 8px rgba(0, 0, 0, 0.08);
    animation: cardEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html[data-theme="dark"] .wecar-auth-card {
    background: linear-gradient(180deg,
        rgba(41, 39, 53, 0.95),
        rgba(35, 55, 50, 0.90),
        rgba(41, 39, 53, 0.85));
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 50px rgba(145, 226, 32, 0.04);
}

@keyframes cardEntry {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Forms dentro do auth card ── */
.wecar-auth-card .form-control {
    width: 100%;
    box-sizing: border-box;
    background: var(--wecar-input-bg);
    border: 1px solid var(--wecar-input-border);
    border-radius: 8px;
    color: #fff;
    padding: 0.75rem 1.15rem;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.wecar-auth-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.wecar-auth-card .form-control:focus {
    background: var(--wecar-input-focus-bg);
    border-color: var(--wecar-input-focus-border);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    outline: none;
}

.wecar-auth-card .form-control.is-invalid {
    border-color: #e74a5a;
}

.wecar-auth-card .invalid-feedback {
    color: #ff8a95;
    font-size: 0.8rem;
}

.wecar-auth-card label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
}

.wecar-auth-card h1,
.wecar-auth-card h5,
.wecar-auth-card .auth-title {
    color: #fff;
}

.wecar-auth-card .auth-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.wecar-auth-card .btn-submit {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--wecar-verde);
    border: none;
    color: var(--wecar-azul);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wecar-auth-card .btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(145, 226, 32, 0.4);
}

.wecar-auth-card .btn-submit.btn-danger {
    background: rgba(231, 74, 90, 0.8);
    color: #fff;
}

.wecar-auth-card .btn-submit.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(231, 74, 90, 0.4);
    background: rgba(231, 74, 90, 0.95);
}

.wecar-auth-card .auth-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.wecar-auth-card .auth-link:hover {
    color: #fff;
    text-decoration: none;
}

.wecar-auth-card .alert-danger {
    background: rgba(231, 74, 90, 0.15);
    border: 1px solid rgba(231, 74, 90, 0.3);
    border-radius: 8px;
    color: #ff8a95;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

.wecar-auth-card .auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ── Toggle de senha ── */
.password-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.3rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ── Theme toggle ── */
.theme-toggle {
    background: none;
    border: none;
    color: var(--wecar-verde);
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.25s, transform 0.25s;
    padding: 2px;
    line-height: 1;
}

.theme-toggle:hover {
    opacity: 1;
    transform: scale(1.18);
}

/* ── Navbar inline dropdown ── */
.nav-dropdown-inline {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.nav-dropdown-trigger:hover {
    color: var(--wecar-verde);
}

.nav-dropdown-trigger .fa-caret-down {
    font-size: 0.65rem;
    opacity: 0.7;
}

.nav-dropdown-inline-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 0.5rem;
    min-width: 180px;
    background: var(--wecar-bg);
    border: 1px solid var(--wecar-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0.35rem 0;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-dropdown-inline-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-inline-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    color: var(--wecar-text) !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s;
}

.nav-dropdown-inline-menu a:hover {
    background: var(--wecar-azul);
    color: #fff !important;
}

.nav-dropdown-inline-menu a i {
    width: 1.1rem;
    text-align: center;
    font-size: 0.8rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */

/* Full-page index wrapper: hero + CTA fit viewport */
.index-fullpage {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 64px - 50px);
}

.index-fullpage .hero {
    flex: 1;
    padding: 1rem 2rem 1.5rem;
    min-height: auto;
    justify-content: flex-start;
}

.index-fullpage .cta-section {
    padding: 0 2rem 2rem;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    min-height: calc(100vh - 64px - 50px);
    justify-content: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-mobile-cta {
    display: none;
    margin-top: 1.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(27, 123, 231, 0.08);
    color: var(--wecar-azul);
    border: 1px solid rgba(27, 123, 231, 0.15);
    margin-bottom: 1.5rem;
}

html[data-theme="dark"] .hero-badge {
    background: rgba(27, 123, 231, 0.15);
    border-color: rgba(27, 123, 231, 0.25);
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.25rem;
    color: var(--wecar-text);
    letter-spacing: -0.5px;
}

.hero-gradient {
    background: linear-gradient(135deg, var(--wecar-azul), var(--wecar-verde));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--wecar-text-muted);
    margin: 0 0 2.5rem;
    max-width: 540px;
}

.btn-rect {
    border-radius: 8px !important;
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
}

.btn-lg-rect {
    padding: 0.85rem 2.2rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-wecar-glass {
    background: rgba(27, 123, 231, 0.08);
    color: var(--wecar-azul);
    border: 1.5px solid rgba(27, 123, 231, 0.2);
}

.btn-wecar-glass:hover {
    background: rgba(27, 123, 231, 0.15);
    color: var(--wecar-azul);
    border-color: rgba(27, 123, 231, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(27, 123, 231, 0.35);
}

html[data-theme="dark"] .btn-wecar-glass {
    background: rgba(27, 123, 231, 0.12);
    border-color: rgba(27, 123, 231, 0.25);
    color: #5bb0ff;
}

/* ══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════════════ */

.cta-section {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-card {
    text-align: center;
    padding: 3.5rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--wecar-azul), #1567c7);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(145, 226, 32, 0.1);
    pointer-events: none;
}

.cta-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #fff;
    position: relative;
}

.cta-card p {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0 0 1.75rem;
    position: relative;
}

.cta-card .btn-wecar-primary {
    background: var(--wecar-verde);
    color: var(--wecar-escuro);
    position: relative;
}

/* CPF consulta form inside CTA */
.cta-cpf-form {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.cta-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.cta-input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.cta-input::placeholder {
    color: rgba(255,255,255,0.6);
    letter-spacing: 0;
}

.cta-input:focus {
    border-color: var(--wecar-verde);
    background: rgba(255,255,255,0.22);
}

.cta-card h2 i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

.cta-lead {
    font-size: 1.05rem;
    opacity: 0.8;
    margin: 0 0 1.5rem;
    position: relative;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER BAR
   ══════════════════════════════════════════════════════════════════════ */

.wecar-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem;
    border-top: 1px solid var(--wecar-border);
    font-size: 0.75rem;
    color: var(--wecar-text-muted);
    margin-top: auto;
}

@media (max-width: 575.98px) {
    .wecar-footer-bar {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }
}

/* --- Custom dropdown (replaces native select) --- */
.modal-dropdown { position: relative; }
.modal-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--wecar-border);
    border-radius: 8px;
    background: var(--wecar-bg);
    color: var(--wecar-text);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: left;
}
.modal-dropdown-btn:hover { border-color: var(--wecar-azul); }
.modal-dropdown-btn i { font-size: 0.7rem; color: var(--wecar-text-muted); transition: transform 0.2s; }
.modal-dropdown.open .modal-dropdown-btn i { transform: rotate(180deg); }
.modal-dropdown.open .modal-dropdown-btn { border-color: var(--wecar-azul); box-shadow: 0 0 0 2px rgba(27, 123, 231, 0.15); }
.modal-dropdown-btn[disabled] {
    background: var(--wecar-bg-muted, #f3f4f6);
    color: var(--wecar-text-muted, #6b7280);
    cursor: default;
    opacity: 0.75;
}
html[data-theme="dark"] .modal-dropdown-btn[disabled] {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
}
.modal-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--wecar-bg);
    border: 1px solid var(--wecar-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    padding: 0.25rem 0;
}
.modal-dropdown.open .modal-dropdown-list { display: block; }
.modal-dropdown-item {
    padding: 0.55rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.1s;
}
.modal-dropdown-item:hover { background: rgba(27, 123, 231, 0.08); }
.modal-dropdown-item.selected { color: var(--wecar-azul); font-weight: 600; }
html[data-theme="dark"] .modal-dropdown-item:hover { background: rgba(145, 226, 32, 0.1); }
html[data-theme="dark"] .modal-dropdown-item.selected { color: var(--wecar-verde); }
.modal-dropdown-search {
    width: calc(100% - 1rem);
    margin: 0.35rem 0.5rem;
    padding: 0.45rem 0.65rem;
    border: 1.5px solid var(--wecar-border);
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--wecar-bg);
    color: var(--wecar-text);
    outline: none;
}
.modal-dropdown-search:focus {
    border-color: var(--wecar-azul);
    box-shadow: 0 0 0 2px rgba(27, 123, 231, 0.12);
}

.dd-color-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ── Responsivo ── */
@media (max-width: 991.98px) {
    .hero {
        padding: 3rem 1.5rem 2rem;
        min-height: auto;
    }

    .hero-title { font-size: 2.4rem; }
}

@media (max-width: 575.98px) {
    .wecar-auth-card {
        margin: 1rem 0.5rem;
        border-radius: 10px;
    }

    .wecar-navbar {
        padding: 0 1rem;
    }

    .wecar-navbar .nav-links {
        display: none;
    }

    .nav-login-btn {
        display: none !important;
    }

    .hero-mobile-cta {
        display: block !important;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-wecar {
        text-align: center;
    }

    .cta-section {
        padding: 1rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
        border-radius: 14px;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    .cta-input-group {
        flex-direction: column;
    }

}

/* ── Notifications dropdown ── */
#notif-section { background: #f8f9fa; border-bottom: 1px solid #e8e8e8; }
#notif-section a { color: inherit; }
#notif-section a:hover { color: var(--wecar-azul); }
#notif-section #notif-mark-all:hover { text-decoration: underline; }
#notif-section [data-notif-id]:hover { background: rgba(27,123,231,.04); }

html[data-theme="dark"] #notif-section { background: rgba(255,255,255,.06); border-bottom-color: rgba(255,255,255,.1); }
html[data-theme="dark"] #notif-section,
html[data-theme="dark"] #notif-section * { color: #ddd; }
html[data-theme="dark"] #notif-section a:hover { color: #91E220; }
html[data-theme="dark"] #notif-section #notif-mark-all { color: #91E220; }
html[data-theme="dark"] #notif-section [data-notif-id]:hover { background: rgba(145,226,32,.06); }

/* ── Mural ticker ── */
.mural-ticker {
    max-height: 38px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #94a3b8 rgba(0,0,0,0.04);
    margin-top: 1.5rem;
    width: 100%;
    max-width: 600px;
}
.mural-ticker::-webkit-scrollbar { width: 5px; height: 4px; }
.mural-ticker::-webkit-scrollbar-track { background: rgba(0,0,0,0.04); border-radius: 5px; }
.mural-ticker::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 5px; }
.mural-ticker::-webkit-scrollbar-thumb:hover { background: #64748b; }
.mural-ticker-inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mural-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    white-space: nowrap;
    padding: 2px 0;
}
.mural-ticker-date {
    color: #b0b7c3;
    font-weight: 600;
    flex-shrink: 0;
}
.mural-ticker-titulo {
    font-weight: 600;
    color: #6b7280;
}
.mural-ticker-msg {
    color: #b0b7c3;
}
.mural-ticker-link {
    color: var(--wecar-azul);
    text-decoration: none;
    font-weight: 600;
    font-size: .72rem;
    margin-left: auto;
}
.mural-ticker-link:hover { text-decoration: underline; }

html[data-theme="dark"] .mural-ticker-titulo { color: #ccc; }
html[data-theme="dark"] .mural-ticker-date { color: #888; }
html[data-theme="dark"] .mural-ticker-msg { color: #888; }
html[data-theme="dark"] .mural-ticker-link { color: #91E220; }

@media (max-width: 767.98px) {
    .mural-ticker-item {
        font-size: .72rem;
        gap: 0.5rem;
    }
    .mural-ticker {
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .mural-ticker::-webkit-scrollbar { height: 2px; width: auto; }
    .mural-ticker-item { min-width: max-content; }
}

/* ══════════════════════════════════════════════════════════════════════════
   EXPORT CONFIRM MODAL
   ══════════════════════════════════════════════════════════════════════ */

.export-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.export-modal-overlay.active { display: flex; }

.export-modal {
    background: var(--wecar-bg, #fff);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 2rem 2.25rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: exportModalIn 0.2s ease-out;
}

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

.export-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(26, 127, 55, 0.1);
    color: #1a7f37;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.export-modal h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--wecar-text, #1e293b);
}

.export-modal p {
    font-size: 0.85rem;
    color: var(--wecar-text-muted, #64748b);
    margin: 0 0 1rem;
}

.export-modal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    min-height: 28px;
}

.export-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.78rem;
    background: rgba(27, 123, 231, 0.08);
    color: var(--wecar-azul, #1B7BE7);
    border: 1px solid rgba(27, 123, 231, 0.15);
}

.export-filter-tag.all {
    background: rgba(100, 116, 139, 0.08);
    color: var(--wecar-text-muted, #64748b);
    border-color: rgba(100, 116, 139, 0.15);
}

.export-filter-tag strong {
    font-weight: 600;
}

.export-modal-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.export-modal-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.export-modal-btn.cancel {
    background: var(--wecar-bg-card, #f1f5f9);
    color: var(--wecar-text-muted, #64748b);
    border: 1px solid var(--wecar-border, #e2e8f0);
}

.export-modal-btn.cancel:hover {
    background: var(--wecar-border, #e2e8f0);
}

.export-modal-btn.confirm {
    background: #1a7f37;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.export-modal-btn.confirm:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(26, 127, 55, 0.35);
}

/* Dark theme */
html[data-theme="dark"] .export-modal {
    background: var(--wecar-bg, #0f172a);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html[data-theme="dark"] .export-modal-icon {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
}

html[data-theme="dark"] .export-filter-tag {
    background: rgba(27, 123, 231, 0.15);
    border-color: rgba(27, 123, 231, 0.25);
}

html[data-theme="dark"] .export-filter-tag.all {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.2);
}

html[data-theme="dark"] .export-modal-btn.cancel {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

html[data-theme="dark"] .export-modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .export-modal-btn.confirm {
    background: #4ade80;
    color: #0f172a;
}
