/* Estilos para a página de credenciamento */

body {
    overflow-x: hidden;
    width: 100%;
}

/* Pontuação no Header */
.header-pontuacao {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}

.pontuacao-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.header-pontuacao .pontuacao-text {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    white-space: nowrap;
}

/* Responsividade - Pontuação no Header */
@media (max-width: 768px) {
    .header-pontuacao {
        position: static;
        transform: none;
        margin-left: 0;
        margin-top: 8px;
        width: 100%;
        justify-content: center;
        order: 3;
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-pontuacao .pontuacao-text {
        font-size: 14px;
    }

    .pontuacao-icon {
        font-size: 18px;
    }
}

/* Header */
.credenciamento-header {
    background: #1E3A8A;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 24px 24px 0 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header-title {
    display: flex;
    align-items: center;
}

.header-title h1 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* Main Content */
.credenciamento-main {
    background: #f8f9fa;
    /* Light gray to match body, or transparent */
    min-height: calc(100vh - 80px);
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    /* Helper to center content */
}

.credenciamento-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px 40px 32px;
    width: 100%;
    box-sizing: border-box;
}

.credenciamento-content {
    background: #ecf8fc;
    border-radius: 0;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

/* Left Side */
.credenciamento-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.credenciamento-title {
    font-size: 36px;
    font-weight: 700;
    color: #1E3A8A;
    line-height: 1.3;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.credenciamento-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-tipo {
    display: block;
    padding: 20px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.btn-pf {
    background: linear-gradient(135deg, #67E8F9 0%, #06B6D4 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-pf:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-pj {
    background: #1E3A8A;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-pj:hover {
    background: #1E40AF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* Right Side */
.credenciamento-right {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.credenciamento-image-wrapper {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.credenciamento-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Responsividade - Tablet */
@media (max-width: 1024px) {
    .header-container {
        padding: 14px 24px;
    }

    .logo-image {
        height: 50px;
    }

    .header-title h1 {
        font-size: 16px;
    }

    .credenciamento-container {
        padding: 32px 24px;
    }

    .credenciamento-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 48px;
    }

    .credenciamento-title {
        font-size: 32px;
        text-align: center;
    }

    .credenciamento-buttons {
        max-width: 400px;
        margin: 0 auto;
    }

    .credenciamento-right {
        order: -1;
    }

    .credenciamento-image-wrapper {
        max-width: 400px;
    }
}

/* Responsividade - Mobile */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
        flex-direction: column;
        gap: 12px;
    }

    .header-logo {
        align-items: center;
    }

    .logo-image {
        height: 45px;
    }

    .header-title h1 {
        font-size: 14px;
    }

    .credenciamento-container {
        padding: 24px 16px;
    }

    .credenciamento-content {
        padding: 32px 24px;
        border-radius: 16px 16px 0 0;
        min-height: auto;
    }

    .credenciamento-title {
        font-size: 24px;
        text-align: center;
    }

    .credenciamento-buttons {
        gap: 16px;
    }

    .btn-tipo {
        padding: 16px 24px;
        font-size: 16px;
    }

    .credenciamento-image-wrapper {
        max-width: 100%;
    }

}

/* Mobile pequeno */
@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }

    .header-title h1 {
        font-size: 12px;
    }

    .credenciamento-content {
        padding: 24px 16px;
    }

    .credenciamento-title {
        font-size: 20px;
    }

    .btn-tipo {
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Estilos para Formulário de Credenciamento */
.credenciamento-form-wrapper {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-top: 0;
    /* Remove negative margin to fix overlap */
    position: relative;
    z-index: 2;
}

/* Novo estilo PJ - Fundo Gradiente Azul - Wrapper externo */
.credenciamento-form-wrapper.style-pj {
    /* O background agora será aplicado ao container principal para uniformidade */
    background: transparent;
    padding: 0 60px 40px;
    /* Remove top padding since header handles it */
    border-radius: 0 0 20px 20px;
}

/* Ajuste no Header para parecer uma peça única com o form */
.credenciamento-header {
    background: linear-gradient(135deg, #0f4c81 0%, #0a3d6b 100%);
    padding-bottom: 20px;
    /* Reduced specific padding, relying on natural flow */
    margin-bottom: 0;
    border-bottom: none;
    position: relative;
    z-index: 10;
    /* Ensure header stays on top */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px 20px 0 0;
}

/* Ensure title text inside header is visible */
.credenciamento-header h1,
.header-title h1 {
    color: #FFFFFF !important;
}

.credenciamento-container {
    background: linear-gradient(135deg, #0f4c81 0%, #0a3d6b 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.form-section-title {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

/* STEPPER - Indicador de Etapas */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 40px;
    /* Add margin to separate from header */
    width: 100%;
    position: relative;
    padding: 0 20px;
}


.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 120px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Step Ativo */
.step.active .step-number {
    background: #00bef0;
    border-color: #00bef0;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 190, 240, 0.5);
}

.step.active .step-label {
    color: #ffffff;
    font-weight: 700;
}

/* Step Concluído */
.step.completed .step-number {
    background: #4caf50;
    border-color: #4caf50;
    color: #ffffff;
}

.step.completed .step-label {
    color: #a5d6a7;
}

/* Linha de conexão entre steps */
.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 -30px 22px;
    /* Ajuste para alinhar com o número */
    position: relative;
    z-index: 1;
}

.step-connector.completed {
    background: #4caf50;
}


/* Ensure all text in PJ/dark mode is white for contrast */
.credenciamento-form-wrapper.style-pj .form-section-title h2,
.credenciamento-form-wrapper.style-pj .title-underline {
    color: #FFFFFF !important;
    border-color: #FFFFFF;
    /* If using border */
}

.credenciamento-form-wrapper.style-pj .title-underline {
    background: #00bef0;
    /* Light blue accent */
}

.credenciamento-form-wrapper.style-pj label {
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.form-section-title h2 {
    color: #1E3A8A;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.form-section-title.dark-bg h2 {
    color: #67E8F9;
}

.title-underline {
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, transparent, #67E8F9, transparent);
    margin: 0 auto;
}

.title-underline.dark-bg {
    background: linear-gradient(to right, transparent, #67E8F9, transparent);
}


.credenciamento-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.credenciamento-form.curso-form {
    grid-template-columns: 2fr 1fr 150px;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field-small {
    grid-column: span 1;
    max-width: 100px;
}

.form-field-uf {
    grid-column: span 1;
    max-width: 80px;
}

.form-field-municipio {
    grid-column: span 1;
}

.form-field-cep {
    grid-column: span 1;
}

.form-field-fone {
    grid-column: span 1;
}

.form-field-curso {
    grid-column: span 1;
    flex: 2;
}

.form-field-conclusao {
    grid-column: span 1;
    flex: 1;
}

.form-field-horas {
    grid-column: span 1;
    flex: 0 0 150px;
    max-width: 150px;
}

.form-field-nome {
    grid-column: span 2;
}

.form-field-cro {
    grid-column: span 1;
    max-width: 180px;
}

.form-field-rg {
    grid-column: span 1;
}

.form-field-cpf {
    grid-column: span 1;
    max-width: 180px;
}

.form-field-data-nasc {
    grid-column: span 1;
    max-width: 160px;
}

.form-field-faculdade {
    grid-column: span 2;
}

.form-field-data-formatura {
    grid-column: span 1;
    max-width: 180px;
}

.form-field label {
    color: #1E3A8A;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.dark-bg .form-field label {
    color: #FFFFFF;
}

.form-field .required {
    color: #DC2626;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #FFFFFF;
    color: #1E3A8A;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #94A3B8;
}

.form-input.dark-input {
    background: #FFFFFF;
    border: 1px solid #1E3A8A;
    color: #1E3A8A;
}

.form-input.dark-input:focus {
    border-color: #67E8F9;
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.2);
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
    gap: 16px;
}

.dark-bg .form-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.form-footer-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.form-required-note {
    color: #1E3A8A;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-required-note.dark-note {
    color: #FFFFFF;
}

.btn-back-page {
    background: #FFFFFF;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
    padding: 14px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.btn-back-page:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
}

.btn-back-page:active {
    transform: translateY(0);
}

.dark-bg .btn-back-page {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.dark-bg .btn-back-page:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-next-page {
    background: linear-gradient(135deg, #67E8F9 0%, #06B6D4 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.btn-next-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-next-page:active {
    transform: translateY(0);
}

/* Responsividade do Formulário - Tablet */
@media (max-width: 1024px) {
    .credenciamento-form-wrapper {
        padding: 32px 40px;
    }

    .credenciamento-form {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 
===================================================================
   OVERRIDES PARA TEMA ADMIN (QUANDO EMBARCADO NO PAINEL)
===================================================================
*/

/* Remove padding e background do container principal quando dentro do admin */
.admin-theme .credenciamento-container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    background: transparent !important;
    min-height: auto !important;
    display: block !important;
}

.admin-theme .credenciamento-main {
    background: transparent !important;
    padding: 0 !important;
    min-height: auto !important;
    display: block !important;
}

/* Reseta o wrapper do formulário para parecer nativo do admin */
.admin-theme .credenciamento-form-wrapper,
.admin-theme .credenciamento-form-wrapper.style-pj,
.admin-theme .credenciamento-form-wrapper.dark-bg {
    background: #FFFFFF !important;
    /* Fundo branco padrão do admin */
    padding: 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Esconde elementos que não fazem sentido dentro do admin */
.admin-theme .credenciamento-header,
.admin-theme .header-pontuacao {
    display: none !important;
}

/* Ajusta títulos */
.admin-theme .form-section-title h2,
.admin-theme .credenciamento-form-wrapper.style-pj .form-section-title h2,
.admin-theme .form-section-title.dark-bg h2 {
    color: #1E3A8A !important;
    /* Azul escuro do admin */
    text-align: left !important;
    font-size: 20px !important;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

/* Esconde linha decorativa do título original */
.admin-theme .title-underline,
.admin-theme .title-underline.dark-bg {
    display: none !important;
}

/* Ajusta Labels */
.admin-theme label,
.admin-theme .credenciamento-form-wrapper.style-pj label,
.admin-theme .dark-bg .form-field label {
    color: #475569 !important;
    /* Cinza escuro */
    text-shadow: none !important;
    font-size: 14px !important;
}

/* Ajusta Inputs */
.admin-theme .form-input,
.admin-theme .form-input.dark-input {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #1E293B !important;
}

.admin-theme .form-input:focus,
.admin-theme .form-input.dark-input:focus {
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
}

/* Ajusta Stepper para fundo branco */
.admin-theme .step-indicator {
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
}

.admin-theme .step-number {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #64748B !important;
}

.admin-theme .step-label {
    color: #64748B !important;
}

.admin-theme .step.active .step-number {
    background: #1E3A8A !important;
    border-color: #1E3A8A !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.admin-theme .step.active .step-label {
    color: #1E3A8A !important;
}

.admin-theme .step-connector {
    background: #CBD5E1 !important;
}

/* Ajusta Footer do formulário */
.admin-theme .form-footer,
.admin-theme .dark-bg .form-footer {
    border-top: 1px solid #E2E8F0 !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
}

.admin-theme .form-required-note,
.admin-theme .form-required-note.dark-note {
    color: #64748B !important;
}

/* Botão Voltar */
.admin-theme .btn-back-page,
.admin-theme .dark-bg .btn-back-page {
    background: #FFFFFF !important;
    color: #64748B !important;
    border: 1px solid #CBD5E1 !important;
}

.admin-theme .btn-back-page:hover,
.admin-theme .dark-bg .btn-back-page:hover {
    background: #F8FAFC !important;
    color: #1E293B !important;
}

/* Botão Avançar */
.admin-theme .btn-next-page {
    background: #1E3A8A !important;
    /* Azul do admin */
    box-shadow: none !important;
}

.admin-theme .btn-next-page:hover {
    background: #1E40AF !important;
    transform: none !important;
}


/* Responsividade do Formulário - Mobile */
@media (max-width: 768px) {
    .credenciamento-container {
        padding: 0 12px 20px 12px;
    }

    .credenciamento-form-wrapper {
        padding: 20px 12px;
        border-radius: 16px 16px 0 0;
        width: 100%;
        box-sizing: border-box;
    }

    .form-section-title h2 {
        font-size: 20px;
    }

    .title-underline {
        width: 150px;
    }

    .credenciamento-form {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

    .form-field {
        width: 100%;
        min-width: 0;
    }

    .form-field.full-width {
        grid-column: 1;
    }

    .form-field-small,
    .form-field-uf,
    .form-field-municipio,
    .form-field-cep,
    .form-field-fone,
    .curso-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-field-curso,
    .form-field-conclusao,
    .form-field-horas,
    .form-field-nome,
    .form-field-cro,
    .form-field-rg,
    .form-field-cpf,
    .form-field-data-nasc {
        max-width: 100%;
        width: 100%;
        grid-column: 1;
        flex: none;
    }

    .form-field-curso .form-input,
    .form-field-conclusao .form-input,
    .form-field-horas .form-input {
        width: 100%;
    }

    .form-input {
        width: 100%;
        box-sizing: border-box;
        padding: 14px 16px;
        font-size: 16px;
        min-height: 48px;
    }

    .form-field {
        margin: 0;
        width: 100%;
    }

    .form-field label {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .form-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .form-required-note {
        justify-content: center;
    }

    .form-footer-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .btn-back-page,
    .btn-next-page {
        width: 100%;
    }
}

/* Mobile pequeno - Formulário */
@media (max-width: 480px) {
    .credenciamento-container {
        padding: 0 12px 20px 12px;
    }

    .credenciamento-form-wrapper {
        padding: 20px 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-section-title h2 {
        font-size: 18px;
    }

    .credenciamento-form {
        gap: 12px;
    }

    .curso-form {
        gap: 16px;
    }

    .form-field {
        width: 100%;
        margin: 0;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-next-page {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Estilos para Horário de Atendimento */
.horario-atendimento-wrapper {
    display: flex;
    gap: 24px;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
}

.horario-label {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    border-right: 2px solid #FFFFFF;
    padding-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horario-content {
    flex: 1;
}

.horario-days {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.horario-day {
    display: flex;
    align-items: center;
    gap: 16px;
}

.day-name {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    min-width: 80px;
}

.day-hours {
    display: flex;
    gap: 16px;
}

.hour-period {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hour-period label {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.hour-input {
    background: #FFFFFF;
    color: #1E3A8A;
    border: 1px solid #1E3A8A;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    min-width: 70px;
    transition: all 0.2s;
}

.hour-input:focus {
    outline: none;
    border-color: #67E8F9;
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.2);
}

.hour-input:disabled {
    background: #E2E8F0;
    color: #94A3B8;
    cursor: not-allowed;
}

.hour-input::placeholder {
    color: #94A3B8;
}

/* Estilos para Instalações */
.instalacoes-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
}

.instalacoes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 32px;
}

.instalacao-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.instalacao-item label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    width: 100%;
}

.radio-group {
    display: flex;
    gap: 12px;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 1 auto;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: #67E8F9;
    flex-shrink: 0;
}

/* Responsividade - Horário e Instalações */
@media (max-width: 768px) {
    .horario-atendimento-wrapper {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .horario-label {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        border-right: none;
        border-bottom: 2px solid #FFFFFF;
        padding-right: 0;
        padding-bottom: 16px;
        width: 100%;
    }

    .horario-content {
        width: 100%;
    }

    .horario-days {
        width: 100%;
    }

    .horario-day {
        flex-wrap: wrap;
        width: 100%;
    }

    .day-name {
        min-width: 70px;
        width: auto;
    }

    .day-hours {
        flex: 1;
        min-width: 0;
        gap: 12px;
    }

    .hour-period {
        flex: 1;
        min-width: 0;
    }

    .hour-input {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .instalacoes-wrapper {
        padding: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .instalacoes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
    }

    .instalacao-item {
        width: 100%;
        min-width: 0;
    }

    .instalacao-item label {
        font-size: 13px;
    }

    .radio-group {
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .radio-label {
        font-size: 13px;
        gap: 4px;
        flex: 0 0 auto;
    }

    .radio-label input[type="radio"] {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .horario-atendimento-wrapper {
        padding: 12px;
    }

    .day-hours {
        flex-direction: column;
        gap: 8px;
    }

    .hour-period {
        width: 100%;
    }

    .instalacoes-wrapper {
        padding: 12px;
    }

    .instalacoes-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .instalacao-item {
        width: 100%;
    }

    .instalacao-item label {
        font-size: 12px;
    }

    .radio-group {
        gap: 12px;
        justify-content: flex-start;
        width: 100%;
        flex-wrap: nowrap;
    }

    .radio-label {
        font-size: 12px;
        gap: 4px;
        flex: 0 0 auto;
    }

    .radio-label input[type="radio"] {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 1024px) {
    .instalacoes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 24px;
        width: 100%;
    }
}

/* Estilos para Especialidades */
.especialidades-form {
    width: 100%;
}

.especialidades-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
    width: 100%;
}

.especialidades-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.especialidade-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.especialidade-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.especialidade-options {
    display: flex;
    gap: 16px;
    align-items: center;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}

.option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #94A3B8;
    /* Mais escuro que branco puro para dar contraste em fundos claros, mas visível em escuros */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    /* Leve fundo para preenchimento */
    display: inline-block;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.radio-custom.checked {
    background: #67E8F9;
    border-color: #67E8F9;
}

.radio-custom.checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1E3A8A;
}

.option-text {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Responsividade - Especialidades */
@media (max-width: 1024px) {
    .especialidades-wrapper {
        padding: 24px;
    }

    .especialidades-grid {
        gap: 24px 32px;
    }
}

@media (max-width: 768px) {
    .especialidades-wrapper {
        padding: 20px 16px;
    }

    .especialidades-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .especialidades-column {
        gap: 16px;
    }

    .especialidade-item {
        gap: 10px;
    }

    .especialidade-label {
        font-size: 13px;
    }

    .especialidade-options {
        gap: 12px;
    }

    .radio-custom {
        width: 18px;
        height: 18px;
    }

    .option-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .especialidades-wrapper {
        padding: 16px 12px;
    }

    .especialidades-column {
        gap: 14px;
    }

    .especialidade-label {
        font-size: 12px;
    }

    .especialidade-options {
        gap: 10px;
    }

    .radio-custom {
        width: 16px;
        height: 16px;
    }

    .radio-custom.checked::after {
        width: 6px;
        height: 6px;
    }

    .option-text {
        font-size: 12px;
    }
}

.especialidades-footer {
    justify-content: center;
}

.especialidades-footer-buttons {
    justify-content: center;
    gap: 16px;
}

@media (max-width: 768px) {
    .especialidades-footer {
        justify-content: center;
    }

    .especialidades-footer-buttons {
        width: 100%;
        flex-direction: column;
    }
}

/* Estilos para Anexo de Documentos */
.upload-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.upload-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
    align-items: center;
}

.upload-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex: 0 1 auto;
    min-width: 0;
}

.upload-label {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.file-input {
    display: none;
}

.btn-upload {
    background: transparent;
    color: #FFFFFF;
    border: 2px solid #67E8F9;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    white-space: nowrap;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.uploaded-files {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px;
    border-radius: 16px;
    margin-top: 24px;
    width: 100%;
    box-sizing: border-box;
}

.uploaded-file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #FFFFFF;
    font-size: 14px;
}

.file-check {
    color: #16A34A;
    font-weight: 700;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 50%;
    flex-shrink: 0;
}

.file-name {
    color: #FFFFFF;
    font-size: 14px;
}

.tabela-uso-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.tabela-uso-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.tabela-uso-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.tabela-uso-title:hover,
.tabela-uso-title:focus {
    color: #67E8F9;
}

.tabela-uso-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #67E8F9;
    border-radius: 50%;
    background: transparent;
    display: inline-block;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkbox-custom.checked {
    background: #67E8F9;
    border-color: #67E8F9;
}

.checkbox-custom.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1E3A8A;
    font-size: 14px;
    font-weight: 700;
}

.checkbox-text {
    color: #FFFFFF;
    font-size: 14px;
}

.aprovacao-imediata {
    color: #EF4444;
    /* Red */
    font-size: 16px;
    font-weight: 800;
    display: block;
    text-transform: uppercase;
    margin-top: 4px;
}

.btn-consultar-contrato {
    background: linear-gradient(135deg, #67E8F9 0%, #06B6D4 100%);
    color: #FFFFFF;
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    width: fit-content;
    margin-top: 16px;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.btn-consultar-contrato:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
}

.btn-finalizar {
    background: linear-gradient(135deg, #67E8F9 0%, #06B6D4 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 48px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

.btn-finalizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.5);
}

.anexo-footer {
    justify-content: center;
    margin-top: 40px;
}

.anexo-footer-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
    width: 100%;
}

/* Responsividade - Anexo de Documentos */
@media (max-width: 768px) {
    .upload-items {
        flex-direction: column;
        gap: 16px;
    }

    .upload-item {
        width: 100%;
        min-width: 100%;
    }

    .btn-upload {
        width: 100%;
    }

    .tabela-uso-section {
        padding: 20px 16px;
    }

    .anexo-footer {
        justify-content: center;
    }

    .anexo-footer-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-back-page,
    .btn-finalizar {
        width: 100%;
    }
}

/* 
===================================================================
   OVERRIDES PARA TEMA ADMIN (QUANDO EMBARCADO NO PAINEL)
===================================================================
*/

/* Ajustes específicos para o tema admin */
/* REMOVED: .credenciamento-main and .credenciamento-container resets reverted by user request */

/* Reseta o wrapper do formulário para parecer nativo do admin mas com fundos brancos */
.admin-theme .credenciamento-form-wrapper,
.admin-theme .credenciamento-form-wrapper.style-pj,
.admin-theme .credenciamento-form-wrapper.dark-bg {
    background: #FFFFFF !important;
    /* Fundo Branco */
    padding: 32px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 24px !important;
    border: 1px solid #E2E8F0 !important;
}

/* Força textos e labels para PRETO/Cinza Escuro */
.admin-theme label,
.admin-theme .credenciamento-form-wrapper.style-pj label,
.admin-theme .dark-bg .form-field label,
.admin-theme .step-label,
.admin-theme h2,
.admin-theme h1,
.admin-theme p,
.admin-theme span:not(.badge):not(.btn-text) {
    color: #1e293b !important;
    /* Cor escura para legibilidade */
    text-shadow: none !important;
}

/* Inputs no admin */
.admin-theme .form-input,
.admin-theme .form-select,
.admin-theme textarea {
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

.admin-theme .form-input:focus,
.admin-theme .form-select:focus,
.admin-theme textarea:focus {
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    background-color: #FFFFFF !important;
}

/* Esconde elementos que não fazem sentido dentro do admin */
.admin-theme .credenciamento-header,
.admin-theme .header-pontuacao {
    display: none !important;
}

/* Ajusta títulos das seções */
.admin-theme .form-section-title h2 {
    color: #0F172A !important;
    border-bottom: 2px solid #E2E8F0;
    padding-bottom: 12px;
}

/* Ajusta Stepper no Admin */
.admin-theme .step-indicator {
    margin-bottom: 32px;
    background: #F1F5F9;
    padding: 16px;
    border-radius: 8px;
}

/* Ajusta cores do Horário de Atendimento no Admin */
.admin-theme .horario-label,
.admin-theme .day-name {
    color: #0F172A !important;
}

.admin-theme .horario-label {
    border-color: #CBD5E1 !important;
}

.admin-theme .horario-atendimento-wrapper {
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px;
}

.admin-theme .step .step-number {
    background: #E2E8F0;
    color: #64748B;
    border: 2px solid #CBD5E1;
}

.admin-theme .step.active .step-number {
    background: #3B82F6 !important;
    color: #FFFFFF !important;
    border-color: #3B82F6 !important;
}

.admin-theme .step .step-label {
    color: #64748B !important;
    font-weight: 500;
}

.admin-theme .step.active .step-label {
    color: #0F172A !important;
    font-weight: 700;
}

.admin-theme .step-connector {
    background: #CBD5E1;
}

/* Ajusta Inputs */
.admin-theme .form-input,
.admin-theme .form-input.dark-input {
    background: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #1E293B !important;
}

.admin-theme .form-input:focus,
.admin-theme .form-input.dark-input:focus {
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
}

/* Ajusta Stepper para fundo branco */
.admin-theme .step-indicator {
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
}

.admin-theme .step-number {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #64748B !important;
}

.admin-theme .step-label {
    color: #64748B !important;
}

.admin-theme .step.active .step-number {
    background: #1E3A8A !important;
    border-color: #1E3A8A !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.admin-theme .step.active .step-label {
    color: #1E3A8A !important;
}

.admin-theme .step-connector {
    background: #CBD5E1 !important;
}

/* Ajusta Footer do formulário */
.admin-theme .form-footer,
.admin-theme .dark-bg .form-footer {
    border-top: 1px solid #E2E8F0 !important;
    margin-top: 32px !important;
    padding-top: 24px !important;
}

.admin-theme .form-required-note,
.admin-theme .form-required-note.dark-note {
    color: #64748B !important;
}

/* Botão Voltar */
.admin-theme .btn-back-page,
.admin-theme .dark-bg .btn-back-page {
    background: #FFFFFF !important;
    color: #64748B !important;
    border: 1px solid #CBD5E1 !important;
}

.admin-theme .btn-back-page:hover,
.admin-theme .dark-bg .btn-back-page:hover {
    background: #F8FAFC !important;
    color: #1E293B !important;
}

/* Botão Avançar */
.admin-theme .btn-next-page {
    background: #1E3A8A !important;
    /* Azul do admin */
    box-shadow: none !important;
}

.admin-theme .btn-next-page:hover {
    background: #1E40AF !important;
    transform: none !important;
}

/* Estilos modernos para Radio Buttons */
.especialidade-options,
.radio-group {
    display: flex;
    gap: 40px;
    /* Increased gap */
    align-items: center;
    width: auto !important;
    /* Prevent stretching */
    flex-wrap: wrap;
    /* Allow wrapping if needed */
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #FFFFFF;
    position: relative;
    padding-left: 28px;
    /* Espaço para o radio customizado */
    user-select: none;
    margin-right: 20px;
    /* Fallback spacing */
}

.radio-label:last-child {
    margin-right: 0;
}

/* Esconde o input nativo */
.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Cria o indicador customizado (círculo externo) */
.radio-label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #67E8F9;
    /* Ciano do tema */
    border-radius: 50%;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Cria o indicador interno (círculo preenchido) */
.radio-label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 5px;
    /* Centralizado: (20 - 10) / 2 */
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #67E8F9;
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Estado Hover */
.radio-label:hover::before {
    border-color: #06B6D4;
    background-color: rgba(103, 232, 249, 0.1);
}



/* Animação do check */
.radio-label:has(input[type="radio"]:checked)::after {
    transform: translateY(-50%) scale(1);
}

.radio-label:has(input[type="radio"]:checked)::before {
    border-color: #67E8F9;
    box-shadow: 0 0 10px rgba(103, 232, 249, 0.4);
}

/* Ajustes para o tema Admin (Fundo branco) */
.admin-theme .radio-label {
    color: #1e293b !important;
}

.admin-theme .radio-label::before {
    border-color: #3B82F6;
    /* Azul do admin */
}

.admin-theme .radio-label::after {
    background-color: #3B82F6;
}

.admin-theme .radio-label:hover::before {
    background-color: rgba(59, 130, 246, 0.1);
}

.admin-theme .radio-label:has(input[type="radio"]:checked)::before {
    border-color: #3B82F6;
}

/* 
===================================================================
   AJUSTES PARA ETAPA 5 - DOCUMENTOS (TEMA ADMIN)
===================================================================
*/

/* Container de Uploads no Admin */
.admin-theme .upload-section {
    background-color: #F8FAFC !important;
    border: 1px dashed #CBD5E1 !important;
    padding: 32px !important;
    border-radius: 12px;
}

/* Upload Items Flex Container */
.admin-theme .upload-items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    align-items: center !important;
}

/* Item de Upload (Linha) */
.admin-theme .upload-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
}

/* Label do arquivo (CNH, CRO...) */
.admin-theme .upload-label {
    color: #1E293B !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: block !important;
    white-space: nowrap !important;
}

/* Force hide input file */
.admin-theme .file-input {
    display: none !important;
}

/* Botão de Upload Customizado */
.admin-theme .btn-upload {
    background: transparent !important;
    color: #3B82F6 !important;
    /* Azul legível */
    border: 2px solid #3B82F6 !important;
    /* Borda Azul */
    box-shadow: none !important;
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: auto !important;
    padding: 6px 20px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.admin-theme .btn-upload:hover {
    background: #EFF6FF !important;
    color: #1E40AF !important;
    border-color: #1E40AF !important;
    transform: none !important;
}

/* Seção Tabela U.S.O e Checkbox */
.admin-theme .tabela-uso-section {
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    padding: 24px !important;
    margin-top: 24px !important;
}

.admin-theme .tabela-uso-title {
    color: #1E293B !important;
    /* Texto Escuro */
    font-weight: 700 !important;
    text-decoration: none !important;
}

.admin-theme .tabela-uso-title:hover {
    color: #3B82F6 !important;
    text-decoration: underline !important;
}

.admin-theme .checkbox-text {
    color: #475569 !important;
}

.admin-theme .checkbox-custom {
    border-color: #CBD5E1 !important;
}

.admin-theme .checkbox-custom.checked {
    background-color: #3B82F6 !important;
    border-color: #3B82F6 !important;
}

.admin-theme .checkbox-custom.checked::after {
    color: #FFFFFF !important;
}

/* Botão Consultar Contrato */
.admin-theme .btn-consultar-contrato {
    color: #3B82F6 !important;
    border-color: #3B82F6 !important;
    background: transparent !important;
}

.admin-theme .btn-consultar-contrato:hover {
    background: #EFF6FF !important;
}

/* Lista de Arquivos Enviados */
.admin-theme .uploaded-files {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    color: #1E293B !important;
}

.admin-theme .uploaded-file-item .file-name {
    color: #16A34A !important;
    font-weight: 500 !important;
}

/* Responsividade Admin */
@media (max-width: 768px) {
    .admin-theme .upload-items {
        flex-direction: column !important;
        gap: 16px !important;
        align-items: flex-start !important;
    }

    .admin-theme .upload-item {
        width: 100% !important;
        justify-content: space-between !important;
    }
}

/* 
===================================================================
   NOVOS ESTILOS PARA UPLOAD INDIVIDUAL (COM REMOÇÃO)
===================================================================
*/

/* Onde fica a info do arquivo (substitui o botão de upload) */
.uploaded-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1E293B;
    /* Escuro por padrão */
    padding: 6px 16px;
    border-radius: 20px;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-check {
    color: #22C55E;
    font-weight: bold;
}

.file-name {
    color: #FFFFFF;
    font-size: 14px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Botão de Remover (Lixeira) */
.btn-remove {
    background: transparent;
    border: none;
    color: #EF4444;
    /* Vermelho erro */
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.btn-remove:hover {
    color: #DC2626;
    transform: scale(1.1);
}

/* ADMIN THEME OVERRIDES para os novos elementos */
.admin-theme .uploaded-file-info {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}

.admin-theme .file-name {
    color: #1E293B !important;
    /* Texto escuro no admin */
}

.admin-theme .file-check {
    color: #16A34A !important;
}