/* Popup Styles */
.emis-popup .swal2-close {
    font-size: 2rem;
    color: #6c757d;
    opacity: 1;
    transition: all 0.2s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
}

.emis-popup .swal2-close:hover {
    color: #0d6efd;
    transform: scale(1.1);
}

.emis-popup .swal2-close:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Make sure the close button is positioned correctly */
.swal2-container .swal2-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

/* Style the confirm button */
.emis-popup .swal2-confirm {
    min-width: 100px;
    padding: 0.5rem 1.5rem;
}

/* Animation for the popup */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
    to {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
}

.animate__fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 0.3s;
}

.animate__fadeOutUp {
    animation-name: fadeOutUp;
    animation-duration: 0.3s;
}
