/* Custom styles for the authentication system */

/* Smooth transitions */
.nav-link {
    transition: all 0.3s ease;
}

/* Form focus effects */
input:focus,
button:focus {
    outline: none;
    transition: all 0.2s ease;
}

/* Card hover effects */
.bg-white:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

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

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

/* Password strength indicator (to be implemented) */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #ef4444;
    width: 33%;
}

.password-strength.medium {
    background-color: #f59e0b;
    width: 66%;
}

.password-strength.strong {
    background-color: #10b981;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .grid-cols-1.md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.text-balance {
    text-wrap: balance;
}

/* Ensure hidden class works */
.hidden {
    display: none !important;
}

/* Loading overlay */
#loading {
    backdrop-filter: blur(2px);
}