:root {
    --defaultblue: #161f5a;
    --activefaded: #0c1870;
    --bordercolor: #dfdfdf;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

.billing-tabs {
    height: 40px;
    margin-bottom: 20px;

}

.billing-tabs .b-tab {
    width: 100%;
    font-weight: 700;
    cursor: pointer;
}

.billing-tabs .tab-border {
    width: 80%;
    height: 5px;
    border-radius: 20px;
    transition: .5s;
}

.billing-tabs .b-tab.active {
    color: var(--defaultblue);
}

.billing-tabs .b-tab.active .tab-border {
    background-color: var(--defaultblue);
}

.outstanding-totals {
    border-radius: 4px;
    min-height: 400px;
    padding: 5px;
    border: 1px var(--bordercolor) solid;
    background-color: white;
}


.no-active-packages {
    font-size: 30px;
    color: rgb(174, 173, 173);
    font-weight: 900;
    height: 120px;
    border-radius: 5px;
}

.billing-card {
    min-height: 200px;
    background-color: white;
    padding: 5px;
    border-radius: 6px;
    border: 1px var(--bordercolor) solid;
    transition: .8s;
}

.billing-card:hover {
    transform: translate(2px, 2px);
}

.billing-small-title {
    height: 40px;
}

.bill-currency {
    background-color: #c5caf1;
    color: #0c1870;
    padding: 2px 8px;
    border-radius: 20px;
    width: 50px;
    font-size: 13px;
    font-weight: 800;
}

.bill-amount {
    /* font-size: 50px !important; */
    margin: 0;
}

.totals-wrapper {
    border-bottom: 1px var(--bordercolor) solid;
}

.exp-circle {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: rgb(214, 24, 24);
    margin-right: 10px;
    color: white;
}

.bill-button {
    transition: .8s;
    min-width: 200px;
    height: 40px;
    border-radius: 5px;
    color: white;
    background-color: var(--defaultblue);
    cursor: pointer;
    border: none;
    outline: none;
}

.bill-button:hover {
    transform: translateX(-3%);
}

.detailed-bills-btn {
    background-color: white;
    border: 1px var(--bordercolor) solid !important;
    color: rgb(18, 18, 18);
}

.tb {
    font-weight: 900;
    margin-top: 10px;
    /* margin-left: 60px; */
    font-size: 19px;
}

.active-status {
    font-weight: 900 !important;
    font-size: 10px !important;
}

.active-pill {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: relative;
}

.active-pill.active {
    background-color: #b4bbf1;
    border: 1px #0c1870 solid;
}

.active-pill.expired {
    background-color: #f8c5c5;
    border: 1px #f51a1a solid;

}

.active-pill.awaiting.renewal {
    background-color: #fafb9c;
    border: 1px #b6e615 solid;

}

.active-pill.trial {
    background-color: #c0f6c6;
    border: 1px #0e833f solid;

}

.active-pill.active::before {
    background-color: #0c1870;
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.active-pill.awaiting.renewal::before {
    background-color: #4cad07;
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.active-pill.trial::before {
    background-color: #0e833f;
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.active-pill.expired::before {
    background-color: #f51a1a;
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.sub-component {
    border-radius: 8px;
    height: 50px;
    background-color: rgb(246, 248, 249);
    overflow: hidden;
    font-size: 14px;
    margin-bottom: 10px;
}

.sub-component .left .icon-wrapper {
    width: 55px;
    height: 100%;
    background-color: #dfe2f6;
    color: #0c1870;
    border-radius: 5px;
    font-size: 17px;
}

.sub-component-right {
    height: 100%;
    border-left: 1px var(--bordercolor) solid;
    padding-left: 10px;
    width: 130px;
    font-weight: 700;
}

.active-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgb(169, 182, 248);
    position: relative;
}

.active-circle::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #161f5a;
}

.active-package {
    font-size: 13px;
    border-bottom: 1px var(--bordercolor) dotted;
    height: 50px;
    transition: .5s;
}

.no-border {
    border: none;
}

.active-package:hover {
    transform: translateX(-2px);
    background-color: #eff0f0;
    cursor: pointer;
}

.active-package .check-wrapper {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--defaultblue);
    color: white;
    /* font-size: 10px; */
}

.expired-package-list {
    background-color: transparent !important;
}

.upgrade-card {
    background-color: white;
    overflow: hidden;
}


.upgrade-conten {
    font-size: 16px;
}

.package-select-wrapper {
    transition: .8s;
    overflow: hidden;
}

.drop-down-wrapper {
    background-color: rgb(250, 250, 250);
    height: 60px;
    border-bottom: 1px var(--bordercolor) solid;
    cursor: pointer;
    z-index: 3;
}

.upgrade-package-select {
    border: 1px var(--bordercolor) solid;
    border-radius: 5px;
    /* overflow: hidden; */
    overflow-y: scroll !important;
}

.upgrade-package-select img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.packages {
    /* border-bottom: 1px var(--bordercolor) solid; */
    transition: .5s;
    overflow: hidden;
    height: max-content;
    transition: 5s;
}

.package {
    height: 50px;
    cursor: pointer;
    transition: .5s;
}

.package:hover {
    transform: translateX(-5px);
}

.package input {
    width: 20px;
    height: 20px;
    margin-right: 10px;

}

.updgrade-field {
    border: 1px var(--bordercolor) solid;
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
}

.upgrade-btn {
    width: 60px;
    height: 45px;
    background-color: transparent;
    border: 1px var(--bordercolor) solid;
    border-radius: 5px;
    cursor: pointer;
    transition: 1s;
}

.upgrade-btn:hover {
    transform: translateX(-2px);
}

.upgrade-input {
    height: 40px;
    width: calc(100% - 150px);
    background-color: transparent;
    border: 1px var(--bordercolor) solid;
    border-radius: 5px;
    text-align: center;
}

/* JS TOGGLED ACTIONS */
.collapse {
    height: 0;
}

.freq-toggler {
    width: 160px;
    height: 37px;
    background-color: rgb(238, 237, 237);
    border-radius: 30px;
    overflow: hidden;

}

.toggle-text {
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.toggle-text.active {
    color: white;
}

.toggle-btn {
    background-color: #161f5a;
    border-radius: 30px;
    z-index: 0;
    transition: 3s;
    height: 86%;
    box-shadow: rgba(0, 0, 0, 0.34) 0px 3px 8px;
}

.toggle-left {
    left: 3px;
}

.toggle-right {
    right: 3px;
}

.loader {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 4px white solid;
    border-right: 4px transparent solid;
    animation: ld 1s linear infinite;
}

@keyframes ld {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg);
    }
}

/* bill settlement */
body {
    margin: 0;
}

.p-wrapper {
    /* background-color: var(--defaultblue); */
    background-color: rgb(237, 237, 237);
}

.processing-wrapper {
    width: 500px;
    height: 300px;
    border-radius: 10px;
    background-color: white;
    margin-top: -10%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-size: 25px;
    text-align: center;
    line-height: 30px;
}

.processing-wrapper .loader {
    border-color: var(--defaultblue);
    border-right-color: transparent;
    width: 40px;
    height: 40px;
    border-width: 8px;
}

.ptt {
    font-size: 20px;
    text-align: center;
    margin-top: 30px;
}

.p-wrapper .check-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 8px var(--defaultblue) solid;
    /* transition: 4s; */
    animation: ac 1s linear;
    font-size: 60px;
    color: var(--defaultblue);
}

