/* Login Page Styles - Elegant & Minimal */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.login-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.login-header {
    background: white;
    color: #1a1a1a;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.login-logo {
    height: 70px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0.95);
    opacity: 0.95;
}

.login-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.login-header p {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 400;
}

.alert {
    padding: 0.875rem 1rem;
    margin: 1.5rem 2rem 0;
    border-radius: 8px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.login-form {
    padding: 2rem 2rem 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1a1a1a;
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input:hover {
    border-color: #d1d5db;
}

.btn-login {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.75rem;
    letter-spacing: -0.01em;
}

.btn-login:hover {
    background: #2d2d2d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.login-footer {
    padding: 1.25rem;
    text-align: center;
    background: #fafbfc;
    border-top: 1px solid #f0f0f0;
}

.login-footer p {
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 480px) {
    .login-header {
        padding: 2.5rem 1.5rem 1.5rem;
    }

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

    .login-logo {
        height: 60px;
    }

    .login-form {
        padding: 1.5rem;
    }

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