@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #080a12;
    --glass: rgba(18, 22, 36, 0.55);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    --surface: rgba(15, 19, 32, 0.8);
    --border: #1e2338;
    --border-focus: #7c5cfc;
    --text: #e4e6eb;
    --text-secondary: #838899;
    --text-muted: #4e5368;
    --accent: #7c5cfc;
    --accent-hover: #6a4ce0;
    --accent-glow: rgba(124, 92, 252, 0.12);
    --yellow: #ffdd2d;
    --yellow-glow: rgba(255, 221, 45, 0.10);
    --success: #34d399;
    --warning: #fbbf24;
    --error: #f87171;
    --radius: 16px;
    --radius-sm: 10px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
}

/* ========== AMBIENT BACKGROUND ========== */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ambient .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.4), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -7s;
    animation-duration: 25s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 221, 45, 0.15), transparent 70%);
    top: 50%;
    left: 60%;
    animation-delay: -14s;
    animation-duration: 30s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(40px, 30px) scale(1.02); }
}

/* ========== LAYOUT ========== */
.container {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    max-width: 520px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 48px 20px;
}

.brand {
    margin-bottom: 32px;
    text-align: center;
}

.brand-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    display: block;
    height: 36px;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-name span {
    color: var(--accent);
}

.brand-sub {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========== GLASS PANEL ========== */
.glass-panel {
    position: relative;
    width: 100%;
    padding: 32px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Отражение света на верхней грани */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    left: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* ========== STEP INDICATOR ========== */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.3s;
}

.step-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.step-dot.done {
    background: var(--success);
}

/* ========== STEP TITLE ========== */
.step-title {
    margin-bottom: 6px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.step-desc {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ========== METHOD CARDS ========== */
.method-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.method-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.15s;
}

.method-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(20, 24, 40, 0.9);
    transform: translateY(-1px);
}

.method-card.selected {
    border-color: var(--accent);
    background: rgba(124, 92, 252, 0.06);
}

.method-card.selected.theme-yellow {
    border-color: var(--yellow);
    background: rgba(255, 221, 45, 0.04);
}

.method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.method-icon.icon-yellow {
    background: var(--yellow-glow);
    color: var(--yellow);
}

.method-body {
    flex: 1;
    min-width: 0;
}

.method-name {
    margin-bottom: 3px;
    font-size: 0.9rem;
    font-weight: 600;
}

.method-info {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.5;
}

.method-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.method-tag {
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.method-tag.tag-green {
    border-color: rgba(52, 211, 153, 0.15);
    background: rgba(52, 211, 153, 0.06);
    color: var(--success);
}

.method-tag.tag-yellow {
    border-color: rgba(255, 221, 45, 0.15);
    background: rgba(255, 221, 45, 0.06);
    color: var(--yellow);
}

/* ========== FORMS ========== */
h1 {
    margin-bottom: 20px;
    font-size: 1.15rem;
    font-weight: 600;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    padding-right: 36px;
    border-radius: var(--radius-sm);
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23838899' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    appearance: none;
}

.form-group select option {
    background: #161b2e;
    color: var(--text);
}

.section-title {
    margin: 20px 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    width: 100%;
    margin-top: 8px;
    padding: 13px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.25);
}

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

.btn-yellow {
    background: var(--yellow);
    color: #0b0e17;
}

.btn-yellow:hover {
    background: #e8c820;
    box-shadow: 0 4px 20px rgba(255, 221, 45, 0.2);
}

.btn-outline {
    margin-top: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    box-shadow: none;
}

.btn-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.btn-row .btn {
    flex: 1;
}

.hidden {
    display: none;
}

/* Ошибка */
.error {
    margin-bottom: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(248, 113, 113, 0.15);
    border-radius: var(--radius-sm);
    background: rgba(248, 113, 113, 0.08);
    color: var(--error);
    font-size: 0.8rem;
}

/* ========== STATUS PAGE ========== */
.amount-hero {
    margin-bottom: 20px;
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.amount-hero .amount-value {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.amount-hero .amount-currency {
    margin-left: 6px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.amount-hero .amount-method {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Бейдж статуса */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-badge.CREATED {
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent);
}

.status-badge.CREATED::before {
    background: var(--accent);
}

.status-badge.PENDING {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
}

.status-badge.PENDING::before {
    background: var(--warning);
    animation: pulse 1.5s ease-in-out infinite;
}

.status-badge.PAID {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
}

.status-badge.PAID::before {
    background: var(--success);
}

.status-badge.FAILED {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error);
}

.status-badge.FAILED::before {
    background: var(--error);
}

.status-badge.EXPIRED {
    background: rgba(78, 83, 104, 0.15);
    color: var(--text-muted);
}

.status-badge.EXPIRED::before {
    background: var(--text-muted);
}

.status-badge.CANCELLED {
    background: rgba(248, 113, 113, 0.06);
    color: #e57373;
}

.status-badge.CANCELLED::before {
    background: #e57373;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Информация о платеже */
.payment-info {
    display: flex;
    flex-direction: column;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(30, 35, 56, 0.8);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.info-row .value {
    max-width: 60%;
    overflow: hidden;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-row .value-truncate-left {
    direction: rtl;
}

.info-row .value-mono {
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ========== CRYPTO ========== */
.crypto-section {
    text-align: center;
}

.crypto-section h3 {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Криптоплатёж: встроенные элементы */
.qr-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    margin: 0 auto 4px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.qr-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.crypto-pay-qr {
    display: none;
    margin-bottom: 4px;
}

.crypto-pay-qr canvas {
    display: block;
    border-radius: 10px;
}

.crypto-pay-label {
    color: var(--text-muted);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.crypto-pay-value {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card-tbank .crypto-pay-value {
    color: var(--yellow);
}

.crypto-pay-addr-row {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.15);
}

.crypto-pay-addr {
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-family: 'SF Mono', 'Fira Code', monospace;
    line-height: 1.4;
    word-break: break-all;
}

.crypto-pay-copy {
    padding: 10px 14px;
    border: none;
    border-left: 1px solid var(--border);
    background: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.crypto-pay-copy:hover {
    background: rgba(124, 92, 252, 0.06);
    color: var(--accent);
}

.crypto-pay-hint {
    margin-top: 14px;
    color: var(--text-muted);
    font-size: 0.68rem;
    line-height: 1.5;
}

/* СБП / QR */
.qr-section {
    text-align: center;
}

.qr-section h3 {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

#qrCode {
    display: inline-block;
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

#qrCode canvas {
    display: block;
    border-radius: 6px;
}

/* Счёт */
.invoice-section {
    padding: 20px;
    border: 1px solid rgba(255, 221, 45, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 221, 45, 0.04);
    color: #c9b530;
    font-size: 0.8rem;
    text-align: center;
}

/* Выпадающий список подсказок */
.suggestions-list {
    position: absolute;
    z-index: 10;
    width: calc(100% - 2px);
    max-height: 200px;
    margin-top: 2px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #1a1f2e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.suggestion-item {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}

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

.suggestion-item:hover {
    background: rgba(124, 92, 252, 0.08);
}

.sugg-name {
    display: block;
    color: var(--text);
    font-size: 0.8rem;
}

.sugg-inn {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* Пошаговая инструкция для донатов */
.donate-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.donate-step {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.donate-step:last-child {
    border-bottom: none;
}

.donate-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.donate-step-body {
    flex: 1;
    min-width: 0;
}

.donate-step-title {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
}

.donate-step-desc {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.donate-step-desc strong {
    color: var(--text-secondary);
}

/* Иконки крипто-сетей */
.crypto-net-icon {
    background-color: transparent;
    background-position: center;
    background-size: 24px;
    background-repeat: no-repeat;
}

.crypto-net-icon[data-net="BTC"] {
    background-image: url("https://cdn.jsdelivr.net/gh/spothq/cryptocurrency-icons@master/svg/color/btc.svg");
}

.crypto-net-icon[data-net="ETH"] {
    background-image: url("https://cdn.jsdelivr.net/gh/spothq/cryptocurrency-icons@master/svg/color/eth.svg");
}

.crypto-net-icon[data-net="TON"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%230098EA'/%3E%3Cpath d='M37.6 15.6H18.4c-3.5 0-5.7 3.8-4 6.9l11.8 20.5c.8 1.3 2.7 1.3 3.5 0l11.8-20.5c1.8-3.1-.4-6.9-4-6.9zM26.3 36.8l-2.6-5-6.2-11.1c-.4-.7.1-1.6 1-1.6h7.8v17.7zm12.2-16.1l-6.2 11.1-2.6 5V19.1h7.8c.9 0 1.4.9 1 1.6z' fill='%23fff'/%3E%3C/svg%3E");
}

.crypto-net-icon[data-net="USDT_TRC20"],
.crypto-net-icon[data-net="USDT_TON"] {
    background-image: url("https://cdn.jsdelivr.net/gh/spothq/cryptocurrency-icons@master/svg/color/usdt.svg");
}

.crypto-net-icon[data-net="SOL"] {
    background-image: url("https://cdn.jsdelivr.net/gh/spothq/cryptocurrency-icons@master/svg/color/sol.svg");
}

.crypto-net-icon[data-net="XAUT"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23D4A843'/%3E%3Ctext x='16' y='21' text-anchor='middle' fill='white' font-family='Arial' font-weight='bold' font-size='14'%3EAu%3C/text%3E%3C/svg%3E");
}

/* Стилизованные карточки провайдеров */
.card-tbank {
    border-color: rgba(255, 221, 45, 0.15);
}

.card-tbank .amount-hero .amount-value {
    color: var(--yellow);
}

.card-tbank .status-badge.PENDING {
    background: rgba(255, 221, 45, 0.1);
    color: var(--yellow);
}

.card-tbank .status-badge.PENDING::before {
    background: var(--yellow);
}

.card-crypto {
    border-color: rgba(124, 92, 252, 0.15);
}

.card-crypto .amount-hero .amount-value {
    color: var(--accent);
}

/* ========== СТРАНИЦА СТАТУСА: замена inline-стилей ========== */
.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.status-header-title {
    margin-bottom: 2px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.status-header-amount {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.status-section {
    padding: 20px 0;
}

.status-message {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
}

.status-message-success {
    border: 1px solid rgba(52, 211, 153, 0.15);
    background: rgba(52, 211, 153, 0.06);
    color: var(--success);
}

.status-message-error {
    border: 1px solid rgba(248, 113, 113, 0.12);
    background: rgba(248, 113, 113, 0.06);
    color: var(--error);
}

.crypto-pending {
    text-align: center;
}

.crypto-send-label {
    margin: 16px 0 4px;
}

.crypto-addr-margin {
    margin-top: 16px;
}

.sbp-qr-section {
    text-align: center;
}

.sbp-open-btn {
    max-width: 280px;
    margin: 0 auto;
}

.donate-instructions {
    max-width: 340px;
    margin: 0 auto;
}

.donate-ref-row {
    margin-top: 8px;
}

.donate-ref-code {
    padding: 10px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.donate-open-btn {
    margin-top: 10px;
    padding: 11px;
    font-size: 0.8rem;
}

.invoice-status-section {
    padding: 20px 0 0;
}

.invoice-notice {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 221, 45, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 221, 45, 0.04);
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
}

.invoice-info {
    padding: 0;
    border: none;
}

.details-section {
    padding-top: 12px;
}

.action-section {
    padding-top: 16px;
}

.share-btn {
    font-size: 0.8rem;
}

.share-icon {
    margin-right: 6px;
}

.return-btn {
    font-size: 0.85rem;
}

.change-method-btn {
    font-size: 0.8rem;
}

/* ========== СТРАНИЦА ВЫБОРА МЕТОДА: замена inline-стилей ========== */
.donation-alerts-icon {
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
}

.donate-pay-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.back-btn {
    margin-top: 16px;
}

.error-bottom {
    margin-top: 16px;
}

.rate-detail {
    color: var(--text-muted);
}

/* ========== СТРАНИЦА ПЕСОЧНИЦЫ: замена inline-стилей ========== */
.sandbox-brand {
    margin-bottom: 32px;
}

.create-icon {
    background: rgba(52, 211, 153, 0.1);
    color: var(--success);
}

.endpoints-icon {
    background: rgba(124, 92, 252, 0.1);
    color: var(--accent);
}

.curl-icon {
    background: rgba(251, 191, 36, 0.1);
    color: var(--warning);
}

.placeholder-hint {
    margin: -6px 0 14px;
    color: var(--text-muted);
    font-size: 0.6rem;
}

.placeholder-code {
    color: var(--accent);
}

.pay-link-btn {
    display: none;
    margin-top: 8px;
}

.curl-note {
    margin-top: 12px;
    margin-bottom: 0;
}

/* ========== СТРАНИЦА ОШИБКИ: замена inline-стилей ========== */
.error-panel {
    padding: 48px 32px;
    text-align: center;
}

.error-icon {
    margin-bottom: 16px;
    font-size: 2.5rem;
    opacity: 0.3;
}

.error-title {
    margin-bottom: 12px;
}

.error-message {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Ссылка "назад" */
.link-back {
    display: block;
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s;
}

.link-back:hover {
    color: var(--accent);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .container {
        padding: 24px 16px;
    }

    .glass-panel {
        padding: 24px 20px;
    }

    .amount-hero .amount-value {
        font-size: 1.9rem;
    }
}
