/* Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Contenedor Principal */
.login-container {
    display: flex;
    gap: 40px;
    max-width: 900px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

/* Caja de Login */
.login-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Header del Login */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 60px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.login-header h1 {
    color: #1a1a2e;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-header .subtitle {
    color: #666;
    font-size: 14px;
}

/* Mensajes de Error */
.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0f3460;
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-group input::placeholder {
    color: #aaa;
}

/* Botón de Login */
.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0f3460, #16213e);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 52, 96, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

/* Footer */
.login-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.login-footer p {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.login-footer a {
    color: #0f3460;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

.version {
    color: #999 !important;
    font-size: 11px !important;
}

/* Panel de Información */
.login-info {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.login-info h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 18px;
}

.login-info ul {
    list-style: none;
}

.login-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.login-info li:last-child {
    border-bottom: none;
}

.login-info li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        align-items: center;
    }
    
    .login-box, .login-info {
        max-width: 100%;
    }
    
    .login-info {
        order: -1;
    }
}

/* Animación de entrada */
.login-box {
    animation: slideIn 0.5s ease-out;
}

.login-info {
    animation: slideIn 0.5s ease-out 0.2s backwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}