/* Variables de color */
:root {
    --primary-color: #E77655;
    --primary-hover: #d16546;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --text-muted: #6c757d;
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-color);
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

/* Contenedor principal centrado */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Sección de bienvenida (Encabezado) */
.welcome-section-2 {
    background: var(--primary-color);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.welcome-section-2 h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.welcome-section-2 p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Sección del formulario */
.form-section {
    padding: 40px;
    background-color: #fff;
}

/* Alertas personalizadas (Card de advertencias) */
.alerts-info {
    background-color: #ffffff !important;
    border: 1px solid rgba(231, 118, 85, 0.3) !important;
    border-left: 5px solid var(--primary-color) !important;
    color: var(--text-color) !important;
    border-radius: 8px;
    padding: 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.alerts-info strong {
    color: var(--primary-color) !important;
    font-weight: 700;
}

/* Etiquetas */
label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}

/* Inputs y Selects */
.form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 118, 85, 0.2);
    outline: none;
}

/* Botón principal */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    width: 100%;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

/* Ajustes Responsive */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .form-section {
        padding: 25px;
    }

    .welcome-section-2 {
        padding: 30px 20px;
    }

    .welcome-section-2 h2 {
        font-size: 1.75rem;
    }
}
