/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('../font/DMSans/');
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

html, body {
    font-family: "Poppins", sans-serif;
    background-color: #f7f7f7;
    height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: auto;
    overflow: hidden;
    background-color: #005287;
    transition: 0.5s;
    z-index: 999;*/
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
/*}

.content {
    margin: 4.5rem auto;
    min-height: 100vh;
    transition: 0.5s;
}

.welcomeNameText {
    color: #000;
    font-size: 23px;
    font-style: normal;
    font-weight: 600;
    line-height: 126%;
}

.welcomeBannerText {
    color: #474747;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 126%;
}

.topbtncommonstyle {
    border-radius: 5px;
    width: auto;
}

.buyProduct {
    flex-shrink: 0;
    background-color: #dfedc8;
}

.buyProductTextColor {
    color: #619d00;
    font-weight: 600;*/
    /*position: absolute;*/
    /*margin: 2px auto 5px;
}

.renewProduct {
    background-color: #d4e3fb;
    flex-shrink: 0;
}

.renewProductTextColor {
    color: #1f509e;
    font-weight: 600;*/
    /*position: absolute;*/
    /*margin: 2px auto 5px;
}

.cloudService {
    background-color: #ffecde;
    flex-shrink: 0;
}

.cloudServiceTextColor {
    color: #cf6a23;
    font-weight: 600;*/
    /*position: absolute;*/
/*margin: 2px auto 5px;
}

.span.e-ddl.e-lib.e-input-group.e-control-container.e-control-wrapper.e-valid-input {
    width: 50% !important;
    border-radius: 25px !important;
    float: right !important;
}

.fnYearDrpdown {
    border-radius: 25px !important;
    width: 150px !important;
    float: right !important;
}

.InvcFnYearDrpdown {
    background-color: #fff0c3 !important;
    color: #cd9a00 !important;
    border-radius: 30px !important;
    width: 80px !important;
    float: right !important;
    height: 28px;
    padding: 6px;
    font-size: 12px;
    font-weight: 600;
}

.invcBadge {
    margin-left: 5px;
    padding: 2px 7px;
    background-color: #fbe0cc;
    color: #ff6900;
    position: relative;
    top: 0px;
    border-radius: 5px
}

.rounded-05rem {
    border-radius: 0.5rem !important;
}

.h-65 {
    height: 65% !important;
}

.h-70 {
    height: 70% !important;
}

.refreshIconSize {
    font-family: "Poppins", sans-serif;
}

.updatedIconSize {
    font-family: "Poppins", sans-serif;
}

.tileImgSize {
    width: 30px;
}

*/.e-chart {
    width: inherit !important;
    height: inherit !important;
}

.e-accumulationchart {
    width: inherit !important;
    height: inherit !important;
}

/*.mt-90rem {
    margin-top: 0.90rem;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    float: right;
}

.ref {
    font-family: "Poppins", sans-serif;
}

.image-fluid {
    width: 100%;
    height: auto;
}*/

/*-------------------------------*/
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }
/*---------------------------------*/

/*.card {
    border: none;
}

.search-form {
    border-radius: 6px;
    background: #FFF;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-field {
    border: none;
    background: transparent;
}

.search-icon {
    cursor: pointer;
    transition: all 0.3s ease-out;
    margin: 0rem 1rem;
}

    .search-icon:hover {
        transform: scale(1.2);
    }

.custom-table-responsive {
    border-radius: 6px;
    margin: 0rem auto;
}

    .custom-table {
        min-width: 900px;
    }

        .custom-table tbody.table-body {
            text-align: center;
        }

    .custom-table tbody th, .custom-table tbody td {
        font-size: 10px;
        font-weight: 400;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .custom-table tbody tr.table-body-heading th {
        font-size: 12px;
        font-weight: 500;
        padding-bottom: 10px;
        padding-top: 10px;
    }

        .custom-table tbody th small, .custom-table tbody td small {
            font-weight: 300;
        }

    .custom-table tbody tr:not(.spacer) {
        border-radius: 7px;
        overflow: hidden;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
    }

        .custom-table tbody tr:not(.spacer):hover {
            -webkit-box-shadow: 0 2px 10px -5px rgba(0, 0, 0, 0.1);
            box-shadow: 0 2px 10px -5px rgba(0, 0, 0, 0.1);
        }

    .custom-table tbody.table-body tr.active td {*/
        /*opacity: .4;*/
        /*background: #005287;
        color: #FFF;
    }

    .custom-table tbody tr th, .custom-table tbody tr td {
        background: #fff;
        border: none;
    }

        .custom-table tbody tr th:first-child, .custom-table tbody tr td:first-child {
            border-top-left-radius: 7px;
            border-bottom-left-radius: 7px;
        }

        .custom-table tbody tr th:last-child, .custom-table tbody tr td:last-child {
            border-top-right-radius: 7px;
            border-bottom-right-radius: 7px;
        }

    .custom-table tbody tr.spacer td {
        padding: 0 !important;
        height: 10px;
        border-radius: 0 !important;
        background: transparent !important;
    }

.track {
    background: #005287;
    color: #FFF;
    margin: 0rem 0.5rem;
}

.step {
    padding: 1rem 1rem;
    position: relative;
    min-height: 1em;
    color: #FFF;
}

    .step + .step {
        margin-top: 0.8rem;
    }

    .step > div:first-child {
        position: static;
        height: 0;
    }

    .step > div:not(:first-child) {
        margin-left: 1.5em;
        padding-left: 1em;
    }

    .step.step-active {
        color: #FFF;
    }

        .step.step-active .circle {
            box-shadow: 0 0 0 3px #fff;
        }

    .step.step-inactive .circle {
        color: #2170A4;
        background-color: #2170A4;
    }*/

