/* =========================================
   INDEX.CSS - Shell (sidebar, topbar, modals, toasts)
   ========================================= */

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    display: flex;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    position: relative;
}

.ambient-light {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
/* .orb base e @keyframes orb-float vêm de global.css */
.orb-primary { width: 900px; height: 900px; top: -30%; left: -10%; opacity: 0.7; }
.orb-secondary { width: 800px; height: 800px; bottom: -25%; right: -10%; animation-delay: -5s; opacity: 0.5; }

.app-window {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(50px);
    display: flex;
    overflow: hidden;
}

.sidebar {
    width: 80px;
    background: var(--bg-sidebar);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    border-right: var(--border-glass);
    z-index: 20;
    position: relative;
    overflow: visible;
}
.sidebar-ambient {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb-sidebar {
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: orb-float 20s infinite ease-in-out;
    top: 50%; left: 50%;
    margin-left: -140px;
    margin-top: -140px;
    transition: background 0.5s ease;
}
.brand-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary-color), rgba(var(--theme-rgb), 0.2));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main); font-size: 20px; margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(var(--theme-rgb), 0.4);
}
.sidebar-item {
    width: 50px; height: 50px;
    min-height: 50px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    flex-wrap: nowrap;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 14px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}
.sidebar-item i { font-size: 20px; transition: 0.3s; }
.sidebar-item:hover { color: var(--text-main); background: var(--bg-hover); border-color: rgba(255,255,255,0.1); }
.sidebar-item.active {
    color: var(--text-main);
    background: var(--bg-hover-strong);
    border: var(--border-highlight);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.sidebar-item.active i { color: var(--primary-color); filter: drop-shadow(0 0 5px var(--primary-color)); }

.sidebar-spacer { flex: 1; min-height: 0; }

/* Admin popover */
.sidebar-admin-popover-wrapper { position: relative; }
.sidebar-admin-popover {
    display: none;
    position: absolute;
    left: calc(100% + 12px);
    bottom: 0;
    min-width: 200px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 200;
}
.sidebar-admin-popover-wrapper.open .sidebar-admin-popover { display: block; }
.admin-popover-title {
    padding: 8px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}
.admin-popover-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
}
.admin-popover-item:hover {
    background: rgba(var(--theme-rgb), 0.1);
    color: var(--primary-color);
}
.admin-popover-item i { width: 16px; text-align: center; font-size: 13px; }

/* Badge de relatos no sidebar */
.sidebar-report-item { position: relative; }
.sidebar-badge {
    position: absolute; top: 6px; right: 6px;
    min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 8px; font-size: 10px; font-weight: 700;
    color: var(--text-main); display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.sidebar > *:not(.sidebar-ambient) { position: relative; z-index: 1; }

/* Tooltip balão com seta (sidebar) */
.sidebar-tooltip {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    margin-left: 14px;
    padding: 8px 14px;
    background: var(--bg-glass-strong);
    border: var(--border-highlight);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    box-shadow: var(--shadow-hard);
    z-index: 200;
}
.sidebar-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--border-input-hover);
}
.sidebar-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: var(--bg-dropdown);
}
.sidebar-item:hover .sidebar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.main-wrapper { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 10; }

.top-bar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
    z-index: 100;
}
.top-left-area { display: flex; align-items: center; gap: 16px; }
.page-title { font-size: 18px; font-weight: 300; letter-spacing: 1px; text-transform: uppercase; color: var(--text-main); display: flex; align-items: center; }
.page-title strong { font-weight: 700; color: var(--primary-color); }
.topbar-logo { height: 100px; object-fit: contain; margin-left: -10px; }
.top-right-area { display: flex; align-items: center; gap: 20px; }

.theme-container, .user-container, .telegram-container { position: relative; }
.telegram-btn {
    background: none; border: none; cursor: pointer; padding: 0;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    transition: 0.3s; opacity: 0.85;
}
.telegram-btn:hover { opacity: 1; transform: scale(1.1); }
.telegram-icon { width: 36px; height: 36px; border-radius: 50%; }

.icon-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: var(--border-glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: 0.3s;
}
.icon-btn:hover { border-color: var(--text-main); color: var(--text-main); background: var(--bg-hover); }

