/* =============================================
   BASE: Estilos comuns a TODOS os formulários
   ============================================= */

.mod-form {
    max-width: 900px;
    margin: 0 auto !important;
    padding: 30px 20px;
    float: none !important;
    display: block !important;
}

.mod-form .area-item {
    padding-bottom: 8px !important;
    margin-bottom: 16px;
}

.mod-form label,
.mod-form label.form-label {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    padding-bottom: 4px !important;
    margin-bottom: 2px !important;
    color: #00166B !important;
    display: block;
}

/* Inputs text, email, tel, cpf, date */
.mod-form .form-control {
    background: #FFFFFF !important;
    border: 1px solid #D0D5DD !important;
    border-radius: 8px !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    color: #333333 !important;
    padding: 12px 16px !important;
    transition: border-color 0.2s ease !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mod-form .form-control::placeholder {
    color: #999999 !important;
    font-size: 14px !important;
}

.mod-form .form-control:focus {
    border-color: #00166B !important;
    box-shadow: 0 0 0 2px rgba(0, 22, 107, 0.1) !important;
    outline: none !important;
}

/* Textarea */
.mod-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Select */
.mod-form .form-select {
    background-color: #FFFFFF !important;
    border: 1px solid #D0D5DD !important;
    border-radius: 8px !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
    color: #333333 !important;
    padding: 12px 40px 12px 16px !important;
    transition: border-color 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300166B'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 14px !important;
}

.mod-form .form-select:focus {
    border-color: #00166B !important;
    box-shadow: 0 0 0 2px rgba(0, 22, 107, 0.1) !important;
    outline: none !important;
}

/* Checkboxes & Radios */
.mod-form .form-check {
    margin-bottom: 6px;
    padding-left: 28px;
}

.mod-form .form-check.form-check-inline {
    display: inline-flex !important;
    margin-right: 20px !important;
    align-items: center;
}

.mod-form .form-check-input {
    width: 18px !important;
    height: 18px !important;
    margin-top: 1px;
    cursor: pointer;
    background-color: #FFFFFF !important;
    transition: all 0.2s ease !important;
}

.mod-form .form-check-input[type="radio"] {
    border: 2px solid #CCCCCC !important;
}

.mod-form .form-check-input[type="radio"]:hover {
    border-color: #00166B !important;
}

.mod-form .form-check-input[type="radio"]:checked {
    background-color: #00166B !important;
    border-color: #00166B !important;
}

.mod-form .form-check-input[type="checkbox"] {
    border: 1px solid #CCCCCC !important;
    border-radius: 3px !important;
}

.mod-form .form-check-input[type="checkbox"]:hover {
    border-color: #00166B !important;
}

.mod-form .form-check-input[type="checkbox"]:checked {
    background-color: #00166B !important;
    border-color: #00166B !important;
}

.mod-form .form-check-input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.mod-form .form-check-label {
    font-family: 'Inter', Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    cursor: pointer;
}

.mod-form .mod-area-radio {
    padding-left: 15px !important;
}

.mod-form .mod-input-8 {
    margin-top: 10px !important;
}

/* File input */
.mod-form input[type="file"].form-control {
    border: 1px dashed #D0D5DD !important;
    border-radius: 8px !important;
    padding: 16px !important;
    text-align: center;
    cursor: pointer;
}

.mod-form input[type="file"].form-control:hover {
    border-color: #00166B !important;
}

/* Date input */
.mod-form input[type="date"].form-control {
    border: 1px solid #D0D5DD !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
}

/* Botão Enviar - padrão dourado/amarelo pill (igual ao manifeste) */
.mod-form .btn-manifeste {
    background: #E8B817 !important;
    border: none !important;
    color: #FFFFFF !important;
    font-family: 'Inter', Arial, sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    padding: 12px 50px !important;
    border-radius: 30px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    min-width: 160px;
    text-transform: none;
}

.mod-form .btn-manifeste:hover {
    background: #D4A70E !important;
    box-shadow: 0 2px 8px rgba(232, 184, 23, 0.4) !important;
    transform: translateY(-1px);
}

.mod-form .btn-manifeste:disabled {
    background: #E8B817 !important;
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* Link Aviso de Privacidade */
.mod-form .manifeste-link {
    color: #333333;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mod-form .manifeste-link:hover {
    color: #8B1A8F;
}

/* Mensagens de erro */
.mod-form .invalid-feedback {
    font-size: 12px !important;
    color: #D32F2F !important;
    padding-top: 4px;
}

.mod-form .text-danger {
    font-size: 12px !important;
    color: #D32F2F !important;
}

/* Interesse em Curso - base */
.mod-form .interesse-curso-wrapper .interesse-tematicas {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
}

.mod-form .interesse-curso-wrapper .interesse-tematicas .form-check {
    margin-bottom: 0;
}

.mod-form .interesse-curso-wrapper .interesse-curso-select {
    margin-top: 16px;
}

.mod-form .interesse-curso-wrapper .interesse-curso-select .form-select {
    border: 1px solid #D0D5DD !important;
    border-radius: 8px !important;
    padding: 12px 40px 12px 16px !important;
    color: #999999 !important;
}

.mod-form .interesse-curso-wrapper .interesse-curso-select .form-select:has(option:checked:not([value=""])) {
    color: #333333 !important;
}

/* Checkbox multipla escolha - base */
.mod-form .mod-area-checkbox .form-check {
    padding-left: 28px;
    margin-bottom: 8px;
}

/* Responsivo - base */
@media (max-width: 768px) {
    .mod-form {
        max-width: 100%;
        padding: 20px 12px;
    }

    .mod-form .form-check.form-check-inline {
        display: block !important;
        margin-right: 0 !important;
        margin-bottom: 8px;
    }

    .mod-form .btn {
        width: 100%;
        padding: 12px 30px !important;
    }
}

.tooltip {
    cursor: pointer;
    max-width: 300px;
    width: 300px;
}

.texto-descricao{
    margin-top: -15px;
    margin-left: 10px;
}

.campo-novo {
    margin-top: 10px;
}

.fa.fa-plus-circle {
    cursor: pointer;
}

h2 {
    font-family: 'Intro';
    font-size: 28px;
    line-height: 35px;
    letter-spacing: 0;
    color: #00166B;
}

.titulo-campo-custom {
    font-family: 'Intro' !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    color: #00166B !important;
}

.label-campo-custom {
    font-family: 'Inter' !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    color: #00166B !important;
}

.form-text.text-muted {
    font-family: 'Intro' !important;
    opacity: .8;
    font-size: .9em;
    color: darkslategray !important;
}

/* =============================================
   LAYOUT: Manifestar Interesse
   ============================================= */

/* Container geral do formulário manifeste */
.mod-form-manifeste {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0 !important;
    max-width: 560px;
    margin: 0 auto !important;
    display: block !important;
    float: none !important;
    height: 100% !important;
}

/* Cabeçalho com título dividido */
.mod-form-manifeste .manifeste-header {
    text-align: center;
    margin-bottom: 30px;
}

.mod-form-manifeste .manifeste-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #8B1A8F;
    text-transform: uppercase;
    margin: 0 0 4px 0;
}

.mod-form-manifeste .manifeste-title {
    font-family: 'Intro', Arial, sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 32px;
    color: #1A1A1A !important;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Área dos campos */
.mod-form-manifeste .manifeste-form-body {
    padding: 0;
}

/* Area item dentro do manifeste */
.mod-form-manifeste .area-item {
    padding-bottom: 4px !important;
    margin-bottom: 16px;
}

/* Labels do manifeste - ocultar para inputs (usar placeholder), mostrar para radio/checkbox */
.mod-form-manifeste label.form-label {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #555555 !important;
    letter-spacing: 0 !important;
    padding-bottom: 4px !important;
    margin-bottom: 0 !important;
    display: block;
}

/* Ocultar labels em campos que usam placeholder (text, email, tel, cpf_cnpj) */
.mod-form-manifeste .area-item:has(.form-control:not(textarea)) > .form-label {
    display: none !important;
}

/* Inputs text/email/tel - estilo com borda completa e cantos arredondados */
.mod-form-manifeste .form-control {
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    background: #FFFFFF !important;
    transition: border-color 0.2s ease !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mod-form-manifeste .form-control:focus {
    border-color: #8B1A8F !important;
    box-shadow: none !important;
    background: #FFFFFF !important;
}

.mod-form-manifeste .form-control::placeholder {
    color: #999999 !important;
    font-size: 14px !important;
    font-style: normal;
}

/* Select / combo dentro do manifeste */
.mod-form-manifeste .form-select {
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 14px 40px 14px 16px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    background-color: #FFFFFF !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23555555'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 14px !important;
    transition: border-color 0.2s ease !important;
    appearance: none !important;
}

.mod-form-manifeste .form-select:focus {
    border-color: #8B1A8F !important;
    box-shadow: none !important;
}

/* Textarea dentro do manifeste */
.mod-form-manifeste textarea.form-control {
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    resize: vertical;
    min-height: 100px;
}

.mod-form-manifeste textarea.form-control:focus {
    border-color: #8B1A8F !important;
}

/* Labels de radio/checkbox */
.mod-form-manifeste .area-item .form-check-label,
.mod-form-manifeste .form-check-label {
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    color: #333333 !important;
    font-weight: 400 !important;
    cursor: pointer;
}

.mod-form-manifeste .area-item .form-check-label-interesse,
.mod-form-manifeste .form-check-label-interesse{
    padding: 0 !important;
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    color: #333333 !important;
    font-weight: 400 !important;
    cursor: pointer;
    margin-left: 6px;
}

/* Label "Interesse em:" para radio/checkbox groups */
.mod-form-manifeste .area-item:has(.form-check) > .form-label {
    font-size: 14px !important;
    font-family: 'Inter', sans-serif !important;
    color: #333333 !important;
    font-weight: 400 !important;
    display: block !important;
    height: auto;
    overflow: visible;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
}

/* Radio buttons - inline */
.mod-form-manifeste .form-check {
    margin-bottom: 6px;
    padding-left: 28px;
}

.mod-form-manifeste .form-check.form-check-inline {
    display: inline-flex !important;
    margin-right: 20px !important;
    align-items: center;
}

.mod-form-manifeste .form-check-input {
    width: 18px !important;
    height: 18px !important;
    margin-top: 1px;
    cursor: pointer;
}

.mod-form-manifeste .form-check-input[type="radio"] {
    border: 2px solid #CCCCCC !important;
    background-color: #FFFFFF !important;
    transition: all 0.2s ease !important;
}

.mod-form-manifeste .form-check-input[type="radio"]:hover {
    border-color: #8B1A8F !important;
}

.mod-form-manifeste .form-check-input[type="radio"]:checked {
    background-color: #8B1A8F !important;
    border-color: #8B1A8F !important;
}

/* Checkboxes */
.mod-form-manifeste .form-check-input[type="checkbox"] {
    border: 1px solid #CCCCCC !important;
    border-radius: 3px !important;
    background-color: #FFFFFF !important;
    transition: all 0.2s ease !important;
    width: 16px !important;
    height: 16px !important;
}

.mod-form-manifeste .form-check-input[type="checkbox"]:hover {
    border-color: #8B1A8F !important;
}

.mod-form-manifeste .form-check-input[type="checkbox"]:checked {
    background-color: #8B1A8F !important;
    border-color: #8B1A8F !important;
}

/* Área de políticas e declarações */
.mod-form-manifeste .manifeste-footer {
    padding: 0;
    margin-top: 10px;
}

.mod-form-manifeste .manifeste-footer .form-check {
    padding-left: 24px;
    margin-bottom: 4px;
}

.mod-form-manifeste .manifeste-footer .form-check-label {
    font-size: 13px !important;
    color: #666666 !important;
}

/* Link "Política de Privacidade" */
.mod-form-manifeste .manifeste-link {
    color: #333333;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mod-form-manifeste .manifeste-link:hover {
    color: #8B1A8F;
}

/* Botão Enviar - dourado/amarelo pill */
.mod-form-manifeste .btn-manifeste {
    background: #E8B817 !important;
    border: none !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    padding: 12px 50px !important;
    border-radius: 30px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    min-width: 160px;
    text-transform: none;
}

.mod-form-manifeste .btn-manifeste:hover {
    background: #D4A70E !important;
    box-shadow: 0 2px 8px rgba(232, 184, 23, 0.4) !important;
    transform: translateY(-1px);
}

.mod-form-manifeste .btn-manifeste:disabled {
    background: #E8B817 !important;
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* Área do botão enviar */
.mod-form-manifeste .manifeste-submit {
    padding: 16px 0;
    text-align: center;
}

/* Seção h2 - não exibir seções extras no manifeste */
.mod-form-manifeste h2.text-left {
    display: none;
}

/* Mensagens de erro */
.mod-form-manifeste .invalid-feedback {
    font-size: 12px !important;
    color: #D32F2F !important;
    padding-top: 4px;
}

.mod-form-manifeste .text-danger {
    font-size: 12px !important;
    color: #D32F2F !important;
}

/* File input estilizado */
.mod-form-manifeste input[type="file"].form-control {
    border: 1px dashed #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease !important;
}

.mod-form-manifeste input[type="file"].form-control:hover {
    border-color: #8B1A8F !important;
}

/* Date input */
.mod-form-manifeste input[type="date"].form-control {
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
}

.mod-form-manifeste input[type="date"].form-control:focus {
    border-color: #8B1A8F !important;
}

/* Texto descricao dentro do manifeste */
.mod-form-manifeste .texto-descricao {
    margin-top: -2px;
    margin-left: 0;
    margin-bottom: 6px;
}

.mod-form-manifeste .texto-descricao .form-text {
    font-size: 12px !important;
    color: #888888 !important;
    font-style: italic;
}

/* Interesse em Curso - temáticas radio + select de cursos */
.mod-form-manifeste .interesse-curso-wrapper .interesse-tematicas {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
}

.mod-form-manifeste .interesse-curso-wrapper .interesse-tematicas .form-check {
    margin-bottom: 0;
}

.mod-form-manifeste .interesse-curso-wrapper .interesse-curso-select {
    margin-top: 16px;
}

.mod-form-manifeste .interesse-curso-wrapper .interesse-curso-select .form-select {
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 14px 40px 14px 16px !important;
    color: #999999 !important;
    height: 100% !important;
}

.mod-form-manifeste .interesse-curso-wrapper .interesse-curso-select .form-select:has(option:checked:not([value=""])) {
    color: #333333 !important;
}

/* Responsivo */
@media (max-width: 768px) {
    .mod-form-manifeste {
        max-width: 100%;
        padding: 16px 12px !important;
    }

    .mod-form-manifeste .manifeste-title {
        font-size: 20px;
        line-height: 28px;
    }

    .mod-form-manifeste .manifeste-subtitle {
        font-size: 12px;
    }

    .mod-form-manifeste .form-check.form-check-inline {
        display: block !important;
        margin-right: 0 !important;
    }

    .mod-form-manifeste .btn-manifeste {
        padding: 12px 40px !important;
        font-size: 14px !important;
        width: 100%;
    }
}