.times-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 8px #e31919 solid;
    /* transition: 4s; */
    animation: fd 1s linear;
    font-size: 60px;
    color: #e31919;
}


@keyframes ac {
    0% {
        border: 8px transparent solid;
    }

    40% {
        border-left-color: var(--defaultblue);
    }

    60% {
        border-top-color: var(--defaultblue);
    }

    80% {
        border-right-color: var(--defaultblue);
    }

    100% {
        border-bottom-color: var(--defaultblue);
    }
}

@keyframes fd {
    0% {
        border: 8px transparent solid;
    }

    40% {
        border-left-color: #e31919;
    }

    60% {
        border-top-color: #e31919;
    }

    80% {
        border-right-color: #e31919;
    }

    100% {
        border-bottom-color: #e31919;
    }
}

.redir-loader.loader {
    border-width: 3px;
    width: 14px;
    height: 14px;
    margin-top: 15px;
    border-color: gray;
    border-style: dashed;
}

.wait-loader {
    z-index: 1000;
    background-color: rgb(0, 0, 0, 60%);
}

/* table */
.level.list-row-head {
    background-color: var(--defaultblue);
}

.level.list-row-head span {
    font-weight: 800;
    color: white;
}

button.btn.sort-selector-button {
    background-color: var(--defaultblue) !important;
    color: white !important;
}

