/* Страницы оплаты WebCash (do=webcash) в стиле личного кабинета (ik_cabinet). */
.is-cabinet .list-bar { display: none; }

html .wc-wrapper.wc-main-index.ikp { padding: 16px; border-bottom: 0; }
html .wc-wrapper.wc-main-index.ikp h1, html .wc-wrapper.wc-main-index.ikp h2, html .wc-wrapper.wc-main-index.ikp h3 { margin: 0; }
html .ikp .gateways_block { margin-top: 0; }
html .ikp .gateways_choose_method { padding-top: 18px; }
.ikp { --a: #ec6a1e; --as: #fdeee4; --af: #b4490c; --g: #1f9d74; --gs: #e2f4ec; --gf: #0f6b58; --tx: #1f2328; --mu: #6b7280; --ln: #e4e7eb; --bl: #2f7fd0; --bls: #e7f1fc; --blf: #1f5f9f;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.5; color: var(--tx);
	max-width: 760px; margin: 4px auto 32px; background: #f3f4f7; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.ikp *, .ikp *::before, .ikp *::after { box-sizing: border-box; }
.ikp-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mu); text-decoration: none; padding: 4px 2px; }
.ikp-back:hover { color: var(--af); text-decoration: none; }
.ikp-back .fa { font-size: 18px; line-height: 1; }

