/* File Path: src/pages/Anonymous/Login/LoginPage.css */
/* Optional additional styles for the login page */

/* Smooth transitions for form elements */
.login-input-transition {
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

/* Enhanced focus styles for accessibility */
.login-input-focus:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button hover animation */
.login-button-hover {
    transition: all 0.2s ease;
}

.login-button-hover:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Loading spinner animation */
@keyframes login-spin {
    to {
        transform: rotate(360deg);
    }
}

.login-spinner {
    animation: login-spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .login-container {
        padding: 1rem;
    }

    .login-card {
        padding: 1.5rem;
    }
}

/* Input autofill styles */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111827;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .login-button-hover {
        transition: none;
    }

    .login-input-transition {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .login-input-focus:focus {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }
}
