/* Estilos específicos para login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, var(--dark-bg) 70%);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,102,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.login-card {
    background: var(--card-bg);
    border: 1px solid var(--primary-blue-20);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.login-logo {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--space-lg);
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.login-form {
    margin-bottom: var(--space-xl);
}

.login-form .form-group {
    margin-bottom: var(--space-lg);
}

.login-btn {
    width: 100%;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    padding: var(--space-lg);
    min-height: 48px;
}

.login-divider {
    text-align: center;
    position: relative;
    margin: var(--space-xl) 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-blue-20);
}

.login-divider span {
    background: var(--card-bg);
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

.login-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.login-footer a {
    color: var(--primary-blue);
    font-weight: 500;
}

.login-footer a:hover {
    color: var(--neon-green);
}

.alert {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-info {
    background: var(--primary-blue-10);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.demo-users {
    background: var(--cyber-purple-10);
    border: 1px solid var(--cyber-purple);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
}

.demo-users h4 {
    color: var(--cyber-purple);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-user {
    background: rgba(139, 92, 246, 0.05);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.demo-user:last-child {
    margin-bottom: 0;
}

.demo-user strong {
    color: var(--text-primary);
}

.loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.loading.active {
    display: flex;
}

/* Partículas flotantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        margin: var(--space-md);
        padding: var(--space-lg);
    }
    
    .login-logo {
        font-size: 1.5rem;
    }
    
    .login-title {
        font-size: 1.25rem;
    }
}