
/* Login Specific Styles */
#loginModal .modal-content {
    max-width: 400px;
    background: rgba(30, 41, 59, 0.7); /* Semi-transparent card */
    backdrop-filter: blur(20px); /* Deep blur inside card */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Deep shadow */
}

#loginModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
    justify-content: center;
}

#loginModal h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1rem;
}

#loginForm input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    padding: 0.875rem 1rem;
}

#loginForm input:focus {
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-1px);
}

/* Error Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
  border-color: var(--error) !important;
}

#loginSubmitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    animation: pulse 1.5s infinite;
}
