/* Custom CSS for Login Page */

/* Ensure proper font loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Custom gradient backgrounds */
.bg-gradient-green {
    background: linear-gradient(135deg, #16a34a 0%, #10b981 50%, #059669 100%);
}

/* Glassmorphism effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom input styling */
.custom-input {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
}

.custom-input:focus {
    background-color: #ffffff;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
    outline: none;
}

/* Custom button styling */
.custom-button {
    background: linear-gradient(135deg, #16a34a 0%, #10b981 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.875rem 1.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: white;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.custom-button:hover {
    background: linear-gradient(135deg, #15803d 0%, #059669 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.custom-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.3);
}

/* Custom checkbox styling */
.custom-checkbox {
    width: 1rem;
    height: 1rem;
    color: #16a34a;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: #16a34a;
    border-color: #16a34a;
}

.custom-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

/* Security card styling */
.security-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s ease-in-out;
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Icon container styling */
.icon-container {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    /* Remove conflicting lg:hidden override - let Tailwind handle it */
    /* .lg\:hidden {
        display: block !important;
    } */
    
    .lg\:flex {
        display: none !important;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states */
.focus-ring:focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Hover effects */
.hover-lift:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #16a34a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #15803d;
}