#themeBtn {
    color: var(--primary-color);
    border-color: rgba(var(--theme-rgb), 0.5);
    box-shadow: 0 0 10px rgba(var(--theme-rgb), 0.2);
}
#themeBtn:hover {
    background: rgba(var(--theme-rgb), 0.1);
    box-shadow: 0 0 20px rgba(var(--theme-rgb), 0.4);
    color: var(--text-main);
}

.user-pill {
    display: flex; align-items: center; gap: 12px;
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    border: var(--border-glass);
    background: var(--bg-input);
    transition: 0.3s;
}
.user-pill:hover { border-color: var(--text-dark); background: var(--bg-hover); }
.user-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.user-name { font-size: 13px; font-weight: 500; }

.theme-drawer-discreet {
    position: absolute;
    top: 40px; right: 0;
    background: var(--bg-dropdown);
    border: var(--border-highlight);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-hard);
    border-radius: 20px;
    padding: 15px 10px;
    display: none;
    z-index: 200;
    max-width: 25px;
}
.theme-drawer-discreet.show { display: block; animation: fadeIn 0.2s; }

.theme-column { display: flex; flex-direction: column; gap: 15px; }
.color-wrapper { position: relative; display: flex; align-items: center; }

.color-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 15px;
    background: rgba(0,0,0,0.9);
    color: var(--text-main);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.2s;
    pointer-events: none;
    border: 1px solid var(--border-input);
}
.color-wrapper:hover .color-tooltip { opacity: 1; visibility: visible; transform: translateX(0); }

.mode-toggle-dot {
    width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
    border: 2px solid var(--border-input-hover);
    background: var(--bg-hover-strong);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; font-size: 9px; color: var(--text-muted);
}
.mode-toggle-dot:hover { transform: scale(1.2); border-color: var(--primary-color); color: var(--primary-color); }

.color-dot { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: 0.2s; }
.color-dot:hover { transform: scale(1.2); }
.color-dot.active { border-color: var(--text-main); box-shadow: 0 0 10px currentColor; }

.floating-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--bg-glass-strong);
    border: var(--border-highlight);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-hard);
    border-radius: 16px;
    display: none;
    z-index: 200;
    min-width: 200px;
    padding: 10px;
}
.floating-menu.show { display: block; animation: fadeIn 0.2s; }

.menu-list { display: flex; flex-direction: column; gap: 5px; }
.menu-item {
    padding: 10px 15px;
    color: var(--text-main);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: 0.2s;
    border-radius: 8px;
}
.menu-item:hover { background: var(--bg-hover-strong); color: var(--primary-color); }

.iframe-container {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-input);
    border-top: var(--border-highlight);
    border-left: var(--border-highlight);
    border-top-left-radius: 30px;
    box-shadow: inset 10px 10px 40px rgba(var(--shadow-rgb), 0.5);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.25s ease;
}
.iframe-container.iframe-fade-out {
    opacity: 0;
}
.iframe-container iframe { width: 100%; height: 100%; border: none; display: block; }

/* Pull-to-refresh indicator */
.ptr-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-modal);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.ptr-indicator.ptr-loading svg {
    animation: ptr-spin 0.8s linear infinite;
}
@keyframes ptr-spin {
    to { transform: rotate(360deg); }
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    pointer-events: all;
    min-width: 320px;
    max-width: 400px;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(12px);
    border: var(--border-highlight);
    border-left: 3px solid var(--primary-color);
    color: var(--text-main);
    padding: 18px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(var(--shadow-rgb), 0.6);
    animation: slideIn 0.3s ease;
}
.toast-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.toast-icon {
    font-size: 20px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 8px rgba(var(--theme-rgb), 0.6));
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toast-title { font-size: 14px; font-weight: 600; color: var(--text-main); flex: 1; }
.toast-divider {
    height: 1px;
    background: var(--border-input);
    margin: 0 0 10px 0;
    border: none;
}
.toast-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 36px;
}

