
#aidpay .aidpay-bottom-padding {
    padding-bottom: 96px;
}

.aidpay-steam-block {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1d2025 0%, #23adff 100%);
    border: none;
    border-radius: 22px;
    padding: 18px 16px 16px;
    margin: 4px 0 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aidpay-steam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.aidpay-steam-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.aidpay-steam-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgb(18 20 23);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aidpay-steam-logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.aidpay-steam-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.aidpay-steam-title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f3f6;
    margin: 0;
    line-height: 1.2;
}

.aidpay-steam-subtitle {
    font-size: 11px;
    color: rgba(232, 236, 241, 0.5);
    margin-top: 2px;
    font-weight: 500;
}

.aidpay-region-selector {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px 10px 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.aidpay-region-selector:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.aidpay-region-selector:active { transform: scale(0.96); }

.aidpay-region-currency {
    font-size: 13px;
    font-weight: 700;
    color: #f1f3f6;
    line-height: 1;
}

.aidpay-region-arrow {
    color: rgba(232, 236, 241, 0.5);
    font-size: 10px;
}

.aidpay-payment-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.aidpay-input-wrapper {
    background: rgb(25 33 40);
    border: none;
    border-radius: 25px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.18s ease, box-shadow 0.18s ease;
    min-height: 48px;
}

.aidpay-input-wrapper:focus-within {
    background: rgb(28 38 48);
    box-shadow: inset 0 0 0 1px rgba(46, 117, 222, 0.5);
}

.aidpay-input-account {
    width: 55%;
    flex-shrink: 0;
}

.aidpay-input-amount {
    flex: 1;
    min-width: 0;
}

.aidpay-input-leading {
    font-size: 14px;
    color: rgba(232, 236, 241, 0.4);
    flex-shrink: 0;
}

.aidpay-input-field,
.aidpay-amount-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    padding: 0;
    min-width: 0;
    font-family: inherit;
}

.aidpay-amount-field {
    font-weight: 600;
}

.aidpay-input-field::placeholder,
.aidpay-amount-field::placeholder {
    color: rgba(232, 236, 241, 0.35);
    font-weight: 400;
}