/* Circle */
/*.circle {
    background: #0A9FFF;
    position: relative;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 100%;
    color: #FFF;
    text-align: center;
}*/

    /* Vertical Line */
    /*.circle:after {
        content: ' ';
        position: absolute;
        display: block;
        top: -27px;
        right: 45%;
        bottom: 0px;
        left: 45%;
        height: 46px;
        width: 5px;
        transform: scale(1, 2);
        transform-origin: 50% -100%;
        background-color: rgba(10, 159, 255, 1);*/
        /*z-index: -1;*/
    /*}

.step:last-child .circle:after {
    display: none
}*/

/* Stepper Titles */
/*.title {
    line-height: 1.5em;
    font-weight: 400;
    color: #FFF;
}

.caption {
    font-size: 0.8em;
    color: #FFF;
}

.break {
    border: 0.5px solid #C6C6C6;
}

@media (min-width: 992px) {
    .sidebar {
        width: 200px;
        margin-left: 0;
    }

        .sidebar.open {
            margin-left: -200px;
        }

    .content {
        width: calc(100% - 200px);
    }

        .content.open {
            width: 100%;
            margin-left: 0;
        }

    .topbtncommonstyle {
        width: auto;
        padding: 0.5rem;
    }

    .buyProduct {
        font-size: x-small;
    }

    .renewProduct {
        font-size: x-small;
    }

    .cloudService {
        font-size: x-small;
    }

    .hello {
        font-size: 14px;
    }

    .hello-p {
        font-size: 9px;
    }

    .cardHeight {
        height: 180px;
    }

    .refreshIconSize {
        font-size: 12px;
    }

    .updatedIconSize {
        font-size: 10px;
    }

    .sales-font {
        font-size: 14px;
    }

    .insight-font {
        font-size: 12px;
    }

    .ship-font {
        font-size: 14px;
    }

    .card-subtitle {
        font-size: 1rem;
    }

    .custom-table tbody th, .custom-table tbody td {
        font-size: 12px;
    }

    .custom-table tbody tr.table-body-heading th {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .sidebar {
        width: 210px;
        margin-left: 0;
    }

        .sidebar.open {
            margin-left: -210px;
        }

    .content {
        width: calc(100% - 210px);
    }

        .content.open {
            width: 100%;
            margin-left: 0;
        }

    .hello {
        font-size: 18px;
    }

    .hello-p {
        font-size: 10px;
    }

    .sales-font {
        font-size: 16px;
    }

    .ship-font {
        font-size: 16px;
    }

    .insight-font {
        font-size: 14px;
    }

    .card-subtitle {
        font-size: 1rem;
    }

    .custom-table tbody th, .custom-table tbody td {
        font-size: 12px;
    }

    .custom-table tbody tr.table-body-heading th {
        font-size: 14px;
    }
}

@media (min-width: 1280px) {
    .sidebar {
        width: 220px;
        margin-left: 0;
    }

        .sidebar.open {
            margin-left: -220px;
        }

    .content {
        width: calc(100% - 220px);
    }

        .content.open {
            width: 100%;
            margin-left: 0;
        }

    .hello {
        font-size: 20px;
    }

    .hello-p {
        font-size: 14px;
    }

    .topbtncommonstyle {
        padding: 0.8rem;
    }

    .buyProduct {
        font-size: small;
    }

    .renewProduct {
        font-size: small;
    }

    .cloudService {
        font-size: small;
    }

    .refreshIconSize {
        font-size: 14px;
    }

    .updatedIconSize {
        font-size: 12px;
    }

    .sales-font {
        font-size: 18px;
    }

    .ship-font {
        font-size: 18px;
    }

    .insight-font {
        font-size: 16px;
    }

    .card-subtitle {
        font-size: 1.25rem;
    }

    .custom-table tbody th, .custom-table tbody td {
        font-size: 14px;
    }

    .custom-table tbody tr.table-body-heading th {
        font-size: 16px;
    }
}

@media (min-width: 1360px) {
    .sidebar {
        width: 250px;
        margin-left: 0;
    }

        .sidebar.open {
            margin-left: -250px;
        }

    .content {
        width: calc(100% - 250px);
    }

        .content.open {
            width: 100%;
            margin-left: 0;
        }

    .hello {
        font-size: 24px;
    }

    .hello-p {
        font-size: 16px;
    }

    .topbtncommonstyle {
        padding: 0.8rem;
    }

    .buyProduct {
        font-size: medium;
    }

    .renewProduct {
        font-size: medium;
    }

    .cloudService {
        font-size: medium;
    }

    .refreshIconSize {
        font-size: 16px;
    }

    .updatedIconSize {
        font-size: 14px;
    }

    .sales-font {
        font-size: 20px;
        margin-bottom: 1.25rem;
    }

    .ship-font {
        font-size: 20px;
    }

    .insight-font {
        font-size: 18px;
    }

    .card-subtitle {
        font-size: 1.25rem;
    }

    .custom-table tbody th, .custom-table tbody td {
        font-size: 14px;
    }

    .custom-table tbody tr.table-body-heading th {
        font-size: 16px;
    }
}

td.e-rowcell.e-selectionbackground.e-active {
    background-color: #005287;
    color:white !important;
}
.trackshipmentheaderfont {
    font-size: 10px;
}
.trackshipmentbodyfont{
    font-size:12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Promo Gift Code Panel Styles - Polished Design
   ═══════════════════════════════════════════════════════════════════════════ */

