/* ===== ESTILOS DEL FORMULARIO ===== */

.formulario-section {
    background: var(--blanco);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--azul);
    margin-bottom: 3rem;
}

.section-title .verde {
    color: var(--verde);
}

.section-subtitle {
    text-align: center;
    color: var(--gris);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.form-card {
    background: white;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(9, 83, 116, 0.2);
    border: 3px solid var(--verde-claro);
    max-width: 1000px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--azul);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--verde);
    margin-right: 8px;
    width: 20px;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--verde-claro);
    border-radius: 15px;
    font-family: var(--font-principal);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: var(--blanco);
}

.form-control:focus {
    border-color: var(--azul);
    box-shadow: 0 0 0 4px rgba(9, 83, 116, 0.1);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23095374' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.datetime-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--azul) 0%, #0a6b9e 100%);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 2px solid var(--verde);
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--verde);
    color: var(--gris);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(9, 83, 116, 0.3);
}

.btn-submit i {
    font-size: 1.3rem;
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gris);
    font-size: 0.85rem;
}

.form-footer i {
    color: var(--verde);
}

.alert {
    padding: 1rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.alert.success {
    background: var(--verde-claro);
    color: var(--gris);
    border: 2px solid var(--verde);
    display: flex;
}

.alert.error {
    background: #ffe5e5;
    color: #d63031;
    border: 2px solid #ff7675;
    display: flex;
}

.alert i {
    font-size: 1.3rem;
}

/* ===== RESPONSIVE DEL FORMULARIO ===== */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card {
        padding: .5rem;
    }

    .datetime-group {
        grid-template-columns: 1fr;
    }


}

@media (max-width: 500px) {
    .formulario-section {
        padding: .5rem .5rem;
    }
}