.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-color), #f0f7f0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5000;
}

.login-screen.hidden {
    display: none;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--bg-color), #f0f7f0);
}

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

.login-header h2 {
    margin: 0 0 10px 0;
    color: var(--accent-green);
    font-size: 32px;
}

.login-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.login-form {
    background: var(--card-bg);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 300px;
}

.login-form .form-group {
    margin-bottom: 16px;
}

.login-form label {
    display: block;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
}

.login-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.login-form input:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.login-hint {
    margin-top: 16px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.login-error {
    background: #fee;
    border: 1px solid #fcc;
    border-left: 4px solid #e74c3c;
    color: #c0392b;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
