.modal {
    display: none;
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-header h1 {
    margin: 1rem 0;
}

.modal-header {
    padding-left: 15px;
    display: flex;
    justify-content: end;
}

.modal-content {
    text-align: -webkit-center;
}

.modalClose {
    font-size: 2rem;
}

.modalClose:hover {
    cursor: pointer;
}

.modal-body {
    background-color: #f4f4f4;
    margin: 20% auto;
    width: 30%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
    animation-name: modalopen;
    animation-duration: 1s;
}

.submit-loading-body {
    padding: 20px 24px 28px;
    text-align: center;
}

.submit-loading-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.submit-loading-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.submit-loading-spinner {
    display: inline-block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border: 4px solid rgba(0, 0, 0, 0.15);
    border-top-color: #555;
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-close {
    background-image: url("/static/images/close-white.710b8fe55618.png");
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    z-index: 10;
    color: black;
    font-weight: 500;
    position: fixed;
    top: 0;
    right: 10px;
}

@media (max-width: 991.98px) {
    .modal {
        background-color: white;
    }

    .modal-body {
        margin: 70% auto;
        width: 100%;
    }

    .mobile-only-modal {
        display: none;
        position: fixed;
        z-index: 9;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
        background-color: white;

    }

    .window-only {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-only {
        display: none;
    }
}