.aidpay-amount-currency {
    font-size: 14px;
    font-weight: 700;
    color: rgba(232, 236, 241, 0.55);
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.aidpay-info-btn {
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 236, 241, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.aidpay-info-btn:focus,
.aidpay-info-btn:focus-visible {
    outline: none;
}

.aidpay-info-btn:hover {
    background: rgba(50, 130, 215, 0.18);
    color: #6aa8ec;
}

.aidpay-info-btn i { font-size: 14px; }

.aidpay-payment-method-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.aidpay-payment-method-btn:focus,
.aidpay-payment-method-btn:focus-visible {
    outline: none;
}

.aidpay-payment-method-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

.aidpay-payment-method-btn:active { transform: scale(0.92); }

.aidpay-payment-logo {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aidpay-payment-logo .payment-logo-wrapper {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.aidpay-payment-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.aidpay-payment-method .wallet-panel-item__icon img {
    padding: 5px;
    box-sizing: border-box;
}

.aidpay-rate-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px;
    margin: -4px 0 0;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(232, 236, 241, 0.55);
}

.aidpay-rate-hint[hidden] { display: none; }
.aidpay-rate-hint__icon { font-size: 12px; flex-shrink: 0; }
.aidpay-rate-hint__text {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.aidpay-rate-hint__text strong { color: #dcdde0; font-weight: 600; }

.aidpay-limit-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    margin: 4px 0 0;
    border-radius: 14px;
    background: rgb(25 33 40);
    border: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    text-align: left;
    transition: background 0.15s ease, transform 0.12s ease;
    -webkit-appearance: none;
    appearance: none;
}

.aidpay-limit-info[hidden] { display: none; }

.aidpay-limit-info:hover { background: rgb(28 38 48); }
.aidpay-limit-info:active { transform: scale(0.99); }

.aidpay-limit-info__row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.aidpay-limit-info__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 178, 60, 0.10);
    color: #b9c4d1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: inset 0 0 0 1px rgba(255, 178, 60, 0.16);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.aidpay-limit-info[data-state="has-vpn"] .aidpay-limit-info__icon {
    background: rgba(255, 178, 60, 0.18);
    color: #ffc35a;
    box-shadow: inset 0 0 0 1px rgba(255, 178, 60, 0.32);
}

.aidpay-limit-info[data-fee="full"] .aidpay-limit-info__icon,
.aidpay-limit-info[data-fee="mixed"] .aidpay-limit-info__icon {
    background: rgba(220, 78, 65, 0.16);
    color: #ff8a7f;
    box-shadow: inset 0 0 0 1px rgba(220, 78, 65, 0.26);
}

.aidpay-limit-info__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aidpay-limit-info__title {
    font-size: 13px;
    font-weight: 700;
    color: #f1f3f6;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aidpay-limit-info__subtitle {
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(232, 236, 241, 0.55);
    line-height: 1.35;
}

.aidpay-limit-info__meta {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.aidpay-limit-info__counter {
    font-size: 10.5px;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.42);
    line-height: 1;
    white-space: nowrap;
    font-feature-settings: "tnum";
}

.aidpay-limit-info__counter:empty {
    display: none;
}

.aidpay-limit-info__fee {
    flex-shrink: 0;
    align-self: flex-end;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(232, 236, 241, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    font-feature-settings: "tnum";
    transition: background 0.2s ease, color 0.2s ease;
}

.aidpay-limit-info[data-fee="free"] .aidpay-limit-info__fee {
    background: rgba(75, 181, 67, 0.16);
    color: #6fd663;
}

.aidpay-limit-info[data-fee="mixed"] .aidpay-limit-info__fee {
    background: rgba(75, 181, 67, 0.16);
    color: #6fd663;
}

.aidpay-limit-info[data-fee="full"] .aidpay-limit-info__fee {
    background: rgba(220, 78, 65, 0.18);
    color: #ff8a7f;
}

.aidpay-promo-badge {
    display: block;
    width: fit-content;
    margin: 0 auto 14px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(75, 181, 67, 0.16);
    color: #6fd663;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.aidpay-limit-info__track {
    position: relative;
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    overflow: hidden;
    display: block;
}

.aidpay-limit-info__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    left: 0;
    border-radius: inherit;
    transition: width 0.25s ease, left 0.25s ease, background 0.2s ease, opacity 0.2s ease;
}

.aidpay-limit-info--noanim .aidpay-limit-info__fill {
    transition: none;
}

.aidpay-limit-info__fill--used {
    background: rgba(232, 236, 241, 0.45);
}

.aidpay-limit-info__fill--preview {
    background: linear-gradient(90deg, #f5b549, #ffd17a);
}

.aidpay-limit-info__fill--overflow {
    background: linear-gradient(90deg, #e96b5e, #ff9b8e);
}

.aidpay-limit-info[data-state="no-vpn"] .aidpay-limit-info__fill--used,
.aidpay-limit-info[data-state="no-vpn"] .aidpay-limit-info__fill--preview {
    background: rgba(255, 255, 255, 0.18);
}

.aidpay-limit-info[data-state="no-vpn"] .aidpay-limit-info__fill--overflow {
    opacity: 0;
}

.aidpay-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 6px 4px 22px;
}

.aidpay-status__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 2px;
}

.aidpay-status.is-pending .aidpay-status__icon { background: rgba(245, 181, 73, 0.14); color: #ffc35a; }
.aidpay-status.is-success .aidpay-status__icon { background: rgba(75, 181, 67, 0.16); color: #6fd663; }
.aidpay-status.is-failed  .aidpay-status__icon { background: rgba(220, 78, 65, 0.16); color: #ff8a7f; }

.aidpay-status__spinner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid rgba(255, 195, 90, 0.25);
    border-top-color: #ffc35a;
    animation: aidpay-status-spin 0.8s linear infinite;
}

@keyframes aidpay-status-spin {
    to { transform: rotate(360deg); }
}

.aidpay-status__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #f1f3f6;
}

.aidpay-status__sub {
    margin: 0 6px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(232, 236, 241, 0.6);
}

.aidpay-status__rows {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0 4px;
}

.aidpay-status__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgb(25 33 40);
    font-size: 13px;
}

.aidpay-status__row span { color: rgba(232, 236, 241, 0.55); }
.aidpay-status__row strong { color: #f1f3f6; font-weight: 700; }

.aidpay-status .button-blue-primary { width: 100%; margin-top: 6px; }

.aidpay-status__ghost {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    background: transparent;
    border: none;
    color: rgba(232, 236, 241, 0.7);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.aidpay-status__ghost:active { opacity: 0.7; }

.aidpay-balance-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 11px 14px;
    border-radius: 14px;
    background: rgb(25 33 40);
    color: rgba(232, 236, 241, 0.62);
    font-size: 12.5px;
    font-weight: 500;
}

.aidpay-balance-note[hidden] {
    display: none;
}

.aidpay-balance-note i {
    font-size: 14px;
    color: #6fd663;
}

.aidpay-submit-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    background: #ffffff;
    color: #121417;
    border: none;
    border-radius: 25px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45);
    margin-top: 4px;
}

.aidpay-submit-btn:hover {
    box-shadow: 0 8px 22px -6px rgba(0, 0, 0, 0.55);
}

.aidpay-submit-btn:active {
    transform: scale(0.98);
}

.aidpay-submit-btn:disabled {
    background: #192128;
    color: #ffffff7a;
    cursor: not-allowed;
    box-shadow: none;
}

.aidpay-shop-hidden { display: none !important; }

.aidpay-coming-soon {
    margin-top: 6px;
    padding: 28px 20px;
    border-radius: 22px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.aidpay-coming-soon__title {
    font-size: 15px;
    font-weight: 700;
    color: #f1f3f6;
    line-height: 1.3;
    max-width: 320px;
}

.aidpay-coming-soon__text {
    font-size: 13px;
    color: rgba(232, 236, 241, 0.55);
    line-height: 1.45;
    max-width: 340px;
}

.aidpay-tab-hidden { display: none; }

.aidpay-tab { display: none; }
.aidpay-tab.active { display: block; }

.aidpay-other-products { margin-top: 0; }

.aidpay-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
}

@media (max-width: 480px) {
    .aidpay-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (min-width: 640px) {
    .aidpay-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) {
    .aidpay-products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.aidpay-product-card {
    background: transparent;
    border: 0;
    border-radius: 16px;
    padding: 0;
    aspect-ratio: 1;
    display: block;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}

@media (hover: hover) and (pointer: fine) {
    .aidpay-product-card:hover {
        background: transparent;
    }

    .aidpay-product-card:hover .aidpay-shop__img {
        transform: scale(1.08);
    }
}
.aidpay-shop__img {
    transition: transform 0.25s ease;
}

.aidpay-product-card:active { transform: scale(0.96); }

.aidpay-product-card__icon-wrap {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.aidpay-product-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 8px 7px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}
.aidpay-product-card__caption span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.aidpay-product-icon {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
}

.aidpay-product-name {
    font-size: 11px;
    font-weight: 600;
    color: #f1f3f6;
    text-align: center;
    line-height: 1.25;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    height: calc(1.25em * 2);
    margin-top: auto;
    padding-top: 2px;
}

.aidpay-product-card.coming-soon {
    opacity: 0.55;
    cursor: not-allowed;
}

.aidpay-product-card.coming-soon::after {
    content: 'СКОРО';
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #8E8E93;
    font-size: 8.5px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.aidpay-product-card.coming-soon:active { transform: none; }

.aidpay-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
}

.aidpay-service-card {
    background: #16181c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    aspect-ratio: 1;
}

.aidpay-service-card:active { transform: scale(0.95); }
.aidpay-service-card:hover {
    background: #1c1f25;
    border-color: rgba(255, 255, 255, 0.1);
}

.aidpay-service-card.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

.aidpay-service-card.coming-soon::after {
    content: 'СКОРО';
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #8E8E93;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.aidpay-service-card.coming-soon:active { transform: none; }

.aidpay-service-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 4px;
}

.aidpay-service-name {
    font-size: 11px;
    font-weight: 500;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 360px) {
    .aidpay-product-name,
    .aidpay-service-name { font-size: 10px; }
    .aidpay-service-icon { width: 40px; height: 40px; }
    .aidpay-steam-title { font-size: 15px; }
    .aidpay-input-field,
    .aidpay-amount-field { font-size: 13px; }
}

.aidpay-history-container { padding-top: 4px; }

.aidpay-history-item {
    background: #1b1e23;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 14px 14px 12px;
    margin-bottom: 10px;
    transition: border-color 0.2s ease;
}

.aidpay-history-item:hover { border-color: rgba(255, 255, 255, 0.1); }

.aidpay-history-main {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 0;
}

.aidpay-history-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.aidpay-history-icon-wrap i {
    font-size: 18px;
    color: rgba(232, 236, 241, 0.55);
}

.aidpay-history-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.aidpay-history-info {
    flex: 1;
    min-width: 0;
}

.aidpay-history-service {
    font-size: 14px;
    font-weight: 600;
    color: #f1f3f6;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aidpay-history-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1;
    color: rgba(232, 236, 241, 0.5);
    font-weight: 500;
}

.aidpay-history-type {
    color: rgba(106, 168, 236, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 10px;
    font-weight: 700;
}

.aidpay-history-meta-sep { opacity: 0.5; }

.aidpay-history-date { color: rgba(232, 236, 241, 0.5); }

.aidpay-history-amount {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 8px;
}

.aidpay-history-code {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-family: 'SF Mono', Monaco, Menlo, monospace;
    color: rgba(241, 243, 246, 0.92);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.aidpay-shop-invite {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 12px 0 4px;
    text-align: left;
}

.aidpay-shop-invite__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.aidpay-shop-invite__input {
    width: 100%;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    color: #fff;
    outline: none;
}

.aidpay-shop-invite__input:focus {
    border-color: rgba(99, 161, 255, 0.55);
}

.aidpay-shop-invite__hint {
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.45);
}

.aidpay-shop-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 12px 0 4px;
    text-align: left;
}

.aidpay-shop-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aidpay-shop-field__label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.aidpay-field-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.aidpay-field-chip {
    padding: 10px 14px;
    font-size: 13.5px;
}
.aidpay-field-chip.is-active {
    background: rgba(255, 255, 255, 0.07);
    color: #f1f3f6;
}

.aidpay-shop-paymethods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 0;
}
.aidpay-shop-paymethods__label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 2px 2px;
}

.aidpay-region-row:disabled,
.aidpay-region-row.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.aidpay-region-row:disabled .aidpay-region-row__check,
.aidpay-region-row.is-disabled .aidpay-region-row__check {
    display: none;
}

.aidpay-shop-field__hint {
    margin: 0;
}

.aidpay-shop-stars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    text-align: left;
}
.aidpay-shop-stars__presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.aidpay-shop-stars__presets .aidpay-region-chip {
    flex: 0 0 auto;
}

