.cadastro-bg {
    min-height: 100vh;
    background: linear-gradient(180deg, #0b6fb3, #004878);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.cadastro-container {
    width: 100%;
    text-align: center;
}

.cadastro-card {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #e9e9e9;
    border-radius: 8px;
    padding: 36px 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.form-inner {
    max-width: 500px;
    margin: 0 auto;
}

.logo-box {
    width: 120px;
    height: 120px;
    margin: auto;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cadastro-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #003b5c;
}

.form-label {
    font-weight: 600;
    color: #333;
}

.input-group-text {
    background: #fff;
    border: 1px solid #ccc;
    border-right: none;
}


.form-control:focus {
    box-shadow: none;
    border-color: #0d6efd;
}

.input-group:focus-within .input-group-text {
    border-color: #0d6efd;
}

.password-rules {
    text-align: left;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.btn-pill {
    min-width: 150px;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
}

.btn-voltar {
    border: 1px solid #0d6efd;
    background-color: transparent;
    color: #0d6efd;
}

.btn-voltar:hover {
    background-color: #0d6efd;
    color: #fff;
}

.btn-primary.btn-pill {
    box-shadow: none;
}

.footer-text {
    margin-top: 40px;
    color: #fff;
}

/* MODAL DE SUCESSO */
.success-modal-content {
    border-radius: 16px;
    border: none;
}

.success-icon-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #198754;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.success-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #198754;
}

.success-modal-text {
    font-size: 1rem;
    color: #444;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .cadastro-card {
        padding: 25px 20px;
    }

    .form-inner {
        max-width: 100%;
    }

    .btn-pill {
        width: 100%;
    }

    .d-flex.justify-content-between.mt-4.gap-3.flex-wrap {
        flex-direction: column;
    }
}


.login {
    background: linear-gradient(180deg, #006CB5 9.07%, #003960 92.84%);
    background-color: var(--default-blue);

    min-height: calc(100vh - 69px);

    padding: 2rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.box-login {
    width: 30rem;
    height: 100%;
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.login-title {
    color: var(--default-blue);
}

.cadastre-se {
    color: var(--default-blue);
}

.cadastre-se:hover {
    color: var(--dark-blue);
}

.logo-secretaria {
    display: block;
    width: 100%;
    max-width: 377px;
    height: auto;
    max-height: 81px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .box-login {
        width: 100%;
    }
}


/* =========================
   TELA DE AVALIAÇÃO
========================= */

.avaliacao-page {
    background-color: var(--gray-1);
    min-height: 100vh;
    padding-bottom: 56px;
}

.avaliacao-header-bg {
    height: 86px;
    background: linear-gradient(90deg, #003960, #0077bf);
}

.avaliacao-container {
    max-width: 1140px;
    margin-top: -18px;
}

.avaliacao-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 24px;
}

.avaliacao-card {
    background-color: #fff;
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.avaliacao-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 24px;
}

.status-card {
    min-width: 500px;
    border: 1px solid #cfcfcf;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-card strong {
    font-size: 18px;
}

.status-card p {
    font-size: 12px;
    margin: 2px 0 0;
    color: #777;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.status-badge-analise {
    background-color: #ffdca6;
    color: #c97b19;
}

.status-badge-aprovado {
    background-color: #dff3e5;
    color: #2f8f4e;
}

.status-badge-reprovado {
    background-color: #ffe1e1;
    color: #c7434b;
}

.avaliacao-section,
.documentos-section {
    border: 1px solid #cfcfcf;
    background-color: #fff;
    padding: 22px 26px;
    margin-bottom: 24px;
}

.avaliacao-section h5,
.documentos-section h5 {
    color: var(--dark-blue);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dados-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px 28px;
}

.dados-grid strong,
.responsavel-grid strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.dados-grid p,
.responsavel-grid p {
    font-size: 14px;
    margin: 0;
}

.info-box {
    background-color: #e5e5e5;
    min-height: 76px;
    padding: 14px;
    margin-top: 12px;
    font-size: 13px;
    border-radius: 2px;
}

.quem-preencheu {
    margin-top: 56px;
}

.quem-preencheu-title {
    display: block;
    color: var(--dark-blue);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
}

.quem-preencheu-tipo {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.quem-preencheu-grid strong {
    display: block;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quem-preencheu-grid p {
    color: #111;
    font-size: 14px;
    margin: 0;
}

/* Mobile */
@media (max-width: 576px) {
    .quem-preencheu {
        margin-top: 40px;
    }

    .quem-preencheu-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

.avaliacao-actions {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}

.avaliacao-actions > div > strong {
    display: block;
    color: var(--dark-blue);
    font-size: 17px;
    margin-bottom: 16px;
}

.buttons-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-aprovar,
.btn-reprovar {
    min-width: 260px;
    height: 48px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
}

.btn-aprovar {
    background-color: #e7f5ea;
    color: #5ca46c;
    border: 1px solid #74b982;
}

.btn-reprovar {
    background-color: #fff0f0;
    color: #c7434b;
    border: 1px solid #d66770;
}

.justificativa label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.justificativa textarea {
    width: 100%;
    min-height: 82px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    resize: vertical;
    padding: 10px;
}

.sub-card {
    border: 1px solid #d3d3d3;
    min-height: 280px;
    background-color: #fff;
}

.sub-card h6 {
    color: var(--dark-blue);
    font-size: 15px;
    font-weight: 700;
    padding: 18px 22px;
    border-bottom: 1px solid #d3d3d3;
    margin: 0;
}

.responsavel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 34px;
    padding: 22px;
}

.endereco-fundacao p {
    padding: 28px 22px;
    font-size: 14px;
}

.documentos-table {
    margin-bottom: 0;
}

.documentos-table th {
    color: var(--dark-blue);
    font-size: 11px;
    font-weight: 700;
    background-color: #fafafa;
}

.documentos-table td {
    font-size: 12px;
    vertical-align: middle;
}

.btn-xs,
.btn-aprovar-mini,
.btn-reprovar-mini {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 3px;
}

.btn-aprovar-mini {
    color: #198754;
    border: 1px solid #198754;
    background-color: #fff;
}

.btn-reprovar-mini {
    color: #dc3545;
    border: 1px solid #dc3545;
    background-color: #fff;
}

.submit-area {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/* RESPONSIVO */
@media (max-width: 992px) {
    .dados-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .avaliacao-top {
        flex-direction: column;
    }

    .status-card {
        min-width: 100%;
    }

    .avaliacao-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .avaliacao-card {
        padding: 18px;
    }

    .dados-grid,
    .responsavel-grid {
        grid-template-columns: 1fr;
    }

    .btn-aprovar,
    .btn-reprovar {
        width: 100%;
        min-width: auto;
    }

    .status-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
