/*
|--------------------------------------------------------------------------
| GRID - 3 CARDS POR LINHA
|--------------------------------------------------------------------------
*/

.gdv-vagas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}


/*
|--------------------------------------------------------------------------
| CARD BASE
|--------------------------------------------------------------------------
*/

.gdv-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hover suave no card */
.gdv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}


/*
|--------------------------------------------------------------------------
| TIPOGRAFIA
|--------------------------------------------------------------------------
*/

.gdv-titulo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.gdv-departamento {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

.gdv-local-modelo {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.gdv-salario {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
}


/*
|--------------------------------------------------------------------------
| BOTÃO
|--------------------------------------------------------------------------
*/

.gdv-ver-mais {
    background-color: #225BDC;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    align-self: flex-start;
}

.gdv-ver-mais:hover {
    background-color: #0A3AAE;
    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| RESPONSIVO
|--------------------------------------------------------------------------
*/

@media (max-width: 1024px) {
    .gdv-vagas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gdv-vagas-grid {
        grid-template-columns: 1fr;
    }
}

/*
|--------------------------------------------------------------------------
| MODAL OVERLAY
|--------------------------------------------------------------------------
*/

.gdv-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    overflow-y: auto;
}


/*
|--------------------------------------------------------------------------
| MODAL CONTENT
|--------------------------------------------------------------------------
*/

.gdv-modal-content {
    background: #ffffff;
    max-width: 700px;
    margin: 60px auto;
    padding: 35px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: gdvFadeIn 0.25s ease;
}

@keyframes gdvFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/*
|--------------------------------------------------------------------------
| FECHAR MODAL
|--------------------------------------------------------------------------
*/

.gdv-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

.gdv-modal-close:hover {
    color: #000;
}


/*
|--------------------------------------------------------------------------
| CONTEÚDO INTERNO
|--------------------------------------------------------------------------
*/

.gdv-modal-titulo {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 20px;
}

.gdv-modal-info p {
    margin: 6px 0;
}

.gdv-modal-descricao {
    margin-top: 20px;
    line-height: 1.6;
    color: #444;
}


/*
|--------------------------------------------------------------------------
| BOTÃO CANDIDATAR
|--------------------------------------------------------------------------
*/

.gdv-candidatar-btn {
    margin-top: 25px;
    background-color: #225BDC;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.gdv-candidatar-btn:hover {
    background-color: #0A3AAE;
}

/*
|--------------------------------------------------------------------------
| FORMULÁRIO CANDIDATURA
|--------------------------------------------------------------------------
*/

.gdv-form-group {
    margin-bottom: 15px;
}

.gdv-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

.gdv-form-group input,
.gdv-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.gdv-form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.gdv-btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #225BDC;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
    margin-top: 20px;
}

.gdv-btn:hover {
    background-color: #0A3AAE;
}

.gdv-btn:active {
    transform: scale(0.98);
}

#gdv-btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.gdv-alert {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
}

.gdv-alert.sucesso {
    background: #d4edda;
    color: #155724;
}

.gdv-alert.erro {
    background: #f8d7da;
    color: #721c24;
}

.LGPD {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.LGPD input {
    position: relative;
    width: 30px;
}

.LGPD label {
    margin-top: 10px;
}

.LGPD label a {
    color: #0A3AAE;
}