/**
 * frontend/css/login.css
 * עיצוב מסכי התחברות והרשמה
 */

.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 9998;
}

.login-container {
    max-width: 450px;
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease;
}

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

.login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 0.5rem;
}

.login-logo h1 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin: 0;
    font-weight: 700;
}

/* Auth Tabs */
.auth-tab {
    animation: slideIn 0.3s ease;
}

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

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-form h2 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin: 0 0 0.5rem 0;
    text-align: center;
    font-weight: 600;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--gray-50);
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-form input::placeholder {
    color: var(--gray-400);
}

/* Color Picker */
.color-picker {
    margin: 0.5rem 0;
}

.color-picker label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.color-options {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.color-option:hover {
    transform: scale(1.15);
}

.color-option.selected {
    border-color: var(--gray-800);
    box-shadow: 0 0 0 3px white, 0 0 0 6px var(--gray-800);
    transform: scale(1.1);
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.auth-switch a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .login-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .logo-icon {
        font-size: 3rem;
    }
    
    .login-logo h1 {
        font-size: 1.5rem;
    }
    
    .login-form h2 {
        font-size: 1.25rem;
    }
    
    .color-option {
        width: 44px;
        height: 44px;
    }
    
    .login-form input[type="text"],
    .login-form input[type="password"] {
        padding: 12px 16px;
        font-size: 16px; /* למנוע zoom באייפון */
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
    .login-container {
        max-width: 400px;
    }
}

/* frontend/css/login.css */
```

**מעולה!** 🎉

**עכשיו נסה לפתוח את האתר:**
```
http://10.100.102.202/shopping_list/