/* ✅ Asegura que el `body` usa flexbox correctamente */
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Garantiza que ocupa toda la pantalla */
    margin: 0;
}

/* ✅ El formulario de registro debe ajustarse bien */
.registro-container {
    width: 100%;
    max-width: 400px;
    background: #000000;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px; /* Espacio entre el formulario y el footer */
}

/* ✅ Ajustar el `footer` para que siempre esté abajo */
.footer {
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* 🔹 Evitar que el footer cubra contenido en pantallas pequeñas */
@media (max-height: 600px) {
    .footer {
        position: relative;
    }
}


/* Logo */
.logo-mila img {
    width: 100px;
    margin-bottom: 15px;
}

/* Campos del formulario */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #C9A47D;
    border-radius: 5px;
    background-color: #ffffff;
    color: #000;
    font-size: 1em;
    text-align: center;
}

/* Botón de registro */
.btn-registrarse {
    width: 100%;
    padding: 12px;
    background-color: #C9A47D;
    color: #000;
    border: none;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
}

.btn-registrarse:hover {
    background-color: #E5D5C0;
}

/* Enlace a iniciar sesión */
p {
    margin-top: 10px;
}

p a {
    color: #C9A47D;
    font-weight: bold;
    text-decoration: none;
}

p a:hover {
    color: #E5D5C0;
}

/* Responsivo */
@media (max-width: 600px) {
    .registro-container {
        max-width: 90%;
        padding: 20px;
    }
}
/* 🔹 Estilo del botón de Registro */
button[type="submit"] {
    background-color: #C9A47D; /* Dorado */
    color: #000; /* Texto en negro */
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 🔹 Efecto al pasar el mouse */
button[type="submit"]:hover {
    background-color: #E5D5C0; /* Dorado más claro */
}

