/* ══════════════════════════════════════════════════════════════
   Tela de Recuperação de Senha — layout de 2 colunas (padrão login)
   Banner à esquerda (logo Thotus + hero) e formulário à direita.
   Alinhado ao login.css: azul #0f62fe, inputs com ícone/borda/anel.
   ══════════════════════════════════════════════════════════════ */

/* Ocultar elementos do layout base */
.sidebar, header, .app-footer, footer {
    display: none !important;
}
.main-content {
    margin-left: 0 !important;
    height: auto !important;
    overflow: visible !important;
}
.page-content {
    padding: 0 !important;
    overflow: visible !important;
    flex-grow: unset !important;
}

/* ── Tokens do tema (mesmos do login) ── */
:root {
    --reset-pri: #0f62fe;
    --reset-pri-hover: #004ae6;
    --reset-txt: #00103b;
    --reset-muted: #64748b;
    --reset-border: #e2e8f0;
    --reset-input-bg: #f8fafc;
    --reset-shadow: rgba(15, 98, 254, 0.1);
    --gradient-start: #0052cc;
    --gradient-middle: #002d80;
    --gradient-end: #001a4d;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff !important;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
}

/* ── Estrutura em 2 colunas ── */
.reset-split {
    display: flex;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ── PAINEL ESQUERDO: banner corporativo ── */
.reset-banner {
    flex: 1.2;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-middle) 60%, var(--gradient-end) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}
.reset-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.reset-banner::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.reset-brand-hero {
    width: 100%;
    max-width: 520px;
    z-index: 10;
}
.reset-logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}
.reset-logo-brand img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}
.reset-brand-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}
.reset-brand-hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Outfit', sans-serif;
}

/* Badges da base (grid de 4 colunas) — igual ao login */
.banner-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    z-index: 10;
    margin-top: 40px;
}
.badge-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.badge-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: #ffffff;
    transition: all 0.3s ease;
}
.badge-item:hover .badge-icon-box {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.badge-text {
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.35;
    font-family: 'Outfit', sans-serif;
}

/* ── PAINEL DIREITO: formulário ── */
.reset-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
    background: #ffffff;
}
.reset-form-wrapper {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo do Estado (topo do formulário) */
.reset-logo-top {
    height: 48px;
    width: auto;
    margin-bottom: 26px;
    object-fit: contain;
}

/* Título */
.reset-title-custom {
    font-size: 2rem;
    font-weight: 800;
    color: var(--reset-txt);
    margin-bottom: 8px;
    text-align: center;
    letter-spacing: -0.5px;
    font-family: 'Outfit', sans-serif;
}
.reset-subtitle-custom {
    font-size: 0.95rem;
    color: var(--reset-muted);
    text-align: center;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 340px;
    font-family: 'Outfit', sans-serif;
}

/* Formulário */
.reset-form-custom {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Campo com rótulo + input com ícone (padrão login) */
.reset-field {
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
}
.reset-field-label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--reset-txt);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}
.reset-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--reset-border);
    border-radius: 12px;
    background-color: var(--reset-input-bg);
    padding: 2px 14px;
    transition: all 0.25s ease;
}
.reset-input-wrap:focus-within {
    border-color: var(--reset-pri);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--reset-shadow);
}
.reset-input-icon {
    color: var(--reset-muted);
    font-size: 1.15rem;
    margin-right: 12px;
    display: flex;
    align-items: center;
}
.reset-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 13px 0;
    font-size: 0.95rem;
    color: var(--reset-txt);
    font-weight: 500;
    outline: none;
    font-family: 'Outfit', sans-serif;
}
.reset-input-wrap input::placeholder {
    color: #cbd5e1;
}

/* Botão Enviar */
.btn-reset-custom {
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    background-color: var(--reset-pri);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 18px;
    font-family: 'Outfit', sans-serif;
}
.btn-reset-custom:hover {
    background-color: var(--reset-pri-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 98, 254, 0.25);
}

/* Link Voltar ao Login */
.link-back-custom {
    font-size: 0.85rem;
    color: var(--reset-pri);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    transition: color 0.2s ease;
    font-family: 'Outfit', sans-serif;
}
.link-back-custom:hover {
    color: var(--reset-pri-hover);
    text-decoration: underline;
}

/* Divisor */
.divider-custom {
    width: 100%;
    border-top: 1px solid var(--reset-border);
    margin: 26px 0;
}

/* Contatos */
.reset-contact-custom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--reset-muted);
    line-height: 1.7;
    margin-bottom: 22px;
    font-family: 'Outfit', sans-serif;
}
.reset-contact-custom p {
    margin: 0;
}
.reset-contact-custom .contact-title {
    font-weight: 700;
    color: var(--reset-txt);
}

/* Logo Thotus (rodapé do card) */
.reset-logo-bottom {
    height: 34px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}
.reset-logo-bottom:hover {
    opacity: 1;
}

/* Footer */
.reset-footer-custom {
    margin-top: 18px;
    font-size: 0.76rem;
    color: #94a3b8;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
.reset-footer-custom strong {
    font-weight: 700;
    color: var(--reset-muted);
}

/* ── Responsivo: some com o banner, form vira card ── */
@media (max-width: 991px) {
    .reset-banner {
        display: none;
    }
    .reset-form-area {
        padding: 40px 20px;
        background: var(--reset-input-bg);
    }
    .reset-form-wrapper {
        background: #ffffff;
        padding: 40px 28px;
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    }
}
