/* === Reset & Variables === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    --primary: #000;
    --secondary: #fff;
    --backgroundPrimary: #f6f6f6;
    --backgroundSecondary: #ebebeb;
    --backgroundExpiration: #fff;
    --backgroundCopyIcon: #fff;
    --backgroundSuccessOverlay: rgb(58 194 112 / 16%);
    --borderPrimarySolid: rgb(0 0 0 / 10%);
    --textSecondary: #747474;
    --contentSecondary: #666;
    --success: #2aa668;
    --sElevation_4: 0 0 80px rgb(0 0 0 / 10%);
    --payform: linear-gradient(248deg, #ededed 6%, #f6f6f6 97%);
    --payformCheckout: #fff;
    --bg-actions: #fff;
    --select_border: #e6e6e6;
    --select_hover: #f6f6f6;
    --select_default: #fff;
    --btn-bg: #0a0a0a;
    --btn-color: #fff;
    --btn-hover: #242424;
    --btn-disabled-bg: #f6f6f6;
    --btn-disabled-color: grey;
    --dropdown-shadow: 0 8px 24px rgb(0 0 0 / 12%);
    font-family: 'Golos Text', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

body.dark {
    --primary: #fff;
    --secondary: #000;
    --backgroundPrimary: #000;
    --backgroundSecondary: #242424;
    --backgroundExpiration: #141414;
    --backgroundCopyIcon: #2d2d2d;
    --borderPrimarySolid: rgb(255 255 255 / 10%);
    --textSecondary: #a3a3a3;
    --contentSecondary: #c5c5c5;
    --payform: linear-gradient(255deg, #282828 4%, #232323 100%);
    --payformCheckout: linear-gradient(255deg, #282828 4%, #232323 100%);
    --bg-actions: #141414;
    --select_border: #3c3c3c;
    --select_hover: #333;
    --select_default: #2c2c2c;
    --btn-bg: #fff;
    --btn-color: #0a0a0a;
    --btn-hover: #a1a1a1;
    --btn-disabled-bg: #1a1a1a;
    --btn-disabled-color: #828282;
    --dropdown-shadow: 0 8px 24px rgb(0 0 0 / 40%);
    --sElevation_4: 0 0 80px rgb(0 0 0 / 30%);
}

/* === Layout === */
.pay {
    min-height: 100vh;
    background: var(--secondary);
    color: var(--primary);
}

.pay-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.pay__content {
    display: flex;
    flex-direction: column;
    max-width: 578px;
    width: 100%;
    margin-top: 40px;
    border-radius: 24px;
    box-shadow: var(--sElevation_4);
}

/* === Steps === */
.step {
    display: none;
}

.step.active {
    display: contents;
}

/* === Header === */
.pay__header {
    background: var(--payform);
    padding: 24px 32px 0;
    border-radius: 24px 24px 0 0;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
}

.header__logo svg {
    width: 42px;
    height: 42px;
}

.header__logo-img {
    height: 46px;
    width: auto;
}

.header__logo-icon {
    width: 42px;
    height: 42px;
}

.header__signup {
    text-decoration: none;
}

.header__signup .btn {
    border-radius: 50px;
    padding: 0 20px;
    font-weight: 600;
}

/* === Info Section (gradient bg) === */
.pay__info {
    background: var(--payform);
    padding: 0 32px 32px;
}

/* === Actions Section (solid bg) === */
.pay__actions {
    background: var(--bg-actions);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-radius: 0 0 24px 24px;
}

/* === Payment Details === */
.payment-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-details__heading {
    font-size: 15px;
    font-weight: 600;
    color: #3ac270;
    margin-top: 16px;
}

.activation-id {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--contentSecondary);
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.activation-id__label {
    font-weight: 500;
}

.activation-id__value {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.payment-details__description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--contentSecondary);
}

.payment-details__description strong {
    color: var(--primary);
    font-weight: 600;
}

.payment-details__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-details__amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.amount__value {
    font-size: 38px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.amount__currency {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}

.amount__copy-btn {
    background: var(--backgroundSecondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--textSecondary);
    cursor: pointer;
    transform: scaleX(-1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .2s, border-color .2s, box-shadow .2s;
    margin-left: 8px;
    box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.35);
}

.amount__copy-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.payment-details__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta__fiat {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.meta__network {
    font-size: 15px;
    color: var(--contentSecondary);
}

.meta__fee {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--contentSecondary);
    margin-top: 2px;
}

.meta__fee svg {
    flex-shrink: 0;
}

/* === Copy Icon === */


/* === Sub Row (EUR + Select network + icons) === */
.payment-details__sub-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.payment-details__sub-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub__fiat {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

.sub__network-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
}

.sub__fee {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--textSecondary);
    margin-top: 2px;
}