.promo-gift-container {
    background: #F5F5F5;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.promo-gift-header {
    padding-bottom: 16px;
}

.promo-gift-title {
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.promo-manual-input {
    position: relative;
    margin-bottom: 16px;
}

.promo-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    height: 48px;
    padding: 0 12px;
}

.promo-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #1A1A1A;
    background: transparent;
}

.promo-input::placeholder {
    color: #999;
}

.promo-input:disabled {
    background: transparent;
    cursor: not-allowed;
}

.promo-input-apply-btn {
    background: transparent;
    border: none;
    color: #0C7576;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    margin-left: 8px;
}

.promo-input-apply-btn:hover:not(:disabled) {
    color: #66AFB9;
}

.promo-input-apply-btn:disabled {
    color: #CCC;
    cursor: not-allowed;
}

.promo-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 8px;
    background: #fff;
}

.promo-list::-webkit-scrollbar {
    width: 6px;
}

.promo-list::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 3px;
}

.promo-list::-webkit-scrollbar-thumb {
    background: #CCC;
    border-radius: 3px;
}

.promo-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.promo-card {
    background: #fff;
    border-radius: 0;
    padding: 16px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #E8E8E8;
}

.promo-card:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.promo-card:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: none;
}

.promo-card--dimmed {
    opacity: 0.5;
    pointer-events: none;
}

.promo-card--ineligible {
    background: #FFF5F5;
}

.promo-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.promo-card-icon-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 8px;
    padding-right: 16px;
}

.promo-card-icon-wrapper::before,
.promo-card-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #F5F5F5;
    border-radius: 50%;
    border: none;
}

