/* ========================================
   PAGE DE LOGIN
   ======================================== */

.page-login {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    z-index: 1000;
}

.page-login[style*="block"],
.page-login[style*="flex"] {
    display: flex !important;
}

.login-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16), 0 8px 16px rgba(15, 23, 42, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-brain-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-header p {
    color: #475569;
    font-size: 0.95rem;
}

/* ========================================
   LOGIN USERS CARDS
   ======================================== */

.login-users {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
    width: 100%;
}

.user-card {
    background: #f8fafc;
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 32px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: 150px;
    width: 100%;
}

.user-card:hover,
.user-card:active {
    transform: translateY(-4px);
    border-color: #667eea;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

.user-avatar {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.user-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 32px 24px;
        max-width: 100%;
        margin: 0 16px;
    }
    
    .login-users {
        gap: 16px;
    }
    
    .user-card {
        padding: 24px 16px;
        min-height: 140px;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .user-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 28px 20px;
        margin: 0 12px;
    }
    
    .login-header h1 {
        font-size: 1.75rem;
    }
    
    .login-users {
        gap: 12px;
    }
    
    .user-card {
        padding: 20px 12px;
        min-height: 130px;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .user-name {
        font-size: 1rem;
    }
}
