
.swal2-footer {
    border-top: none; /* Remove the line */
}
 
/* Ensure the background fills the full width of the modal */
.swal2-popup {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}
.swal2-html-container {
    width: 100vw;
    padding: 0;
    margin-top: 20px; /* White space at the top */
    margin-bottom: 0px; /* White space at the bottom */
    background-color: white; /* White background for the content area */
    text-align: center; /* Center content horizontally */
}
.swal2-content {
    padding: 0; /* Remove default padding */
    padding-bottom: 0; /* Ensure no padding at the bottom */
    margin-bottom: 0;
}

.swal2-html-container > div:first-child {
    margin-top: 0;
    display: flex; flex-direction: column; /* Use flexbox to center the content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}
.swal2-html-container > div:last-child {
    margin-bottom: 0;
}
/* Adjust padding above the button */
.swal2-actions {
    margin-top: 0;
    padding-top: 1px; /* Reduce space above the button */
    padding-bottom: 30px; /* Space below the button */
}



 /* -------------------------------------------------------------------------------------------------------------------- */
 /* -------------------------------------------------------------------------------------------------------------------- */
.swal-custom-margin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    max-width: 95%;
    text-align: center;
}

.swal-custom-margin h2.swal2-title {
    width: 100%;
    text-align: center;
    color: #0093D5;
    font-size: 24px; /* Increased from 18px */
    margin: 0 auto 20px !important; /* Added bottom margin */
    margin: 0 auto;
    padding: 0;
    max-width: 95%;
    word-wrap: break-word;
}

.swal-custom-margin .swal2-html-container,
.swal-custom-margin .swal2-content {
    display: block;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 95%;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.swal-custom-margin .swal2-html-container p {
    margin: 0.5em 0;
}

@media (max-width: 600px) {
    .swal-custom-margin {
        max-width: 95%;
    }

    .swal-custom-margin h2.swal2-title {
        font-size: 26px;
    }

    .swal-custom-margin .swal2-html-container,
    .swal-custom-margin .swal2-content {
        padding: 0 10px;
    }
}

@media (max-width: 400px) {
    .swal-custom-margin {
        max-width: 95%;
    }

    .swal-custom-margin h2.swal2-title {
        font-size: 24px;
    }

    .swal-custom-margin .swal2-html-container,
    .swal-custom-margin .swal2-content {
        padding: 0 5px;
    }
}

.swal-new-screen-popup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    max-width: 95%;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Enable scrolling for large content */
    box-sizing: border-box;
    background-color: #f8f9fa; /* Optional background for distinction */
}

.swal-new-screen-title {
    width: 100%;
    text-align: center;
    color: #007bff; /* Use a distinct color */
    font-size: 22px; /* Slightly larger font for new design */
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

.swal-new-screen-content {
    display: block;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 90%;
    width: 100%;
    height: 100%; /* Fill available space */
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-y: auto; /* Scroll for excess content */
}

.swal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;  /* White background */
    overflow: auto;  /* Allow scrolling if content overflows */
    box-sizing: border-box;
}



/* Optional Mobile Responsive Adjustments */
@media (max-width: 600px) {
    .swal-new-screen-popup {
        height: auto;
        padding: 15px;
    }

    .swal-new-screen-title {
        font-size: 18px;
    }

    .swal-new-screen-content {
        padding: 0 10px;
    }
}