.aidpay-shop-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 14px 2px 6px;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.aidpay-shop-consent__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.aidpay-shop-consent__check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.aidpay-shop-consent__check i {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.aidpay-shop-consent__input:checked + .aidpay-shop-consent__check {
    background: #63a1ff;
    border-color: #63a1ff;
}
.aidpay-shop-consent__input:checked + .aidpay-shop-consent__check i {
    opacity: 1;
    transform: scale(1);
}
.aidpay-shop-consent__input:focus-visible + .aidpay-shop-consent__check {
    box-shadow: 0 0 0 3px rgba(99, 161, 255, 0.3);
}
.aidpay-shop-consent:active .aidpay-shop-consent__check {
    transform: scale(0.92);
}
.aidpay-shop-consent__text {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.aidpay-shop-invite--history {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.aidpay-shop-invite__send {
    margin-top: 2px;
    padding: 10px 14px;
    font-size: 13px;
}

.aidpay-history-gift {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(46, 204, 113, 0.08);
    border: 1px dashed rgba(46, 204, 113, 0.25);
    border-radius: 10px;
    font-size: 12px;
    color: #58d68d;
}

.aidpay-shop-success__code {
    width: 100%;
    margin-top: 14px;
    font-size: 14px;
}

.aidpay-history-code-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.aidpay-history-copy-btn {
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(232, 236, 241, 0.6);
    cursor: pointer;
    padding: 4px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.aidpay-history-copy-btn:hover {
    background: rgba(50, 130, 215, 0.18);
    color: #6aa8ec;
}

a.aidpay-history-copy-btn { text-decoration: none; }

.aidpay-history-copy-btn .bi { font-size: 13px; }

.aidpay-history-copy-btn:active { transform: scale(0.92); }

.aidpay-history-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(232, 236, 241, 0.5);
    font-size: 14px;
}

.aidpay-container {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.aidpay-purchase-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
}

.aidpay-purchase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: aidpayFadeIn 0.2s ease;
}

.aidpay-purchase-content {
    position: relative;
    width: 100%;
    max-height: 85vh;
    background: #1D2025;
    border-radius: 24px 24px 0 0;
    padding: 0;
    animation: aidpaySlideUp 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 600px) {
    .aidpay-purchase-content { max-height: 69vh; }
}

.aidpay-purchase-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
}

.aidpay-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8E8E93;
    transition: all 0.2s ease;
}

