/* Hide svg sprite */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

body {
    background-color: #fff;
    color: #52606D;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

@media screen and (max-width: 991px) {
    body {
        font-size: 14px;
    }
}

.h1,
.h2,
.h3,
.h4,
.h5 {
    color: #111B25;
    font-weight: 600;
}

.h1 {
    font-size: 24px;
    margin-bottom: 1.12rem;
}

.h2 {
    font-size: 20px;
}

@media screen and (min-width: 992px) {
    .h1 {
        font-size: 30px;
        line-height: 34px;
        letter-spacing: -0.5px;
    }

    .h2 {
        font-size: 20px;
        line-height: 26px;
        letter-spacing: -0.2px;
    }
}

a,
a:hover {
    color: #0059F1;
    text-decoration: none;
}

a:focus {
    outline: none;
}

.link {
    font-size: 14px;
    line-height: 20px;
}

.link-primary {
    color: #0059F1;
}

.link-secondary,
.link-secondary:hover {
    color: #616E7C;
}

.link .icon {
    position: relative;
    top: -1px;
}

.link .icon-before {
    margin-right: 6px;
}

.link .icon-after {
    margin-left: 6px;
}

.semibold {
    font-weight: 600;
}

.small,
small {
    font-size: 12px;
    line-height: 14px;
    color: #616E7C;
}

.text-primary {
    color: #0059F1 !important;
}

.text-secondary {
    color: #616E7C !important;
}

.text-danger {
    color: #E12D39 !important;
}

.spin {
    -webkit-animation: spin-rotate 2s linear infinite;
    animation: spin-rotate 2s linear infinite;
    transform-origin: center;
    width: 60px;
}

.spin circle {
    fill: none;
    stroke-width: 4;
}

.spin .dash {
    stroke: #0059F1;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    -webkit-animation: spin-dash 1.5s ease-in-out infinite;
    animation: spin-dash 1.5s ease-in-out infinite;
}

@-webkit-keyframes spin-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 80, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -124px;
    }
}

@keyframes spin-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 80, 200;
        stroke-dashoffset: -35px;
    }

    100% {
        stroke-dashoffset: -124px;
    }
}

/* customer-page */
.main {
    padding: 0 15px;
}

.customer-page {
    padding-top: 90px;
}

.customer-page .main {
    margin-left: auto;
    max-width: 832px;
    width: 100%;
    margin-right: auto;
    padding-bottom: 40px;
}

.customer-page .snackbar-container {
    position: fixed;
    bottom: 40px;
    left: 15px;
}

.customer-page .snackbar-container .snackbar {
    display: inline-block;
}

@media screen and (min-width: 992px) {
    .customer-page .snackbar-container {
        left: 0;
        padding-left: 354px;
        width: 100%;
    }

    .customer-page .snackbar-container .snackbar-group {
        max-width: 832px;
        padding-left: 15px;
        padding-right: 15px;
        margin: auto;
    }
}

@media screen and (min-width: 992px) {
    .customer-page {
        padding-left: 354px;
        padding-top: 80px;
    }

    .customer-page .main {
        padding-bottom: 80px;
    }
}

.aside {
    background-color: #F5F7FA;
    box-shadow: 1px 0px 0px #E4E7EB;
    color: #52606D;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    width: 354px;
    z-index: 9;
}

.aside-body {
    flex-grow: 1;
    padding: 80px 48px 25px;
}

.aside-footer {
    display: none;
}

.aside-footer-logo {
    margin-left: 8px;
}

@media screen and (max-width: 991px) {
    .aside {
        width: 100%;
        height: auto;
        top: 0;
    }

    .aside-body {
        height: 78px;
        padding: 15px 80px 15px 15px;
        width: 100%;
    }

    .aside-body .receiver-description {
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    .aside-body .receiver-logo {
        margin-bottom: 8px;
        height: 24px;
    }
}

@media (min-width: 992px) {
    .aside-bg {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -1;
    }

    .aside-bg > img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .aside-footer {
        color: #616E7C;
        display: flex;
        font-size: 14px;
        line-height: 21px;
        padding: 0 48px 24px;
    }
}

.receiver-logo {
    margin-bottom: 50px;
}

.receiver-description {
    font-size: 20px;
    line-height: 25px;
    color: #111B25;
}

.page-header {
    margin-bottom: 26px;
}

.page-header .h1 {
    margin-bottom: 12px;
}

.page-header p {
    letter-spacing: -0.2px;
}

.page-header> :last-child {
    margin-bottom: 0;
}

.page-header .back-link:first-child {
    display: inline-block;
    margin-bottom: 13px;
    margin-top: 9px;
}

@media screen and (min-width: 992px) {
    .page-header {
        margin-bottom: 56px;
    }
}

.back-link {
    display: flex;
    align-items: center;
    color: #0059F1;
    font-weight: 500;
    font-size: 14px;
}

.section+.section {
    margin-top: 46px;
}

.section-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: #111B25;
}

