/* Background Image Animations */
.background-image {
    transition: opacity 2s ease-in-out;
}

.bg1 {
    background-image: url('../images/bg-image-1.jpg');
}

.bg2 {
    background-image: url('../images/bg-image-2.jpg');
}

/* Form input underline style */
.form-input {
    border-bottom: 1px solid #000;
    transition: border-width 0.2s ease;
}

.form-input:focus {
    border-bottom-width: 2px;
}

/* Modal animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-animation {
    animation: slideUp 0.3s ease;
}

@media (min-width: 1024px) {
    .modal-animation {
        animation: slideInRight 0.3s ease;
    }
}

/* Backdrop blur for modal */
.backdrop-blur-sm {
    backdrop-filter: blur(5px);
}

/* Toast styles */
@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast {
    animation: toastSlideIn 0.3s ease;
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease;
}