/* Layout general */
body {
    background-color: #1e1e1e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Contenedor del formulario */
.form-container {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    text-align: center;
}

/* Logo */
.logo {
    max-width: 180px;
    margin-bottom: 20px;
}

/* Titular */
h1 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Etiquetas y campos */
label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #fff;
    text-align: left;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #1e1e1e;
    border: 1px solid #d4af37;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}

input:focus, select:focus {
    outline: none;
    border-color: #ffdd57;
}

/* Botón */
button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #f5c542;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e0b134;
}

button:disabled {
    background-color: #c8b26d;
    cursor: not-allowed;
}

/* Loader y mensajes */
#loader {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: #aaa;
}

.success {
    background-color: #2e7d32;
    padding: 10px;
    border: 1px solid #4caf50;
    border-radius: 5px;
    margin-bottom: 15px;
    color: white;
}

.error {
    color: #ff6b6b;
    margin-bottom: 15px;
}

/* Asegura que todos los inputs y selects tengan el mismo ancho */
form input,
form select,
form button {
    width: 100%;
    box-sizing: border-box;
}