.section-title-bordered {
    border-bottom: 1px solid #E4E7EB;
    padding-bottom: 8px;
    margin-bottom: 13px;
}

@media screen and (min-width: 992px) {
    .section+.section {
        margin-top: 55px;
    }

    .section+.section-lg {
        margin-top: 70px;
    }
}

.alert {
    padding: 12px 14px;
}

.alert-primary {
    background-color: #D8EAFF;
    border-color: #E4E7EB;
    color: #111B25;
}

.alert-secondary {
    background-color: #F5F7FA;
    border-color: #E4E7EB;
}

.alert-success {
    background-color: #E3F9E5;
    border-color: #E4E7EB;
    color: #111B25;
}

.contracted-service .h2 {
    margin-bottom: 1px;
}

.contracted-service .h2 .badge {
    margin-left: 2px;
    position: relative;
    top: -2px;
    vertical-align: middle;
}

.contracted-service-price {
    text-align: right;
}

.contracted-service-price p {
    font-size: 16px;
    letter-spacing: -0.2px;
    color: #111B25;
}

.contracted-service-price p span {
    color: #616E7C;
}

@media screen and (max-width: 991px) {
    .contracted-service-price p {
        margin-bottom: 6px;
    }
}

@media screen and (min-width: 992px) {
    .contracted-service-price p {
        font-size: 20px;
    }

    .contracted-service-price .contracted-service-price-msg {
        color: #616E7C;
        font-size: 16px;
    }
}

.contracted-service a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.table {
    color: #111B25;
}

.table td {
    border-top: 1px solid #E4E7EB;
    border-bottom: 1px solid #E4E7EB;
    padding: 0.82rem;
    vertical-align: middle;
}

.table td::after {
    color: #3E4C59;
    content: attr(data-after);
    display: block;
    font-size: 12px;
    white-space: nowrap;
}

@media (min-width: 992px) {
    .table td::after {
        display: none;
    }
}

.table td:first-child {
    padding-left: 0;
}

.table td:last-child {
    padding-right: 0;
}

.table td.group-btn-sm {
    padding-top: 7px;
    padding-bottom: 7px;
}

.table .col-price {
    white-space: nowrap;
}

.table-responsive {
    margin-bottom: 1rem;
}

.table-responsive .table {
    margin-bottom: 0;
}

@media screen and (max-width: 991px) {
    .table {
        font-size: 13px;
    }
}

