/* =====================================================
   CAREERS – FORMULARIO DE POSTULACIÓN
   AS HOLDING – PRODUCCIÓN FINAL
===================================================== */

/* CONTENEDOR PRINCIPAL */
.application-form {
    display: none;
    margin-top: 60px;
    background: #ffffff;
    padding: 48px 50px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    animation: fadeInUp .6s ease;
}

.application-form.show {
    display: block;
}

/* ANIMACIÓN */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TÍTULOS */
.application-form h2 {
    font-size: 34px;
    margin-bottom: 8px;
    color: #1c1c1c;
}

.application-form p {
    color: #666;
    margin-bottom: 35px;
    font-size: 16px;
}

/* =========================
   WHATSAPP BUTTONS
========================= */

.apply-whatsapp {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 18px;
    margin-bottom: 45px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    padding: 20px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s ease;
}

.btn-whatsapp.secondary {
    background: #128C7E;
}

.btn-whatsapp i {
    font-size: 20px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* =========================
   FORMULARIO
========================= */

.modern-form {
    width: 100%;
}

/* GRID INPUTS */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 15.5px;
    transition: .3s;
}

.modern-form input {
    height: 56px;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 0 3px rgba(0,188,212,.15);
}

/* TEXTAREA */
.modern-form textarea {
    margin-top: 10px;
    min-height: 120px;
    resize: vertical;
}

/* =========================
   FILE UPLOAD – PROFESIONAL
========================= */

.file-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 26px;
    margin: 30px 0 35px;
    border: 2px dashed #00bcd4;
    border-radius: 18px;
    background: #f9feff;
    cursor: pointer;
    transition: all .3s ease;
}

.file-box input {
    display: none;
}

.file-box span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #0097a7;
}

.file-box i {
    font-size: 22px;
}

.file-box:hover {
    background: #eefcff;
    border-color: #0097a7;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* =========================
   BOTÓN ENVIAR
========================= */

.btn-submit {
    width: 100%;
    height: 64px;
    margin-top: 15px;
    border-radius: 18px;
    background: linear-gradient(135deg,#00bcd4,#0097a7);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    letter-spacing: .3px;
    transition: all .3s ease;
}

.btn-submit i {
    margin-right: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

/* =========================
   BOTÓN POSTULAR (CARDS)
========================= */

.btn-apply {
    margin-top: 20px;
    background: linear-gradient(135deg, #0b3c5d, #0d5c8c);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all .3s ease;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.success-message {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    background: #e8f7ef;
    color: #1e7e34;
    border-radius: 10px;
    font-weight: 600;
    text-align: center;
    animation: fadeInUp .4s ease;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .application-form {
        padding: 35px 25px;
    }

    .apply-whatsapp {
        grid-template-columns: 1fr;
    }
}