.aidpay-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.aidpay-purchase-body {
    padding: 24px 20px;
    overflow-y: auto;
    flex: 1;
}

.aidpay-service-header {
    text-align: center;
    margin-bottom: 24px;
}

.aidpay-service-header-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 16px;
}

.aidpay-service-header-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.aidpay-service-header-description {
    font-size: 14px;
    color: #8E8E93;
    margin: 0;
}

.aidpay-amount-section { margin-bottom: 20px; }

.aidpay-amount-label {
    font-size: 14px;
    font-weight: 500;
    color: #B1B4B9;
    margin-bottom: 8px;
    display: block;
}

.aidpay-amount-input-wrapper {
    background: #16181C;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aidpay-amount-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 28px;
    font-weight: 600;
    color: #FFFFFF;
    padding: 0;
}

.aidpay-amount-hint {
    font-size: 12px;
    color: #8E8E93;
    margin-top: 8px;
}

.aidpay-quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.aidpay-quick-amount-btn {
    background: #16181C;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aidpay-quick-amount-btn:hover {
    background: #1D2025;
    border-color: rgba(255, 255, 255, 0.2);
}

.aidpay-quick-amount-btn.active {
    background: rgba(50, 130, 215, 0.18);
    border-color: #3282d7;
    color: #6aa8ec;
}

