body {
    background: linear-gradient(135deg, #f5f7ff 0%, #f8fafc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
    margin: 2rem;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.08);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.login-container:hover {
    transform: translateY(-2px);
}

.login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Logo animation */
.logo-animation {
    animation: fadeInScale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-circle {
    animation: drawCircle 1.5s ease-out forwards;
}

.logo-text {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.logo-arrow {
    animation: slideRight 0.8s ease-out 0.2s both;
}

/* Stylized logo */
.stylized-logo svg {
    display: block;
    margin: 0 auto 1.2rem auto;
    animation: logoEntrance 0.8s cubic-bezier(.39,.575,.56,1.000) both;
}

/* Headings and text */
h2 {
    color: #1a1f36;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #6b7280;
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.form-group svg {
    color: #6b7280;
}

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

.form-group.focused input,
.form-group.focused select {
    border-color: #4361ee;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

/* Password input group */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #4361ee;
}

/* Error message styling */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.error-message svg {
    flex-shrink: 0;
}

/* Login button styling */
.login-button {
    position: relative;
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #4361ee 0%, #4895ef 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-button:hover {
    background: linear-gradient(135deg, #3b54d6 0%, #4083d6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.15);
}

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

/* Remove loading spinner and animation */
.button-loader, .login-button.loading .button-content, .login-button.loading .button-loader {
    display: none !important;
    opacity: 0 !important;
    animation: none !important;
    visibility: visible !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawCircle {
    from {
        stroke-dasharray: 0 100;
    }
    to {
        stroke-dasharray: 100 100;
    }
}

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

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
