.account-shell,
.account-auth-shell {
    background: #f7f8fa;
    color: #20242a;
    min-height: 68vh;
    padding: 48px 0 64px;
}

.account-shell > .container,
.account-auth-shell > .container {
    min-width: 0 !important;
}

.account-heading {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.account-heading-profile {
    align-items: center;
    display: flex;
    gap: 14px;
}

.account-heading-actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

.account-avatar {
    align-items: center;
    background: #fff1e2;
    border: 1px solid #ffd8b5;
    border-radius: 50%;
    color: #d96500;
    display: flex;
    flex: 0 0 auto;
    font-weight: 700;
    justify-content: center;
    overflow: hidden;
}

.account-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.account-avatar-heading {
    font-size: 20px;
    height: 52px;
    width: 52px;
}

.account-heading h1,
.account-auth-intro h1 {
    color: #20242a;
    font-size: 32px;
    font-weight: 700;
    margin: 5px 0 4px;
}

.account-heading p,
.account-auth-intro p,
.account-section-heading p {
    color: #68707c;
    margin: 0;
}

.account-eyebrow {
    color: #e36c00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.account-shop-link,
.account-primary-button {
    align-items: center;
    background: #f57c00;
    border: 0;
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-weight: 600;
    gap: 9px;
    justify-content: center;
    padding: 11px 18px;
    text-decoration: none;
}

.account-wallet-pill {
    align-items: center;
    background: #fff;
    border: 1px solid #f0d3b7;
    border-radius: 5px;
    color: #20242a;
    display: inline-flex;
    gap: 10px;
    min-height: 47px;
    padding: 8px 14px;
    text-decoration: none;
}

.account-wallet-pill:hover {
    background: #fff4e9;
    color: #20242a;
}

.account-wallet-pill i {
    color: #f57c00;
    font-size: 18px;
}

.account-wallet-pill span {
    color: #68707c;
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.account-wallet-pill strong {
    color: #20242a;
    display: block;
    font-size: 16px;
    margin-top: 2px;
}

.account-shop-link:hover,
.account-primary-button:hover {
    background: #d96500;
    color: #fff;
}

.account-nav {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.account-nav a,
.account-nav button {
    align-items: center;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eceef1;
    color: #3f4650;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 11px;
    padding: 14px 16px;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.account-nav form:last-child button {
    border-bottom: 0;
}

.account-nav a:hover,
.account-nav button:hover,
.account-nav a.active {
    background: #fff4e9;
    color: #d96500;
}

.account-nav i {
    text-align: center;
    width: 18px;
}

.account-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

.account-stat {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    min-height: 116px;
    padding: 18px;
    position: relative;
}

.account-stat span {
    color: #68707c;
    display: block;
    font-size: 13px;
    margin-bottom: 9px;
}

.account-stat strong {
    color: #20242a;
    display: block;
    font-size: 24px;
}

.account-stat i {
    color: #f57c00;
    font-size: 18px;
    position: absolute;
    right: 17px;
    top: 18px;
}

.account-stat:nth-child(2) i {
    color: #2563a8;
}

.account-stat:nth-child(3) i {
    color: #238454;
}

.account-stat:nth-child(4) i {
    color: #6941a5;
}

.account-section {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    margin-bottom: 22px;
    padding: 22px;
}

.account-section-heading,
.order-summary-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.account-section-heading h2,
.order-summary-heading h2 {
    color: #20242a;
    font-size: 20px;
    margin: 0 0 3px;
}

.account-section-heading a {
    color: #d96500;
    font-size: 14px;
    font-weight: 600;
}

.account-services-section {
    overflow: hidden;
}

.account-service-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-service-card {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.account-service-card-header {
    align-items: center;
    background: #f57c00;
    color: #fff;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 60px;
    padding: 14px 18px;
}

.account-service-card-header i {
    font-size: 21px;
}

.account-service-card-header strong {
    font-size: 17px;
}

.service-theme-instagram .account-service-card-header {
    background: linear-gradient(90deg, #ef3f45, #a62db0);
}

.service-theme-facebook .account-service-card-header {
    background: #1f69ad;
}

.service-theme-tiktok .account-service-card-header {
    background: #df176d;
}

.service-theme-youtube .account-service-card-header {
    background: #e32626;
}

.service-theme-reviews .account-service-card-header {
    background: #2f7d5b;
}

.account-service-list {
    padding: 14px 10px 12px;
}

.account-service-item {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dde3;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(36, 42, 49, .06);
    color: #404753;
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    margin: 0 0 10px;
    min-height: 44px;
    padding: 10px 14px;
    text-decoration: none;
}

.account-service-item:hover {
    border-color: #f57c00;
    color: #d96500;
}

.account-service-item i {
    color: #20242a;
    flex: 0 0 auto;
    font-size: 13px;
}

.account-service-more {
    margin-top: 4px;
}

.account-service-more-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #404753;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    min-height: 36px;
    padding: 0 4px;
    width: 100%;
}

.account-service-more.is-open .account-service-more-toggle i {
    transform: rotate(180deg);
}

.account-service-more-toggle i {
    transition: transform .22s ease;
}

.account-service-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}

.account-service-more.is-open .account-service-more-content {
    max-height: 600px;
}

.wallet-balance-panel {
    align-items: center;
    background: #20242a;
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    min-height: 150px;
    padding: 26px;
}

.wallet-balance-panel span {
    color: #ffd8b5;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.wallet-balance-panel strong {
    display: block;
    font-size: 38px;
    line-height: 1;
}

.wallet-balance-panel p {
    color: #f7d9bd;
    margin: 10px 0 0;
}

.wallet-balance-panel > i {
    align-items: center;
    background: #f57c00;
    border-radius: 50%;
    display: inline-flex;
    font-size: 24px;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.wallet-topup-form label {
    color: #30353b;
    font-weight: 700;
    margin-bottom: 8px;
}

.wallet-amount-control {
    align-items: center;
    border: 1px solid #cfd4da;
    border-radius: 6px;
    display: grid;
    grid-template-columns: auto 1fr;
    max-width: 280px;
    overflow: hidden;
}

.wallet-amount-control span {
    background: #f4f5f7;
    border-right: 1px solid #dfe2e6;
    color: #525a65;
    font-weight: 700;
    padding: 13px 14px;
}

.wallet-amount-control input {
    border: 0;
    color: #20242a;
    font-weight: 700;
    min-height: 48px;
    padding: 0 14px;
    width: 100%;
}

.wallet-limit-help {
    color: #68707c;
    display: block;
    font-size: 12px;
    margin-top: 7px;
}

.account-form-error {
    color: #bd2530;
    font-size: 13px;
    margin-top: 7px;
}

.wallet-method-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.wallet-method-button {
    align-items: center;
    background: #fff;
    border: 1px solid #dce2ea;
    border-radius: 7px;
    color: #20242a;
    display: flex;
    gap: 12px;
    min-height: 84px;
    padding: 15px;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wallet-method-button:hover {
    border-color: #f57c00;
    box-shadow: 0 8px 20px rgba(33, 37, 41, .08);
    transform: translateY(-1px);
}

.wallet-method-button i {
    align-items: center;
    background: #fff4e9;
    border-radius: 50%;
    color: #f57c00;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 19px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.wallet-method-button strong,
.wallet-method-button small {
    display: block;
}

.wallet-method-button strong {
    font-size: 15px;
}

.wallet-method-button small {
    color: #68707c;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 3px;
}

.wallet-empty {
    grid-column: 1 / -1;
}

.wallet-amount-credit {
    color: #16784a !important;
    font-weight: 700;
}

.wallet-amount-debit {
    color: #bd2530 !important;
    font-weight: 700;
}

.account-table-wrap {
    border: 1px solid #e6e8eb;
    border-radius: 6px;
}

.account-table {
    margin: 0;
    min-width: 680px;
}

.account-table thead th {
    background: #f4f5f7;
    border-bottom: 1px solid #dfe2e6;
    color: #525a65;
    font-size: 12px;
    font-weight: 700;
    padding: 12px 14px;
    text-transform: uppercase;
}

.account-table tbody td {
    border-color: #eceef1;
    color: #39414b;
    font-size: 14px;
    padding: 14px;
    vertical-align: middle;
}

.account-table tbody tr:last-child td {
    border-bottom: 0;
}

.account-table a {
    color: #d96500;
    font-weight: 600;
}

.account-table-action {
    text-align: right;
}

.account-table-action a {
    align-items: center;
    background: #fff4e9;
    border-radius: 4px;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.account-status {
    border-radius: 4px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 8px;
}

.status-pending {
    background: #fff2cf;
    color: #825b00;
}

.status-processing {
    background: #dceeff;
    color: #155a92;
}

.status-complete {
    background: #daf4e5;
    color: #176b40;
}

.status-failed {
    background: #ffe0df;
    color: #9b2c28;
}

.account-empty {
    padding: 36px 16px;
    text-align: center;
}

.account-empty i {
    color: #9aa1aa;
    font-size: 26px;
}

.account-empty h3 {
    font-size: 18px;
    margin: 12px 0 5px;
}

.account-empty p {
    color: #68707c;
    margin-bottom: 12px;
}

.account-empty a {
    color: #d96500;
}

.account-filter {
    align-items: center;
    display: flex;
    gap: 9px;
}

.account-filter label {
    color: #68707c;
    font-size: 13px;
    font-weight: 600;
}

.account-filter select {
    min-width: 150px;
}

.account-pagination {
    margin-top: 20px;
}

.account-pagination .pagination {
    margin: 0;
}

.account-pagination .page-link {
    color: #d96500;
}

.account-pagination .active > .page-link {
    background: #f57c00;
    border-color: #f57c00;
}

.account-auth-shell {
    align-items: center;
    display: flex;
}

.account-auth-panel {
    background: #fff;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 480px;
    padding: 34px;
    width: 100%;
}

.account-auth-intro {
    margin-bottom: 25px;
}

.account-auth-panel .form-label {
    color: #3f4650;
    font-size: 14px;
    font-weight: 600;
}

.account-label-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.account-label-row a {
    color: #d96500;
    font-size: 12px;
    font-weight: 600;
}

.account-auth-panel .form-control {
    border-color: #ccd1d7;
    border-radius: 5px;
    max-width: 100%;
    min-height: 46px;
    min-width: 0;
}

.account-auth-panel .form-control:focus {
    border-color: #f57c00;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.13);
}

.otp-code-input {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 8px;
    text-align: center;
}

.account-check {
    align-items: center;
    color: #525a65;
    display: flex;
    font-size: 14px;
    gap: 8px;
}

.account-primary-button {
    width: 100%;
}

.account-auth-switch {
    color: #68707c;
    margin: 24px 0 0;
    text-align: center;
}

.otp-resend-form {
    align-items: center;
    color: #68707c;
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 16px;
}

.otp-resend-form button {
    background: transparent;
    color: #d96500;
    font-weight: 700;
    padding: 0;
}

.account-auth-switch a {
    color: #d96500;
    font-weight: 600;
}

.profile-image-editor {
    align-items: center;
    border-bottom: 1px solid #eceef1;
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 22px;
}

.account-avatar-editor {
    font-size: 30px;
    height: 88px;
    width: 88px;
}

.profile-image-actions {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-image-actions input[type="file"] {
    display: none;
}

.profile-upload-button {
    align-items: center;
    background: #fff4e9;
    border: 1px solid #ffc58d;
    border-radius: 5px;
    color: #c85d00;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
    padding: 9px 13px;
}

.profile-image-actions small,
.profile-field-help {
    color: #7a828c;
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.profile-remove-check {
    margin: 2px 0 0;
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}

.profile-form-actions .account-primary-button {
    width: auto;
}

.order-summary-heading p {
    color: #68707c;
    margin: 4px 0 0;
}

.order-tracker {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 1fr 70px 1fr 70px 1fr;
    margin: 38px 0 14px;
}

.order-track-step {
    color: #9299a2;
    text-align: center;
}

.order-track-step span {
    align-items: center;
    background: #eef0f2;
    border-radius: 50%;
    display: flex;
    height: 42px;
    justify-content: center;
    margin: 0 auto 10px;
    width: 42px;
}

.order-track-step strong,
.order-track-step small {
    display: block;
}

.order-track-step strong {
    font-size: 14px;
    margin-bottom: 3px;
}

.order-track-step small {
    font-size: 12px;
}

.order-track-step.active {
    color: #20242a;
}

.order-track-step.active span {
    background: #daf4e5;
    color: #176b40;
}

.order-track-line {
    background: #e3e6e9;
    height: 3px;
    margin-top: 20px;
}

.order-track-line.active {
    background: #39a66f;
}

.order-state-notice {
    align-items: flex-start;
    border-radius: 6px;
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
}

.order-state-notice.failed {
    background: #fff0ef;
    color: #8d2824;
}

.order-state-notice p {
    margin: 2px 0 0;
}

.order-detail-grid {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.order-detail-grid > div {
    border-bottom: 1px solid #eceef1;
    padding: 14px 0;
}

.order-detail-grid > div:nth-child(odd) {
    padding-right: 20px;
}

.order-detail-grid dt {
    color: #7a828c;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.order-detail-grid dd {
    color: #2c333b;
    font-size: 14px;
    margin: 0;
    overflow-wrap: anywhere;
}

.order-items {
    margin-top: 24px;
}

.order-items h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.order-items > div {
    border-top: 1px solid #eceef1;
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
}

@media (max-width: 991px) {
    .account-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-nav {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .account-nav a,
    .account-nav button {
        border-bottom: 0;
        border-right: 1px solid #eceef1;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .account-shell,
    .account-auth-shell {
        padding: 30px 0 44px;
    }

    .account-heading {
        align-items: flex-start;
        gap: 18px;
    }

    .account-heading-actions {
        justify-content: flex-end;
    }

    .account-heading-profile {
        align-items: flex-start;
    }

    .account-heading h1,
    .account-auth-intro h1 {
        font-size: 26px;
    }

    .account-shop-link span {
        display: none;
    }

    .account-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-nav a,
    .account-nav button {
        justify-content: flex-start;
    }

    .account-section-heading,
    .order-summary-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .account-section-heading-filter .account-filter {
        width: 100%;
    }

    .account-service-grid {
        grid-template-columns: 1fr;
    }

    .account-filter select {
        flex: 1;
    }

    .order-tracker {
        align-items: stretch;
        grid-template-columns: 42px 1fr;
        margin-top: 26px;
    }

    .order-track-step {
        display: grid;
        grid-column: 1 / 3;
        grid-template-columns: 42px 1fr;
        text-align: left;
    }

    .order-track-step span {
        grid-row: 1 / 3;
        margin: 0;
    }

    .order-track-step strong,
    .order-track-step small {
        padding-left: 12px;
    }

    .order-track-line {
        height: 28px;
        margin: 0 0 0 20px;
        width: 3px;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .order-detail-grid > div:nth-child(odd) {
        padding-right: 0;
    }

    .account-auth-panel {
        padding: 25px 20px;
    }

    .account-auth-shell .container {
        max-width: 100%;
        overflow: hidden;
        width: 100%;
    }

    .account-auth-panel form,
    .account-auth-intro,
    .account-auth-switch {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .profile-image-editor {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .account-stats {
        grid-template-columns: 1fr;
    }

    .wallet-balance-panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .wallet-method-grid {
        grid-template-columns: 1fr;
    }

    .account-heading {
        flex-direction: column;
    }

    .account-heading-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .account-wallet-pill,
    .account-shop-link {
        width: 100%;
    }
}