.login-overlay, .modal-overlay {
    position: fixed !important;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.login-overlay.active, .modal-overlay.active { display: flex; animation: fadeIn 0.3s ease; }

.login-card, .modal-content {
    background: var(--bg-modal);
    backdrop-filter: blur(40px);
    border: var(--border-highlight);
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(var(--shadow-rgb), 0.8);
    color: var(--text-main);
    position: relative;
    padding: 40px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
}
.modal-content { width: 600px; }

/* === LOGIN SPLIT LAYOUT === */
.login-split {
    display: flex;
    width: 850px;
    max-width: 95vw;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-modal);
    backdrop-filter: blur(40px);
    border: var(--border-highlight);
    box-shadow: 0 40px 80px rgba(var(--shadow-rgb), 0.8);
}
.login-left {
    flex: 1;
    background: linear-gradient(135deg, rgba(var(--theme-rgb), 0.3), rgba(var(--theme-rgb), 0.05));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.login-illustration {
    width: 180px;
    opacity: 0.15;
    position: absolute;
    bottom: -20px;
    right: -20px;
    transform: rotate(-15deg);
    pointer-events: none;
}
.login-character {
    width: 150px;
    max-width: 60%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    margin-bottom: 16px;
    z-index: 1;
}
.login-left-text {
    text-align: center;
    z-index: 1;
}
.login-left-text h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px 0;
}
.login-left-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.login-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
    width: 100%;
    z-index: 1;
}
.login-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.login-feature-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background: rgba(var(--theme-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}
.login-feature strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 2px;
}
.login-feature span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.login-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
    padding: 16px 30px 30px;
}
.login-logo-img {
    height: 150px;
    margin-bottom: 2px;
    filter: drop-shadow(0 0 20px rgba(var(--theme-rgb), 0.4));
}
.login-subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-dark);
    font-size: 12px;
}
.login-divider::before, .login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bg-hover-strong);
}
.btn-login-google {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border-input-hover);
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s;
    opacity: 1;
}
.btn-login-google:hover {
    background: var(--bg-hover-strong);
    border-color: var(--text-dark);
    color: var(--text-main);
}
.login-register {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.login-register a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.login-register a:hover { text-decoration: underline; }

/* Card "Não encontramos sua conta" — quem entra pelo Google com e-mail que não está no banco.
   Sem ícone de erro e sem vermelho de propósito: na maioria das vezes é uma professora que pagou e
   trocou de e-mail, não alguém fazendo coisa errada. O e-mail que o Google mandou aparece em
   destaque porque é a informação que faz ela perceber a troca sozinha. */
.sem-conta-email {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    background: var(--bg-hover-strong);
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 16px;
    word-break: break-all;
}
.sem-conta-motivos { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.sem-conta-motivo {
    display: flex;
    gap: 10px;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-muted);
}
.sem-conta-motivo i { color: var(--primary-color); margin-top: 3px; }
.sem-conta-motivo strong { color: var(--text-secondary); }
.sem-conta-ajuda { margin-top: 16px; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.sem-conta-ajuda a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.sem-conta-ajuda a:hover { text-decoration: underline; }

/* Profile Type Selector */
.profile-type-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.profile-type-option {
    flex: 1;
    cursor: pointer;
}
.profile-type-option input { display: none; }
.profile-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid var(--border-input);
    background: var(--bg-input);
    transition: all 0.2s;
    font-size: 11px;
    color: var(--text-muted);
}
.profile-type-card i { font-size: 18px; }
.profile-type-option input:checked + .profile-type-card {
    border-color: var(--primary-color);
    background: rgba(var(--theme-rgb), 0.15);
    color: var(--text-main);
    box-shadow: 0 0 12px rgba(var(--theme-rgb), 0.2);
}

/* Mobile: login empilhado — form em cima, ilustração embaixo */
@media (max-width: 700px) {
    .login-split {
        flex-direction: column-reverse;
        width: calc(100vw - 32px);
        min-height: auto;
        max-height: 95vh;
        overflow-y: auto;
    }
    .login-left {
        display: none;
    }
    .login-left .login-features { display: none; }
    .login-character { width: 100px; margin-bottom: 10px; }
    .login-left-text h2 { font-size: 16px; }
    .login-left-text p { font-size: 12px; }
    .login-right { padding: 20px 16px; }
    .login-card { padding: 20px 14px; }
    .login-logo-img { height: 50px; }
    .btn-login-google { height: 40px; font-size: 12px; }
    .profile-type-selector { gap: 6px; }
    .profile-type-card { padding: 8px 6px; }
    .profile-type-card span { font-size: 11px; }
}

.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.modal-header h2 { font-size: 22px; font-weight: 600; margin: 0; color: var(--text-main); letter-spacing: 0.5px; }
.btn-close {
    background: var(--bg-hover);
    color: var(--text-main);
    border: 1px solid var(--border-input);
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.btn-close:hover { background: var(--bg-hover-strong); border-color: var(--text-main); }

.input-wrapper {
    background-color: var(--bg-input) !important;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 50px;
    border: 1px solid var(--border-input);
    transition: 0.3s;
    margin-bottom: 15px;
}
.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--theme-rgb), 0.2);
    background: var(--bg-input) !important;
}
.input-wrapper input { background: transparent !important; border: none; color: var(--text-main) !important; width: 100%; outline: none; font-size: 14px; margin-left: 10px; }
.input-wrapper input:-webkit-autofill,
.input-wrapper input:-webkit-autofill:hover,
.input-wrapper input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-input) inset !important;
    -webkit-text-fill-color: var(--text-main) !important;
    transition: background-color 5000s ease-in-out 0s;
}
.input-wrapper i { color: var(--text-dark); font-size: 14px; }

