/* Login Page Styles */

.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: var(--bg-tile);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 40px var(--shadow);
}

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

.login-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

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

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input {
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.error-message {
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 0.5rem;
    color: #ef4444;
    font-size: 0.875rem;
}

.lockout-message {
    padding: 1.5rem;
    background: rgba(251, 146, 60, 0.1);
    border: 2px solid #f97316;
    border-radius: 0.75rem;
    text-align: center;
}

.lockout-message h3 {
    color: #f97316;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.lockout-message p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.lockout-message strong {
    color: #f97316;
    font-weight: 600;
}

.login-button {
    padding: 1rem;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.3);
}

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

.login-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.demo-credentials {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.8;
}

.demo-credentials strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: slideUp 0.5s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 2rem;
    }

    .login-header h1 {
        font-size: 2rem;
    }
}
