/* =================================== */
/* CSS PARA pages/registro.php */
/* =================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.card-title {
    color: #173f5f;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

.text-center {
    text-align: center;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

input[type="text"], 
input[type="password"],
select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus, 
input[type="password"]:focus,
select:focus {
    border-color: #28a745; /* Color de foco verde */
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-primary {
    background-color: #28a745; /* Botón primario verde */
    color: white;
}

.btn-primary:hover {
    background-color: #1e7e34;
}

/* Estilos para mensajes de alerta */
.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mt-3 a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.mt-3 a:hover {
    text-decoration: underline;
}