.btn-login {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), rgba(var(--theme-rgb), 0.6));
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-login:hover { filter: brightness(1.2); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(var(--theme-rgb), 0.4); }
/* Modal: botão primário usa classes globais .btn-primary; aqui só tamanho */
.btn-primary-modal {
    width: auto;
    min-height: 44px;
    padding: 0 24px;
    height: 50px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-primary-modal:hover { filter: brightness(1.05); }
.recover-link { margin-top: 20px; font-size: 12px; color: var(--text-dark); cursor: pointer; transition: 0.3s; display: block; }
.recover-link:hover { color: var(--text-main); }
.hidden { display: none; }

.modal-profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.modal-avatar-large { width: 80px; height: 80px; border-radius: 20px; object-fit: cover; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.modal-profile-info h3 { font-size: 20px; margin-bottom: 5px; font-weight: 600; color: var(--text-main); }
.modal-profile-info p { color: var(--text-muted); font-size: 14px; margin: 0; }
.rating-stars { color: #f59e0b; font-size: 12px; margin-top: 8px; }

.stats-box {
    background-color: rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}
.stat-item h4 { font-size: 10px; text-transform: uppercase; color: var(--text-dark); letter-spacing: 1px; margin-bottom: 5px; }
.stat-item span { font-size: 18px; font-weight: 700; color: var(--text-main); }
.stat-item span.highlight { color: var(--primary-color); text-shadow: 0 0 15px rgba(var(--theme-rgb), 0.4); }

.modal-profile-form { margin-bottom: 0; }
.modal-profile-form .form-grid { margin-bottom: 20px; }
.modal-profile-form .form-group:last-child { margin-bottom: 0; }

.modal-recovery-row {
    background: rgba(var(--theme-rgb), 0.08);
    border: 1px solid rgba(var(--theme-rgb), 0.25);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--theme-rgb), 0.06);
}
.modal-recovery-hint {
    font-size: 11px;
    color: rgba(var(--theme-rgb), 0.95);
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    letter-spacing: 0.3px;
}
.modal-recovery-hint i { font-size: 12px; opacity: 0.9; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 10px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: span 2; }
.form-group label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-left: 5px; }

.input-wrapper-password { position: relative; padding-right: 44px; }
.input-wrapper-password input { padding-right: 0; }
.btn-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-password-toggle:hover { color: var(--primary-color); background: var(--bg-hover); }
.btn-password-toggle i { font-size: 14px; }

.modal-footer { display: flex; justify-content: flex-end; gap: 15px; border-top: 1px solid var(--border-input); padding-top: 25px; margin-top: 20px; }
/* Modal: botões cancel/secondary usam classes globais .btn-cancel / .btn-secondary; aqui só tamanho */
.btn-ghost-modal {
    min-height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 13px;
}