.promo-card-icon-wrapper::before {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.promo-card-icon-wrapper::after {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
}

.promo-card-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.promo-card-code {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.promo-card-apply-btn {
    background: transparent;
    border: none;
    color: #0C7576;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 8px;
}

.promo-card-apply-btn:hover:not(:disabled) {
    color: #66AFB9;
}

.promo-card-apply-btn:disabled {
    color: #CCC;
    cursor: not-allowed;
}

.promo-card-description {
    color: #11A670;
    font-size: 14px;
    font-weight: 500;
    margin: 8px 0;
    line-height: 1.4;
}

.promo-card-reason {
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    margin: 8px 0;
}

.promo-card-terms {
    color: #808080;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
}

.promo-card-terms-label {
    color: #1A1A1A;
    font-weight: 600;
}

.promo-card-conditions {
    margin-top: 8px;
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 6px;
    border: 1px solid #E8E8E8;
}

.promo-card-conditions-title {
    font-size: 11px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 4px;
}

.promo-card-conditions-text {
    font-size: 11px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

.promo-applied-badge {
    background: #E6F4F1;
    border: 1px solid #0C7576;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.promo-applied-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.promo-applied-code {
    font-weight: 600;
    color: #0C7576;
    font-size: 14px;
}

.promo-applied-savings {
    color: #198754;
    font-size: 12px;
}

.promo-remove-btn {
    background: transparent;
    border: 1px solid #E53935;
    border-radius: 6px;
    color: #E53935;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.promo-remove-btn:hover:not(:disabled) {
    background: #E53935;
    color: #fff;
}

.promo-remove-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.promo-error {
    color: #E53935;
    font-size: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #FFEBEE;
    border-radius: 6px;
}

.promo-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(12, 117, 118, 0.3);
    border-top-color: #0C7576;
    border-radius: 50%;
    animation: promo-spin 0.6s linear infinite;
}

@keyframes promo-spin {
    to { transform: rotate(360deg); }
}

/* Custom Blazor Server reconnect UI. */
/* Blazor toggles these classes on the modal: */
/*   .components-reconnect-show     -> reconnecting (default-style top bar, non-blocking look) */
/*   .components-reconnect-failed   -> retries exhausted (session-expired overlay popup) */
/*   .components-reconnect-rejected -> circuit rejected/session expired (overlay popup) */
#components-reconnect-modal {
    display: none;
}

/* RECONNECTING -> slim bar at the top, mimics the default Blazor reconnect message. */
#components-reconnect-modal.components-reconnect-show {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* FAILED / REJECTED -> full blocking overlay with the session-expired popup. */
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.reconnect-box {
    background: #fff;
    border-radius: 8px;
    padding: 28px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    font-family: Arial, sans-serif;
}

/* In the reconnecting bar, do not render the box as a white card. */
#components-reconnect-modal.components-reconnect-show .reconnect-box {
    background: transparent;
    box-shadow: none;
    padding: 0;
    max-width: none;
    width: auto;
}

/* Default: show the "reconnecting" block, hide the "failed" block. */
.reconnect-reconnecting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.reconnect-reconnecting p {
    margin: 0;
}

/* When retries are exhausted or the circuit is rejected, hide the reconnecting bar. */
#components-reconnect-modal.components-reconnect-failed .reconnect-reconnecting,
#components-reconnect-modal.components-reconnect-rejected .reconnect-reconnecting {
    display: none;
}

/* Both terminal blocks hidden by default; show only the one matching the state. */
.reconnect-failed,
.reconnect-rejected { display: none; }

/* FAILED (retries exhausted) -> "couldn't reach server" with Retry + Reload. */
#components-reconnect-modal.components-reconnect-failed .reconnect-failed {
    display: block;
}

/* REJECTED (server refused to resume) -> "session ended" with Sign in again. */
#components-reconnect-modal.components-reconnect-rejected .reconnect-rejected {
    display: block;
}

.reconnect-failed h4,
.reconnect-rejected h4 {
    color: #0C7576;
    margin-bottom: 8px;
}

.reconnect-failed p,
.reconnect-rejected p {
    color: #414869;
    margin-bottom: 20px;
}

.reconnect-login-btn {
    background: #0C7576;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.reconnect-login-btn:hover {
    background: #095e5f;
}

.reconnect-secondary-btn {
    background: transparent;
    color: #0C7576;
    border: 1px solid #0C7576;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-left: 8px;
}

.reconnect-secondary-btn:hover {
    background: #E6F4F1;
}

/* Small inline spinner for the top reconnecting bar. */
.reconnect-spinner {
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: reconnect-spin 1s linear infinite;
}

@keyframes reconnect-spin {
    to { transform: rotate(360deg); }
}
