/* Estilo general */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #1e1e2f;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

h1 {
    font-size: 2rem;
    color: #00d4ff;
    margin-bottom: 20px;
}

/* Contenedor principal */
.container {
    background: #2a2a3d;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

label {
    display: block;
    font-size: 1rem;
    color: #cccccc;
    margin: 10px 0 5px;
    text-align: left;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background: #3a3a4d;
    color: #ffffff;
    font-size: 1rem;
    outline: none;
    transition: background 0.3s ease;
}

input:focus,
select:focus {
    background: #444455;
}

button {
    width: 100%;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(45deg, #00d4ff, #008cff);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
    background: linear-gradient(45deg, #008cff, #0055ff);
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

/* Mensajes de éxito o error */
p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #ff6363; /* Cambia según sea éxito o error */
}

p.success {
    color: #6eff91;
}

p.error {
    color: #ff6363;
}

/* Responsividad */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.5rem;
    }
}