.crop-container { width: 250px; height: 250px; margin: 0 auto 20px auto; border-radius: 50%; border: 4px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; background-color: #000; box-shadow: 0 0 30px rgba(0,0,0,0.5); cursor: grab; }
.crop-container:active { cursor: grabbing; }
.crop-image { position: absolute; top: 0; left: 0; width: 100%; height: auto; transform-origin: center; pointer-events: none; user-select: none; }

.btn-upload-trigger { background-color: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px dashed rgba(255,255,255,0.2); padding: 12px; border-radius: 10px; font-size: 13px; width: 100%; cursor: pointer; display: flex; justify-content: center; gap: 10px; margin-top: 20px; transition: 0.3s; }
.btn-upload-trigger:hover { border-color: var(--primary-color); color: var(--text-main); background: rgba(var(--theme-rgb), 0.1); }

/* Modal Senha Chamada (Atendimento) */
.modal-senha-chamada { width: 440px; }
.modal-senha-body { padding: 10px 0 24px; }
.modal-senha-destaque {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.modal-senha-numero {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-align: left;
    font-variant-numeric: tabular-nums;
}
.modal-senha-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}
.modal-senha-meta span span { color: var(--text-main); font-weight: 500; }
.modal-senha-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-divider);
    font-size: 14px;
}
.modal-senha-label { color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.5px; font-size: 12px; }
.modal-senha-info span:last-child { color: var(--text-main); font-weight: 500; }
.modal-senha-protocolo { font-variant-numeric: tabular-nums; }
.modal-senha-observacoes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 0 0;
    margin-top: 4px;
    border-top: 1px solid var(--border-divider);
}
.modal-senha-info-caption {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.modal-senha-info-caption i { font-size: 10px; opacity: 0.8; }
.modal-senha-badge {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}
.modal-senha-badge:empty::before,
.modal-senha-badge:not([data-text])::before { content: '—'; color: rgba(255,255,255,0.35); }

.modal-senha-footer {
    display: flex;
    gap: 12px;
    justify-content: stretch;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-input);
}
.modal-senha-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 72px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-input);
    background: rgba(255,255,255,0.04);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.modal-senha-btn i {
    font-size: 18px;
    opacity: 0.9;
}
.modal-senha-btn span { text-align: center; line-height: 1.2; }
.modal-senha-btn:hover {
    background: var(--bg-hover-strong);
    border-color: rgba(255,255,255,0.2);
}
.modal-senha-btn-primary {
    background: rgba(var(--theme-rgb), 0.15);
    border-color: rgba(var(--theme-rgb), 0.4);
    color: var(--text-main);
}
.modal-senha-btn-primary:hover {
    background: rgba(var(--theme-rgb), 0.25);
    border-color: var(--primary-color);
}
.modal-senha-btn-danger {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.25);
    color: #f43f5e;
}
.modal-senha-btn-danger:hover {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.5);
}
.modal-senha-btn-danger i,
.modal-senha-btn-danger span { color: inherit; }

/* Modal Pausa (Atendimento) */
.modal-pausa { width: 380px; }
.modal-pausa-list { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 20px; max-height: 320px; overflow-y: auto; }
.pausa-motivo-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-input);
    background: var(--bg-card);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: var(--text-secondary);
}
.pausa-motivo-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.pausa-motivo-item.selected { border-color: var(--primary-color); background: rgba(var(--theme-rgb), 0.12); color: var(--text-main); }
.pausa-motivo-item i { width: 20px; text-align: center; color: var(--text-muted); }
.pausa-motivo-item.selected i { color: var(--primary-color); }

/* Modal Transferir (Atendimento Premium) */
.modal-transferir { width: 420px; }
.modal-transferir-body { padding: 16px 0 24px; }
.transferir-opcoes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.transferir-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
}
.transferir-radio input { accent-color: var(--primary-color); }
.transferir-panel { margin-top: 8px; }
.transferir-panel.hidden { display: none !important; }
.transferir-checkboxes { display: flex; flex-direction: column; gap: 10px; max-height: 220px; overflow-y: auto; padding: 4px 0; }
.transferir-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}
.transferir-check:hover { background: rgba(255,255,255,0.04); }
.transferir-check input { accent-color: var(--primary-color); }