.aidpay-info-block {
    background: #16181C;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.aidpay-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.aidpay-info-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aidpay-info-label { font-size: 14px; color: #8E8E93; }
.aidpay-info-value { font-size: 14px; font-weight: 600; color: #FFFFFF; }

.aidpay-purchase-btn {
    width: 100%;
    background: #3282d7;
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aidpay-purchase-btn:hover { background: #2266b0; }
.aidpay-purchase-btn:active { transform: scale(0.98); }
.aidpay-purchase-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #8E8E93;
    cursor: not-allowed;
}

@keyframes aidpayFadeIn {
    from { opacity: 0; } to { opacity: 1; }
}

@keyframes aidpaySlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

.aidpay-vpn-benefits { padding: 22px 20px 24px; }

.aidpay-vpn-benefits__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
}

.aidpay-vpn-benefits__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(46, 117, 222, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.aidpay-vpn-benefits__icon i {
    font-size: 26px;
    color: #6aa8ec;
    line-height: 1;
}

.aidpay-vpn-benefits__icon--ok {
    background: rgba(75, 181, 67, 0.16);
}

.aidpay-vpn-benefits__icon--ok i {
    color: #6fd663;
}

.aidpay-vpn-benefits__title {
    font-size: 19px;
    font-weight: 700;
    color: #f1f3f6;
    margin: 0 0 6px;
}

.aidpay-vpn-benefits__subtitle {
    font-size: 13px;
    color: rgba(232, 236, 241, 0.6);
    margin: 0;
    line-height: 1.4;
    max-width: 320px;
}

.aidpay-vpn-benefits__list {
    background: #1b1e23;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 16px;
    padding: 4px 14px;
    margin-bottom: 16px;
}

.aidpay-vpn-benefits__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.aidpay-vpn-benefits__item + .aidpay-vpn-benefits__item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.aidpay-vpn-benefits__check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(46, 117, 222, 0.16);
    box-shadow: inset 0 0 0 1px rgba(46, 117, 222, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6aa8ec;
    font-size: 13px;
    flex-shrink: 0;
}

.aidpay-vpn-benefits__text {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.aidpay-vpn-benefits__text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #f1f3f6;
    margin-bottom: 2px;
    line-height: 1.25;
}

.aidpay-vpn-benefits__text small {
    display: block;
    font-size: 12px;
    color: rgba(232, 236, 241, 0.55);
    line-height: 1.4;
}

.aidpay-vpn-benefits__close {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #f1f3f6;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease;
    -webkit-appearance: none;
    appearance: none;
}

.aidpay-vpn-benefits__close:hover { background: rgba(255, 255, 255, 0.08); }
.aidpay-vpn-benefits__close:active { transform: scale(0.99); }

.aidpay-total-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.aidpay-total-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.aidpay-total-label { font-size: 14px; font-weight: 500; color: #8E8E93; }
.aidpay-total-amount { font-size: 20px; font-weight: 700; color: #FFFFFF; }

.aidpay-vpn-badge {
    background: rgba(50, 130, 215, 0.1);
    border: 1px solid rgba(50, 130, 215, 0.2);
    border-radius: 12px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #6aa8ec;
    white-space: nowrap;
}

.aidpay-vpn-badge.active {
    background: rgba(75, 181, 67, 0.12);
    border-color: rgba(75, 181, 67, 0.2);
    color: #6fd663;
}

.aidpay-vpn-badge i { font-size: 12px; }

.aidpay-region-list {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aidpay-region-list__title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f3f6;
    margin: 0 2px 8px;
}

.aidpay-region-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #1D2025;
    border: 1px solid transparent;
    border-left: none;
    border-radius: 16px;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
}

.aidpay-region-row:hover {
    background: #22262c;
}

.aidpay-region-row:active {
    transform: scale(0.995);
}

.aidpay-region-row.is-active {
    border-color: transparent;
    background:
        linear-gradient(270deg, rgba(46, 117, 222, 0.10) 0%, rgba(46, 117, 222, 0) 100%),
        #1D2025;
}

.aidpay-region-row__symbol {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #f1f3f6;
    line-height: 1;
    font-feature-settings: "tnum";
}

.aidpay-region-row.is-active .aidpay-region-row__symbol {
    background: rgba(46, 117, 222, 0.18);
    color: #9cc4f0;
}

.aidpay-region-row__symbol--logo {
    background: transparent;
    border: none;
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
}

.aidpay-region-row__symbol--logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.aidpay-region-row.is-active .aidpay-region-row__symbol--logo {
    background: transparent;
    border: none;
}

.aidpay-region-list__category {
    font-size: 12px;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 8px 4px 2px;
    margin-top: 4px;
}

.aidpay-region-list__category:first-child {
    margin-top: 0;
}

.aidpay-region-list__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 2px 6px;
}

.aidpay-region-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(232, 236, 241, 0.7);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.aidpay-region-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
    display: block;
}

.aidpay-region-globe {
    font-size: 13px;
    line-height: 1;
    color: rgba(232, 236, 241, 0.55);
}

.aidpay-region-chip:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #f1f3f6;
}

.aidpay-region-chip.is-active {
    background: var(--ui-color-border-strong, #3F444C);
    color: var(--ui-color-text-soft, #DCDDE0);
}

.aidpay-region-chip__count {

    margin-left: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.4);
}

.aidpay-region-chip.is-active .aidpay-region-chip__count {
    color: rgba(220, 221, 224, 0.6);
}

.aidpay-region-list__rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aidpay-region-row__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aidpay-region-row__title {
    font-size: 15px;
    font-weight: 600;
    color: #f1f3f6;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aidpay-region-row__subtitle {
    font-size: 12px;
    font-weight: 500;
    color: rgba(232, 236, 241, 0.45);
    line-height: 1.2;
    letter-spacing: 0.4px;
}

.aidpay-region-row__check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    background: transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.aidpay-region-row.is-active .aidpay-region-row__check {
    background: #2e75de;
    border-color: #2e75de;
}

.aidpay-region-row__check i { line-height: 1; }
.aidpay-region-row:not(.is-active) .aidpay-region-row__check i { display: none; }

.gift-card-regions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.gift-card-region-option {
    background: #1D2025;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gift-card-region-option:hover { background: #22252A; }

.gift-card-region-option.active {
    border-color: #3282d7;
    background: rgba(50, 130, 215, 0.1);
}

.gift-card-region-flag { font-size: 24px; line-height: 1; }

.gift-card-region-name {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

#aidpay .button-blue-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aidpay-shop {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.aidpay-shop__sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-bottom: 10px;
    background: var(--app-main-bg-color, #121417);
}

.aidpay-shop--history .aidpay-shop__sticky .programs-scroll-wrap,
.aidpay-shop--history .aidpay-shop__sticky .aidpay-shop__search {
    display: none;
}

.aidpay-shop > .toggle-content {
    margin-top: 0;
    width: calc(100% - 2px);
    margin-left: auto;
    margin-right: auto;
}

.aidpay-shop--loading > .toggle-content > .toggle-content__item--active {
    min-height: 100vh;
    min-height: 100dvh;
}

.aidpay-shop__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aidpay-shop__title {
    font-size: 16px;
    font-weight: 700;
    color: #f1f3f6;
}

.aidpay-shop__tabs.programs-scroll {
    gap: 8px;
}

.aidpay-shop__tab {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(232, 236, 241, 0.7);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.aidpay-shop__tab:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #f1f3f6;
}
.aidpay-shop__tab:active { transform: scale(0.97); }
.aidpay-shop__tab.is-active {
    background: var(--ui-color-border-strong, #3F444C);
    color: var(--ui-color-text-soft, #DCDDE0);
}

.aidpay-shop__search {
    position: relative;
    display: flex;
    align-items: center;
}
.aidpay-shop__search-icon {
    position: absolute;
    left: 14px;
    color: rgba(232, 236, 241, 0.4);
    font-size: 15px;
    pointer-events: none;
}
.aidpay-shop__search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px 12px 40px;
    border-radius: 14px;
    border: none;
    background: #1e2127;
    color: #f1f3f6;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}
.aidpay-shop__search-input::placeholder { color: rgba(232, 236, 241, 0.35); }
.aidpay-shop__search-input:focus { border-color: rgba(35, 173, 255, 0.5); }

.aidpay-shop__card-meta {
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.aidpay-shop__card-fallback {
    font-size: 26px;
    color: rgba(232, 236, 241, 0.3);
}

.aidpay-shop__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 16px;
    color: rgba(232, 236, 241, 0.5);
    font-size: 13px;
    text-align: center;
}
.aidpay-shop__state i { font-size: 22px; }

.aidpay-shop__spin {
    display: inline-block;
    animation: aidpay-shop-spin 0.8s linear infinite;
}
@keyframes aidpay-shop-spin {
    to { transform: rotate(360deg); }
}

.aidpay-shop__more {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    color: rgba(232, 236, 241, 0.4);
    font-size: 18px;
}

.bottom-panel.bottom-panel--shop-full .bottom-panel__content {
    height: min(90dvh, calc(100dvh - 8px));
    max-height: min(88dvh, calc(100dvh - 8px));
    overflow: hidden;

    transition: transform 0.6s var(--ui-ease-standard, cubic-bezier(0.25, 0.8, 0.25, 1));
}
.bottom-panel.bottom-panel--shop-full .bottom-panel__content-inner {
    max-height: min(90dvh, calc(100dvh - 8px));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
@media (min-width: 600px) {
    .bottom-panel.bottom-panel--shop-full .bottom-panel__content {
        height: min(75dvh, calc(100dvh - 24px));
        max-height: min(75dvh, calc(100dvh - 24px));
    }
    .bottom-panel.bottom-panel--shop-full .bottom-panel__content-inner {
        max-height: min(75dvh, calc(100dvh - 24px));
    }
}

.aidpay-shop-sheet {
    padding: 20px 16px calc(28px + env(safe-area-inset-bottom, 0px));
}
.aidpay-shop-sheet--boot {
    min-height: min(90dvh, calc(100dvh - 8px));
    display: flex;
    align-items: center;
    justify-content: center;
}
.aidpay-shop-sheet--boot .aidpay-shop-sheet__loading {
    padding: 0;
}
.aidpay-shop-sheet__loading,
.aidpay-shop-sheet__empty {
    text-align: center;
    color: rgba(232, 236, 241, 0.55);
    font-size: 14px;
    padding: 24px 0;
}
.aidpay-shop-sheet__note {
    font-size: 12.5px;
    color: rgba(232, 236, 241, 0.55);
    line-height: 1.45;
    white-space: pre-line;
    margin: 0 0 12px;
}
.aidpay-shop-sheet__hint {
    text-align: center;
    font-size: 12px;
    color: rgba(232, 236, 241, 0.4);
    margin: 14px 0 0;
    flex-shrink: 0;
}
.aidpay-shop-sheet__hintbox {
    margin: 12px 0 0;
    flex-shrink: 0;
}
.aidpay-shop-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    flex-shrink: 0;
}
.aidpay-shop-linkbtn {
    flex: 1 1 auto;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--ui-color-accent, #3b82f6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: filter 0.15s ease, transform 0.05s ease;
}
.aidpay-shop-linkbtn:active {
    transform: scale(0.98);
    filter: brightness(0.92);
}
.aidpay-shop-offers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aidpay-shop-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    background: #16181c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: inherit;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}
.aidpay-shop-offer.is-buyable {
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.aidpay-shop-offer.is-buyable:hover {
    background: #1a1d22;
    border-color: rgba(255, 255, 255, 0.1);
}
.aidpay-shop-offer__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.aidpay-shop-offer__name {
    font-size: 13.5px;
    color: #f1f3f6;
    font-weight: 500;
}
.aidpay-shop-offer__vpn-hint {
    font-size: 11px;
    font-weight: 500;
    color: #d9a426;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.aidpay-shop-offer__price-box {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.aidpay-shop-offer__price {
    font-size: 15px;
    font-weight: 700;
    color: #f1f3f6;
    white-space: nowrap;
}
.aidpay-shop-offer__price-old {
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(232, 236, 241, 0.4);
    text-decoration: line-through;
}
.aidpay-shop-offer__price-line {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}
.aidpay-shop-offer__vpn-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(217, 164, 38, 0.12);
    color: #d9a426;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
}
.aidpay-shop-offer__vpn-badge i {
    font-size: 10px;
    line-height: 1;
}
.aidpay-shop-offer__chev {
    font-size: 12px;
    color: rgba(232, 236, 241, 0.3);
    flex: 0 0 auto;
}

.aidpay-shop-offer-row {
    font-family: inherit;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}
.aidpay-shop-offer-row:disabled {
    cursor: default;
    transform: none;
}
.aidpay-shop-offer-row.is-out {
    opacity: 0.55;
}
.aidpay-shop-offer-row .aidpay-region-row__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.aidpay-shop-offer-row .aidpay-region-row__title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.3;
}

.aidpay-shop-confirm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0;
    padding: 14px;
    border-radius: 14px;
    background: #16181c;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.aidpay-shop-confirm__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    color: #f1f3f6;
}
.aidpay-shop-confirm__row--muted {
    font-size: 12.5px;
    color: rgba(232, 236, 241, 0.55);
}
.aidpay-shop-confirm__label {
    font-weight: 500;
    min-width: 0;
}
.aidpay-shop-confirm__vpn {
    font-size: 12px;
    color: #d9a426;
    display: flex;
    align-items: center;
    gap: 5px;
}
.aidpay-shop-confirm__warn {
    font-size: 12.5px;
    color: #e5564f;
}
.aidpay-shop-confirm__pay {
    width: 100%;
    margin-top: 8px;
}
.aidpay-shop-confirm__pay:disabled {
    opacity: 0.5;
    cursor: default;
}

.aidpay-shop-confirm__back {
    width: 100%;
    min-height: 48px;
    margin: 10px 0 4px;
    border-radius: 25px;
    font-size: 15px;
    font-family: inherit;
}
.aidpay-shop-sheet--success {
    text-align: center;
}
.aidpay-shop-sheet--success .aidpay-shop-sheet__title {
    text-align: center;
}
.aidpay-shop-success__icon {
    text-align: center;
    font-size: 44px;
    color: #3d9966;
    margin: 8px 0 4px;
    transition: color 0.25s ease;
}

.aidpay-shop-success__icon--pending {
    color: #d4a23a;
}
.aidpay-shop-success__icon--pending i {
    display: inline-block;
    animation: aidpay-shop-pulse 1.1s ease-in-out infinite;
}
.aidpay-shop-success__icon--success {
    color: #3d9966;
}
.aidpay-shop-success__icon--error {
    color: #d9534f;
}
@keyframes aidpay-shop-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.92); }
}
.aidpay-shop-success__text {
    text-align: center;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(232, 236, 241, 0.7);
    margin: 10px 0 6px;
}

.aidpay-shop-order .aidpay-history-main {
    align-items: flex-start;
}

.aidpay-shop-order__offer {
    margin-top: 3px;
    font-size: 12px;
    color: rgba(232, 236, 241, 0.6);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aidpay-shop-order__date {
    margin-top: 3px;
    font-size: 11px;
    color: rgba(232, 236, 241, 0.38);
}

.aidpay-shop-order__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    padding-left: 8px;
}

.aidpay-order-status {
    font-size: 11px;
    font-weight: 600;
}
.aidpay-order-status--processing { color: #d9a426; }
.aidpay-order-status--completed  { color: #3d9966; }
.aidpay-order-status--refunded   { color: rgba(232, 236, 241, 0.5); }
.aidpay-order-status--failed     { color: #e5564f; }

.aidpay-history-empty {
    text-align: center;
    padding: 32px 16px;
    color: rgba(232, 236, 241, 0.45);
    font-size: 13.5px;
}
.aidpay-shop-offer__out {
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(232, 236, 241, 0.4);
}

.aidpay-shop-offer__variant {
    margin-left: 8px;
    padding: 2px 7px;
    font-size: 10.5px;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(232, 236, 241, 0.08);
    color: rgba(232, 236, 241, 0.55);
    white-space: nowrap;
    vertical-align: middle;
}

#aidpay-shop .aidpay-product-card__icon-wrap {
    position: absolute;
    inset: 0;
    padding: 0;
}
#aidpay-shop .aidpay-product-icon,
.aidpay-shop-sheet__icon .aidpay-product-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    padding: 0;
}
.aidpay-shop__img {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.aidpay-shop__avatar {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    border-radius: 16px;
}

.aidpay-shop__regions-badge {
    position: absolute;
    left: 6px;
    bottom: 6px;
    z-index: 2;
    padding: 3px 7px;
    border-radius: 7px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
    background: rgba(11, 13, 16, 0.72);
    backdrop-filter: blur(4px);
}

.aidpay-shop-sheet__icon {
    position: relative;
    width: 100%;
    aspect-ratio: 352 / 198;
    margin: 0 0 16px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.025);
}
.aidpay-shop-sheet__icon .aidpay-product-icon {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.aidpay-shop-sheet__icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(22, 24, 28, 0) 0%,
        var(--ui-color-surface, #16181c) 100%
    );
}

.aidpay-shop-sheet__title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f3f6;
    margin: 0 0 14px;
}
.aidpay-shop-regions {
    margin: 4px 0 16px;
}
.aidpay-shop-prices {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
