.popupContainer {
    cursor: pointer;
    display: none;
    position: absolute;
    width: 100vw !important;
    height: 100% !important;
    left: 0px;
    top: 0px;
    background: rgba(217, 217, 217, 0.8);
    backdrop-filter: blur(2px);
    z-index: 9998;
    overflow-y: scroll;
}

    .popupContainer::-webkit-scrollbar {
        width: 0px;
    }

.popupSubContainer {
    overflow-y: scroll;
}

.popupSubInner {
    height: 100vh !important;
    position: relative;
    top: 30px !important;
}

.popup {
    cursor: auto;
    animation: fadeIn 0.9s;
    width: 100%;
    max-width: 952px !important;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 4px 104px rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    z-index: 9999;
    padding: 70px 40px 20px 80px;
    margin: auto;
}

.detailsPopup, .infoPopup {
    height: auto;
}

.popupParagraphContainer {
    height: 100%;
    overflow: hidden;
    margin: 15px 10px;
}

.popupIcon {
    width: 44px;
    height: 33px;
}

.popupTitle {
    display: inline-block;
    font-weight: 700;
    font-size: 28px;
    line-height: 20px;
    text-align: justify;
    letter-spacing: 0.4px;
    color: #5d5d5d;
    position: relative;
}

.popupParagraph {
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
    letter-spacing: 0.4px;
    color: #5d5d5d;
    padding-right: 50px;
    word-break: break-word;
}

.greenTagPopupBtn {
    width: 235.26px;
    height: 64px;
}

    .greenTagPopupBtn > span {
        font-weight: 700;
        font-size: 22px;
        line-height: 27px;
        text-align: center;
        letter-spacing: 0.4px;
        color: #FFFFFF;
    }

.popBtnContainer {
    width: 100%;
    text-align: right;
    padding-right: 60px;
}

.popup .mainIcon {
    width: 183px;
    height: 195px;
}

.popup .mainIconContainer {
    text-align: center;
    margin-bottom: 65px;
    position: relative;
}

.popupInfoBtn {
    position: relative;
    bottom: -21px;
    left: -80px;
    width: 120%;
}

    .popupInfoBtn button {
        height: 104px;
        border-radius: 30px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        width: 100% !important;
        max-width: 952px !important;
        text-align: right;
        padding-right: 64px;
        font-size: 20px;
    }

.greenTagBtnPost {
    position: relative;
    left: -14px;
}

.bodyPopup {
    overflow: hidden !important;
}

@media only screen and (max-width: 1300px) {
    .greenTagBtnPost {
        position: relative !important;
        left: 0px !important;
        margin-top: 8px !important;
        margin-bottom: 8px;
    }

    .popupInfoBtn {
        position: relative;
        bottom: -36px;
        left: -80px;
        width: 120%;
    }

    .greenTagPopupBtn {
        width: 90% !important;
    }

    .popup {
        width: 100%;
    }

    .popupLetterDownloads {
        margin-bottom: 0px !important;
    }
}

/* #region Popup Provider */
    .popupProvider {
    cursor: auto;
    animation: fadeIn 0.9s;
    max-width: 100%;
    width: 1064px;
    background: #FFFFFF;
    box-shadow: 0px 4px 104px rgba(0, 0, 0, 0.04);
    padding: 50px 0px 50px 70px !important;
    border-radius: 30px;
    z-index: 9999;
    margin: auto;
}

.popupProviderTitle {
    font-weight: 400;
    font-size: 18px;
    line-height: 16px;
    color: #828894;
    display: block;
    font-size: 13px;
}

.popupProviderItem {
    font-size: 14px;
    line-height: 27px;
    border-radius: 8px;
    color: #000000;
    margin-top: 8px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 10px;
    width: 80%;
}

    .popupProviderItem:hover {
        background: #F0F0F0;
    }

.popupProviderPagNum {
    font-weight: 400;
    font-size: 16px;
    line-height: 27px;
    color: #767676;
    margin: 0px 14px;
}
/* #endregion */

/* #region Letter History Popup */

.letterHistoryPopupContainer .table-container {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.letterHistoryPopupContainer th, .letterHistoryPopupContainer td {
    padding: 12px !important;
}

.letterHistoryPopupContainer .table-responsive {
    background: #fff;
    border-radius: 10px;
}

.letterHistoryPopupContainer .form-control {
    border-radius: 20px;
}

.letterHistoryPopupContainer .badge {
    padding: 5px 10px;
    font-size: 0.85rem;
}

.letterHistoryPopupContainer .status-sent {
    background-color: #e3fcef;
    color: #28a745;
}

.letterHistoryPopupContainer .status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.letterHistoryPopupContainer .status-error {
    background-color: #f8d7da;
    color: #dc3545;
}

.letterHistoryPopupContainer .table thead th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.letterHistoryPopupContainer .table td, .table th {
    vertical-align: middle;
}

.letterHistoryPopupContainer .dropdown-toggle::after {
    display: none;
}

.letterHistoryPopupContainer .searchHistory {
    width: 35% !important;
}

/* #endregion */

.refreshPopup {
    position: relative;
    text-align: center;
    margin-bottom: 30px !important;
    top: 5px !important;
    font-size: 3em !important;
    z-index: 9999;
}

    .refreshPopup svg {
        animation: spin 3s linear infinite;
        color: #01A067;
        font-size: 70%;
        text-align: center;
    }

#refreshHistoryIcon {
    text-align: center;
    position: relative;
    font-size: 25px;
    color: #01A067;
    width: 100% !important;
    cursor: pointer;
}