/*
--alert-banner
*/

#alert-banner{
    height: 50px;
    width: 100%;
    min-width: 940px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.alert-banner-wrapper {
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    display: flex; /*might need important, check for please*/
    justify-content: space-evenly;
    align-items: center;
    width: 1170px;
    max-width: 90%;
}

#force-computer-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 50%;
    z-index: 99;
    margin: auto;
}

.force-computer-banner-wrapper {
    background-color: var(--modal-background);
    color: var(--sd-neutral-600);
    text-align: center;
    padding: 40px 80px;
    border-top: 1px solid rgba(60, 64, 67, 0.7);
    border-bottom: 1px solid rgba(60, 64, 67, 0.7);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.force-computer-banner-wrapper .title {
    font-size: 40px;
    font-weight: bold;
    line-height: 44px;
}

.force-computer-banner-wrapper .sub-title {
    font-size: 36px;
    line-height: 40px;
}

#restrict-banner {
    position: fixed;
    bottom: -500px;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    z-index: 99;
    transition: bottom 0.5s ease-in-out;
}

#restrict-banner button {
    margin-top: 40px;
    width: 100%;
    font-size: 36px;
    font-weight: 600;
    background: #008062;
    color: #FFF;
    border: 1px solid #008062;
    border-radius: 50px;
    padding: 20px;
}

.restrict-banner-wrapper-main {
    background-color: var(--modal-background);
    color: var(--sd-neutral-600);
    padding: 50px;
    border-top: 1px solid rgba(60, 64, 67, 0.7);
}

.restrict-banner-wrapper {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.item-1 {
    width: 80px;
    grid-column: 1 / 10; /* Spans 1 column */
    grid-row: 1 / 3;   /* Spans 1 row */
}

.item-2 {
    grid-column: 2 / 10; /* Starts at column 3, ends at column 5 */
    grid-row: 1 / 3;    /* Starts at row 2, ends at row 4 */
}

.item-3 {
    grid-column: 1 / 10; /* Spans 1 column */
    grid-row: 1 / 3;    /* Spans 1 row */
    grid-column-start: 10;
    margin-left: auto;
}

#restrict-banner.show {
    bottom: 0;
}

.restrict-banner-content {
    font-weight: 500;
    font-size: 36px;
    padding: 0 10px;
}

.restrict-banner-content .title {
    margin-bottom: 14px;
}

.restrict-banner-content .sub-title {
    font-weight: 700;
    line-height: 40px;
}

#trial-alert-banner-span .hereLink {
    color: var(--theme-color-bright);
}

#restriction-second-banner-span .hereLink {
    color: black;
}


.hereLink:focus {
    outline: none;
    text-decoration: none;
}

.restriction-first-threshold-banner {
    color: black;
    background-color: #ffe599;
}

#upgrade-btn {
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    padding: 3px 10px;
}

.restriction-first-threshold-banner #upgrade-btn {
    color: #d9a100;
    border: 1px solid #d9a100;
    background: white;
}

.restriction-first-threshold-banner #upgrade-btn:hover {
    background: #ffdb71;
    color: black;
    border: 1px solid #dca502;
}

.restriction-second-threshold-banner {
    color: white;
    background-color: #FFA500;
}

.restriction-second-threshold-banner #upgrade-btn {
    color: #ffa500;
    border: 1px solid #ffa500;
    background: white;
}

.restriction-second-threshold-banner #upgrade-btn:hover {
    background: #ec9900;
    color: white;
    border: 1px solid white;
}

.restriction-second-threshold-banner .close-div-banner,
.warning-charge-failed-banner .close-div-banner{
    color: #efefef !important;
}

.restriction-third-threshold-banner,
.warning-charge-failed-banner {
    color: white;
    background-color: #FF5A5F;
}

.restriction-third-threshold-banner #upgrade-btn,
.warning-charge-failed-banner a {
    color: #FF5A5F;
    border: 1px solid #FF5A5F;
    background: white;
}

.restriction-third-threshold-banner #upgrade-btn:hover,
.warning-charge-failed-banner #update-cc:hover
{
    background: #ff444a;
    color: white;
    border: 1px solid white;
}

.restriction-third-threshold-banner .alert-banner-wrapper,
.warning-charge-failed-banner #update-cc:hover
{
    justify-content: center;
}

.restriction-third-threshold-banner .close-div-banner,
.warning-charge-failed-banner .close-div-banner {
    color: #efefef !important;
}

.promote-refer-banner {
    background: linear-gradient(90deg, #8feaff, #a5ff6c);
}

.trial-alert-banner {
    color: var(--theme-color-banner-gray);
    background-color: var(--theme-color-banner-bg);
}

/*.trial-alert-banner .close-div-banner{*/
/*    color: var(--sd-neutral-400);*/
/*}*/

.text-banner-span {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    min-width: 1160px;
    word-spacing: 1.3px;
}

.action-banner-div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

#referral-promote-paid-users-span {
    font-weight: 700;
    color: #333;
}

.text-banner-div {
    margin-right: 10px;
}

.close-div-banner{
    font-size: 20px !important;
    position: absolute;
    right: 15px;
    color: #585858;
    width: 25px; /*needed for adding the cursor*/
    height: 25px; /*needed for adding the cursor*/
    cursor: pointer; /*needed for adding the cursor*/
}

/*.app-download-invite starts*/
.app-download-invite {
    background: var(--sd-basic-dark);
    color: white;
    height: 100px !important;
}

.app-download-invite .text-banner-span {
    font-size: 30px !important;
}

.banner-btn.open-dispatch-app .btn {
    background: white;
    color: black;
    font-size: 25px;
    padding: 5px 25px;
}

.app-download-invite .close-div-banner {
    color: white;
    margin-right: 5px;
    width: 40px;
    height: 40px;
    right: 20px;
}

.app-download-invite .close-div-banner .material-icons {
    font-size: 40px;
}

.app-download-invite .alert-banner-wrapper {
    padding: 24px 60px;
}
/*.app-download-invite ends*/

@media (max-width: 1000px) {

    .close-div-banner {
        margin-left: 14px;
    }

    .text-banner-div {
        width: 95% !important;
        padding-left: 5px;
    }

    .text-banner-span {
        font-size: 15px !important;
        word-spacing: 0px !important;
    }
}

.trial-alert-banner #upgrade-btn,
.banner-shipday-check-out-now-btn,
.banner-shipday-visit-referral-now-btn {
    color: black;
    border-radius: 5px;
    background: var(--sd-attention-orange);
}

.trial-alert-banner .alert-banner-wrapper,
.promote-refer-banner .alert-banner-wrapper {
    justify-content: center;
}

.trial-alert-banner  .text-banner-span {
    color: black;
}

.starter-order-capped-banner {
    color: var(--theme-color-banner-gray);
    background-color: var(--theme-color-banner-bg);
}

.starter-order-capped-banner #upgrade-btn,
.banner-shipday-check-out-now-btn,
.banner-shipday-visit-referral-now-btn {
    color: black;
    border-radius: 5px;
    background: var(--sd-attention-orange);
}

.starter-order-capped-banner .alert-banner-wrapper,
.promote-refer-banner .alert-banner-wrapper {
    justify-content: center;
}

.starter-order-capped-banner  .text-banner-span {
    color: black;
}

#sd-upgrade-hyperlink {
    text-decoration: underline;
}

#sd-upgrade-hyperlink:focus {
    color: inherit;
}

#sd-upgrade-hyperlink:hover {
    color: inherit;
    background: #c1dfd5;
}
