/* UDELLPA Egresados — Estilos del formulario público */

.udellpa-egr-wrap {
    max-width: 850px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.udellpa-egr-header {
    text-align: center;
    margin-bottom: 30px;
}

.udellpa-egr-header h2 {
    color: #0d1b4b;
    font-size: 28px;
    margin-bottom: 8px;
}

.udellpa-egr-header p {
    color: #666;
    font-size: 15px;
}

.udellpa-egr-seccion {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.udellpa-egr-seccion-titulo {
    color: #0d1b4b;
    font-size: 17px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5c400;
}

.udellpa-egr-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .udellpa-egr-grid-2 {
        grid-template-columns: 1fr;
    }
}

.udellpa-egr-campo {
    display: flex;
    flex-direction: column;
}

.udellpa-egr-full {
    grid-column: 1 / -1;
}

.udellpa-egr-campo label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.udellpa-egr-campo input,
.udellpa-egr-campo select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.2s;
    background: #fafafa;
}

.udellpa-egr-campo input:focus,
.udellpa-egr-campo select:focus {
    outline: none;
    border-color: #0d1b4b;
    background: #fff;
}

.udellpa-egr-campo small {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.requerido {
    color: #e74c3c;
}

.udellpa-egr-nota {
    font-size: 13px;
    color: #666;
    background: #fffbea;
    border-left: 3px solid #f5c400;
    padding: 10px 14px;
    border-radius: 4px;
    margin-top: 15px;
}

.udellpa-egr-boton {
    background: #f5c400;
    color: #0d1b4b;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.udellpa-egr-boton:hover {
    background: #e0b300;
    transform: translateY(-1px);
}

.udellpa-egr-boton:disabled {
    background: #ccc;
    color: #888;
    cursor: not-allowed;
    transform: none;
}

.udellpa-egr-alerta {
    padding: 14px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.udellpa-egr-exito {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.udellpa-egr-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