/* billing histpory */

.billing-history {
    min-height: 100px;
    border-radius: 10px;
    border: 1px var(--bordercolor) solid;
}

.billing-history .billing-title {
    font-size: 20px;
    font-weight: 700;
}

.billing-table {
    min-height: 150px;
    font-size: 14px;
}

.billing-table .thead {
    background-color: var(--defaultblue);
    height: 50px;
    color: white;
}

.billing-table .thead .th {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 12px !important;
}

.billing-table .tbody {
    overflow-y: auto;
    max-height: 500px;
    font-size: 12px !important;
}

.billing-table .tbody .tr {
    min-height: 50px;
    border-bottom: 1px var(--bordercolor) solid;
}

.billing-table .tbody .td {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.billing-table .tbody .td .sn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--defaultblue);
    color: white;
    font-size: 13px;
}

.billing-table .tbody .tr .td button.expand-bill {
    height: 40px;
    background-color: white;
    border-radius: 3px;
    color: rgb(70, 70, 70);
    cursor: pointer;
    transition: .7s;
}

.billing-table .tbody .tr .td button.expand-bill:hover {
    transform: translate(-3%, 4%);
}

.billing-table .tbody .tr .td button i {
    transition: .5s;
    font-size: 10px;
    color: rgb(139, 139, 139);
}

.billing-table .tbody .tr .td button.expanded i {
    transform: rotate(-180deg);
}

.bill-status {
    height: 20px;
    border-radius: 5px;
    padding: 0 5px;
    width: 70px !important;
}

.bill-status span {
    margin-left: 4px;
    font-size: 12px;
}

.bill-status.paid {
    background-color: #d8dcf3;
}

.bill-status.paid .pill {
    width: 14px;
    height: 14px;
    background-color: rgb(207, 179, 239);
    border-radius: 50%;
}

.bill-status.paid .pill::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: rgb(60, 11, 144);
    border-radius: 50%;
}

.bill-status.unpaid {
    background-color: #f7dede;
}

.bill-status.unpaid .pill {
    width: 14px;
    height: 14px;
    background-color: #edae97;
    border-radius: 50%;
}

.bill-status.unpaid .pill::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: rgb(196, 10, 10);
    border-radius: 50%;
}

.bill-status.overdue {
    background-color: #f0e3e3;
}

.bill-status.overdue .pill {
    width: 14px;
    height: 14px;
    background-color: #f2bfbf;
    border-radius: 50%;
}

.bill-status.overdue .pill::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: rgb(158, 5, 5);
    border-radius: 50%;
}

.billing-items {
    height: 0;
    /* background-color: rgb(234, 234, 234); */
    transition: .7s;
    overflow: hidden;
    padding-bottom: 25px;
    /* animation: billing-items 2s linear; */
}

/* @keyframes billing-items {
    from {
        height: 0px;
    }
} */

.billing-items.active {
    border-top: 1px var(--bordercolor) solid;
    height: max-content;
}

.billing-items.active .bill-items-title {
    font-size: 20px;
    font-weight: 800;
}

.billing-items .items-grid {
    gap: 0 !important;
}

.billing-items.active .bill-item {
    font-size: 12px;
    border: 1px #d9d9d9 solid;
}

.billing-items.active .bill-item i {
    margin-right: 10px;
    color: rgb(169, 19, 169);
}

.billing-items.active .bill-item p {
    color: rgb(124, 124, 124);
}