.sub__fee svg {
    flex-shrink: 0;
}

.payment-details__sub-right {
    display: flex;
    gap: 8px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #000;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: opacity .2s;
}

body:not(.dark) .icon-circle {
    background: #f0f0f0;
    color: #000;
}

.icon-circle:hover {
    opacity: .7;
}

/* === Notification Bar === */
.notification-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--backgroundExpiration);
    border-radius: 14px;
    cursor: pointer;
    transition: opacity .2s;
}

.notification-bar:hover {
    opacity: .8;
}

.notification-bar__icon {
    flex-shrink: 0;
    color: var(--contentSecondary);
}

.notification-bar__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.notification-bar__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.notification-bar__text {
    font-size: 13px;
    color: var(--contentSecondary);
    line-height: 1.4;
}

.notification-bar__arrow {
    flex-shrink: 0;
    color: var(--contentSecondary);
}

/* === Expiration Timer === */
.expire {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--backgroundExpiration);
    border-radius: 14px;
}

.expire--compact {
    background: transparent;
    border-radius: 0;
    padding: 14px 16px;
}

.expire__icon {
    flex-shrink: 0;
    line-height: 0;
}

.expire__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.expire__label {
    font-size: 15px;
    color: var(--contentSecondary);
}

.expire__time {
    font-size: 16px;
    font-weight: 600;
    color: #3ac270;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: background .2s, opacity .2s;
    white-space: nowrap;
}

.btn--small {
    height: 40px;
    padding: 0 10px;
    font-size: 15px;
}

.btn--large {
    height: 56px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
}

.btn--full {
    width: 100%;
}

.btn--primary {
    background: var(--btn-bg);
    color: var(--btn-color);
}

.btn--primary:hover {
    opacity: .85;
}

.btn--primary:active {
    opacity: .75;
}

.btn--disabled,
.btn:disabled {
    background: var(--btn-disabled-bg) !important;
    color: var(--btn-disabled-color) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

#btn-proceed {
    margin-top: 8px;
}

.btn__logo {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* === Dropdown === */
.selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dropdown {
    position: relative;
}

.dropdown__trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    color: var(--primary);
}

.dropdown__trigger:hover {
    background: rgba(255, 255, 255, .08);
}

.dropdown.disabled .dropdown__trigger {
    opacity: 0.4;
    cursor: not-allowed;
}

.dropdown.disabled .dropdown__trigger:hover {
    background: transparent;
}

.dropdown.open .dropdown__trigger {
    border-color: rgba(255, 255, 255, .1);
}

.dropdown__selected {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.dropdown__selected img {
    width: 22px;
    height: 22px;
    border-radius: 0;
    object-fit: contain;
}

.dropdown__arrow {
    color: var(--contentSecondary);
    transition: transform .2s;
    flex-shrink: 0;
}

.dropdown.open .dropdown__arrow {
    transform: rotate(180deg);
}

.dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--select_default);
    border: 1px solid var(--select_border);
    border-radius: 16px;
    padding: 8px;
    z-index: 50;
    box-shadow: var(--dropdown-shadow);
    max-height: 360px;
    flex-direction: column;
}

#dropdown-network .dropdown__menu,
#dropdown-currency .dropdown__menu {
    top: auto;
    bottom: calc(100% + 6px);
}

.dropdown.open .dropdown__menu {
    display: flex;
}

.dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    transition: background .15s;
}

.dropdown__item:hover {
    background: var(--select_hover);
}

.dropdown__item.active {
    background: var(--select_hover);
    font-weight: 600;
}

.dropdown__item img {
    width: 24px;
    height: 24px;
    border-radius: 0;
    object-fit: contain;
}

.dropdown__search-wrapper {
    position: relative;
    margin-bottom: 4px;
}

.dropdown__search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--textSecondary);
    pointer-events: none;
    line-height: 0;
}

.dropdown__search {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: none;
    border-radius: 12px;
    background: var(--backgroundSecondary);
    color: var(--primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.dropdown__search::placeholder {
    color: var(--textSecondary);
}

.dropdown__items {
    max-height: 260px;
    overflow-y: auto;
}

.dropdown__items::-webkit-scrollbar {
    width: 6px;
}

.dropdown__items::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown__items::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.dropdown__placeholder {
    color: var(--textSecondary);
}

.dropdown__icon {
    display: block;
}

/* === Back Button === */
.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    padding: 0;
    transition: opacity .2s;
}

.back-button:hover {
    opacity: .7;
}

/* === Checkout Card === */
.checkout-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--payformCheckout);
    box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
}

