/* Style.css - Tema Claro "SpaceFood" */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #444, #495057);
    color: #ffffff;
}

.container {
    margin: 0 15px;
}

.form-box {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: #2d2d2d;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(68, 68, 68, 0.5);
    display: none;
    border: 1px solid #666;
}

.form-box.active {
    display: block;
}

h2 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 30px;
    color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

input, select {
    width: 100%;
    padding: 14px;
    background: #3d3d3d;
    border: 1px solid #555;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    outline: none;
}

input::placeholder {
    color: #6c757d;
}

button {
    width: 100%;
    padding: 15px;
    background: #ff6b35;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #dc3545;
    transform: translateY(-2px);
}

p {
    text-align: center;
    margin-top: 25px;
    color: #6c757d;
    font-size: 15px;
}

p a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

p a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Mensajes de Error y Éxito */
.error-message {
    background-color: #dc3545;
    color: #ffffff;
    border: 1px solid #ff6b35;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.success-message {
    background-color: #6c757d;
    color: #ffffff;
    border: 1px solid #ff6b35;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

/* Estilos para el contenedor de bienvenida (cuando el usuario está logeado) */
.welcome-container {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    background: #1a193d;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid #3d3b6e;
    text-align: center;
}

.welcome-container h2 {
    color: #8c8cdd;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(140, 140, 221, 0.6);
}

.welcome-container p {
    margin-bottom: 30px;
}

.btn-logout {
    display: inline-block;
    padding: 15px 30px;
    background: #b33939; /* Rojo para el botón de cerrar sesión */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-logout:hover {
    background: #992d2d;
    transform: translateY(-2px);
}