/* Compatibility layer for WebTheLite modules on the WebThe10 default theme. */

body {
    background: #fff;
}

.section-soft {
    background: #f6f8fb;
}

.section-gap .section-gap {
    padding-top: 0;
    padding-bottom: 0;
}

.section-gap .section-gap > .container {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.description .title a,
.description .sub-title a {
    color: inherit;
}

.home-service-card {
    display: flex;
    min-height: 112px;
    height: 100%;
    align-items: center;
    padding: 22px;
    color: #17233d;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    box-shadow: 0 8px 26px rgba(30, 58, 95, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-service-card:hover {
    color: var(--primary-color);
    border-color: rgba(var(--primary-rgb), .3);
    box-shadow: 0 12px 34px rgba(30, 58, 95, .12);
    transform: translateY(-3px);
}

.home-service-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    font-size: 23px;
}

.home-service-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.home-service-content strong {
    margin-bottom: 5px;
    font-size: 17px;
}

.home-service-content small {
    color: #778196;
    line-height: 1.45;
}

.home-service-arrow {
    margin-left: auto;
    padding-left: 12px;
    font-size: 22px;
}

.home-product-card {
    height: 100%;
}

.home-product-card .card-image {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: center;
}

.home-product-card .card-image img {
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.product-placeholder {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), .08);
    border-radius: 50%;
    font-size: 27px;
}

.service-panel {
    padding: 24px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(30, 58, 95, .07);
}

.service-panel-title {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 12px;
    color: #17233d;
    font-size: 18px;
    font-weight: 700;
}

.service-panel-title:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 3px;
    content: '';
    background: var(--primary-color);
    border-radius: 3px;
}

.service-form label {
    color: #303b51;
    font-weight: 500;
}

.topup-product-list {
    max-height: 560px;
    margin: -8px;
    padding: 8px;
    overflow: auto;
}

.topup-product-choice {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 9px;
    padding: 11px 12px;
    color: #25324a;
    text-align: left;
    background: #f7f9fc;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    transition: all .2s ease;
}

.topup-product-choice:hover,
.topup-product-choice.active {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), .05);
    border-color: rgba(var(--primary-rgb), .24);
}

.topup-product-choice small,
.topup-selected-product small {
    display: block;
    margin-top: 2px;
    color: #8992a4;
    font-size: 11px;
}

.topup-product-logo {
    display: inline-flex;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.topup-product-logo img {
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
}

.topup-selected-product {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 14px;
    background: #f7f9fc;
    border-radius: 7px;
}

.topup-selected-product img {
    width: 56px;
    height: 56px;
    margin-right: 14px;
    object-fit: contain;
}

.charging-estimate {
    margin: 0 0 20px;
    padding: 12px 14px;
    color: #40516e;
    background: #f3f7fc;
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 13px;
}

.charging-guide ul li {
    display: flex;
    align-items: flex-start;
    color: #59657a;
    line-height: 1.55;
}

.charging-guide ul li + li {
    margin-top: 15px;
}

.charging-guide ul i {
    margin: 4px 10px 0 0;
    color: #27ae60;
}

.table-module-white,
.table-module {
    background: #fff;
}

.table-module-white thead th,
.table-module thead th,
.bg-theme {
    color: #fff;
    background: var(--primary-color) !important;
    border-color: rgba(255, 255, 255, .2) !important;
    vertical-align: middle;
}

.table-module-white td,
.table-module td {
    vertical-align: middle;
}

/* Account and existing module pages. */
.section-profile,
.section-users,
.form-inner,
.box-content,
.blockContent,
.checkout-page .card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    box-shadow: 0 7px 24px rgba(30, 58, 95, .06);
}

.section-heading {
    margin-bottom: 18px;
}

.heading-title,
.heading-sub,
.blockTitle {
    color: #17233d;
    font-size: 20px;
    font-weight: 700;
}

.heading-desc {
    margin-top: 6px;
    color: #7c8799;
}

.user-form .form-item + .form-item,
.information-list .form-item + .form-item {
    margin-top: 15px;
}

.form-floating label {
    color: #667085;
    font-weight: 500;
}

.form-floating {
    position: relative;
}

.form-floating > .form-control {
    min-height: 54px;
    padding: 21px 14px 7px;
}

.form-floating > label {
    position: absolute;
    top: 7px;
    left: 14px;
    z-index: 2;
    margin: 0;
    color: #7c8799;
    font-size: 11px;
    line-height: 1;
    pointer-events: none;
}

.form-floating > .form-button {
    z-index: 3;
}

.section-sidebar {
    padding: 20px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    box-shadow: 0 7px 24px rgba(30, 58, 95, .06);
}

.sidebar-list_item {
    display: flex;
    align-items: center;
    padding: 11px 12px;
    color: #4f5c70;
    border-radius: 6px;
}

.sidebar-list_item + .sidebar-list_item {
    margin-top: 5px;
}

.sidebar-list_item:hover,
.sidebar-list_item.active {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), .07);
}

.sidebar-list_item img {
    width: 22px;
    height: 22px;
    margin-right: 11px;
    object-fit: contain;
}

.login-box {
    max-width: 520px;
    margin: 30px auto;
}

.login-box-body,
.blockPage {
    padding: 28px;
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(30, 58, 95, .09);
}

.login-logo,
.block-brand {
    margin-bottom: 22px;
    text-align: center;
}

.login-logo img,
.block-brand img,
.logo-footer img {
    max-width: 220px;
    max-height: 64px;
}

.blog-card {
    overflow: hidden;
    border: 1px solid #e5e9ef;
    border-radius: 7px;
    box-shadow: 0 6px 20px rgba(30, 58, 95, .06);
}

.ratio {
    position: relative;
    width: 100%;
}

.ratio:before {
    display: block;
    padding-top: var(--aspect-ratio, 56.25%);
    content: '';
}

.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ratio-16x9 {
    --aspect-ratio: 56.25%;
}

.btn-close {
    width: 1em;
    height: 1em;
    padding: 0;
    color: transparent;
    background: transparent;
    border: 0;
}

.btn-close:before {
    color: #333;
    content: '\00d7';
    font-size: 24px;
}

.form-select {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    color: #495057;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.gap-2 { gap: .5rem !important; }
.g-3 { margin-right: -.5rem; margin-left: -.5rem; }
.g-3 > * { padding-right: .5rem; padding-left: .5rem; margin-bottom: 1rem; }
.ms-auto { margin-left: auto !important; }
.ms-2 { margin-left: .5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.fw-bold { font-weight: 700 !important; }
.fst-italic { font-style: italic !important; }
.text-start { text-align: left !important; }
.text-decoration-underline { text-decoration: underline !important; }
.mt-8 { margin-top: 4rem !important; }

@media (max-width: 991px) {
    .service-panel {
        padding: 20px;
    }

    .home-service-card {
        min-height: 96px;
    }
}

@media (max-width: 767px) {
    .description.d-flex {
        display: block !important;
    }

    .description.d-flex > .btn,
    .description.d-flex > a {
        margin-top: 12px;
    }

    .home-service-card {
        padding: 17px;
    }

    .home-service-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
        font-size: 20px;
    }

    .service-panel,
    .section-profile,
    .section-users,
    .form-inner,
    .box-content,
    .blockContent,
    .login-box-body,
    .blockPage {
        padding: 16px;
    }
}
