/* Custom styles to complement Tailwind CSS */
body {
    font-family: 'Poppins', sans-serif;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeInScale 0.8s ease-out forwards;
}

/* Glass effect improvements */
#formCard {
    transition: transform 0.3s ease;
}

/* Custom input styles */
input::placeholder {
    opacity: 0.5;
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#successMessage.show {
    display: block !important;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Hide form with animation */
#modForm.hide {
    animation: fadeOut 0.5s ease-out forwards;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    #formCard {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Custom select styles */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
}