.checkout-card__info {
    display: flex;
    padding: 16px;
    border-bottom: 1px solid var(--borderPrimarySolid);
    gap: 16px;
}

.checkout-card__qr {
    flex-shrink: 0;
    border: 4px solid #fff;
    border-radius: 4px;
    line-height: 0;
    align-self: flex-start;
}

.checkout-card__recipient {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 2px;
}

.recipient__label {
    font-size: 13px;
    color: var(--textSecondary);
}

.recipient__address {
    display: flex;
    align-items: center;
    gap: 8px;
}

.recipient__hash {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--primary);
    word-break: break-all;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recipient__copy {
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    display: flex;
    transition: opacity .2s;
}

.recipient__copy:hover {
    opacity: .7;
}

.recipient__notify {
    font-size: 13px;
    color: var(--textSecondary);
    line-height: 1.5;
}

.recipient__email-btn {
    background: none;
    border: none;
    color: var(--textSecondary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    font-family: inherit;
}

/* Checkout status bar */
.checkout-card__status {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.status__expire {
    border-right: 1px solid var(--borderPrimarySolid);
}

.status__confirms {
    position: relative;
}

/* === Confirmations === */
.confirm {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.confirm__spinner {
    animation: spin 2s linear infinite;
    flex-shrink: 0;
}

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

.confirm__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.confirm__label {
    font-size: 15px;
    color: var(--contentSecondary);
}

.confirm__count {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

/* === Contract Address === */
.contract-address {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--payformCheckout);
    box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
    font-size: 15px;
    color: var(--contentSecondary);
}

.contract-address a {
    color: var(--contentSecondary);
    text-decoration: underline;
}

/* === Trust Points === */
.trust-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 12px 14px;
    background: var(--backgroundExpiration);
    border: 1px solid var(--borderPrimarySolid);
    border-radius: 14px;
}

.trust-points__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    line-height: 1.3;
    color: var(--contentSecondary);
}

.trust-points__item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

/* === Expired Banner === */
.expired-banner {
    background: var(--payform);
    padding: 0 32px 24px;
}

.expired-banner__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 16px;
}

.expired-banner__icon {
    flex-shrink: 0;
}

.expired-banner__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.expired-banner__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.expired-banner__sub {
    font-size: 15px;
    color: var(--contentSecondary);
}

/* === Refund Notice === */
.refund-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgb(58 194 112 / 8%);
    border-radius: 12px;
    font-size: 13px;
    color: var(--contentSecondary);
    line-height: 1.4;
}

.refund-notice svg {
    flex-shrink: 0;
}

/* === No QR layout === */
.checkout-card__info--no-qr {
    flex-direction: column;
}

/* === Alternative Payment === */
.alt-pay {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.alt-pay__divider {
    display: flex;
    align-items: center;
    gap: 16px;
}

.alt-pay__line {
    flex: 1;
    border-top: 1px solid var(--borderPrimarySolid);
}

.alt-pay__divider span {
    font-size: 15px;
    color: var(--contentSecondary);
    white-space: nowrap;
}

.alt-pay__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alt-pay__buttons .btn {
    font-weight: 600;
    font-size: 16px;
}

.alt-pay__buttons .btn__logo {
    width: 28px;
    height: 28px;
}

/* === Footer === */
.pay__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px 40px;
}

.footer__link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.footer__text {
    font-size: 15px;
    color: var(--contentSecondary);
    text-align: center;
}

.footer__icons {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.footer__icon {
    display: flex;
    line-height: 0;
}

/* === Support Button === */
.support-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
}

.support-btn__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #3a3a3a;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
    transition: transform .2s;
}

.support-btn__button:hover {
    transform: scale(1.05);
}

/* === FAQ Panel === */
#step-faq.active {
    display: contents;
}

.faq-panel {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: hidden;
}

.faq-panel__return {
    background: var(--payform);
    padding: 12px 32px 0;
    border-bottom: 1px solid var(--borderPrimarySolid);
}

.faq-return {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: opacity .2s;
}

.faq-return:hover {
    opacity: .7;
}

.faq-panel__content {
    background: var(--bg-actions);
    padding: 24px 32px 32px;
    border-radius: 0 0 24px 24px;
    max-height: 520px;
    overflow-y: auto;
}

.faq-panel__content::-webkit-scrollbar {
    width: 6px;
}

.faq-panel__content::-webkit-scrollbar-track {
    background: transparent;
}

.faq-panel__content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.faq-search-wrapper {
    position: relative;
    margin-bottom: 8px;
}

.faq-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--textSecondary);
    pointer-events: none;
}

