/* Fondo suave */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d3d2c7;
    padding: 20px;
}

/* Tarjeta del login */
.login-card {
    background: white;
    padding: 35px 40px;
    border-radius: 16px;
    border-bottom: #cb8e66 6px solid;
    border-top: #cb8e66 6px solid;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Título */
.title {
    font-size: 28px;
    text-align: center;
    color: #003f7d;
    margin-bottom: 18px;
    font-weight: 700;
}

/* Estilos de los inputs */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    font-weight: 600;
    color: #003f7d;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #bbb;
    border-radius: 10px;
    outline: none;
    transition: border 0.2s;
}

.form-group input:focus {
    border-color: #003f7d;
}

/* Botón principal */
.btn-login {
    width: 100%;
    background: #cb8e66;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-login:hover {
    background: #022e5c;
}

.volver-btn {
    width: 100%;
    background: #cb8e66;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
}

.volver-btn:hover {
    background-color: #022e5c;
}

/* Errores */
.error-box {
    background: #ffe0e0;
    border-left: 5px solid #e74c3c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #b80000;
}

/* Link de registro */
.register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.register-link a {
    color: #003f7d;
    font-weight: bold;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}
