/* =========================
   BODY
========================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('../img/registro.jpg') no-repeat center center/cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

/* Overlay opcional */
body::before {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: -1;
}

/* =========================
   PANEL
========================= */
.panel {
    background: rgba(26,31,51,0.9); /* semitransparente igual que dashboard */
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 25px rgba(0,0,0,0.8);
    text-align: center;
}

/* =========================
   TITULO
========================= */
h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #ffd700; /* dorado */
}

/* =========================
   INPUTS
========================= */
input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 6px;
    outline: none;
    background: #2a2f4a;
    color: white;
    font-size: 14px;
}

/* =========================
   BOTONES
========================= */
button, .button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

/* Botón Registrar */
button {
    background-color: #b22222; /* rojo sangre */
    color: #fff;
    font-size: 16px;
}

button:hover {
    background-color: #8b1a1a;
    transform: scale(1.03);
}

/* Botón Volver atrás (igual que Registrar) */
.button {
    display: block;
    text-decoration: none;
    background-color: #b22222;
    color: white;
    font-size: 16px;
}

.button:hover {
    background-color: #8b1a1a;
    transform: scale(1.03);
}

/* =========================
   MENSAJES
========================= */
.message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

/* Éxito */
.message.success {
    background-color: #4caf50;
    color: #fff;
}

/* Error */
.message.error {
    background-color: #f44336;
    color: #fff;
}

/* Mensaje de activación de cuenta */
.message.activation {
    background-color: #ffd700;
    color: #000;
    font-weight: bold;
}