﻿body {
    background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

h1, h2, h3, .visual-title {
    font-family: 'Playfair Display', serif;
}
p, label, input, button {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
}

.blank-wrapper {
    padding: 20px;
}

.blank-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
}

.page-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.filter-box {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f8f8;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

/*  ACESSO ASPX     */
.login-page-wrapper {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    background-color: #ffffff;
    margin: -20px;
}
.login-split {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    min-height: 100vh;
}
.login-illustration-side {
    width: 50%;
    background: linear-gradient(145deg, #f0f2f5 0%, #e4e7ec 50%, #d9dde3 100%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.login-illustration-side::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(47,47,51,0.04);
}
.login-illustration-side::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(47,47,51,0.03);
}
.illustration-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 380px;
}
.illustration-brand {
    margin-bottom: 32px;
}
.illustration-logo {
    width: 160px;
    height: auto;
}
.illustration-graphic {
    margin-bottom: 28px;
}
.login-svg {
    width: 100%;
    max-width: 320px;
    height: auto;
}
.illustration-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}
.illustration-text {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    margin: 0;
}
.login-form-side {
    width: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 40px;
    background-color: #ffffff;
}
.login-form-content {
    width: 100%;
    max-width: 380px;
}
.login-form-header {
    margin-bottom: 32px;
}
.login-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}
.login-subtitle {
    color: #6b6b6b;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}
.login-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}
.login-input {
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    box-shadow: none;
    padding: 0 16px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-input:focus {
    border-color: #2F2F33;
    box-shadow: 0 0 0 3px rgba(47,47,51, 0.08);
    outline: none;
}
.login-form-content .form-group {
    margin-bottom: 20px;
}
.login-options {
    margin-bottom: 24px;
}
.login-check-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    font-weight: 400;
}
.btn-login {
    background-color: #2F2F33;
    border: none;
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    height: 48px;
    width: 100%;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-login:hover, .btn-login:focus {
    background-color: #3d3d42;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(47,47,51,0.2);
}
.btn-login:active {
    transform: translateY(0);
    background-color: #222225;
    box-shadow: none;
}
.login-message {
    display: block;
    margin-top: 16px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
    padding: 12px 16px;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
}
.login-footer {
    margin-top: 40px;
    text-align: center;
}
.login-footer-text {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.login-extra-actions {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-login-secondary {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #D9DCE3;
    background: #FFFFFF;
    color: #2F2F33;
    font-weight: 600;
    transition: all .2s ease;
}

    .btn-login-secondary:hover {
        background: #F5F6F8;
        border-color: #C8CDD4;
    }

.btn-link-action {
    background: transparent;
    border: none;
    color: #2F2F33;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 6px 0;
}

    .btn-link-action:hover {
        opacity: 0.82;
    }

@media (max-width: 991px) {
    .login-split {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        min-height: auto;
    }
    .login-illustration-side {
        width: 100%;
        min-height: 280px;
        padding: 30px 20px;
    }
    .login-form-side {
        width: 100%;
        padding: 30px 20px;
    }
    .login-svg {
        max-width: 240px;
    }
    .illustration-title {
        font-size: 18px;
    }
}
@media (max-width: 576px) {
    .login-illustration-side {
        min-height: 220px;
        padding: 24px 16px;
    }
    .illustration-logo {
        width: 120px;
    }
    .illustration-brand {
        margin-bottom: 16px;
    }
    .illustration-graphic {
        margin-bottom: 16px;
    }
    .login-svg {
        max-width: 200px;
    }
    .login-form-side {
        padding: 24px 20px;
    }
    .login-title {
        font-size: 24px;
    }
    .login-form-header {
        margin-bottom: 24px;
    }
}
/*      Pagina de Menu Administrativo */
.menu-page {
    min-height: 100vh;
    padding: 40px 32px 60px 32px;
    background: #f8f9fa;
    margin: -20px;
}
.menu-header {
    margin-bottom: 36px;
}
.menu-header-content {
    max-width: 600px;
}
.menu-greeting-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.menu-greeting-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}
.menu-greeting-text {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
.menu-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.menu-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #eaeaea;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.menu-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.menu-card-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    background: #f4f5f7;
    border-radius: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 10px;
}
.menu-card-icon svg {
    width: 32px;
    height: 32px;
}
.menu-card-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.menu-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
}
.menu-card-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.menu-card-btn {
    background: #2F2F33;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    align-self: flex-start;
}
.menu-card-btn:hover, .menu-card-btn:focus {
    background: #3d3d42;
    color: #fff;
    transform: translateY(-1px);
}
.menu-card-btn:active {
    background: #222225;
    transform: translateY(0);
}
.menu-logout-bar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 16px 24px;
}
.menu-logout-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
}
.menu-logout-icon {
    width: 20px;
    height: 20px;
}
.menu-logout-text {
    font-size: 13px;
    color: #666;
}
.menu-logout-btn {
    background: transparent;
    color: #666;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.menu-logout-btn:hover, .menu-logout-btn:focus {
    background: #2F2F33;
    color: #fff;
    border-color: #2F2F33;
}

