.blur {
    filter: blur(2px);
}

.page-wrapper.blur {
    filter: blur(10x);
}

.close-dialog {
    font-size: 0.7em;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#SUC-box {
    width: 500px;
    height: 400px;
    background: #ddd;
    padding: 25px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: left;
}

#SUC-box ul {
    margin: 0 0 20px 20px;
}

#SUC-box-container {
    min-height: 32px; /* Adjust as per the height of the error message */
    display: flex;
    align-items: left;
    justify-content: left;
}

#SUC-box-error {
    display: none;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 2px;
    margin: 2px 0;
    border-radius: 1px;
    max-width: 300px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

#SUC-box-error-message {
    font-size: 0.8em;
    margin: 0;
    font-weight: bold;
}

.SUC-small, #SUC-small {
    font-size: 0.7em;
    text-align: left;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

/* Media query for screens smaller than 768px (typical mobile devices) */
@media screen and (max-width: 768px) {
    #SUC-box {
        width: 90%; /* Adjust the width as needed for mobile devices */
        height: auto; /* Let the content determine the height */
        max-width: 400px; /* Limit maximum width for readability */
        margin: 10px; /* Add some margin for spacing */
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .close-dialog {
        font-size: 1em; /* Increase font size for better mobile readability */
        top: 5px; /* Adjust position for smaller screens */
        right: 5px; /* Adjust position for smaller screens */
    }

    /* You may need to further adjust styles for smaller screens as needed */
}
