/* Login Page Styles */
:root {
    --color-primary: #000000;
    --color-primary-light: #333333;
    --color-accent: #000000;
    --color-accent-hover: #333333;
    --color-background: #f9fafb;
    --color-surface: #ffffff;
    --color-text: #111827;
    --color-text-secondary: #6b7280;
    --color-border: #e5e7eb;
    --color-error: #ef4444;
    --color-success: #10b981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
}

.hidden {
    display: none !important;
}

/* Login Container */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1.5rem;
}

.login-panel {
    width: 100%;
    max-width: 400px;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-out;
}

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

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo {
    height: 48px;
    width: auto;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

input {
    height: 2.75rem;
    padding: 0 1rem;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.75;
}

/* Removed password toggle styles */

.error-message {
    font-size: 0.8rem;
    color: var(--color-error);
    font-weight: 500;
    min-height: 1rem;
}

.login-button {
    height: 2.75rem;
    background-color: var(--color-accent);
    color: white;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background-color var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-button:hover {
    background-color: var(--color-accent-hover);
}

.login-button:active {
    transform: translateY(1px);
}

.login-button:disabled {
    background-color: var(--color-accent);
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    position: absolute;
    stroke: white;
    stroke-dasharray: 125;
    stroke-dashoffset: 125;
    animation: spinner 1.5s linear infinite;
}

@keyframes spinner {
    to {
        stroke-dashoffset: -125;
    }
}

/* Notification Styles */
.notification {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    font-size: 0.875rem;
    animation: slideIn 0.3s ease-out;
}

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

.notification.error {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-error);
}

.notification.success {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--color-success);
}

/* Footer */
.login-footer {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .login-panel {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.25rem;
    }
    
    .login-subtitle {
        font-size: 0.85rem;
    }
}