/* Modal Exportar */
.export-body { margin-bottom: 30px; }
.export-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }
.export-options { display: flex; flex-direction: column; gap: 12px; }
.export-option { cursor: pointer; margin-bottom: 0; }
.export-option-icon-pdf { color: #ef4444; }
.export-option-icon-excel { color: #22c55e; }
.export-option-icon-csv { color: #3b82f6; }
.export-option-info { flex: 1; margin-left: 10px; }
.export-option-title { font-weight: 500; }
.export-option-subtitle { font-size: 11px; color: var(--text-muted); }
.export-option-arrow { color: var(--text-dark); }

/* =========================================
   SIDEBAR RESPONSIVO - drawer em telas <= 460px
   ========================================= */
.sidebar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: var(--border-glass);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: 0.3s;
    flex-shrink: 0;
}
.sidebar-toggle:hover { border-color: var(--text-main); color: var(--text-main); background: var(--bg-hover); }

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 15;
}
.sidebar-overlay.active { display: block; animation: fadeIn 0.2s; }

/* ===== Tablet - sidebar collapses as drawer ===== */
@media (max-width: 768px) {
    .sidebar-toggle { display: flex; }
    .sidebar-tooltip { display: none !important; }

    .sidebar {
        position: fixed;
        top: 0; left: 0;
        height: 100vh;
        height: 100dvh;
        width: 80px;
        z-index: 25;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background: var(--bg-dropdown);
        backdrop-filter: blur(20px);
        border-right: var(--border-highlight);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
    }
    .sidebar.open {
        transform: translateX(0);
    }

    /* ⛔ A GAVETA ROLA — 01/09/2026. Ela é `fixed` com `height:100dvh` e herdava o
       `overflow: visible` da regra de desktop: o que passasse da tela ficava FORA, sem rolagem e
       sem nada dizendo que havia mais. MEDIDO com a conta do admin, conteúdo de 750px fixos:
         · 844px de altura (iPhone 15 sem barra): nada fora;
         · 740px (a altura real com a barra do Chrome): "Configurações" fora;
         · 667px e 640px: "Admin" E "Configurações" fora.
       Não era só o menu de admin. `Configurações` é a tela onde mora a preferência de cor das
       folhas — num celular menor, a professora não tinha como chegar nela. E o conteúdo só cresce:
       a seção "Ferramentas de Atividades" aparece em algumas telas e empurra mais.
       `overscroll-behavior: contain` para o fim da lista não puxar a página atrás junto. */
    .sidebar {
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* ⛔ E O POPOVER DE ADMIN PRECISA ENTRAR NA BARRA. No desktop ele é `absolute` e sai PARA O
       LADO (`left: calc(100% + 12px)`) — por isso a regra base é `overflow: visible`. Só que o CSS
       não deixa combinar `overflow-y:auto` com `overflow-x:visible`: pedir rolagem vertical torna o
       eixo horizontal `auto` também, e o popover seria CORTADO pela própria barra. Consertar a
       rolagem e quebrar o acesso ao admin no mesmo gesto seria trocar um problema por outro.
       No celular ele flui DENTRO da barra e a rolagem nova alcança — sem ancoragem por pixel, que
       quebraria assim que um item entrasse na lista. */
    .sidebar-admin-popover {
        position: static;
        left: auto; bottom: auto;
        min-width: 0; width: 100%;
        margin-top: 6px;
        box-shadow: none;
    }

    .iframe-container {
        border-top-left-radius: 0;
        border-left: none;
    }

    .top-bar {
        padding: 0 20px;
        height: 64px;
    }
    .top-left-area { gap: 12px; }
    .page-title { font-size: 15px; }
    .topbar-logo { height: 80px; }
    .top-right-area { gap: 12px; }

    .toast-container { bottom: 20px; right: 20px; left: 20px; }
    .toast { min-width: 0; max-width: none; }

    .modal-content { width: calc(100vw - 40px); max-width: 600px; padding: 30px 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
}

/* ===== Small mobile ===== */
@media (max-width: 480px) {
    .top-bar {
        padding: 0 12px;
        height: 56px;
    }
    .page-title { font-size: 13px; letter-spacing: 0.5px; }
    .topbar-logo { height: 60px; margin-left: -6px; }
    .user-name { display: none; }
    .user-avatar { width: 34px; height: 34px; }
    .user-pill { padding: 4px 8px 4px 4px; gap: 8px; }
    .icon-btn { width: 34px; height: 34px; }
    .top-right-area { gap: 8px; }
    /* Telegram: flutuante no mobile */
    .telegram-container {
        position: fixed !important; bottom: 70px; right: 16px; z-index: 50;
    }
    .telegram-btn { width: 48px; height: 48px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
    .telegram-icon { width: 48px; height: 48px; }

    .toast-container { bottom: 12px; right: 12px; left: 12px; }

    .modal-content { width: calc(100vw - 24px); padding: 24px 16px; }
    .modal-header h2 { font-size: 18px; }
    .modal-senha-chamada { max-width: 100%; }
    .modal-pausa { max-width: 100%; }
    .modal-transferir { max-width: 100%; }

    .stats-box { flex-direction: column; gap: 16px; text-align: center; }
    .modal-profile-header { flex-direction: column; text-align: center; gap: 12px; }
}

/* Telegram Upsell Modal */
.btn-upsell {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 20px; border-radius: 12px;
    text-decoration: none; color: var(--text-main);
    font-size: 13px; transition: all 0.3s;
    position: relative; overflow: hidden;
    min-width: 180px;
}
.btn-upsell div { text-align: left; }
.btn-upsell strong { display: block; font-size: 15px; font-weight: 700; }
.btn-upsell span { display: block; font-size: 12px; opacity: 0.85; margin-top: 2px; }
.btn-upsell span small { opacity: 0.7; }
.btn-upsell i { font-size: 20px; flex-shrink: 0; }
.btn-upsell-monthly {
    background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(139,92,246,0.2));
    border: 1px solid rgba(139,92,246,0.4);
}
.btn-upsell-monthly:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(139,92,246,0.35));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139,92,246,0.25);
}
.btn-upsell-annual {
    background: linear-gradient(135deg, rgba(251,146,60,0.3), rgba(245,158,11,0.2));
    border: 1px solid rgba(245,158,11,0.4);
}
.btn-upsell-annual:hover {
    background: linear-gradient(135deg, rgba(251,146,60,0.5), rgba(245,158,11,0.35));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.25);
}
.upsell-badge {
    position: absolute; top: -1px; right: -1px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: var(--text-main); font-size: 9px; font-weight: 700;
    padding: 3px 8px; border-radius: 0 12px 0 8px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .btn-upsell { min-width: 100%; justify-content: center; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleUp { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════ BALÃO DE RECLAMAÇÕES E SUGESTÕES (24/08) ═══════════════════
   MORA NO SHELL, não nas telas. São 26 telas dentro do iframe; repetir o botão em cada uma seria
   26 lugares para manter, e ainda assim faltaria em alguma — que seria justamente aquela em que
   algo quebrou. Aqui ele existe uma vez e vale em todas, e o relato já nasce sabendo de que tela
   saiu (o `src` do iframe), sem perguntar nada para a professora.

   FECHADO ELE É SÓ UM BALÃO; no hover cresce e diz o nome. Botão largo e permanente no canto da
   tela disputa atenção com o conteúdo o tempo todo — e o conteúdo é o produto. */
.fab-relato {
    position: fixed; right: 24px; bottom: 24px; z-index: 900;
    display: flex; align-items: center; gap: 0;
    height: 52px; padding: 0; border: none; border-radius: 26px;
    /* ⛔ LARANJA, NAO O ROXO DO SISTEMA (30/08/2026). No celular ele flutua por cima dos botoes
       "Abrir atividade", que sao roxo cheio -- dois roxos empilhados, e o olho le os dois como a
       mesma familia de acao. E nao sao: um imprime a aula, o outro fala com a gente. Laranja porque
       e a unica faixa livre ali: verde e "entregue", ambar e "falta fazer", vermelho e destrutivo.
       ⛔ CLARINHO COM TEXTO ESCURO, nao laranja cheio com texto branco: medido, branco sobre
       #f97316 da 2,8:1 -- reprova em qualquer regua de legibilidade. Este par da 6,4:1. A borda
       existe porque fundo claro sozinho perde a silhueta de balao contra a pagina clara. */
    background: #ffedd5; color: #9a3412; cursor: pointer;
    border: 1px solid #fdba74;
    font-family: inherit; font-size: 14px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.45);
    transition: gap .25s ease, padding .25s ease, transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.fab-relato i { flex: none; width: 52px; text-align: center; font-size: 19px; }
/* O rótulo nasce com largura ZERO — sem isso ele empurraria o balão para fora da tela no primeiro
   quadro, antes de a transição começar. */
.fab-relato span {
    max-width: 0; opacity: 0; white-space: nowrap;
    transition: max-width .25s ease, opacity .2s ease;
}
.fab-relato:hover { gap: 0; padding-right: 20px; transform: translateY(-2px); background: #fed7aa;
                    box-shadow: 0 12px 30px rgba(var(--shadow-rgb), 0.55); }
.fab-relato:hover span { max-width: 220px; opacity: 1; }
.fab-relato:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
/* PULSO DE UMA VEZ SÓ, quando o aviso da reformulação é fechado: mostra onde reencontrar o balão.
   Três batidas e para — anel que pisca para sempre vira poluição, não convite. */
@keyframes fabPulso {
    0%   { box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .45), 0 0 0 0 rgba(var(--theme-rgb), .55); }
    70%  { box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .45), 0 0 0 18px rgba(var(--theme-rgb), 0); }
    100% { box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .45), 0 0 0 0 rgba(var(--theme-rgb), 0); }
}
.fab-relato.pulsando { animation: fabPulso 1.6s ease-out 3; }

