/* ============================================
   LOGIN PAGE STYLES
   ============================================ */

/* Base styles for login page */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e8f4f8 0%, #f5f7fa 100%);
    min-height: 100vh;
}

/* Login container */
.min-h-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Logo/Header section */
.text-center h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 0.5rem;
}

.text-center p {
    font-size: 0.875rem;
    color: #5a6c7d;
}

/* Login card */
.bg-white {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #d0dae5;
    padding: 2rem;
    width: 100%;
    max-width: 28rem;
}

/* Error message */
.bg-red-50 {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.text-red-600 {
    color: #dc2626;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Form elements */
.space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Labels */
label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a2332;
    margin-bottom: 0.5rem;
}

/* Input fields */
.filter-input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    background: white;
    border: 1px solid #d0dae5;
    border-radius: 8px;
    color: #1a2332;
    transition: all 0.2s ease;
    outline: none;
}

.filter-input::placeholder {
    color: #9ca8b4;
}

.filter-input:focus {
    border-color: #009ee3;
    box-shadow: 0 0 0 3px rgba(0, 158, 227, 0.1);
}

.filter-input:hover:not(:focus) {
    border-color: #a8b8c8;
}

/* Submit button */
.btn-primary {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: #009ee3;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.btn-primary:hover:not(:disabled) {
    background: #0088cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Loading spinner */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

/* Footer text */
.mt-6 {
    margin-top: 1.5rem;
}

.text-xs {
    font-size: 0.75rem;
    color: #5a6c7d;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .bg-white {
        padding: 1.5rem;
    }

    .text-center h1 {
        font-size: 1.5rem;
    }

    label {
        font-size: 0.8125rem;
    }

    .filter-input {
        font-size: 0.875rem;
        padding: 0.5625rem 0.75rem;
    }

    .btn-primary {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #009ee3;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}