.ars-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; 
    display: none; /* Hidden by default */
    opacity: 0;
    visibility: hidden; /* Make it invisible initially */
    transition: opacity 0.2s ease, visibility 1.2s ease; /* Smooth transitions */
}

/* Modal Content */
.ars-modal-content {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem 2.5rem;
    width: 30em;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white; /* Set the background to white */
    color: black; 
    border: 1px solid transparent; 
}

/* Close Button */
.ars-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    cursor: pointer;
    background-color: transparent;
    color: black;
    border: none;
}

.ars-modal-close-btn:hover {
    color: red;
}

/* Show modal with 'show' class (fade-in) */
.ars-modal.show {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Modal Types */
.ars-modal-info {
    border: 1px solid green; 
    color: green;
}

.ars-modal-error {
    border: 1px solid red; 
    color: red; 
}

.ars-modal-warning {
    border: 1px solid yellow; 
    color: green; 
}

.ars-modal-hint{
    font-size: 0.9em;
}