@media (max-width: 991px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .menu-page {
        padding: 30px 20px 40px 20px;
    }
}
@media (max-width: 576px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .menu-page {
        padding: 24px 16px 32px 16px;
    }
    .menu-greeting-title {
        font-size: 22px;
    }
    .menu-logout-bar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/*  Página de cadastro de Pessoas   */
.cadastro-card {
    max-width: 980px;
    margin: 0 auto;
}

.cadastro-form {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cadastro-field {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

    .cadastro-field.full {
        width: 100%;
    }

.cadastro-label {
    font-size: 14px;
    color: #5C5C62;
    margin-bottom: 8px;
    font-weight: 600;
}

.cadastro-input {
    width: 100%;
    height: 46px;
    border: 1px solid #D9DCE3;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 0 14px;
    font-size: 15px;
    color: #2F2F33;
    outline: none;
    transition: all .2s ease;
}

    .cadastro-input:focus {
        border-color: #2F2F33;
        box-shadow: 0 0 0 3px rgba(47, 47, 51, 0.08);
    }

.cadastro-radio input {
    margin-right: 6px;
}

.cadastro-radio label {
    margin-right: 24px;
    color: #2F2F33;
    font-size: 15px;
}

.field-error {
    margin-top: 6px;
    color: #C0392B;
    font-size: 13px;
}

.cadastro-msg {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    background: #F4F6F8;
    color: #2F2F33;
    font-size: 14px;
}

.cadastro-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.cadastro-btn-secondary {
    background: #ECEEF2;
    color: #2F2F33;
    border-radius: 12px;
    padding: 0 20px;
    height: 44px;
    border: none;
    cursor: pointer;
}

.field-error-box {
    background: #FDECEC;
    color: #B42318;
    border: 1px solid #F5C2C0;
}

@media (max-width: 768px) {
    .cadastro-field {
        width: 100%;
    }

    .cadastro-actions {
        flex-direction: column;
    }
}



/*  Page Loader */
.loader-content-page {
    min-height: 100vh;
    padding: 60px 20px;
    background: radial-gradient(circle at top left, rgba(0,0,0,0.04), transparent 25%), linear-gradient(135deg, #ffffff 0%, #f4f4f4 45%, #ebebeb 100%);
    display: table;
    width: 100%;
}

.loader-panel {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid #dddddd;
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
    padding: 45px 30px;
    max-width: 460px;
    margin: 0 auto;
}

.loader-brand-circle {
    width: 78px;
    height: 78px;
    line-height: 78px;
    margin: 0 auto 22px auto;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

.loader-title {
    color: #111111;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
}

.loader-description {
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
    max-width: 320px;
    margin: 0 auto 24px auto;
}

.loader-progress {
    width: 240px;
    height: 6px;
    background: #dcdcdc;
    margin: 0 auto 18px auto;
    overflow: hidden;
    position: relative;
}

    .loader-progress span {
        display: block;
        width: 90px;
        height: 100%;
        background: #111111;
        position: absolute;
        left: -90px;
        top: 0;
        animation: loaderMove 1.2s infinite ease-in-out;
    }

.loader-user-name {
    display: block;
    margin-top: 10px;
    color: #777777;
    font-size: 13px;
    letter-spacing: 0.3px;
}

@keyframes loaderMove {
    0% {
        left: -90px;
    }

    100% {
        left: 240px;
    }
}

@media (max-width: 767px) {
    .loader-content-page {
        padding: 40px 15px;
    }

    .loader-panel {
        padding: 35px 20px;
    }

    .loader-title {
        font-size: 24px;
    }

    .loader-description {
        font-size: 13px;
    }

    .loader-progress {
        width: 100%;
        max-width: 220px;
    }
}


/* ==========================================================================
   Confirmação de e-mail / Recuperação de senha
   ========================================================================== */

/* --- Aviso de confirmação no Menu Administrativo --- */
.confirm-banner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    background: #fff8e1;
    border: 1px solid #ffe49c;
    border-left: 4px solid #f0b400;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.confirm-banner-icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
}
.confirm-banner-icon svg { width: 26px; height: 26px; }
.confirm-banner-content {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: block;
}
.confirm-banner-title {
    display: block;
    font-size: 14px;
    color: #7a5b00;
    margin-bottom: 2px;
}
.confirm-banner-text {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    color: #8a6d1a;
}
.confirm-banner-status {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
}
.confirm-banner-status.ok { color: #1f7a3d; }
.confirm-banner-status.erro { color: #b42318; }
.confirm-banner-btn {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    background: #2F2F33;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
}
.confirm-banner-btn:hover, .confirm-banner-btn:focus {
    background: #3d3d42;
    color: #fff;
    transform: translateY(-1px);
}

/* --- Páginas de resultado/forms de autenticação (centralizadas) --- */
.auth-result-wrapper {
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #f8f9fa;
    margin: -20px;
    padding: 40px 20px;
}
.auth-result-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    padding: 44px 40px;
    max-width: 460px;
    width: 100%;
    text-align: center;
}
.auth-form-card { text-align: center; }
.auth-result-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 22px auto;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.auth-result-icon svg { width: 54px; height: 54px; }
.auth-icon-success { background: #eafaf0; }
.auth-icon-error   { background: #fdecec; }
.auth-icon-neutral { background: #f1f2f5; }
.auth-result-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    letter-spacing: -0.3px;
}
.auth-result-text {
    font-size: 15px;
    line-height: 1.65;
    color: #5f5f66;
    margin: 0 0 26px 0;
}
.auth-result-btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.auth-form {
    text-align: left;
    margin-top: 8px;
}
.auth-form .form-group { margin-bottom: 18px; }
.auth-form .auth-result-btn { margin-top: 6px; }
.auth-info-box {
    text-align: left;
    background: #eafaf0;
    border: 1px solid #bfe8cf;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #1f7a3d;
}
.auth-result-links {
    margin-top: 22px;
}

/* --- Sucesso do cadastro (reaproveita o cartão do menu) --- */
.auth-success-card { text-align: center; max-width: 620px; }
.auth-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px auto;
}
.auth-success-icon svg { width: 88px; height: 88px; }
.auth-success-text {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 auto 16px auto;
    max-width: 460px;
}
.auth-success-hint {
    font-size: 13px;
    color: #8a8a8a;
    margin: 0 auto 20px auto;
    max-width: 460px;
}
.auth-success-card .cadastro-actions {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* --- Requisitos de senha --- */
.senha-requisitos {
    background: #f4f6f8;
    border-radius: 12px;
    padding: 14px 18px;
}
.senha-requisitos-titulo {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #5C5C62;
    margin-bottom: 8px;
}
.senha-requisitos ul {
    margin: 0;
    padding-left: 18px;
}
.senha-requisitos li {
    font-size: 13px;
    color: #6b6b72;
    line-height: 1.7;
}
.senha-requisitos .mono {
    font-family: Consolas, 'Courier New', monospace;
    letter-spacing: 1px;
}

@media (max-width: 576px) {
    .confirm-banner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .confirm-banner-btn { width: 100%; }
    .auth-result-card { padding: 32px 22px; }
}

/* Campo de código de verificação (6 dígitos) */
.codigo-input {
    text-align: center;
    letter-spacing: 12px;
    font-size: 24px;
    font-weight: 700;
    font-family: Consolas, 'Courier New', monospace;
    padding-left: 12px;
}
.codigo-input::-webkit-input-placeholder { letter-spacing: 12px; }
.auth-sep {
    color: #c4c7cc;
    margin: 0 6px;
    font-size: 13px;
}






