/* Contenedor principal */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #d3d2c7;
    padding: 20px;
}

/* Tarjeta del formulario */
.register-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 30px 35px;
    border-radius: 15px;
    border-bottom: #cb8e66 6px solid;
    border-top: #cb8e66 6px solid;
    text-align: center;
}

/* Título */
.title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

/* Grupo de inputs */
.form-group {
    text-align: left;
    margin-bottom: 18px;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: #fafafa;
    transition: 0.2s;
}

.form-group input:focus {
    border-color: #a68e45;
    background: #fff;
    box-shadow: 0 0 6px rgba(166,142,69,0.3);
}

/* Botón */
.btn-register {
    width: 100%;
    padding: 12px;
    background: #003f7d;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-register:hover {
    background: #8c7638;
}

/* Enlace */
.login-link {
    margin-top: 18px;
    font-size: 14px;
}

.login-link a {
    color: #a68e45;
    font-weight: bold;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.error-box {
    background: #ffdddd;
    border-left: 5px solid #e74c3c;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: #c0392b;
    font-size: 14px;
}

.input-error {
    color: #e74c3c;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}