/* ── DENTRO DA MODAL ── */
/* LARGURA AQUI, NÃO NO `style=` DO ELEMENTO: estilo inline vence folha de estilo, então um
   `width:560px` cravado no HTML atravessava a regra da casa que encolhe modais no telefone — e a
   caixa saía pelos dois lados da tela de 400px. `min()` resolve sem media query e sem disputa de
   especificidade. */
#relatoModal .modal-content { width: min(560px, calc(100vw - 32px)); }

/* Um modal, três estados: aviso da reformulação → formulário → recebido. São o mesmo assunto e a
   mesma conversa; três overlays seriam três coisas para fechar. */
.relato-passo { display: none; }
.relato-passo.ativo { display: block; }
.relato-intro { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin: 0 0 14px; }
.relato-intro strong { color: var(--text-main); }
/* TIPO: a escolha vem antes do texto porque muda a pergunta que o campo faz. */
.relato-tipos { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.relato-tipo {
    flex: 1; min-width: 140px; display: flex; align-items: center; gap: 9px;
    padding: 12px 14px; border-radius: 12px; cursor: pointer; font-family: inherit;
    background: var(--bg-input); border: 1px solid var(--border-input);
    color: var(--text-secondary); font-size: 13.5px; font-weight: 600; text-align: left;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.relato-tipo i { font-size: 15px; color: var(--cor-tipo, var(--text-secondary)); }
.relato-tipo:hover { border-color: var(--cor-tipo); color: var(--text-main); }
/* Selecionado ganha a COR DO TIPO, não um cinza mais escuro: é a mesma cor que vai no e-mail. */
.relato-tipo.on { border-color: var(--cor-tipo); color: var(--text-main);
                  background: color-mix(in srgb, var(--cor-tipo) 12%, transparent); }
.relato-campo {
    width: 100%; min-height: 130px; resize: vertical; padding: 13px 14px; border-radius: 12px;
    background: var(--bg-input); border: 1px solid var(--border-input); color: var(--text-main);
    font-family: inherit; font-size: 14px; line-height: 1.6;
}
.relato-campo:focus { outline: none; border-color: var(--primary-color); }
.relato-contexto { display: flex; align-items: center; gap: 7px; margin-top: 10px;
                   color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.relato-contexto i { opacity: .7; }
.relato-contexto b { color: var(--text-main); font-weight: 600; }
.relato-acoes { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.relato-acoes .direita { margin-left: auto; display: flex; gap: 10px; }
/* `.btn-primary-modal` é flex e não tem gap — o ícone do avião ficava colado no "ENVIAR".
   Escopado aqui e não na classe: os outros modais do shell não pediram nada. */
.relato-acoes .btn-primary-modal { gap: 8px; }
.relato-ok { text-align: center; padding: 10px 0 4px; }
.relato-ok i { font-size: 44px; color: #22c55e; margin-bottom: 14px; }
.relato-ok h3 { color: var(--text-main); font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.relato-ok p { color: var(--text-secondary); font-size: 14px; line-height: 1.65; margin: 0 auto; max-width: 420px; }
.relato-erro { margin-top: 12px; padding: 11px 13px; border-radius: 10px; font-size: 13px;
               background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.35); color: #ef4444; }

@media (max-width: 480px) {
    /* O flutuante do Telegram vive em bottom:70px — este entra ABAIXO dele, sem empurrar nada. */
    .fab-relato { right: 16px; bottom: 14px; height: 48px; }
    .fab-relato i { width: 48px; font-size: 18px; }
    /* No telefone não há hover: o rótulo nunca abriria, e um balão mudo não diz para que serve.
       Fica sempre aberto, e o texto é curto o bastante para não virar barra. */
    .fab-relato { padding-right: 18px; }
    .fab-relato span { max-width: 200px; opacity: 1; font-size: 13px; }
    .relato-tipo { min-width: 100%; }
}