.ikp-checkout { display: flex; flex-direction: column; gap: 14px; }
.ikp-head { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(135deg, #fff3ea 0%, #fde2cf 100%); border: 1px solid #f6d3bb; border-radius: 18px; padding: 18px 20px; }
.ikp-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--af); }
.ikp-amount { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ikp-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ikp-steps li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--mu); background: rgba(255,255,255,.6); border-radius: 999px; padding: 4px 10px 4px 4px; }
.ikp-steps li span { width: 20px; height: 20px; border-radius: 50%; background: #e9ebef; color: var(--mu); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.ikp-steps li.on { color: var(--af); background: #fff; }
.ikp-steps li.on span { background: var(--a); color: #fff; }
.ikp-steps li.done span { background: var(--g); color: #fff; }

.ikp-card { background: #fff; border: 1px solid #e9ebef; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.ikp-h { font-size: 17px; font-weight: 700; margin: 0; color: var(--tx); }
.ikp-hint { font-size: 12.5px; color: var(--mu); line-height: 1.45; margin: 0; }
.ikp-center { align-items: center; text-align: center; padding: 30px 20px; }
.ikp-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ln); border-top-color: var(--a); animation: ikpspin 1s linear infinite; }
@keyframes ikpspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ikp-spin { animation: none; } }
.ikp-btn { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--a); border: 1px solid var(--a); color: #fff !important; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none !important; }
.ikp-btn:hover { filter: brightness(1.05); }
.ikp-form { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.ikp-form input[type=text] { flex: 1; min-width: 200px; border: 1px solid var(--ln); border-radius: 10px; padding: 10px 12px; font: inherit; }

/* выбор монеты */
.ikp .gateways_choose_method h3:not(.ikp-h) { display: none; }
.ikp-group { display: flex; flex-direction: column; gap: 8px; }
.ikp-group-t { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tx); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.ikp-group-t span { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mu); }
.ikp-group:has(.ikp-coins:empty) { display: none; }
html .ikp .gateways_choose_method ul.ikp-coins { overflow: visible; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin { margin: 0; padding: 0; float: none; width: auto; height: auto; background: none; border: 0; box-shadow: none; list-style: none; line-height: 1.4; display: block; }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin.is-top { order: -1; }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin a { width: auto; display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--ln); border-radius: 12px; background: #fff; color: var(--tx); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin a:hover { border-color: var(--a); box-shadow: 0 0 0 3px rgba(236,106,30,.12); text-decoration: none; }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin.is-top a { border-color: #f3b993; background: #fffaf6; }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin a img { max-height: none; width: 36px; height: 36px; flex: none; margin: 0; }
.ikp-coin-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ikp-coin-t b { font-size: 14px; font-weight: 600; }
.ikp-coin-t small { font-size: 12px; color: var(--mu); }
html .ikp .gateways_choose_method ul li.gw_item.ikp-coin .fa { color: var(--mu); font-size: 20px; }

/* шаг перевода: инструкция + панель CryptAPI */
.ikp-how { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #3b4148; }
.ikp-how li { list-style: decimal outside; display: list-item; }
.ikp .ca_payment-panel { background: #fff; border: 1px solid #e9ebef; border-radius: 16px; padding: 20px; box-shadow: 0 1px 2px rgba(16,24,40,.04); font-family: inherit; }
.ikp .ca_payment_details, .ikp .ca_payments_wrapper { font-family: inherit; }
.ikp .ca_qrcode_wrapper { margin: 0 auto; max-width: 100%; }
.ikp .ca_qrcode_wrapper .inner-wrapper { border: 1px solid #e9ebef; border-radius: 14px; background: #fff; box-shadow: none; }
.ikp .ca_qrcode_wrapper .inner-wrapper img { max-width: 100%; height: auto; }
.ikp .ca_qrcode_buttons button { border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 600; }
.ikp .ca_qrcode_buttons button.active { background: var(--a); border-color: var(--a); color: #fff; }
.ikp .ca_details_box { margin-top: 14px; }
.ikp .ca_details_text { font-size: 15px; color: var(--tx); }
.ikp .ca_details_copy { border-radius: 10px; background: var(--as); color: var(--af); border: 1px solid #f6d3bb; padding: 6px 10px; font-size: 15px; }
.ikp .ca_details_input { border: 1.5px dashed #d6dae0; border-radius: 12px; background: #fafbfc; padding: 12px 14px; }
.ikp .ca_details_input span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; word-break: break-all; }
.ikp .ca_time_refresh, .ikp .ca_notification_cancel { font-size: 12.5px; color: var(--mu); }
.ikp .ca_buttons_container a { border-radius: 10px; font: inherit; font-weight: 600; font-size: 13px; }
.ikp .ca_progress { border-top: 1px solid #eef0f3; margin-top: 16px; padding-top: 16px; }
.ikp .ca_progress .ca_progress_icon svg path { fill: #c6ccd4; }
.ikp .ca_progress .ca_progress_icon.done svg path { fill: var(--g); }
.ikp .ca_progress .ca_progress_icon p { font-size: 12.5px; font-weight: 600; color: var(--mu); }
.ikp .ca_progress .ca_progress_icon.done p { color: var(--gf); }
.ikp .ca_payment_confirmed h2, .ikp .ca_payment_processing h2, .ikp .ca_payment_cancelled h2 { font-family: inherit; font-size: 20px; font-weight: 700; }
.ikp .ca_payment_confirmed::after { content: "Деньги зачислены на баланс. Вернитесь в кабинет, чтобы поднять анкету или включить VIP."; display: block; margin-top: 8px; font-size: 13.5px; color: var(--mu); text-align: center; }

/* итог оплаты */
.ikp-result { align-items: center; text-align: center; font-size: 15px; }
.ikp-result .ikp-btn { align-self: center; }

@media (max-width: 560px) {
	.ikp { padding: 10px; border-radius: 16px; }
	.ikp-head, .ikp-card, .ikp .ca_payment-panel { padding: 14px; }
	.ikp-amount { font-size: 26px; }
	html .ikp .gateways_choose_method ul.ikp-coins { grid-template-columns: 1fr; }
	html .wc-wrapper.wc-main-index.ikp { padding: 10px; }
}

/* Всплывающее окно «Ваш кабинет» / «Авторизация» (login.tpl): вход в личный кабинет владельцев */
.ikl-cab, .ikl-tg { display: flex; align-items: center; gap: 12px; margin: 12px 16px 4px; padding: 12px 14px; border-radius: 14px; text-decoration: none !important; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; transition: filter .15s, box-shadow .15s; }
.ikl-cab { background: linear-gradient(135deg, #fff3ea, #fde2cf); border: 1px solid #f6d3bb; color: #1f2328 !important; }
.ikl-cab:hover { box-shadow: 0 0 0 3px rgba(236, 106, 30, .15); }
.ikl-tg { background: #2a9fd8; border: 1px solid #2a9fd8; color: #fff !important; box-shadow: 0 6px 16px rgba(42, 159, 216, .25); }
.ikl-tg:hover { filter: brightness(1.05); }
.ikl-cab__ic, .ikl-tg__ic { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ikl-cab__ic { background: #ec6a1e; color: #fff; }
.ikl-tg__ic { background: rgba(255, 255, 255, .2); color: #fff; }
.ikl-cab__t, .ikl-tg__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.ikl-cab__t b, .ikl-tg__t b { font-size: 15px; font-weight: 700; }
.ikl-cab__t small { font-size: 12px; color: #6b7280; }
.ikl-tg__t small { font-size: 12px; color: rgba(255, 255, 255, .85); }
.ikl-cab .fa-angle-right, .ikl-tg .fa-angle-right { font-size: 20px; opacity: .7; }
.ikl-or { display: flex; align-items: center; gap: 10px; margin: 14px 16px 2px; font-size: 12px; color: #6b7280; }
.ikl-or::before, .ikl-or::after { content: ""; flex: 1; height: 1px; background: #e4e7eb; }
.ikl-sub { display: block; font-size: 12px; color: #6b7280; font-weight: 400; }

/* Меню окна «Ваш кабинет»: строки с иконками, разделители, «Выйти» отдельно */
#loginbox .ikl-menu { list-style: none; margin: 12px 16px 16px; padding: 4px; background: #f6f7f9; border: 1px solid #eceef1; border-radius: 14px; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#loginbox .ikl-menu li { margin: 0; padding: 0; border: 0; list-style: none; }
#loginbox .ikl-menu li + li { border-top: 1px solid #eceef1; }
#loginbox .ikl-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; color: #1f2328; font-size: 14px; font-weight: 500; text-decoration: none; background: transparent; transition: background .15s; }
#loginbox .ikl-menu a:hover { background: #fff; text-decoration: none; color: #1f2328; }
#loginbox .ikl-menu a .fa { width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid #e4e7eb; color: #6b7280; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
#loginbox .ikl-menu a:hover .fa { color: #ec6a1e; border-color: #f6d3bb; background: #fdeee4; }
#loginbox .ikl-menu a span { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
#loginbox .ikl-n { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #fff; border: 1px solid #e4e7eb; color: #6b7280; font-size: 12px; font-weight: 600; text-align: center; }
#loginbox .ikl-menu li.ikl-out { border-top: 1px solid #e4e7eb; margin-top: 4px; padding-top: 4px; }
#loginbox .ikl-menu li.ikl-out a { color: #c0392b; }
#loginbox .ikl-menu li.ikl-out a .fa { color: #c0392b; border-color: #f5d0cb; background: #fdf0ee; }
#loginbox .ikl-menu li.ikl-out a:hover { background: #fdf0ee; }
#loginbox .ikl-menu a span.ikl-n { flex: none; }
#loginbox .ikl-menu a span.ikl-n { align-self: center; height: 20px; line-height: 18px; padding: 0 7px; box-sizing: border-box; display: inline-block; }
