/* ====== GRID FORMULARIO + INFO ====== */
.grid-form {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: flex-start;
}

/* ====== FORMULARIO ====== */
.form-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ====== INFO CLIENTE ====== */
.info-proceso {
    background: #f4fdfc;
    border-left: 6px solid #009688;
    padding: 20px;
    border-radius: 14px;
    font-size: 14px;
    position: sticky;
    top: 100px;
}

.info-proceso h3 {
    margin-top: 0;
    color: #004d40;
}

.info-section {
    margin-bottom: 15px;
}

.info-section strong {
    color: #00695c;
}

.info-section ul {
    padding-left: 18px;
    margin: 8px 0;
}

.info-section li {
    margin-bottom: 4px;
}

.info-section.nota {
    background: #e0f2f1;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
    .grid-form {
        grid-template-columns: 1fr;
    }

    .info-proceso {
        position: static;
        margin-top: 20px;
    }
}

/* ===============================================
   FUENTE PREMIUM
================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #e6f4f1;
    margin: 0;
    padding: 0;
}

/* ===============================================
   FORM CONTAINER PREMIUM COMPACTO
================================================ */
.container {
    width: 40%;
    background: #ffffff;
    margin: 40px auto;
    padding: 35px 45px;
    border-radius: 16px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.12);
    border-left: 6px solid #00695c;
}

h2 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #004d40;
    text-align: center;
}

/* ===============================================
   INPUTS COMPACTOS Y ELEGANTES
================================================ */
input, select, textarea {
    width: 100%;
    padding: 8px 10px;   /* Mucho más compacto */
    border: 1.5px solid #b0bec5;
    border-radius: 8px;
    margin-top: 3px;
    margin-bottom: 14px;
    font-size: 14px;
    transition: 0.2s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: #009688;
    box-shadow: 0 0 4px rgba(0,150,136,0.35);
    outline: none;
}

textarea {
    min-height: 90px;
}

/* ===============================================
   LABELS
================================================ */
label {
    font-weight: 500;
    color: #004d40;
    font-size: 14px;
}

/* ===============================================
   BOTÓN PREMIUM COMPACTO
================================================ */
.btn-enviar {
    background: #004d40;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease-in-out;
    margin-top: 10px;
}

.btn-enviar:hover {
    background: #00796b;
    letter-spacing: .5px;
}

/* ===============================================
   TOPBAR
================================================ */
.topbar {
    background: #004d40;
    padding: 16px 28px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
}

.logo {
    font-weight: 600;
}

.btn-login {
    background: #009688;
    padding: 8px 14px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

.btn-login:hover {
    background: #00bfa5;
}

/* ===============================================
   RESPONSIVE
================================================ */
@media (max-width: 768px) {
    .container {
        width: 92%;
        padding: 20px;
    }
}

.btn-volver-container {
    margin-top: 30px; 
    text-align: left; /* o center si quieres centrarlo */
}

.btn-volver {
    background: #455a64;
    color: white !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s ease-in-out;
}

.btn-volver:hover {
    background: #37474f;
}
.acciones-finales {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-acciones {
    background: #004d40;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    min-width: 180px;
    text-align: center;
    display: inline-block;
}

.btn-acciones:hover {
    opacity: .92;
    transform: translateY(-2px);
}

.btn-acciones.volver {
    background: #455a64;
}

.btn-acciones.pdf {
    background: #004f77;
}
.info-tipo {
    font-size: 13px;
    color: #1a3d3c;
    background: #e0f2f1;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #009688;
}

.info-tipo .def-q {
    color: #c62828;
    font-weight: 600;
}

.info-tipo .def-a {
    color: #1565c0;
    font-weight: 600;
}
