/* =====================================================================
   VAA HUB — public/assets/css/painel.css
   Ajustes sobre AdminLTE 4 + Bootstrap 5 e estilos das telas de acesso.
   Tema leve, relacionado a esportes na água.
   ===================================================================== */

:root {
    --vh-primary: #0b6e87;
    --vh-primary-dark: #095a6f;
    --vh-accent: #1ba8c5;
}

/* ---- Cor primária aplicada aos componentes ---- */
.btn-primary {
    --bs-btn-bg: var(--vh-primary);
    --bs-btn-border-color: var(--vh-primary);
    --bs-btn-hover-bg: var(--vh-primary-dark);
    --bs-btn-hover-border-color: var(--vh-primary-dark);
    --bs-btn-active-bg: var(--vh-primary-dark);
    --bs-btn-active-border-color: var(--vh-primary-dark);
}
.btn-outline-primary {
    --bs-btn-color: var(--vh-primary);
    --bs-btn-border-color: var(--vh-primary);
    --bs-btn-hover-bg: var(--vh-primary);
    --bs-btn-hover-border-color: var(--vh-primary);
    --bs-btn-active-bg: var(--vh-primary);
}
.text-bg-primary { background-color: var(--vh-primary) !important; }
.text-primary { color: var(--vh-primary) !important; }
a { color: var(--vh-primary); }
.page-item.active .page-link {
    background-color: var(--vh-primary);
    border-color: var(--vh-primary);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--vh-accent);
    box-shadow: 0 0 0 .2rem rgba(27, 168, 197, .2);
}

/* ---- Sidebar ---- */
.app-sidebar .sidebar-brand .brand-link {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.app-sidebar .brand-image { font-size: 1.4rem; }
.app-sidebar .nav-link.active {
    background-color: var(--vh-primary) !important;
    color: #fff !important;
}

/* ---- Avatar na navbar ---- */
.vh-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--vh-primary);
    color: #fff;
    overflow: hidden;
}
.vh-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Callout do dashboard ---- */
.callout {
    border-left: 4px solid var(--vh-accent);
    border-radius: .375rem;
    padding: 1rem 1.25rem;
}

/* =====================================================================
   Telas de acesso (login, recuperação de senha, erros)
   ===================================================================== */
.vh-auth {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(11,110,135,.92), rgba(27,168,197,.88)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 30 Q15 20 30 30 T60 30" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="3"/></svg>');
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.vh-auth-wrap {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
}
.vh-auth-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
}
.vh-auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vh-primary);
    margin-bottom: 1.25rem;
}
.vh-auth-brand i { font-size: 1.8rem; }
.vh-auth-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 .25rem;
    text-align: center;
}
.vh-auth-sub {
    color: #6c7a86;
    font-size: .92rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.vh-auth-link {
    color: var(--vh-primary);
    text-decoration: none;
    font-size: .9rem;
}
.vh-auth-link:hover { text-decoration: underline; }
.vh-auth-foot {
    text-align: center;
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    margin-top: 1rem;
}
