/* Local customer UI polish. Existing layout and payment behaviour remain unchanged. */
/* Test-only account view selector. */
.home-role-switch{padding:0;margin:20px 0;}
.home-role-switch__card{gap:16px;padding:16px 18px;border:1px solid #e3e9f0;border-radius:10px;background:#fff;box-shadow:none;}
.home-role-switch__copy{max-width:660px;}
.home-role-switch__eyebrow{display:inline-flex;align-items:center;gap:5px;margin-bottom:6px;padding:3px 6px;border:1px solid #e1e7f0;border-radius:4px;background:#f4f7fb;color:#6b7e96;font-size:9px;font-weight:500;line-height:1.4;}
.home-role-switch__copy strong{margin:0 0 5px;font-size:14px;font-weight:600;line-height:1.45;color:#334155;}
.home-role-switch__copy p{font-size:11px;line-height:1.65;color:#7b8798;}
.home-role-switch__copy .home-role-switch__description{margin-top:6px;font-size:11px;line-height:1.7;color:#7b8798;}
.home-role-switch__current{display:inline-flex;padding:1px 5px;border-radius:4px;background:#eef5fc;color:#4274a6;font-size:10px;font-weight:500;}
.home-role-switch__control{flex:none;cursor:pointer;}
.home-role-switch__toggle{gap:8px;}
.home-role-switch__toggle-text{font-size:10px;font-weight:500;}
.home-role-switch__toggle-track{width:44px;height:26px;box-shadow:none;}
.home-role-switch__toggle-thumb{top:3px;left:3px;width:20px;height:20px;box-shadow:0 1px 3px rgba(30,45,65,.14);}
.home-role-switch__control input:checked+.home-role-switch__toggle .home-role-switch__toggle-thumb{transform:translateX(18px);}
.home-role-switch__control input:checked+.home-role-switch__toggle .home-role-switch__toggle-track{background:#52789f;}
.home-role-switch__control input:focus-visible+.home-role-switch__toggle .home-role-switch__toggle-track{outline:2px solid #9cb6d1;outline-offset:3px;}
/* Shared warning in every payment entry point. */
.customer-test-notice{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:13px 15px;border:1px solid #f0dfb8;border-radius:9px;background:#fffaf0;color:#8c6d33;}
.customer-test-notice__icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:7px;background:#fff0d2;color:#b1812e;font-size:14px;}
.customer-test-notice>div{min-width:0;}
.customer-test-notice strong{display:block;margin:0 0 3px;font-size:12px;font-weight:600;line-height:1.5;color:#916821;}
.customer-test-notice p{margin:0;font-size:11px;font-weight:400;line-height:1.7;color:#8c7850;}
/* Short, contextual help underneath a page. */
.page-guide-alert{margin:20px 0 6px;}
.page-guide-alert__box{padding:15px 17px;border:1px solid #e2e9f2;border-radius:10px;background:#f8fafd;box-shadow:none;color:#72839a;}
.page-guide-alert__heading{display:flex;align-items:center;gap:8px;margin-bottom:9px;}
.page-guide-alert__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;height:25px;border-radius:6px;background:#edf2f8;color:#6b86a8;font-size:13px;}
.page-guide-alert__title{margin:0;font-size:12px;font-weight:600;line-height:1.5;color:#536984;}
.page-guide-alert__list{padding-left:18px;margin:0;}
.page-guide-alert__list li{margin:0 0 5px;padding-left:2px;font-size:11px;font-weight:400;line-height:1.75;color:#72839a;}
.page-guide-alert__list li::marker{color:#9aafc6;}
/* Guest introduction: concise content, same position beneath the entry links. */
.homepage-service-overview{margin:26px 0 22px;}
.homepage-service-overview__card{max-width:1100px;padding:25px;border:1px solid #e4eaf1;border-radius:13px;background:#fff;box-shadow:0 4px 18px rgba(30,48,68,.035);color:#53677f;}
.homepage-service-overview__eyebrow{margin-bottom:10px;padding:4px 7px;border-radius:4px;background:#f1f5fa;color:#7890ab;font-size:9px;font-weight:500;letter-spacing:.03em;}
.homepage-service-overview__card h2{max-width:650px;margin:0 0 10px;font-size:23px;font-weight:600;letter-spacing:-.45px;line-height:1.4;color:#33465e;}
.homepage-service-overview__card p{font-size:12px;line-height:1.85;color:#7a889b;}
.homepage-service-overview__intro{max-width:740px;margin-bottom:18px;}
.homepage-service-overview__features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.homepage-service-overview__feature{padding:15px;border:1px solid #e8edf3;border-radius:9px;background:#fafbfd;min-width:0;}
.homepage-service-overview__feature-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin-bottom:10px;border-radius:7px;background:#edf2f8;color:#7b93b1;font-size:15px;}
.homepage-service-overview__card h3{margin:0 0 7px;font-size:13px;font-weight:600;letter-spacing:0;line-height:1.5;color:#526a87;}
.homepage-service-overview__feature p{margin:0;font-size:11px;line-height:1.75;}
.homepage-service-overview__steps{margin-top:18px;padding-top:17px;border-top:1px solid #edf0f4;}
.homepage-service-overview__steps ol{margin:0;padding-left:20px;color:#7a889b;}
.homepage-service-overview__steps li{padding-left:3px;margin:5px 0;font-size:11px;line-height:1.7;}
.homepage-service-overview__card .homepage-service-overview__footnote{margin:16px 0 0;font-size:10px;color:#97a1af;}
/* Restrained typography for the existing customer order and checkout layouts. */
:is(.orders-view,.customer-order-create,.payment-wizard)>h1,
.orders-view .orders-header h1,.payment-wizard__header :is(h1,h2){font-size:22px;letter-spacing:-.45px;line-height:1.4;}
.customer-order-create :is(.form-label,.form-control){font-size:12px;font-weight:500;}
.customer-order-create .form-control{border-color:#e1e7ef;border-radius:7px;box-shadow:none;min-height:42px;}
.customer-order-create .form-control:focus{border-color:#9cb2cb;outline:2px solid #edf2f8;}
.customer-order-create .text-muted,.customer-order-create form p{font-size:12px;line-height:1.7;}
.customer-order-create #selected_product_price_note{font-size:15px!important;border:1px solid #e4e9f0;border-radius:7px;padding:10px;color:#4c617c;}
.customer-order-create .btn{font-size:12px;padding:10px 13px;border-radius:7px;}
.payment-wizard__header p{font-size:12px;line-height:1.7;}
.payment-wizard .form-label{font-size:11px;font-weight:500;}
.payment-wizard .form-control{font-size:13px;box-shadow:none;}
.payment-wizard .payment-summary-item__label{font-size:10px;font-weight:500;}
.payment-wizard .payment-summary-item__value{font-size:13px;font-weight:600;}
@media(max-width:767px){
    .home-role-switch__card{padding:13px 14px;gap:12px;}
    .home-role-switch__copy strong{font-size:13px;}
    .customer-test-notice{padding:11px 12px;gap:9px;margin-bottom:14px;}
    .page-guide-alert__box{padding:13px 14px;}
    .homepage-service-overview__card{padding:18px 15px;border-radius:10px;}
    .homepage-service-overview__features{grid-template-columns:1fr;gap:9px;}
    .homepage-service-overview__card h2{font-size:20px;}
    .homepage-service-overview__feature{padding:13px;}
    :is(.orders-view,.customer-order-create,.payment-wizard)>h1,.orders-view .orders-header h1,.payment-wizard__header :is(h1,h2){font-size:20px;}
    .customer-order-create .btn{min-height:42px;}
}
@media(prefers-reduced-motion:reduce){.home-role-switch__toggle-track,.home-role-switch__toggle-thumb{transition:none;}}
/* Customer modals retain their tabs and existing actions. */
:is(.balance-topup-modal,.user-order-modal) .modal-content{border:1px solid #e3e9f0;border-radius:12px;box-shadow:0 18px 55px rgba(30,48,68,.15);overflow:hidden;}
:is(.balance-topup-modal,.user-order-modal) .modal-header{padding:18px 20px;border-bottom:1px solid #e9edf3;background:#fff;}
:is(.balance-topup-modal,.user-order-modal) .modal-title{margin:0;padding-right:30px;border:0;color:#33465e;font-size:18px;font-weight:600;letter-spacing:-.35px;line-height:1.45;text-transform:none;overflow-wrap:anywhere;}
:is(.balance-topup-modal,.user-order-modal) .modal-header .close{font-size:25px;color:#8591a1;opacity:.8;}
:is(.balance-topup-modal,.user-order-modal) .modal-body{padding:18px 20px;color:#60718a;font-size:12px;}
:is(.balance-topup-modal,.user-order-modal) .modal-footer{padding:13px 20px;border-top:1px solid #e9edf3;background:#fafbfd;gap:8px;}
:is(.balance-topup-modal,.user-order-modal) .btn{padding:9px 13px;border-radius:7px;font-size:12px;font-weight:500;line-height:1.5;box-shadow:none;}
:is(.balance-topup-modal,.user-order-modal) .form-control{border-color:#e0e7ef;border-radius:7px;font-size:12px;box-shadow:none;}
:is(.balance-topup-modal,.user-order-modal) :is(label,.form-label){font-size:11px;font-weight:500;}
.balance-topup-modal :is(.balance-topup-modal__intro,.balance-topup-modal__order-note,.balance-topup-selected){font-size:11px;line-height:1.7;}
.balance-topup-modal .payment-method-card__title{font-size:13px;}
.balance-topup-modal .crypto-choice-card__name{font-size:13px;}
.balance-topup-modal .crypto-choice-card__logo img{max-width:34px;max-height:34px;}
.balance-topup-modal .crypto-choice-card__network{font-size:9px;margin-top:3px;}
.balance-topup-modal .balance-topup-amount-input{min-height:44px;height:44px;font-size:16px;}
.balance-topup-modal .balance-topup-preset{padding:7px 11px;min-width:58px;border-radius:6px;font-size:11px;}
.balance-topup-modal .balance-topup-submit{min-height:44px;}
.user-order-modal .user-order-modal__summary{margin-top:9px;gap:5px;}
.user-order-modal .user-order-modal__summary-chip{padding:3px 6px;border:1px solid #e2e8f0;border-radius:4px;background:#f5f7fa;color:#6b7e96;font-size:10px;font-weight:500;}
.user-order-modal .user-order-modal__tabs{gap:4px;border-color:#e6ebf2;}
.user-order-modal .user-order-modal__tabs .nav-link{padding:8px 11px;border-radius:6px 6px 0 0;font-size:11px;font-weight:500;}
.user-order-modal .user-order-modal__tabs .nav-link.active{background:#f4f7fb;border-color:#e3e9f1;color:#4e6e94;}
.user-order-modal .user-order-modal__stack{gap:12px;}
.user-order-modal .user-order-modal__section{border-color:#e5eaf1;border-radius:8px;box-shadow:none;padding:13px;}
.user-order-modal :is(.user-order-modal__section-title,.user-order-modal__status-value){font-size:12px;letter-spacing:0;}
.user-order-modal .user-order-modal__readonly{min-height:39px;font-size:12px;background:#fafbfd;}
.user-order-modal :is(.alert,.user-order-modal__header-alert){padding:11px 13px;border-radius:7px;font-size:11px;font-weight:400;line-height:1.7;}
@media(max-width:767px){
    :is(.balance-topup-modal,.user-order-modal) .modal-dialog{margin:10px;max-width:calc(100% - 20px);}
    :is(.balance-topup-modal,.user-order-modal) .modal-header{padding:15px;}
    :is(.balance-topup-modal,.user-order-modal) .modal-title{font-size:16px;}
    :is(.balance-topup-modal,.user-order-modal) .modal-body{padding:15px;}
    :is(.balance-topup-modal,.user-order-modal) .modal-footer{padding:12px 15px;}
    :is(.balance-topup-modal,.user-order-modal) .btn{min-height:40px;}
}

.home_buttons .one_box--custom-page .one_box__page-logo{display:block;width:34px;height:34px;object-fit:contain;margin:0 auto 9px;}
.home_buttons .one_box--custom-page .title{overflow-wrap:anywhere;}

:is(.balance-topup-modal,.payment-wizard) .payment-step__head h4{margin:4px 0 12px;font-size:15px;font-weight:600;letter-spacing:0;line-height:1.5;text-transform:none;color:#52677f;}
:is(.balance-topup-modal,.payment-wizard) .payment-step__label{font-size:9px;font-weight:500;letter-spacing:.04em;color:#93a0b1;}
.balance-topup-modal .payment-method-start__button{min-height:46px;padding:12px 15px;border-radius:8px;font-size:13px;line-height:1.5;box-shadow:none;}
.balance-topup-modal .balance-topup-step__head{margin-bottom:10px;}
.balance-topup-modal .payment-step__head h4{margin-bottom:0;}
.balance-topup-modal .payment-method-start__buttons{margin:0;}
.balance-topup-modal .payment-method-start__button{margin:0;}
.balance-topup-modal [data-balance-topup-next="amount"]{scroll-margin-block:20px;}
.balance-topup-modal .payment-method-hero__image{max-height:68px;object-fit:contain;}
.balance-topup-modal .balance-topup-modal__order-note{padding:10px 12px;border:1px solid #e6ebf1;border-radius:7px;background:#fafbfd;color:#79879b;font-weight:400;}
.balance-topup-modal .balance-topup-modal__order-link{color:#557da8;font-weight:500;}
@media(max-width:767px){:is(.customer-order-create,.payment-wizard,.balance-topup-modal) .form-control:not([readonly]){font-size:16px;}}

/* News remains a full article feed, with the same content and detail URLs. */
.customer-news>h1{font-size:22px;line-height:1.4;letter-spacing:-.45px;}
.customer-news #news{display:grid;gap:18px;margin-top:22px;}
.customer-news #news .news_inner{min-width:0;margin:0;padding:23px 25px;border:1px solid #e4e9ef;border-radius:10px;background:#fff;box-shadow:none;font-family:inherit;color:#526174;overflow-wrap:anywhere;}
.customer-news #news .news_inner.active{border-color:#e4e9ef;}
.customer-news #news .news_title,
.customer-news #news .news_inner.active .news_title{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;}
.customer-news__meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 15px;margin-bottom:10px;color:#8a97a8;font-size:11px;font-weight:400;line-height:1.6;}
.customer-news__meta :is(.customer-news__date,.customer-news__author){display:inline-flex;align-items:center;gap:6px;min-width:0;}
.customer-news__meta i{flex:none;color:#9aa8b9;font-size:11px;}
.customer-news__author span{overflow-wrap:anywhere;}
.customer-news #news .news-new-badge{margin:0;padding:2px 6px;border:1px solid #f3dfb4;border-radius:4px;background:#fff6e5;color:#a77926;font-size:9px;font-weight:500;line-height:1.5;}
.customer-news #news .news_title h2{max-width:44em;margin:0;padding:0;border:0;font-size:19px;font-weight:600;letter-spacing:-.35px;line-height:1.45;text-transform:none;}
.customer-news #news .news_title h2 a{font:inherit;color:#33465e;text-decoration:none;transition:color .15s ease;}
.customer-news #news .news_title h2 a:hover{color:#557da8;}
.customer-news #news .news_title h2 a:focus-visible{outline:2px solid #9cb6d1;outline-offset:4px;border-radius:2px;}
.customer-news #news .news_content{max-width:80ch;margin:14px 0 0;padding:15px 0 0;border-top:1px solid #eef1f5;color:#64748b;font-family:inherit;font-size:12px;line-height:1.85;}
.customer-news #news .news_content p{margin:0 0 12px;font-size:inherit;line-height:inherit;}
.customer-news #news .news_content>:first-child{margin-top:0;}
.customer-news #news .news_content>:last-child{margin-bottom:0;}
.customer-news #news .news_content :is(h1,h2,h3,h4,h5,h6){margin:20px 0 10px;padding:0;border:0;color:#405672;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:0;text-align:left;text-transform:none;}
.customer-news #news .news_content :is(ul,ol){margin:0 0 12px;padding-left:22px;}
.customer-news #news .news_content li{margin-bottom:5px;}
.customer-news #news .news_content blockquote{margin:16px 0;padding:10px 14px;border-left:3px solid #d9e3ef;border-radius:0 6px 6px 0;background:#f8fafd;color:#74869c;font-size:inherit;}
.customer-news #news .news_content :is(img,video,iframe){max-width:100%;border-radius:8px;}
.customer-news #news .news_content iframe{width:100%;aspect-ratio:16/9;height:auto;}
.customer-news #news .news_content a{color:#557da8;text-underline-offset:3px;}
.customer-news #news .news_content pre{max-width:100%;overflow:auto;font-size:11px;}
.customer-news__empty{display:flex;flex-direction:column;align-items:center;gap:12px;margin:22px 0;padding:38px 18px;border:1px solid #e5eaf0;border-radius:10px;background:#fafbfd;text-align:center;color:#8a97a8;}
.customer-news__empty>i{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#eef3f9;color:#8095af;font-size:21px;}
.customer-news__empty p{margin:0;font-size:12px;line-height:1.7;}
@media(max-width:767px){
    .customer-news>h1{font-size:20px;}
    .customer-news #news{gap:13px;margin-top:17px;}
    .customer-news #news .news_inner{padding:17px 16px;border-radius:8px;}
    .customer-news__meta{gap:6px 12px;font-size:10px;margin-bottom:8px;}
    .customer-news #news .news_title h2{font-size:16px;letter-spacing:-.2px;line-height:1.5;}
    .customer-news #news .news_content{margin-top:12px;padding-top:12px;font-size:12px;line-height:1.8;}
}
@media(prefers-reduced-motion:reduce){.customer-news #news .news_title h2 a{transition:none;}}

/* Customer payment receipts: match the quiet article cards and keep status explicit. */
.customer-payment-history__heading{margin:23px 0 15px;}
.customer-payment-history__heading h2{font-size:20px;letter-spacing:-.35px;color:#33465e;}
.customer-payment-history__heading p{font-size:11px;line-height:1.75;color:#8a97a8;}
.customer-payment-history #tickets{gap:14px;}
.customer-payment-history #tickets .table_ticket{padding:20px;gap:14px;border-color:#e4e9ef;border-radius:10px;background:#fff;box-shadow:none;}
.customer-payment-history #tickets .table_ticket>.logo{padding-top:1px;}
.customer-payment-history__asset>strong{font-size:13px;color:#33465e;}
.customer-payment-history__asset>span{border-radius:4px;}
.customer-payment-history #tickets .table_ticket .amount>strong{font-size:15px;font-weight:600;color:#405672;}
.customer-payment-history #tickets .table_ticket .amount>span{font-size:10px;line-height:1.7;}
.customer-payment-history #tickets .table_ticket p.desc{flex-wrap:wrap;gap:6px 8px;margin:8px 0 12px;font-size:10px;line-height:1.7;}
.customer-payment-history #tickets .table_ticket p.desc>i{color:#9aa8b9;}
.customer-payment-history #tickets .table_ticket p.desc>span:first-of-type{white-space:nowrap;}
.customer-payment-history__purpose-badge{display:inline-flex;max-width:100%;padding:2px 6px;border:1px solid #e3eaf4;border-radius:4px;background:#f4f7fc;color:#7b8fa9;font-size:9px;font-weight:500;line-height:1.5;overflow-wrap:anywhere;}
.customer-payment-history #tickets .table_ticket .status{gap:7px;min-height:28px;}
.customer-payment-history #tickets .table_ticket .status>span:not(.customer-payment-history__wallet){max-width:100%;padding:4px 7px;border:1px solid #d2e8dc;border-radius:4px;background:#edf8f1;color:#278553;font-size:10px;font-weight:500;line-height:1.5;}
.customer-payment-history #tickets .table_ticket .status>span>i{flex-shrink:0;}
.customer-payment-history #tickets .table_ticket .status>span.is-expired{border-color:#f0dfbf;background:#fff7e9;color:#b27c28;}
.customer-payment-history #tickets .table_ticket .status>span:is(.is-cancelled,.is-rejected,.is-failed){border-color:#f2cbd0;background:#fff1f3;color:#ce4459;}
.customer-payment-history #tickets .table_ticket .status>span.is-archived{border-color:#dfe5ed;background:#f4f6f9;color:#748299;}
.customer-payment-history #tickets .table_ticket .status>span.is-detected{border-color:#cce6d8;background:#edf8f1;color:#278553;}
.customer-payment-history #tickets .table_ticket .payments-crypto-remove-form{top:auto;bottom:0;}
.customer-payment-history .table_ticket .content:has(.payments-crypto-remove-form) .customer-payment-history__topline{padding-right:0;}
.customer-payment-history .table_ticket .content:has(.payments-crypto-remove-form) .status{padding-right:65px;}
.customer-payment-history #tickets .table_ticket .remove{min-height:28px;padding:4px 8px;border-radius:5px;font-size:10px;}
.customer-payment-history__wallet{margin-top:5px;padding-top:10px;}
.customer-payment-history #tickets .table_ticket .table-ticket__explorer-link{width:29px;height:29px;flex-basis:29px;}
@media(max-width:767px){
    .customer-payment-history__heading h2{font-size:18px;}
    .customer-payment-history #tickets{gap:11px;}
    .customer-payment-history #tickets .table_ticket{grid-template-columns:27px minmax(0,1fr);padding:15px 13px;gap:10px;border-radius:8px;}
    .customer-payment-history__asset{gap:4px;}
    .customer-payment-history__asset>strong{font-size:12px;}
    .customer-payment-history #tickets .table_ticket .amount>strong{font-size:13px;}
    .customer-payment-history #tickets .table_ticket .amount>span{font-size:9px;}
    .customer-payment-history #tickets .table_ticket p.desc{gap:6px;margin:8px 0 10px;}
    .customer-payment-history #tickets .table_ticket .remove{min-height:34px;padding:6px 9px;}
    .customer-payment-history #tickets .table_ticket .status{min-height:34px;}
}

/* Purchase form: retain the same steps, fields and text. */
.customer-order-create__form{max-width:900px;margin:20px 0 0;padding:24px;border:1px solid #e4e9ef;border-radius:10px;background:#fff;}
.customer-order-create__intro{align-items:center;margin-bottom:20px;}
.customer-order-create__intro .col-auto img{width:34px;height:34px;object-fit:contain;}
.customer-order-create__intro .text-muted{max-width:650px!important;font-size:11px;line-height:1.8;color:#8190a3!important;}
.customer-order-create__form .form-group{margin:0 0 18px;}
.customer-order-create__form .form-group>[class*="col-lg-"]{width:100%;padding:0;}
.customer-order-create__form .form-label{margin:0 0 8px;font-size:11px;font-weight:500;color:#6e8098;}
.customer-order-create__form .form-control{font-size:12px;font-weight:400;color:#405672;background:#fff;}
.customer-order-create__form select.form-control{padding:10px 12px;min-height:44px;}
.customer-order-create__form textarea.form-control{padding:12px;min-height:100px;line-height:1.8;resize:vertical;}
.customer-order-create__form .form-control::placeholder{color:#a0aaba;font-weight:400;}
.customer-order-create__form .order-product-picker{gap:9px;}
.customer-order-create__form .order-product-picker__option{padding:13px 14px;gap:12px;border:1px solid #e3e9f1;border-radius:8px;transition:border-color .15s ease,background .15s ease;}
.customer-order-create__form .order-product-picker__option:hover{border-color:#b9c9dc;background:#fafbfd;transform:none;}
.customer-order-create__form .order-product-picker__option.is-active{border-color:#6f8ead;background:#f4f8fc;box-shadow:inset 3px 0 #6f8ead;transform:none;}
.customer-order-create__form .order-product-picker__option:focus-visible{outline:2px solid #9cb6d1;outline-offset:3px;}
.customer-order-create__form .order-product-picker__title{font-size:12px;font-weight:600;letter-spacing:0;line-height:1.6;overflow-wrap:anywhere;color:#405672;}
.customer-order-create__form .order-product-picker__logo{width:26px;height:26px;flex-basis:26px;}
.customer-order-create__form .order-product-picker__badge{min-height:23px;padding:3px 6px;border:1px solid #e4eaf1;border-radius:4px;font-size:10px;font-weight:500;line-height:1.5;}
.customer-order-create__form .order-product-picker__badge--dark{border-color:#d9e4ef;background:#edf3f9;color:#4f7195;}
.customer-order-create__form .order-product-picker__description-title{font-size:11px;font-weight:500;color:#74869e;}
.customer-order-create__form .order-product-picker__description{padding:14px;border:1px solid #e7ecf2;border-radius:8px;background:#fafbfd;font-size:12px;line-height:1.8;color:#718198;}
.customer-order-create__form #selected_product_price_note{margin:14px 0 0!important;padding:12px 14px;border-color:#dce8e1;background:#f4faf6;color:#3f8060!important;font-size:14px!important;font-weight:600;}
.customer-order-create__form hr{margin:20px 0;border-color:#e6ebf2;opacity:1;}
.customer-order-create__form .form-group:last-child{margin-bottom:0;}
.customer-order-create__form .form-group>div:has(>#add_product){display:flex;align-items:center;justify-content:space-between;gap:12px;}
.customer-order-create__form .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border:1px solid #e1e7ef;border-radius:7px;font-size:12px;}
.customer-order-create__form .btn-default{background:#f8fafc;color:#7b8ba0;}
.customer-order-create__form .btn-dark{border-color:#263344;background:#263344;color:#fff;}
.customer-order-create__form .btn:disabled{opacity:.4;}
/* Quiet prompt on the customer's Add new action. */
.orders-header button[name="order_add"]{animation:customer-add-order-pulse 3s ease-in-out infinite;}
.orders-header button[name="order_add"]:is(:hover,:focus-visible){animation:none;}
@keyframes customer-add-order-pulse{0%,100%{box-shadow:0 0 0 0 rgba(88,111,143,0);}45%{box-shadow:0 0 0 5px rgba(88,111,143,.14);}70%{box-shadow:0 0 0 8px rgba(88,111,143,0);}}
/* Compact cryptocurrency selector, keeping the complete asset and network labels. */
.payment-wizard .crypto-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card{min-width:0;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__inner{height:100%;min-height:112px;padding:12px 8px;border:1px solid #e1e7ef;border-radius:8px;background:#fff;box-shadow:none;transition:border-color .15s ease,background .15s ease;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__logo{width:32px;height:32px;margin-bottom:9px;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__logo img{max-width:32px;max-height:32px;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__name{font-size:12px;font-weight:500;line-height:1.5;color:#405672;overflow-wrap:anywhere;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__network{margin-top:4px;font-size:8px;font-weight:500;line-height:1.6;letter-spacing:0;color:#8a98aa;overflow-wrap:anywhere;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__meta{font-size:9px;line-height:1.5;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card input:checked+.crypto-choice-card__inner{border-color:#7290af;background:#f3f7fc;box-shadow:inset 0 0 0 1px #7290af;transform:none;}
:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card input:focus-visible+.crypto-choice-card__inner{outline:2px solid #9cb6d1;outline-offset:3px;}
.payment-wizard .payment-wizard__section-head h3{font-size:18px;font-weight:600;letter-spacing:-.25px;color:#33465e;line-height:1.5;}
.payment-wizard .payment-wizard__section-head p{font-size:12px;line-height:1.7;color:#8290a3;}
.payment-wizard .payment-method-start__buttons{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0;}
.payment-wizard .payment-method-start__button{min-width:0;min-height:46px;margin:0;padding:12px 16px;border:1px solid #263344;border-radius:8px;font-size:13px;gap:9px;}
.payment-wizard .payment-method-hero__image{max-width:350px;max-height:85px;object-fit:contain;}
.payment-wizard .payment-method-start__cancel .btn{min-width:0;padding:10px 15px;border-radius:7px;font-size:12px;}
/* Pair the existing countdown with the QR for immediate visibility. */
.payment-wizard .payment-request-card{margin:20px 0;padding:24px;border:1px solid #e4e9ef;border-radius:10px;background:#fff;box-shadow:none;}
.payment-wizard .payment-request-card__layout--crypto{gap:26px;align-items:flex-start;}
.payment-wizard .payment-request-qr{flex:0 0 240px;max-width:240px;width:240px;}
.payment-wizard .payment-request-qr__image{width:100%;height:auto;aspect-ratio:1;object-fit:contain;padding:10px;border:1px solid #e5eaf1;border-radius:9px;background:#fff;}
.payment-wizard .payment-request-card__head{gap:11px;margin-bottom:18px;}
.payment-wizard .payment-request-card__head img{width:38px;height:38px;}
.payment-wizard .payment-request-crypto-title{gap:7px;white-space:normal;flex-wrap:wrap;font-size:17px;font-weight:600;line-height:1.5;color:#33465e;}
.payment-wizard .crypto-ticker-badge{padding:3px 5px;border:1px solid #e3e9f1;border-radius:4px;background:#f4f7fa;color:#8090a5;font-size:9px;font-weight:500;letter-spacing:0;}
.payment-wizard .payment-request-card__head p{margin-top:3px;font-size:10px;color:#8996a8;}
.payment-wizard .payment-request-grid{gap:15px 18px;}
.payment-wizard .payment-request-grid>div{min-width:0;}
.payment-wizard .payment-request-label{margin-bottom:5px;font-size:9px;font-weight:500;letter-spacing:.025em;line-height:1.6;color:#8b99aa;}
.payment-wizard .payment-request-value{font-size:13px;line-height:1.8;font-weight:500;color:#405672;overflow-wrap:anywhere;}
.payment-wizard .payment-request-value--break{padding:10px 12px;border:1px solid #e5ebf2;border-radius:7px;background:#fafbfd;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.8;}
.payment-wizard .payment-copyable{max-width:100%;line-height:inherit;}
.payment-wizard .payment-copyable:focus-visible{outline:2px solid #9cb6d1;outline-offset:3px;border-radius:3px;}
.payment-wizard .payment-copy-feedback{font-size:10px;color:#278553;}
.payment-wizard .payment-request-countdown{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-top:12px;padding:12px;border:1px solid #e5eaf1;border-radius:8px;background:#fafbfd;text-align:center;}
.payment-wizard .payment-request-countdown__label{margin:0;font-size:10px;font-weight:500;letter-spacing:0;line-height:1.6;color:#8795a8;}
.payment-wizard .payment-request-countdown__value{padding:0;font-size:24px;line-height:1.3;font-weight:600;font-variant-numeric:tabular-nums;color:#bd5764;}
.payment-wizard .payment-request-countdown.is-expired .payment-request-countdown__value{font-size:13px;line-height:1.6;color:#bd5764;}
.payment-wizard .payment-request-actions{gap:9px;margin-top:16px;align-items:center;}
.payment-wizard .payment-request-actions .btn,.payment-wizard .payment-wizard__back{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 13px;border-radius:7px;font-size:11px;line-height:1.6;}
.payment-wizard .payment-request-actions .payment-request-cancel-form{width:auto;}
.payment-wizard .payment-request-actions .payment-request-cancel-form .btn{background:#fff4f5;border:1px solid #f0cdd2;color:#bb5363;}
.payment-wizard .payment-request-cancel-hint{flex-basis:100%;margin:2px 0 0;font-size:10px;line-height:1.75;text-align:left;}
.payment-wizard .payment-crypto-alert__extra{font-size:10px;font-weight:500;line-height:1.8;}
/* All customer alerts share the same icon tile, rhythm and severity palette. */
.alert[class*="alert-"]{--customer-alert-bg:#f5f8fc;--customer-alert-border:#dde7f2;--customer-alert-text:#6d83a0;--customer-alert-icon-bg:#eaf0f8;--customer-alert-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%236d83a0%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%209v6M10%205h.01%22%2F%3E%3C%2Fsvg%3E");position:relative;display:block;clear:both;max-width:100%;padding:13px 15px 13px 56px;border:1px solid var(--customer-alert-border);border-radius:9px;background:var(--customer-alert-bg);color:var(--customer-alert-text);font-size:11px;font-weight:400;line-height:1.8;text-align:left;overflow-wrap:anywhere;box-shadow:none;}
.alert.alert-warning{--customer-alert-bg:#fffbf2;--customer-alert-border:#f0dfb3;--customer-alert-text:#92713a;--customer-alert-icon-bg:#fff0ce;--customer-alert-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%2392713a%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%204v8M10%2016h.01%22%2F%3E%3C%2Fsvg%3E");}
.alert.alert-danger{--customer-alert-bg:#fff4f5;--customer-alert-border:#f1d5da;--customer-alert-text:#bb5b6b;--customer-alert-icon-bg:#fbe7eb;--customer-alert-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23bb5b6b%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%205%2010%2010M15%205%205%2015%22%2F%3E%3C%2Fsvg%3E");}
.alert.alert-success{--customer-alert-bg:#f1faf5;--customer-alert-border:#d6eade;--customer-alert-text:#468566;--customer-alert-icon-bg:#e1f2e8;--customer-alert-symbol:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20stroke%3D%22%23468566%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2010%204%204%208-8%22%2F%3E%3C%2Fsvg%3E");}
.alert[class*="alert-"]::before{content:'';position:absolute;top:13px;left:15px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:7px;background-color:var(--customer-alert-icon-bg);background-image:var(--customer-alert-symbol);background-position:center;background-size:14px;background-repeat:no-repeat;}
.alert[class*="alert-"]>strong{font-size:12px;font-weight:600;line-height:1.6;}
.alert[class*="alert-"] p{margin:5px 0 0;font-size:inherit;font-weight:400;line-height:inherit;text-align:left;}
.alert[class*="alert-"]>:last-child{margin-bottom:0;}
.alert[class*="alert-"]>.fa:first-child,.alert[class*="alert-"]>strong:first-child>.fa:first-child{display:none;}
.alert.alert-dismissible{padding-right:40px;}
.alert.alert-dismissible>button.close{top:7px;right:9px;}
.orders-view .orders-header__warning-icon{display:none;}
.orders-view .orders-header__warning{padding-left:56px;}
/***** The page guide has its own icon/header; isolate it from preceding floated content. *****/
.page-guide-alert{clear:both;display:flow-root;width:100%;}
.alert.page-guide-alert__box{display:flow-root;padding:15px 17px;border-color:#e2e9f2;background:#f8fafd;color:#72839a;text-align:left;}
.alert.page-guide-alert__box::before{content:none;}
.page-guide-alert__heading{justify-content:flex-start;text-align:left;float:none;margin:0 0 9px;}
.page-guide-alert__list{display:block;float:none;width:auto;margin:0;padding:0 0 0 18px;text-align:left;}
.page-guide-alert__list>li{display:list-item;float:none;width:auto;margin:0 0 5px;padding:0 0 0 2px;font-size:11px;font-weight:400;line-height:1.75;text-align:left;}
@media(min-width:1200px){.payment-wizard .crypto-choice-grid{grid-template-columns:repeat(6,minmax(0,1fr));}}
@media(min-width:1600px){.payment-wizard .crypto-choice-grid{grid-template-columns:repeat(8,minmax(0,1fr));}.payment-wizard .payment-request-qr{width:270px;max-width:270px;flex-basis:270px;}}
@media(max-width:991px){
    .payment-wizard .payment-request-card__layout--crypto{flex-direction:column;gap:20px;}
    .payment-wizard .payment-request-qr{width:min(100%,270px);max-width:270px;flex:0 0 auto;}
    .payment-wizard .payment-request-main{width:100%;}
    .payment-wizard .payment-request-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .payment-wizard .payment-request-actions>*{width:auto;}
    .payment-wizard .payment-request-actions>.payment-request-cancel-hint{width:100%;}
    .payment-wizard .crypto-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:767px){
    .customer-order-create__form{margin-top:16px;padding:16px 14px;border-radius:8px;}
    .customer-order-create__intro{margin-bottom:17px;}
    .customer-order-create__form .order-product-picker__option{flex-wrap:wrap;padding:12px;gap:8px;}
    .customer-order-create__form .order-product-picker__summary{flex-basis:100%;}
    .customer-order-create__form .order-product-picker__meta{justify-content:flex-start;margin-left:0;}
    .customer-order-create__form .form-control{font-size:16px;}
    .customer-order-create__form .form-group>div:has(>#add_product){gap:8px;}
    .customer-order-create__form .btn{padding:10px 12px;font-size:11px;}
    .payment-wizard .crypto-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .payment-wizard .payment-request-card{padding:16px 13px;border-radius:8px;}
    .payment-wizard .payment-request-qr{width:min(100%,250px);max-width:250px;}
    .payment-wizard .payment-request-card__layout--crypto{gap:20px;}
    .payment-wizard .payment-request-grid{gap:13px;}
    .payment-wizard .payment-request-value{font-size:12px;}
    .payment-wizard .payment-request-value--break{font-size:12px;padding:9px 10px;}
    .payment-wizard .payment-request-countdown__value{font-size:23px;}
    .payment-wizard .payment-method-start__buttons{flex-direction:column;}
    .payment-wizard .payment-method-start__button{font-size:12px;}
    .alert[class*="alert-"]{padding:12px 12px 12px 50px;font-size:11px;}
    .alert[class*="alert-"]::before{top:12px;left:12px;width:26px;height:26px;font-size:13px;}
    .alert.page-guide-alert__box{padding:13px 14px;}
    .page-guide-alert__list>li{font-size:11px;}
    .orders-view .orders-header__warning{padding-left:50px;}
}
@media(prefers-reduced-motion:reduce){.orders-header button[name="order_add"]{animation:none;} .customer-order-create__form .order-product-picker__option,:is(.payment-wizard,.balance-topup-modal) .crypto-choice-card__inner{transition:none;}}
/* Destructive action remains available, with a quiet outline treatment. */
.user-order-modal a.btn.remove{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;gap:7px;width:auto!important;min-width:108px;max-width:100%;min-height:40px;padding:9px 15px;border:1px solid #efcdd4;border-radius:7px;background:#fff7f8;color:#bc596b;font-size:11px;font-weight:500;line-height:1.6;box-shadow:none;}
.user-order-modal a.btn.remove:is(:hover,:focus-visible){border-color:#dda9b3;background:#fcebee;color:#a83f53;}
.user-order-modal a.btn.remove:focus-visible{outline:2px solid #efc5cf;outline-offset:3px;}
.user-order-modal a.btn.remove>.fa{font-size:13px;}
/* Remaining checkout steps use the same compact selection and summary language. */
.payment-wizard .payment-summary-bar{padding:12px;border:1px solid #e5eaf1;border-radius:9px;background:#fafbfd;gap:10px;box-shadow:none;}
.payment-wizard .payment-summary-item{padding:8px 10px;min-width:0;background:transparent;border:0;border-radius:6px;}
.payment-wizard .payment-summary-item__value{overflow-wrap:anywhere;line-height:1.7;}
.payment-wizard .payment-method-panel{margin-top:18px;padding:20px;border:1px solid #e4e9ef;border-radius:10px;background:#fff;}
.payment-wizard .payment-method-panel__toolbar{margin-bottom:18px;}
.payment-wizard .payment-method-back{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:7px;background:#fafbfd;color:#7a8ca2;font-size:11px;}
.payment-wizard .payment-step{margin-bottom:22px;}
.payment-wizard .payment-step__head{margin-bottom:12px;}
.payment-wizard .package-choice-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:9px;}
.payment-wizard .package-choice-chip{min-width:0;}
.payment-wizard .package-choice-chip>span{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;height:100%;padding:10px 12px;border:1px solid #e1e7ef;border-radius:7px;background:#fff;color:#6f8199;font-size:11px;font-weight:500;line-height:1.65;text-align:center;overflow-wrap:anywhere;}
.payment-wizard .package-choice-chip input:checked+span{border-color:#7290af;background:#f3f7fc;color:#45698d;box-shadow:inset 0 0 0 1px #7290af;}
.payment-wizard .package-choice-chip input:focus-visible+span{outline:2px solid #9cb6d1;outline-offset:3px;}
.payment-wizard .bank-choice-list{gap:10px;}
.payment-wizard .bank-choice-card{flex:1 1 250px;min-width:0;}
.payment-wizard .bank-choice-card__inner{min-width:0;padding:14px;border:1px solid #e1e7ef;border-radius:8px;gap:6px;overflow-wrap:anywhere;font-size:11px;line-height:1.7;color:#8190a4;}
.payment-wizard .bank-choice-card__inner>strong{font-size:12px;font-weight:600;color:#405672;}
.payment-wizard .bank-choice-card input:checked+.bank-choice-card__inner{border-color:#7290af;background:#f3f7fc;box-shadow:inset 0 0 0 1px #7290af;}
.payment-wizard .payment-step__hint{margin:16px 0;padding:13px 15px;border:1px solid #e5eaf2;border-radius:8px;background:#fafbfd;color:#8091a7;font-size:11px;line-height:1.8;}
.payment-wizard .payment-step__hint p{margin:0 0 5px;font-size:inherit;line-height:inherit;}
.payment-wizard .payment-step__hint p:last-child{margin-bottom:0;}
.payment-wizard .payment-balance-available{font-size:12px!important;font-weight:500;}
.payment-wizard .payment-step__actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px;}
.payment-wizard .payment-step__actions>.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:auto;padding:11px 16px;border-radius:7px;font-size:12px;font-weight:500;line-height:1.6;}
.payment-wizard button[name="create_crypto_payment"]{background:#fff0ae;color:#8b681b;border:1px solid #edd788;animation:none;}
.payment-wizard button[name="create_crypto_payment"]:hover{background:#ffe58b;border-color:#e5c65a;color:#725514;}
.payment-wizard button[name="create_balance_payment"]{background:#fbecee;color:#ad4f61;border:1px solid #edc9d0;}
.payment-wizard button[name="create_balance_payment"]:hover{background:#f8dfe4;color:#983d4e;}
@media(max-width:767px){
    .payment-wizard .payment-method-panel{padding:15px 13px;border-radius:8px;}
    .payment-wizard .package-choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
    .payment-wizard .package-choice-chip>span{padding:10px 8px;font-size:10px;}
    .payment-wizard .payment-step__hint{padding:12px;font-size:11px;}
    .payment-wizard .payment-step__actions>.btn{width:100%;font-size:11px;}
    .payment-wizard .payment-summary-bar{padding:8px;gap:4px;}
}
/* Customer order tabs and delivered access details. */
.user-order-modal .user-order-modal__tabs{display:flex;align-items:center;flex-wrap:nowrap;gap:5px;margin:0 0 18px;padding:0 0 11px;border-bottom:1px solid #e7ecf2;}
.user-order-modal .user-order-modal__tabs>li{min-width:0;margin:0;}
.user-order-modal .user-order-modal__tabs>li>a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;margin:0!important;padding:8px 12px;border:1px solid transparent!important;border-radius:7px!important;background:transparent;color:#8090a6!important;font-size:11px;font-weight:500;line-height:1.5;text-decoration:none;}
.user-order-modal .user-order-modal__tabs>li>a>i{font-size:13px;flex:none;}
.user-order-modal .user-order-modal__tabs>li>a:hover{border-color:#e5ebf2!important;background:#f8fafc;color:#536e8e!important;}
.user-order-modal .user-order-modal__tabs>li.active>a,
.user-order-modal .user-order-modal__tabs>li>a.active{border-color:#dde7f1!important;background:#f0f5fb!important;color:#4f7196!important;}
.user-order-modal .user-order-modal__tabs>li>a:focus-visible{outline:2px solid #9cb6d1;outline-offset:2px;}
.user-order-modal .user-order-modal__tab-badge{min-width:14px;height:14px;padding:0 4px;border-radius:4px;background:#fff2d9;color:#af7d28;font-size:9px;font-weight:600;}
.user-order-modal .user-order-modal__tab-badge--danger{background:#fce9ed;color:#c2586e;}
.user-order-modal__access-section{min-width:0;padding:16px;border:1px solid #e3eaf2;border-radius:8px;background:#fafbfd;}
.user-order-modal .user-order-modal__access-heading{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:12px;font-weight:600;color:#526e8f;}
.user-order-modal__access-heading>i{font-size:13px;color:#8da2bb;}
.user-order-modal .user-order-modal__access-copy{margin:0 0 15px;font-size:11px;line-height:1.85;font-weight:400;color:#8795a7;}
.user-order-modal__access-copy a{color:#587da6;}
.user-order-modal .user-order-modal__credentials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;}
.user-order-modal__credentials-grid>.col-sm-6{width:100%;min-width:0;padding:0;}
.user-order-modal__credentials-grid label{display:flex;align-items:center;gap:6px;margin:0 0 6px;color:#8b9aae;}
.user-order-modal__credentials-grid label>i{width:12px;text-align:center;color:#a0aec0;}
.user-order-modal .user-order-modal__access-section .user-order-modal__readonly{min-width:0;height:40px;padding:9px 11px;border:1px solid #dfe7f0;border-radius:6px;background:#fff;color:#526b89;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;box-shadow:none;}
.user-order-modal .user-order-modal__url-row{display:flex;flex-direction:row;align-items:stretch;flex-wrap:nowrap;gap:8px;}
.user-order-modal .user-order-modal__url-row>.form-control{flex:1 1 0;width:0;}
.user-order-modal .user-order-modal__url-row>.btn{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:6px;min-height:40px;margin:0;padding:8px 11px;border:1px solid #dde6f1;border-radius:6px;background:#eff4fa;color:#6281a5;font-size:11px;}
@media(max-width:767px){
    .user-order-modal .user-order-modal__tabs{gap:3px;margin-bottom:14px;}
    .user-order-modal .user-order-modal__tabs>li>a{gap:5px;padding:8px 9px;font-size:10px;}
    .user-order-modal .user-order-modal__tabs>li>a>i{font-size:12px;}
    .user-order-modal__access-section{padding:13px;border-radius:7px;}
    .user-order-modal .user-order-modal__credentials-grid{grid-template-columns:1fr;gap:12px;}
    .user-order-modal .user-order-modal__access-section .user-order-modal__readonly{font-size:12px;}
}
.customer-order-create__form select.form-control{height:46px;line-height:1.5;padding:9px 12px;appearance:auto;}

/* Clearly marked tabs with a dark active state. */
.user-order-modal .user-order-modal__tabs{align-items:stretch;gap:4px;padding:4px;border:1px solid #e3e8ef;border-radius:9px;background:#f5f7fa;}
.user-order-modal .user-order-modal__tabs>li{display:flex;flex:1 1 0;}
.user-order-modal .user-order-modal__tabs>li>a{flex:1 1 auto;gap:8px;min-height:42px;padding:10px 12px;border-radius:6px!important;color:#687b94!important;font-size:12px;font-weight:500;}
.user-order-modal .user-order-modal__tabs>li>a>i{font-size:15px;}
.user-order-modal .user-order-modal__tabs>li>a:hover{border-color:#e1e6ee!important;background:#eaf0f6;color:#405b7b!important;}
.user-order-modal .user-order-modal__tabs>li.active>a,
.user-order-modal .user-order-modal__tabs>li>a.active{border-color:#20252e!important;background:#20252e!important;color:#fff!important;}
.user-order-modal .user-order-modal__tabs>li>a.active:hover{background:#20252e!important;color:#fff!important;}
.user-order-modal .user-order-modal__tabs>li>a.active .user-order-modal__tab-badge{background:#514532;color:#ffde97;}
@media(max-width:767px){
    .user-order-modal .user-order-modal__tabs>li>a{gap:6px;padding:9px 6px;font-size:11px;}
    .user-order-modal .user-order-modal__tabs>li>a>i{font-size:14px;}
}
.user-order-modal .user-order-modal__credentials-grid{grid-template-columns:1fr;gap:14px;}
.user-order-modal .user-order-modal__access-copy.alert{margin:0 0 17px;padding:12px 13px 12px 51px;border-color:#dce8f6;background:#f0f6fd;color:#6786aa;font-size:11px;line-height:1.8;}
.user-order-modal .user-order-modal__access-copy.alert::before{top:12px;left:12px;width:26px;height:26px;background-color:#e1edf9;color:#6f91b9;}
.user-order-modal__copy-row{display:flex;align-items:stretch;gap:8px;min-width:0;}
.user-order-modal__copy-row>.form-control{flex:1 1 0;width:0;}
.user-order-modal .user-order-modal__copy{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:6px;min-width:91px;min-height:40px;margin:0;padding:8px 10px;border:1px solid #dbe5f0;border-radius:6px;background:#f0f5fb;color:#6282a6;font-size:10px;font-weight:500;line-height:1.5;}
.user-order-modal .user-order-modal__copy:hover{background:#e8f0fa;border-color:#c7d7e9;}
.user-order-modal .user-order-modal__copy:focus-visible{outline:2px solid #9cb6d1;outline-offset:3px;}
.user-order-modal .user-order-modal__copy.is-copied{border-color:#cde5d8;background:#edf8f1;color:#2e8c5a;}
.user-order-modal .user-order-modal__copy.is-error{border-color:#efcbd3;background:#fff1f4;color:#bb5368;}
.user-order-modal .user-order-modal__url-row{flex-direction:column;gap:9px;}
.user-order-modal .user-order-modal__url-row>.form-control{flex:none;width:100%;}
.user-order-modal__access-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.user-order-modal .user-order-modal__access-actions>.btn-default{display:inline-flex;align-items:center;gap:6px;min-height:40px;margin:0;padding:8px 11px;border:1px solid #e1e7ef;border-radius:6px;background:#fff;color:#7d8da3;font-size:11px;}
.user-order-modal .user-order-modal__tabs>li>a{width:100%;min-width:0;}
@media(max-width:380px){
    .user-order-modal .user-order-modal__tabs>li>a{gap:4px;padding:8px 4px;font-size:10px;white-space:nowrap;}
    .user-order-modal .user-order-modal__tabs>li>a>i{font-size:12px;}
    .user-order-modal .user-order-modal__tab-badge{min-width:12px;height:12px;padding:0 3px;font-size:8px;}
}
.customer-order-create #add_product{scroll-margin-bottom:90px;}
.payment-wizard+.page-guide-alert{margin-top:28px;}
.payment-wizard .payment-wizard__back{margin-bottom:20px;}
.payment-wizard .package-choice-chip>span{position:relative;padding-right:28px;}
.payment-wizard .package-choice-chip input:checked+span{border-color:#79b898;background:#f0faf4;color:#397e5b;box-shadow:inset 0 0 0 1px #79b898;}
.payment-wizard .package-choice-chip input:checked+span::after{content:'';position:absolute;right:12px;top:calc(50% - 5px);width:6px;height:10px;border-right:2px solid #4b986f;border-bottom:2px solid #4b986f;transform:rotate(45deg);}
.payment-wizard .payment-step__actions>button[name="create_crypto_payment"]{min-height:48px;border:1px solid #efc700;background:#ffd400;color:#3c330f;font-size:16px;font-weight:700;scroll-margin-bottom:80px;animation:customer-checkout-pay-pulse 2.8s ease-in-out infinite;}
.payment-wizard button[name="create_crypto_payment"]:hover{border-color:#e2b900;background:#ffdf38;color:#352c0c;}
.payment-wizard button[name="create_crypto_payment"]:focus-visible{outline:2px solid #d9b52d;outline-offset:3px;}
.payment-wizard button[name="create_crypto_payment"]:disabled{animation:none;}
@keyframes customer-checkout-pay-pulse{0%,100%{box-shadow:0 0 0 0 rgba(241,197,0,0);}45%{box-shadow:0 0 0 5px rgba(241,197,0,.18);}75%{box-shadow:0 0 0 9px rgba(241,197,0,0);}}
@media(prefers-reduced-motion:reduce){.payment-wizard button[name="create_crypto_payment"]{animation:none;}}
.user-order-modal .user-order-modal__actions-stack{gap:12px;padding:16px;border:1px solid #e4eaf2;border-radius:8px;background:#fafbfd;text-align:left;}
.user-order-modal .user-order-modal__actions-stack>.alert{margin:0;padding:12px 13px 12px 51px;font-size:11px;line-height:1.8;}
.user-order-modal .user-order-modal__actions-stack>.alert::before{top:12px;left:12px;width:26px;height:26px;}
.user-order-modal .user-order-modal__actions-stack>.btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%!important;align-self:stretch;min-height:46px;height:auto;margin:0;padding:11px 14px;border-radius:7px;font-size:12px;line-height:1.6;}
.user-order-modal .user-order-modal__payment-button{border:1px solid #2d8d5e;background:#319968;color:#fff;font-weight:600;animation:customer-payment-action-pulse 3s ease-in-out infinite;}
.user-order-modal .user-order-modal__payment-button:is(:hover,:focus-visible){border-color:#23754d;background:#278456;color:#fff;}
.user-order-modal .user-order-modal__payment-button>.fa:last-child{margin-left:4px;font-size:15px;}
@keyframes customer-payment-action-pulse{0%,100%{box-shadow:0 0 0 0 rgba(49,153,104,0);}45%{box-shadow:0 0 0 4px rgba(49,153,104,.13);}75%{box-shadow:0 0 0 7px rgba(49,153,104,0);}}
@media(max-width:767px){.user-order-modal .user-order-modal__actions-stack{padding:13px;}.user-order-modal .user-order-modal__actions-stack>.btn{font-size:11px;}}
@media(prefers-reduced-motion:reduce){.user-order-modal .user-order-modal__payment-button{animation:none;}}
/* Align icon tiles with the first text line, including a single-line notice. */
.alert[class*="alert-"]::before{top:9px;}
.alert.alert-warning{--customer-alert-text:#896426;}
.user-order-modal .user-order-modal__access-copy.alert::before,.user-order-modal .user-order-modal__actions-stack>.alert::before{top:9px;}
.orders-view .orders-expiry-notice{margin-top:18px;border-color:#ead4a7;background:#fff8e8;color:#8c6425;font-weight:500;}
.orders-view .orders-user-table .orders-user-table__product-col{width:38%;}
.orders-view .orders-user-summary{gap:2px;}
.orders-view .orders-user-summary__title-row{max-width:420px;flex-wrap:nowrap;}
.orders-view .orders-user-summary__title-row>button{flex:0 1 auto;min-width:0;max-width:100%;}
.orders-view .orders-user-summary__title-row>.orders-user-new-badge{flex:none;margin-left:0;}
.orders-view .orders-user-summary__title-row>button>strong{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.customer-order-title-tooltip{--bs-tooltip-bg:#20252e;--bs-tooltip-color:#fff;--bs-tooltip-opacity:1;}
.customer-order-title-tooltip .tooltip-inner{max-width:320px;padding:8px 10px;border-radius:6px;background:#20252e;color:#fff;font-size:11px;font-weight:400;line-height:1.65;text-align:left;overflow-wrap:anywhere;}
.user-order-modal .user-order-modal__actions-stack>a.btn.remove{width:100%!important;min-height:46px;padding:11px 14px;align-self:stretch;}

/* Remaining account pages share the same quiet typography and surfaces. */
.customer-secondary-page>h1,.customer-password>h2,.info-page .payment-wizard__header h1,
.customer-content-page .content-box>h1{font-size:22px;line-height:1.4;letter-spacing:-.45px;}
.customer-secondary-page>p,.info-page .payment-wizard__header p,
.customer-content-page .content-box>p{color:#738298;font-size:12px;font-weight:400;line-height:1.8;overflow-wrap:anywhere;}
.customer-secondary-page hr{margin:20px 0;border-color:#e9edf3;opacity:1;}
.customer-secondary-empty{display:flex;flex-direction:column;align-items:center;gap:12px;margin:20px 0;padding:35px 18px;border:1px solid #e4eaf1;border-radius:10px;background:#fafbfd;color:#8593a6;text-align:center;}
.customer-secondary-empty>i{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:11px;background:#eef3f9;color:#8095af;font-size:20px;}
.customer-secondary-empty p{margin:0;font-size:12px;line-height:1.75;}
/* Activity history: readable descriptions, subdued dates and small event badges. */
:is(.customer-secondary-page,.customer-content-page) .table{margin:0;border:0;font-size:12px;line-height:1.7;color:#60718a;}
:is(.customer-secondary-page,.customer-content-page) .table thead :is(th,td){padding:11px 13px;border:0;border-bottom:1px solid #e4eaf1;background:#fafbfd;color:#8a97a8;font-size:10px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;vertical-align:middle;}
:is(.customer-secondary-page,.customer-content-page) .table tbody td{padding:13px;border:0;border-bottom:1px solid #edf1f5;background:#fff;box-shadow:none;vertical-align:middle;font-size:12px;font-weight:400;overflow-wrap:anywhere;}
:is(.customer-secondary-page,.customer-content-page) .table tbody tr:last-child td{border-bottom:0;}
/* Settings preserve their two-column layout and every existing form action. */
.settings-view .settings-card{min-width:0;padding:20px;border-color:#e3e9f0;border-radius:10px;box-shadow:none;}
.settings-view .settings-card__head{gap:8px;align-items:center;margin-bottom:16px;}
.settings-view .settings-card__title{font-size:14px;font-weight:600;letter-spacing:-.15px;color:#405672;}
.settings-view .settings-card__badge{padding:3px 6px;border-radius:4px;font-size:9px;font-weight:500;}
.settings-view .settings-form{gap:15px;}
.settings-view .settings-form__field{gap:6px;}
.settings-view .settings-form__label{font-size:11px;font-weight:500;color:#738298;}
.settings-view .settings-form__control{height:44px;min-height:44px;padding:10px 12px;border-color:#e0e7ef;border-radius:7px;color:#52677f;font-size:13px;font-weight:400;line-height:1.5;box-shadow:none;}
.settings-view .settings-form__control:focus{border-color:#9cb2cb;outline:2px solid #edf2f8;}
.settings-view :is(.settings-form__help,.settings-security__text){font-size:11px;font-weight:400;line-height:1.8;color:#8290a3;}
.settings-view :is(.settings-form__actions,.settings-security__actions) .btn{min-height:42px;padding:10px 13px;border-radius:7px;font-size:12px;font-weight:500;}
.settings-view .settings-toggle{gap:12px;padding:12px;border-radius:8px;background:#fafbfd;box-shadow:none;}
.settings-view .settings-toggle:hover{background:#f6f8fb;box-shadow:none;}
.settings-view .settings-toggle__copy strong{font-size:12px;font-weight:500;line-height:1.5;color:#52677f;}
.settings-view .settings-toggle__copy span{font-size:11px!important;font-weight:400;line-height:1.7;color:#8290a3;}
.settings-view .settings-toggle__slider{width:44px;height:26px;}
.settings-view .settings-toggle__slider::before{top:3px;left:3px;width:20px;height:20px;box-shadow:0 1px 3px rgba(30,48,68,.15);}
.settings-view .settings-toggle__input:checked+.settings-toggle__slider::before{transform:translateX(18px);}
.settings-view .settings-toggle__input:checked+.settings-toggle__slider{background:#52789f;}
.settings-view .settings-meta{gap:8px;}
.settings-view .settings-meta__row{min-width:0;padding:10px 12px;border-radius:7px;background:#f8fafd;gap:6px 12px;}
.settings-view .settings-meta__label{font-size:11px;font-weight:400;color:#8290a3;}
.settings-view .settings-meta__value{font-size:12px;font-weight:500;color:#52677f;overflow-wrap:anywhere;}
.settings-password-modal .user-order-modal__subtitle{margin:7px 0 0;font-size:11px;line-height:1.8;color:#8290a3;}
/* Referral and application tables retain their columns and familiar links. */
.referrals-page .user-order-modal--static{padding:0;margin-bottom:20px;border-radius:0;box-shadow:none;}
.referrals-page .user-order-modal__section{margin:0 0 12px;border:1px solid #e4eaf1;padding:16px;border-radius:9px;}
.referrals-page .user-order-modal__section h3{margin:0 0 9px;font-size:14px;font-weight:600;letter-spacing:-.15px;line-height:1.5;color:#405672;}
.referrals-page .user-order-modal__section p{font-size:12px;line-height:1.8;color:#738298;}
.referrals-page .user-order-modal__section .row p{margin:0;}
.referrals-page .auth-input{min-height:42px;height:42px;border-radius:7px;background:#fafbfd;font-size:12px;}
.referrals-page .auth-group{margin:0;}
.referrals-page .referrals-status{min-width:0;padding:3px 6px;border-radius:4px;font-size:10px;font-weight:500;letter-spacing:0;line-height:1.6;}
:is(.referrals-page,.customer-apps) .table-responsive{border:1px solid #e3e9f0;border-radius:9px;scrollbar-width:none;}
:is(.referrals-page,.customer-apps) .table-responsive::-webkit-scrollbar{display:none;}
.customer-apps .table td:last-child a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border:1px solid #e3e9f0;border-radius:7px;background:#fafbfd;}
/* Contact and standalone password forms use compact, accessible controls. */
:is(.customer-contact,.customer-password) form{max-width:820px;margin-top:22px;}
:is(.customer-contact,.customer-password) .control-label{padding-top:12px;font-size:11px;font-weight:500;color:#738298;}
:is(.customer-contact,.customer-password) .form-control{min-height:44px;padding:10px 12px;border:1px solid #e0e7ef;border-radius:7px;background:#fff;color:#52677f;font-size:13px;line-height:1.6;box-shadow:none;}
:is(.customer-contact,.customer-password) select.form-control{height:44px;appearance:auto;}
.customer-contact textarea.form-control{min-height:150px;resize:vertical;}
:is(.customer-contact,.customer-password) .form-control:focus{border-color:#9cb2cb;outline:2px solid #edf2f8;}
:is(.customer-contact,.customer-password) .btn{min-height:42px;margin:0 6px 6px 0;padding:10px 13px;border-radius:7px;font-size:12px;font-weight:500;}
.customer-contact .checkbox label{font-size:11px;line-height:1.8;color:#738298;}
/* Editorial pages keep authored content, images and navigation in place. */
.customer-content-page .content-box,.info-page{font-size:12px;line-height:1.85;color:#64748b;overflow-wrap:anywhere;}
.customer-content-page .content-box :is(h2,h3,h4),.info-page :is(h2,h3,h4){font-size:17px;font-weight:600;line-height:1.5;letter-spacing:-.2px;color:#405672;}
.customer-content-page .content-box :is(p,li),.info-page :is(p,li){font-size:12px;line-height:1.85;}
.customer-content-page :is(img,video),.info-page :is(img,video){max-width:100%;height:auto;}
.customer-content-page iframe,.info-page iframe{max-width:100%;}
:is(.customer-content-page,.info-page) .btn{padding:10px 13px;border-radius:7px;font-size:12px;font-weight:500;line-height:1.6;}
/* Auth screens keep their current arrangement and black primary actions. */
.auth-shell .auth-title{font-size:20px;line-height:1.45;font-weight:600;letter-spacing:-.4px;}
.auth-shell .auth-input{border-color:#e0e7ef;border-radius:8px;box-shadow:none;}
.auth-shell .auth-submit{min-height:44px;border-radius:8px;font-size:13px;font-weight:500;}
.auth-shell :is(.auth-meta-link,.auth-register-copy,.auth-back){font-size:11px;line-height:1.8;letter-spacing:0;}
@media(max-width:767px){
    .customer-secondary-page>h1,.customer-password>h2,.info-page .payment-wizard__header h1,.customer-content-page .content-box>h1{font-size:20px;}
    .settings-view .settings-card{padding:16px;border-radius:9px;}
    .settings-view .settings-card__head{flex-direction:row;flex-wrap:wrap;align-items:center;}
    :is(.settings-view,.settings-password-modal,.customer-contact,.customer-password) .form-control:not([readonly]){font-size:16px;}
    .referrals-page .user-order-modal__section{padding:14px;}
    .referrals-page .user-order-modal__section .row{row-gap:9px;}
    :is(.referrals-page,.customer-apps) .table tbody td{padding:10px;font-size:11px;}
    .customer-contact .control-label.hidden-xs{display:block!important;}
    :is(.customer-contact,.customer-password) .control-label{padding-top:0;margin-bottom:6px;}
    .customer-password form .form-group{margin-bottom:17px;}
}
@media(prefers-reduced-motion:reduce){.settings-view .settings-toggle,.settings-view .settings-toggle__slider,.settings-view .settings-toggle__slider::before{transition:none;}}

.settings-view .settings-avatar-editor{gap:9px;}
.settings-view .settings-avatar-editor__preview{width:96px;height:96px;}
.settings-view .settings-avatar-editor__fallback{font-size:32px;font-weight:600;color:#52677f;}
.settings-view .settings-avatar-editor__overlay{font-size:11px;font-weight:500;color:#738298;}
.settings-view .settings-avatar-editor__status{font-size:11px;font-weight:400;}
.settings-view .settings-avatar-editor__status:empty{display:none;}
:is(.customer-secondary-page,.customer-content-page) .table>:not(caption)>*{border-color:#e4eaf1;}
.customer-content-page .instruction-content :is(h1,.desc-title),.info-page .instruction-content :is(h1,.desc-title){font-size:16px;font-weight:600;line-height:1.65;color:#405672;}
.customer-content-page .instruction-content .desc-note,.info-page .instruction-content .desc-note{font-size:12px;line-height:1.85;color:#738298;}
.customer-content-page .table{overflow-wrap:anywhere;}
.settings-view__header h1{font-size:22px;line-height:1.4;letter-spacing:-.45px;}
.customer-content-page .instruction-content h1,.info-page>h1,.customer-content-page>h1{font-size:18px;line-height:1.5;letter-spacing:-.3px;}
.customer-content-page .content-box>h1{font-size:22px;}
:is(#page_login,#page_register,#page_password) .auth-title-login{margin-bottom:22px;font-size:16px;font-weight:500;line-height:1.6;letter-spacing:-.2px;}
:is(#page_login,#page_register,#page_password) .auth-page-name{font-size:24px;line-height:1.35;letter-spacing:-.4px;}
:is(#page_login,#page_register,#page_password) .auth-input.form-control{height:48px;border-color:#e0e7ef;border-radius:8px;font-size:16px;}
:is(#page_login,#page_register,#page_password) .auth-submit{min-height:46px;border-radius:8px;font-size:13px;font-weight:500;}
@media(max-width:767px){.settings-view__header h1,.customer-content-page .content-box>h1{font-size:20px;}}

:is(.customer-content-page,.info-page) .instruction-content .desc-note{padding:13px 15px;border:1px solid #dce7f3;border-radius:8px;background:#f3f7fc;color:#6e829b;font-weight:400;}
:is(.customer-content-page,.info-page) .phone-img{max-width:min(300px,calc(100% - 32px));height:auto;}
.customer-content-page .table a:has(>.fa-download){display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border:1px solid #e3e9f0;border-radius:7px;background:#fafbfd;}
.alert.alert-dismissible>.fa.fa-info-circle{display:none;}

/* Keep the order ID, product and full day counter in the first mobile view. */
.orders-view .orders-user-expiry-empty{display:inline-flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #e3e9f0;border-radius:6px;background:#f7f9fc;color:#8290a3;font-size:10px;font-weight:400;line-height:1.6;white-space:nowrap;}
.orders-view .orders-user-expiry-empty>.fa{flex:none;color:#94a1b2;font-size:12px;}
@media(max-width:767px){
    .orders-view .orders-user-table{width:calc(100% + 302px);min-width:0;}
    .orders-view .orders-user-table .orders-user-table__id-col{width:76px;}
    .orders-view .orders-user-table .orders-user-table__product-col{width:auto;}
    .orders-view .orders-user-table .orders-user-table__expiry-col{width:180px;}
    .orders-view .orders-user-table .orders-user-table__amount-col{width:110px;}
    .orders-view .orders-user-table .orders-user-table__actions-col{width:112px!important;}
    .orders-view .orders-user-table thead th,.orders-view .orders-user-table tbody td{padding-left:10px;padding-right:10px;}
    .orders-view .orders-user-summary__title-row{width:100%;max-width:100%;}
}

/* Simple activity history: one description and one date, also on phones. */
.customer-history .history-table-responsive{border:1px solid #e5eaf0;border-radius:8px;background:#fff;overflow:hidden;}
.customer-history .customer-history-table{width:100%;table-layout:fixed;}
.customer-history .customer-history-table thead th{padding:11px 14px;background:#fafbfd;}
.customer-history .customer-history-table thead th:last-child{width:86px;text-align:right;}
.customer-history .customer-history-table tbody td{padding:13px 14px;vertical-align:top;background:#fff;}
.customer-history .customer-history-table tbody td:last-child{width:86px;text-align:right;white-space:nowrap;color:#8995a5;font-size:11px;font-variant-numeric:tabular-nums;}
.customer-history .history-entry{display:flex;align-items:baseline;gap:10px;}
.customer-history .history-entry__badge{flex:0 0 44px;justify-content:flex-start;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#8a97a8;font-size:10px;font-weight:400;letter-spacing:0;line-height:1.8;}
.customer-history .history-entry__body{flex:1;min-width:0;}
.customer-history .history-entry__title{color:#60718a;font-size:12px;font-weight:400;line-height:1.8;overflow-wrap:anywhere;}
.customer-history .history-entry__meta{gap:7px;margin-top:4px;color:#8a97a8;font-size:10px;line-height:1.7;}
.customer-history .history-entry__meta-item{padding:0;border-radius:0;background:transparent;font-size:10px;}
.customer-history .history-entry__meta-item--strong{color:#60718a;font-weight:500;}
.customer-history .history-entry__meta-dot{width:3px;height:3px;background:#bac4d0;}
@media(max-width:575px){
    .customer-history .customer-history-table thead th,.customer-history .customer-history-table tbody td{padding:11px 10px;}
    .customer-history .customer-history-table thead th:last-child,.customer-history .customer-history-table tbody td:last-child{width:58px;font-size:10px;}
    .customer-history .history-entry{display:block;}
    .customer-history .history-entry__badge{display:block;margin:0 0 3px;font-size:9px;}
    .customer-history .history-entry__title{font-size:11px;line-height:1.75;}
}

.balance-topup-modal .balance-topup-modal__pending-payment{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;margin:16px 0 0;animation:customer-topup-pending-pulse 3s ease-in-out infinite;}
@keyframes customer-topup-pending-pulse{0%,100%{box-shadow:0 0 0 0 rgba(220,53,69,0);}45%{box-shadow:0 0 0 4px rgba(220,53,69,.14);}75%{box-shadow:0 0 0 7px rgba(220,53,69,0);}}
@media(prefers-reduced-motion:reduce){.balance-topup-modal .balance-topup-modal__pending-payment{animation:none;}}

/* Quiet order selection summary, with a smaller footprint on phones. */
.payment-wizard .payment-wizard__summary-table-wrap{margin:16px 0 22px;}
.payment-wizard .payment-summary-bar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px 20px;padding:13px 15px;border:1px solid #e6ebf1;border-radius:8px;background:#fff;box-shadow:none;}
.payment-wizard .payment-summary-item{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 7px;width:auto;min-height:0;padding:0;border:0;background:transparent;}
.payment-wizard .payment-summary-item__label{color:#8a97a8;font-size:10px;font-weight:400;letter-spacing:0;}
.payment-wizard .payment-summary-item__value{color:#52677f;font-size:12px;font-weight:500;line-height:1.65;}
.payment-wizard .payment-summary-item__value .provider{padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:inherit;font-weight:600;}
.payment-wizard .payment-summary-item--amount{justify-content:flex-end;}
.payment-wizard .payment-summary-item--amount .payment-summary-item__value{color:#29805a;font-size:13px;font-weight:600;white-space:nowrap;}
.payment-wizard .payment-method-start--crypto-only .payment-method-start__buttons{margin-bottom:10px;}
.payment-wizard .payment-method-start--crypto-only [data-payment-target="crypto"]{animation:customer-crypto-method-pulse 3s ease-in-out infinite;}
.payment-wizard .payment-method-start__crypto-only-note{margin:0 0 18px;color:#c24758;font-size:11px;line-height:1.7;}
.payment-wizard .payment-method-start__crypto-only-note strong{font-weight:600;}
@keyframes customer-crypto-method-pulse{0%,100%{box-shadow:0 0 0 0 rgba(32,37,46,0);}45%{box-shadow:0 0 0 4px rgba(32,37,46,.13);}75%{box-shadow:0 0 0 7px rgba(32,37,46,0);}}
@media(max-width:767px){
    .payment-wizard .payment-summary-bar{grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:11px 12px;}
    .payment-wizard .payment-summary-item--order{grid-column:1;grid-row:1;}
    .payment-wizard .payment-summary-item--amount{grid-column:2;grid-row:1;}
    .payment-wizard .payment-summary-item--subscription{grid-column:1/-1;grid-row:2;flex:none;padding-top:9px;border-top:1px solid #eef1f5;}
    .payment-wizard .payment-summary-item--subscription .payment-summary-item__label{flex-basis:100%;}
    .payment-wizard .payment-summary-item__value{font-size:11px;}
    .payment-wizard .payment-summary-item--amount .payment-summary-item__value{font-size:12px;}
}
@media(prefers-reduced-motion:reduce){.payment-wizard .payment-method-start--crypto-only [data-payment-target="crypto"]{animation:none;}}
.payment-wizard .payment-method-start__balance-note{display:flex;align-items:baseline;gap:7px;margin:0 0 18px;color:#29805a;font-size:11px;line-height:1.7;}
.payment-wizard .payment-method-start__balance-note>.bi{flex:none;font-size:14px;}
.payment-wizard .payment-method-start__balance-note strong{font-weight:600;}
.payment-wizard .payment-method-start__button--balance{border-color:#2d8d5e;background:#319968;color:#fff;}
.payment-wizard .payment-method-start__button--balance:is(:hover,:focus-visible){border-color:#23754d;background:#278456;color:#fff;}

.home_buttons .one_box--custom-page{position:relative;}
.home_buttons .one_box--custom-page.has-new-badge{padding-right:56px;}
.home_buttons .one_box--custom-page .one_box__new-badge{position:absolute;top:50%;right:12px;transform:translateY(-50%);display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:2px;background:#d7182a;color:#fff;font-size:10px;font-weight:600;line-height:18px;letter-spacing:0;}

/* A deliberate choice before creating a second subscription. */
.order-intent-modal .modal-dialog { max-width: 560px; }
.order-intent-modal .modal-content { position: relative; }
.order-intent-modal .modal-header { display: block; padding: 44px 28px 0; border-bottom: 0; text-align: center; }
.order-intent-modal .modal-header .close { position: absolute; top: 18px; right: 18px; margin: 0; }
.order-intent-modal .modal-title { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0; color: #546171; font-size: 24px; font-weight: 600; line-height: 1.35; }
.order-intent-modal .modal-title > .fa { display: flex; align-items: center; justify-content: center; flex: none; width: 76px; height: 76px; border: 1px solid #e4ece7; border-radius: 24px; background: #f2f8f4; color: #7f9c8c; font-size: 32px; }
.order-intent-modal .modal-body { width: 100%; max-width: 620px; margin: 0 auto; padding: 22px 28px 36px; text-align: center; font-size: 17px; line-height: 1.65; color: #8b929b; }
.order-intent-modal .modal-body > p { margin: 0; }
.order-intent-modal .modal-body > p strong { display: block; margin-top: 12px; color: #596775; font-weight: 700; }
.order-intent-modal__actions { display: grid; gap: 14px; margin-top: 30px; }
.order-intent-modal__actions[hidden], .order-intent-modal [hidden] { display: none !important; }
.order-intent-modal__actions .btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 15px 18px; font-size: 18px; font-weight: 600; line-height: 1.4; border-radius: 11px; }
.order-intent-modal__actions .btn-outline-dark { background: #f5f6f7; border-color: #e5e8eb; color: #56616e; }
.order-intent-modal__actions .btn-outline-dark:hover { background: #eaeef1; border-color: #d6dce2; }
.order-intent-modal__caption { margin: 26px 0 12px; font-size: 17px; color: #596775; font-weight: 600; }
.order-intent-modal__order { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; margin-top: 12px; border: 1px solid #e1e6ed; border-radius: 11px; color: #465564; text-decoration: none !important; text-align: left; }
.order-intent-modal__order:hover { background: #f6f8fa; border-color: #aebbc8; }
.order-intent-modal__order span { min-width: 0; }
.order-intent-modal__order small, .order-intent-modal__order strong { display: block; overflow-wrap: anywhere; }
.order-intent-modal__order strong { font-size: 17px; }
.order-intent-modal__order small { color: #8b929b; font-size: 13px; margin-bottom: 5px; }
.order-intent-modal__renew { animation: order-intent-renew-pulse 2.6s ease-out infinite; }
@keyframes order-intent-renew-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(40, 145, 89, .22); }
    60% { box-shadow: 0 0 0 7px rgba(40, 145, 89, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .order-intent-modal__renew { animation: none; }
}
@media (max-width: 1279px) {
    .order-intent-modal { padding: 0 !important; background: #fff; }
    .order-intent-modal .modal-dialog { width: 100%; max-width: none; min-height: 100%; margin: 0; }
    .order-intent-modal .modal-content { min-height: 100vh; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
    .order-intent-modal .modal-header { max-width: 620px; margin: 0 auto; padding: max(64px, env(safe-area-inset-top)) 24px 0; }
    .order-intent-modal .modal-body { padding: 22px max(24px, env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left)); }
}

.orders-view .orders-user-renewal-action { animation: customer-order-renewal-pulse 2.8s ease-out infinite; }
@keyframes customer-order-renewal-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(204, 66, 83, .24); }
    60% { box-shadow: 0 0 0 6px rgba(204, 66, 83, 0); }
}
.customer-order-renewal-tooltip { --bs-tooltip-bg: #20252c; --bs-tooltip-color: #fff; --bs-tooltip-opacity: 1; pointer-events: none; }
.customer-order-renewal-tooltip .tooltip-inner { max-width: min(240px, calc(100vw - 128px)); white-space: pre-line; padding: 9px 12px; border-radius: 7px; background: #20252c; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.5; text-align: center; }
@media (prefers-reduced-motion: reduce) {
    .orders-view .orders-user-renewal-action { animation: none; }
}

.customer-order-renewal-tooltip, .customer-order-renewal-tooltip.show { opacity: 1 !important; }

@media (max-width: 359px) {
    .customer-order-renewal-tooltip .tooltip-inner { padding: 8px; font-size: 11px; line-height: 1.4; }
}

.customer-order-renewal-tooltip .tooltip-inner { transform-origin: right center; animation: customer-renewal-tooltip-in 240ms cubic-bezier(.2,.75,.3,1) both; }
@keyframes customer-renewal-tooltip-in {
    from { transform: scale(.82); }
    to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .customer-order-renewal-tooltip .tooltip-inner { animation: none; }
}

/* Bank transfer tickets have a bank identity in place of a crypto QR. */
.payment-request-card--bank{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:24px;align-items:start;}
.payment-bank-logo{grid-column:1;grid-row:1/3;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-width:0;}
.payment-bank-logo img{width:100%;max-width:220px;height:auto;aspect-ratio:1;object-fit:contain;border-radius:14px;}
.payment-bank-logo strong{font-size:14px;color:inherit;}
.payment-request-card--bank>.payment-request-grid,.payment-request-card--bank>.payment-request-actions{grid-column:2;min-width:0;}
@media(max-width:767px){.payment-request-card--bank{grid-template-columns:minmax(0,1fr);gap:20px;}.payment-bank-logo,.payment-request-card--bank>.payment-request-grid,.payment-request-card--bank>.payment-request-actions{grid-column:1;grid-row:auto;}.payment-bank-logo img{max-width:180px;}}

/* The compact crypto ticket shares its content and sizing with Messenger Mode.
   One QR image and one countdown are retained; the legacy detail grid is desktop-only. */
.payment-wizard .payment-ticket-mobile-only{display:none;}
@media(max-width:992px){
    .payment-ticket-section--crypto>.payment-wizard__header>p{display:none;}
    .payment-wizard .payment-request-card--crypto{padding:0;border:0;border-radius:0;background:transparent;}
    .payment-wizard .payment-request-card--crypto .payment-request-card__layout--crypto{display:flex;flex-direction:column;}
    .payment-wizard .payment-request-card--crypto .payment-request-qr{align-self:center;flex:0 0 auto;width:min(100%,360px);max-width:360px;}
    .payment-wizard .payment-request-card--crypto .payment-ticket-desktop-only{display:none;}
    .payment-wizard .payment-request-card--crypto .payment-request-main{width:100%;}
    .payment-wizard .payment-request-card--crypto .customer-messenger-payment-asset{display:flex;}
    .payment-wizard .payment-request-card--crypto .customer-messenger-payment-intro{display:block;}
    .payment-wizard .payment-request-card--crypto .customer-messenger-payment-details{display:grid;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-asset{justify-content:center;align-items:center;margin:0 0 12px;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-asset .payment-request-crypto-title{justify-content:flex-start;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-asset p{text-align:left;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-intro{margin:0 0 18px;color:#667184;font-size:12px;font-weight:400;line-height:1.7;text-align:center;}
.payment-wizard .payment-request-card--crypto .payment-request-qr__image{display:block;padding:8px;}
.payment-wizard .payment-request-card--crypto .payment-request-countdown{gap:3px;margin:14px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;}
.payment-wizard .payment-request-card--crypto .payment-request-countdown__label{font-family:'Poppins',sans-serif;font-size:11px;color:#7b8798;}
.payment-wizard .payment-request-card--crypto .payment-request-countdown__value{font-size:28px;font-weight:600;line-height:1.35;letter-spacing:.02em;}
.payment-wizard .payment-request-card--crypto .payment-request-countdown.is-expired .payment-request-countdown__value{font-size:13px;letter-spacing:0;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details{width:min(100%,360px);margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;text-align:center;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details__network{text-align:right;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details__fiat{position:relative;text-align:left;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details__fiat::before{position:absolute;top:2px;bottom:2px;left:-8.5px;width:1px;background:#e8edf2;content:'';}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details .payment-request-label{font-size:10px;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details .payment-request-value{position:relative;font-size:13px;overflow-wrap:anywhere;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details .payment-copyable{text-align:center;overflow-wrap:anywhere;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details__amount .payment-request-value{font-size:22px;font-weight:600;line-height:1.5;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details__address{padding:12px;border:2px dashed #dce3ec;border-radius:9px;}
.payment-wizard .payment-request-card--crypto .customer-messenger-payment-details__address .payment-request-value{padding:0;border:0;border-radius:0;background:transparent;font-size:15px;line-height:1.7;}
}
@media(max-width:992px){
    .payment-wizard .payment-request-card--crypto .payment-request-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;}
    .payment-wizard .payment-request-card--crypto .payment-request-actions>a,
    .payment-wizard .payment-request-card--crypto .payment-request-cancel-form{width:100%;margin:0;}
    .payment-wizard .payment-request-card--crypto .payment-request-actions .btn{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;gap:9px;padding:13px 18px;font-size:16px;font-weight:600;line-height:1.5;}
}

/* Shared copy confirmation: no layout shift, with an opaque tooltip in both modes. */
.payment-wizard .payment-request-value{position:relative;}
.payment-wizard .payment-copy-feedback{position:absolute;z-index:5;top:auto;bottom:calc(100% + 8px);left:50%;max-width:calc(100vw - 40px);margin:0;padding:6px 10px;border:0;border-radius:6px;background:#16191f;color:#fff;font-family:'Poppins',sans-serif;font-size:11px;font-weight:500;line-height:1.5;text-align:center;white-space:nowrap;visibility:hidden;opacity:0;transform:translate(-50%,4px);transition:opacity .15s ease,transform .15s ease,visibility .15s ease;pointer-events:none;}
.payment-wizard .payment-copy-feedback::after{position:absolute;top:100%;left:50%;width:0;height:0;border:5px solid transparent;border-bottom:0;border-top-color:#16191f;transform:translateX(-50%);content:'';}
.payment-wizard .payment-copy-feedback.is-visible{visibility:visible;opacity:1;transform:translate(-50%,0);}
@media(prefers-reduced-motion:reduce){.payment-wizard .payment-copy-feedback{transition:none;}}

/* Recipient amount guidance, shared by normal and Messenger payment tickets. */
.payment-wizard .payment-amount-recipient-note{display:block;margin-top:5px;color:#dc3545;font-size:9px;font-weight:700;line-height:1.5;}
@media(max-width:992px){.payment-wizard .customer-messenger-payment-details__amount{text-align:center;}.payment-wizard .customer-messenger-payment-details__amount .payment-request-label,.payment-wizard .customer-messenger-payment-details__amount .payment-request-value,.payment-wizard .payment-amount-recipient-note{display:block;text-align:center;}}

/* Customer order identity and calm, centred access heading (ordinary customer UI). */
.orders-view .orders-user-summary__identity{display:flex;align-items:center;gap:9px;min-width:0;}
.orders-view .orders-user-summary__identity-copy{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0;}
.orders-view .orders-user-summary__note{position:relative;margin-left:43px;}
.orders-view .orders-user-summary__note>.fa:first-child{position:absolute;left:-14px;top:3px;}
.orders-view .orders-user-summary__note--access{color:#238253;}
.orders-view .orders-user-summary__note--access>.fa{color:inherit!important;}
.orders-view .orders-user-summary__provider-logo{flex:0 0 34px;width:34px;height:34px;object-fit:cover;border:1px solid #e5eaf0;border-radius:50%;}
.orders-view .orders-user-summary__package{display:flex;align-items:baseline;gap:5px;min-width:0;margin-top:0;font-size:11px;line-height:1.6;color:#8a97a9;}
.orders-view .orders-user-summary__package>span{flex:none;font-weight:400;}
.orders-view .orders-user-summary__package>strong{cursor:help;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:#506178;}
.user-order-modal .user-order-modal__access-intro{display:flex;align-items:center;gap:16px;text-align:left;padding:4px 0 20px;}
.user-order-modal .user-order-modal__access-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;margin:0;border:1px solid #e1ebe6;border-radius:20px;background:#f2f8f5;color:#85a393;}
.user-order-modal .user-order-modal__access-icon svg{width:30px;height:30px;}
.user-order-modal .user-order-modal__access-intro h3{margin:0;color:#56667d;font-size:16px;font-weight:600;line-height:1.5;letter-spacing:normal;}
.user-order-modal .user-order-modal__stack>.user-order-modal__access-copy.alert{margin:3px 0 0;}
@media(max-width:767px){.orders-view .orders-user-summary__title-row strong{font-size:11px;line-height:1.5;}.orders-view .orders-user-summary__package{gap:3px;font-size:9px;white-space:nowrap;}.orders-view .orders-user-summary__package>span{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.orders-view .orders-user-summary__package>strong{flex:0 1 auto;min-width:24px;}.orders-view .orders-user-summary__note{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:14px;}.orders-view .orders-user-summary__note>.fa:first-child{left:0;}.orders-view .orders-user-summary__identity{gap:7px;}.orders-view .orders-user-summary__note{margin-left:23px;}.orders-view .orders-user-summary__provider-logo{flex-basis:30px;width:30px;height:30px;}.user-order-modal .user-order-modal__access-intro h3{font-size:16px;}}

.user-order-modal .user-order-modal__access-intro-text{min-width:0;}
.user-order-modal .user-order-modal__access-intro-text p{margin:5px 0 0;color:#8a97a8;font-size:11px;font-weight:400;line-height:1.65;letter-spacing:normal;}
@media(max-width:360px){.user-order-modal .user-order-modal__access-intro{gap:12px;}.user-order-modal .user-order-modal__access-intro-text h3{font-size:14px;}.user-order-modal .user-order-modal__access-intro-text p{font-size:10px;}}
.user-order-modal .user-order-modal__credentials-grid>.col-sm-6{padding:12px;border:1px solid #dce5ec;border-radius:8px;background:#f3f6f9;}
.user-order-modal .user-order-modal__credentials-grid .user-order-modal__readonly{border-color:#e0e7ee;color:#40546b;}
.user-order-modal .user-order-modal__credentials-grid .user-order-modal__copy-row>.btn{background:#f5f8fa;border-color:#dce5ec;}

.user-order-modal .user-order-modal__access-section input.user-order-modal__readonly{background:#fff!important;}
/* Password feedback owns one CSS icon; no duplicate inline icon or dismiss cross. */
#page_password .auth-password-feedback{margin:20px 0;text-align:left;font-size:12px;font-weight:500;line-height:1.65;}
#page_password .auth-password-feedback::before{top:50%;transform:translateY(-50%);}
#page_password [data-password-recovery][aria-busy="true"] button{opacity:.7;cursor:wait;}

.balance-topup-modal [data-balance-topup-step="method"] .balance-topup-modal__order-note{margin-top:24px;}
