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

/* Glassmorphic Card */
.login-card {
    width: 100%;
    max-width: 440px;
    padding: 3.5rem 2.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: var(--shadow-primary);
    animation: slide-up-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-up-fade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.logo-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(251, 191, 36, 0.15));
    border: 1px solid var(--card-border);
    border-radius: 18px;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.login-header h1 {
    margin: 0;
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.login-subtitle {
    margin: 0.5rem 0 0 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Error Alert Box */
.error-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.error-icon {
    font-size: 1.1rem;
}

.animate-shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

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

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.25rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper input::placeholder {
    color: rgba(15, 23, 42, 0.35);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--input-focus);
    background: #ffffff;
}

.input-wrapper input:focus + .input-icon {
    color: var(--accent-color);
}

/* Button & Loading Styles */
.login-submit-btn {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25);
}

.login-submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

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

/* Responsive adjustment */
@media (max-width: 480px) {
    .login-card {
        padding: 2.5rem 1.75rem;
        border-radius: 18px;
    }
    .login-header h1 {
        font-size: 1.85rem;
    }
}