.faq-search {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 1px solid var(--select_border);
    border-radius: 14px;
    background: var(--backgroundSecondary);
    color: var(--primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.faq-search::placeholder {
    color: var(--textSecondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--borderPrimarySolid);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 0;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: opacity .2s;
}

.faq-item__question:hover {
    opacity: .7;
}

.faq-item__toggle {
    font-size: 20px;
    font-weight: 300;
    flex-shrink: 0;
    color: var(--textSecondary);
    transition: transform .2s;
    line-height: 1;
}

.faq-item.open .faq-item__toggle {
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
    padding: 0 0 16px;
}

.faq-item.open .faq-item__answer {
    display: block;
}

.faq-item__answer p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--contentSecondary);
}

/* === Email Overlay === */
.email-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.email-overlay.open {
    display: flex;
}

.email-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.email-overlay__modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg-actions);
    border-radius: 20px;
    overflow: hidden;
    animation: fadeIn .2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.email-overlay__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--borderPrimarySolid);
}

.email-overlay__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.email-overlay__close {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.email-overlay__close:hover {
    opacity: .7;
}

.email-overlay__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-overlay__input {
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    color: var(--primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color .2s;
}

.email-overlay__input:focus {
    border-color: rgba(255, 255, 255, .25);
}

.email-overlay__input::placeholder {
    color: var(--textSecondary);
}

.email-overlay__btn {
    width: 100%;
    padding: 16px;
    background: var(--btn-disabled-bg);
    color: var(--btn-disabled-color);
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: not-allowed;
    transition: background .2s, color .2s;
}

.email-overlay__btn.active {
    background: var(--btn-bg);
    color: var(--btn-color);
    cursor: pointer;
}

.email-overlay__btn.active:hover {
    opacity: .85;
}

.email-overlay__disclaimer {
    text-align: center;
    font-size: 13px;
    color: var(--textSecondary);
    margin: 0;
    line-height: 1.5;
}

/* === Responsive === */
@media (max-width: 520px) {
    .pay-container {
        padding: 0;
    }

    .pay__content {
        margin-top: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .pay__header {
        border-radius: 0;
        padding: 14px 16px 0;
    }

    .header__top {
        margin-bottom: 16px;
    }

    .header__logo-img {
        height: 34px;
    }

    .header__signup .btn {
        padding: 0 14px;
        height: 36px;
        font-size: 13px;
    }

    .pay__info {
        padding: 0 16px 24px;
    }

    .expired-banner {
        padding: 0 16px 16px;
    }

    .expired-banner__inner {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }

    .pay__actions {
        padding: 24px 16px;
        border-radius: 0 !important;
    }

    .amount__value,
    .amount__currency {
        font-size: 26px;
    }

    .payment-details__amount {
        flex-wrap: wrap;
    }

    .payment-details__sub-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .payment-details__sub-right {
        align-self: flex-start;
    }

    .checkout-card__info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px;
    }

    .checkout-card__status {
        grid-template-columns: 1fr;
    }

    .status__expire {
        border-right: none;
        border-bottom: 1px solid var(--borderPrimarySolid);
    }

    .recipient__address {
        justify-content: center;
    }

    .recipient__hash {
        font-size: 13px;
    }

    .notification-bar {
        padding: 12px 14px;
        gap: 10px;
    }

    .trust-points {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .dropdown__menu {
        max-height: 300px;
    }

    .btn--large {
        height: 50px;
        padding: 0 18px;
        font-size: 15px;
    }

    .support-btn {
        bottom: 16px;
        right: 16px;
    }

    .support-btn__button {
        width: 48px;
        height: 48px;
    }

    .faq-panel__return {
        padding: 0 16px;
    }

    .faq-panel__content {
        padding: 20px 16px 24px;
        border-radius: 0;
        max-height: none;
    }

    .email-overlay__modal {
        margin: 16px;
        max-width: none;
    }

    .email-overlay__header {
        padding: 20px 16px 16px;
    }

    .email-overlay__body {
        padding: 20px 16px;
    }

    .alt-pay__buttons .btn {
        font-size: 15px;
    }

    .copy-toast {
        top: auto;
        bottom: 24px;
        right: 50%;
        transform: translateX(50%) translateY(20px);
    }

    .copy-toast.show {
        transform: translateX(50%) translateY(0);
    }

    .contract-address {
        flex-wrap: wrap;
        font-size: 13px;
    }

    .pay__footer {
        padding: 20px 16px 32px;
    }
}

/* === Copy Toast === */
.copy-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #2a2a2a;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.copy-toast__icon {
    flex-shrink: 0;
    display: flex;
}

.copy-toast__text {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.copy-toast__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    margin-left: 8px;
}