@media screen and (min-width: 992px) {
    .table td {
        line-height: 32px;
        padding: 1rem 1.22rem;
    }

    .table td.group-btn-sm {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

.table-no-border td {
    border: 0 none;
    padding: 8px;
}

.badge {
    font-weight: 500;
    font-size: 12px;
    padding: 4px 6px;
}

.badge-secondary {
    background-color: #E4E7EB;
    color: var(--dark-9-color);
}

.badge-danger {
    background-color: #FFE3E3;
    color: #AB091E;
}

.card-info-number {
    display: flex;
    align-items: center;
}

.card-info-number .dot {
    width: 5px;
    height: 5px;
    background-color: #3E4C59;
    border-radius: 50%;
    content: '';
    margin-right: 5px;
}

.card-info-flag {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card-info-flag img {
    margin-left: 7px;
}

@media screen and (min-width: 992px) {
    .card-info td:nth-child(1) {
        width: 27%;
    }

    .card-info td:nth-child(2) {
        width: 29%;
    }
}

@media screen and (max-width: 991px) {
    .card-info td:nth-child(2) {
        min-width: 120px;
    }
}

@media screen and (min-width: 992px) {
    .collection-history td:nth-child(1) {
        width: 27%;
    }

    .collection-history td:nth-child(2) {
        width: 30%;
    }
}

@media screen and (max-width: 991px) {
    .collection-history td:nth-child(2) {
        min-width: 100px;
    }

    .collection-history td:last-child {
        min-width: 240px;
    }
}

@media screen and (min-width: 992px) {
    .plan-details td:first-child {
        width: 28%;
    }
}

.section-form .form-check {
    margin-top: 19px;
    margin-bottom: 27px;
}

.section-form .form-footer .btn+.btn {
    margin-top: 16px;
}

.modal-content {
    color: #3E4C59;
    font-size: 14px;
    line-height: 20px;
    border: 0;
}

.modal-body,
.modal-footer {
    padding: 24px;
}

.modal-title {
    font-weight: 600;
    font-size: 20px;
    color: #000000;
    margin-bottom: 8px;
}

.modal-footer {
    border-top: 0;
}

.tooltip-inner {
    font-size: 12px;
    line-height: 12px;
    padding: 8px;
    background-color: #111B25;
}

.bs-tooltip-auto[x-placement^="top"] .arrow::before,
.bs-tooltip-top .arrow::before {
    border-top-color: #111B25;
}

.snackbar {
    cursor: pointer;
    display: inline-block;
    background: #323F4B;
    border-radius: 4px;
    padding: 16px;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    transition: opacity .15s;
    height: 0;
    opacity: 0;
}

.snackbar.active {
    height: auto;
    opacity: 1;
}

@media screen and (min-width: 992px) {
    .next-charge td:first-child {
        width: 57%;
    }
}

@media screen and (min-width: 992px) {
    .profile td:first-child {
        width: 28.5%;
    }
}

.btn {
    border-radius: 6px;
    color: #3E4C59;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    padding: 0.5rem 0.8rem;
}

.btn .spin {
    margin-right: 8px;
    position: relative;
    top: -1px;
    width: 20px;
    height: 20px;
}

.btn .spin circle {
    stroke-width: 6;
}

.btn .spin .dash {
    stroke: #fff;
}

.btn:focus {
    box-shadow: none;
}

.btn.disabled,
.btn:disabled {
    opacity: 1;
}

.btn-primary {
    background-color: #0059F1;
    border-color: #0059F1;
    color: #fff;
}

.btn-primary:active,
.btn-primary:active:focus {
    border-color: #003CA3;
    background: #003CA3;
}

.btn-primary:hover {
    border-color: #3179F4;
    background-color: #3179F4;
    color: #fff;
}

.btn-primary:disabled {
    border-color: #91B8F9;
    background: #91B8F9;
    cursor: no-drop;
}

.btn-outline-secondary {
    border-color: #E4E7EB;
}

.btn-outline-secondary:hover {
    border-color: #616E7C;
    background-color: #616E7C;
}

.btn-danger {
    color: #fff;
    background-color: #E12D39;
}

.btn-link {
    border-color: transparent;
    background-color: transparent;
    color: #616E7C;
    padding-left: 0;
    padding-right: 0;
}

.btn-link:hover {
    text-decoration: none;
    color: #0059F1;
}

.btn-link-primary,
.btn-link-primary:hover {
    color: #0059F1;
}

.btn-icon {
    border-color: transparent;
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn-icon:hover {
    text-decoration: none;
    color: #616E7C;
}

.btn-sm {
    font-size: 14px;
    padding: 5px 6px;
    line-height: 20px;
}

.btn-lg {
    padding: 0.75rem 0.8rem;
}

.btn .icon {
    position: relative;
    top: -1px;
}

.btn .icon-before {
    margin-right: 6px;
}

.btn .icon-after {
    margin-left: 6px;
}

/* nav */
.header {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99;
}

.header .icon-user {
    height: 40px;
    width: 40px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #E4E7EB;
}

.header .icon-user img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
}

.header .dropdown-item {
    padding: 4px 16px;
}

.header .dropdown-item:first-child {
    padding-top: 16px;
}

.header .dropdown-item:last-child {
    padding-bottom: 16px;
}

.header .dropdown-item:hover {
    background-color: transparent;
}

.header .dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
}

.header .dropdown-toggle:focus {
    outline: none;
}

.header .dropdown-toggle:after {
    display: none;
}

.header .dropdown-menu {
    border: none;
    box-shadow: 0 10px 20px -2px rgba(31, 41, 51, 0.15), 0 3px 6px 0 rgba(31, 41, 51, 0.1);
    padding: 0;
    position: absolute;
}

.header .dropdown-menu:before {
    border-width: .4rem .4rem 0;
    content: "";
    border-color: transparent;
    border-top-color: #fff;
    border-style: solid;
    position: absolute;
    transform: rotate(180deg);
    right: 32px;
    top: -5px;
}

.header .dropdown-title {
    align-items: center;
    border-bottom: 1px solid #E4E7EB;
    color: #000;
    display: flex;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    padding: 16px;
}

.header .dropdown .dropdown-title+.dropdown-item {
    padding-top: 16px !important;
}

@media screen and (max-width: 991px) {
    .header {
        top: 19px;
    }
}

.footer {
    bottom: 25px;
    padding: 0 15px 25px;
}

.footer .nav-link {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #52606D;
}

.footer .nav-item+.nav-item {
    margin-left: 1rem;
}

@media screen and (min-width: 992px) {
    .footer {
        left: 0;
        bottom: 25px;
        position: fixed;
        z-index: 99;
        width: 354px;
        padding: 0 48px;
    }
}

input[type="radio"],
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 10px;
    border: 1px solid #CBD2D9;
    cursor: pointer;
    height: 22px;
    outline: none;
    transition: all 0.15s ease;
    width: 22px;
}

input[type="radio"]:checked,
input[type="checkbox"]:checked {
    background-color: #0059F1;
    background-image: url(../images/sprite.svg#g-check);
}

input[type="radio"] {
    border-radius: 50%;
}

input[type="radio"]:checked {
    border-color: #0059F1;
}

input[type="checkbox"] {
    border-radius: 4px;
}

input[type="checkbox"]:checked {
    border-color: #0044B8;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-group label {
    color: #616E7C;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 0;
}

.form-group label~.form-control {
    padding: 15px 14px !important;
}

.form-group.has-error .form-control {
    border-color: #E12D39;
    box-shadow: 0 0 0 1px #E12D39, 0 0 0 4px #FFE3E3;
}

.form-group.has-error .help-block {
    color: #E12D39;
    font-size: 14px;
    font-weight: 500;
    margin-top: 2px;
}

.form-control {
    border-color: #CBD2D9;
    font-size: 14px;
    height: 54px;
    line-height: 22px;
    padding: 15px 14px;
    color: #242931;
}

textarea.form-control {
    min-height: 160px;
}

.form-control~label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 14px;
    font-weight: normal;
    max-width: 100%;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
    pointer-events: none;
    position: absolute;
    text-overflow: ellipsis;
    top: 17px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.form-control:focus {
    border-color: #0059F1;
    box-shadow: 0 0 0 1px #0059F1, 0 0 0 4px #EBF2FF;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 1L5 5L1 1' stroke='%23555555' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 11px center;
}

.form-control[placeholder]:not(:-moz-placeholder-shown) {
    padding-bottom: 6px;
    padding-top: 24px;
}

.form-control[placeholder]:not(:-ms-input-placeholder) {
    padding-bottom: 6px;
    padding-top: 24px;
}

select.form-control.filled,
.form-control[placeholder]:focus,
.form-control[placeholder]:not(:placeholder-shown) {
    padding-bottom: 6px;
    padding-top: 24px;
}

.form-control[placeholder]:not(:-moz-placeholder-shown)~label {
    color: #6E7C81;
    font-size: 12px;
    top: 9px;
}

.form-control[placeholder]:not(:-ms-input-placeholder)~label {
    color: #6E7C81;
    font-size: 12px;
    top: 9px;
}

select.form-control:focus~label,
select.form-control.filled~label,
.form-control[placeholder]:focus~label,
.form-control[placeholder]:not(:placeholder-shown)~label {
    color: #6E7C81;
    font-size: 12px;
    top: 9px;
}

.form-control[placeholder]:-webkit-autofill {
    padding-bottom: 6px;
    padding-top: 24px;
}

.form-control[placeholder]:-webkit-autofill~label {
    color: #6E7C81;
    font-size: 12px;
    top: 9px;
}

.form-check {
    color: #3E4C59;
    font-size: 14px;
    line-height: 22px;
    padding-left: 28px;
}

.form-check-input {
    margin-left: -28px;
    margin-top: 0;
}

.control-card-number {
    position: relative;
}

.control-card-number .icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 13px;
}

.control-card-number .icon img {
    width: 30px;
}

.control-card-number .icon .card-flip:not(.focus) .icon-back {
    display: none;
}

.control-card-number .icon .card-flip.focus .icon-front {
    display: none;
}

.error-summary {
    background-color: #f5f7fa;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 6px;
    border: 1px solid #E4E7EB;
}

.error-summary p {
    font-weight: 600;
    margin-bottom: 12px;
}

.error-summary ul {
    margin-bottom: 0;
    padding: 0 16px;
}

.error-summary ul li::marker {
    color: #A9ACB0;
}

.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #0059F1;
    background-color: #fff;
    border: 1px solid #0059F1;
}

.pagination li:first-child a,
.pagination li:first-child span {
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.pagination li:last-child a,
.pagination li:last-child span {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.pagination .disabled a,
.pagination .disabled span {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

.pagination .active a,
.pagination .active span {
    z-index: 1;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.toast {
    background-color: #323F4B;
    border: none;
    bottom: 48px;
    box-shadow: none;
    display: inline-block;
    color: #fff;
    left: 50%;
    max-width: none;
    position: fixed;
    transform: translateX(-50%);
}

.toast-body {
    padding-left: 16px;
    padding-right: 16px;
}

.form-filter .form-control {
    background-color: #FBFBFB;
    border-color: #EBF1F3;
    height: 45px;
    min-width: 150px;
    padding: 15px 12px;
}

.form-filter .form-control:not(:placeholder-shown) {
    padding-top: 12px;
    padding-bottom: 12px;
}

.card {
    border-color: #E4E7EB;
    border-radius: 6px;
}