@use './../../../shared' as *; .card__header { position: relative; } .back { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #475569; background: #f1f5f9; border: 1px solid #e2e8f0; text-decoration: none; transition: background 0.15s, color 0.15s; z-index: 1; &:hover { background: #e2e8f0; color: #0f172a; } &:active { background: #cbd5e1; } } .currency-badge { display: flex; align-items: center; gap: 10px; background: #f1f5f9; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; &__flag { font-size: 22px; line-height: 1; } &__code { font-size: 15px; font-weight: 700; color: #0f172a; } &__name { font-size: 13px; color: #64748b; margin-left: auto; } } // ─── Methods row ──────────────────────────────────────────────────────────── .methods { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 8px; padding-bottom: 4px; &::-webkit-scrollbar { display: none; } @media (max-width: 360px) { gap: 6px; } } .method { display: flex; align-items: center; justify-content: center; height: 56px; padding: 8px; border-radius: 12px; border: 2px solid #e2e8f0; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, transform .1s, box-shadow .15s; -webkit-appearance: none; font-family: inherit; flex: 0 0 72px; width: 72px; @media (max-width: 360px) { height: 52px; padding: 6px; } &__logo { max-width: 100%; max-height: 28px; object-fit: contain; display: block; pointer-events: none; } &:hover:not(:disabled):not(.method--disabled) { border-color: #cbd5e1; } &:active:not(:disabled) { transform: scale(.97); } &--active { border-color: #2563eb; background: rgba(37, 99, 235, .06); box-shadow: 0 0 0 3px rgba(37, 99, 235, .1); } &--disabled, &:disabled { cursor: not-allowed; background: #f8fafc; .method__logo { filter: grayscale(1); opacity: .45; } } } // ─── Currency chips ───────────────────────────────────────────────────────── .currencies { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 8px; padding-bottom: 4px; &::-webkit-scrollbar { display: none; } } .chip { display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; height: 44px; border-radius: 999px; border: 2px solid #e2e8f0; background: #f8fafc; color: #475569; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; -webkit-appearance: none; &__flag { font-size: 16px; line-height: 1; } &__sign { font-size: 15px; font-weight: 800; color: #1e40af; line-height: 1; } &__code { letter-spacing: .3px; } &--active { border-color: #2563eb; background: rgba(37, 99, 235, .08); color: #1e40af; } &--disabled, &:disabled { opacity: .45; cursor: not-allowed; color: #94a3b8; .chip__sign { color: #94a3b8; } } } .note-input { width: 100%; border: 2px solid #e2e8f0; border-radius: 14px; background: #f8fafc; padding: 14px 16px; font-size: 15px; font-weight: 500; color: #0f172a; font-family: inherit; resize: vertical; outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; line-height: 1.5; &::placeholder { color: #cbd5e1; font-weight: 400; } &:focus { border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); background: #fff; } } // ─── QR section ───────────────────────────────────────────────────────────── // ─── QR popup ─────────────────────────────────────────────────────────────── .qr-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 1000; display: flex; align-items: center; justify-content: center; animation: overlay-in 0.2s ease; } .qr-modal { position: relative; background: #fff; border-radius: 20px; padding: 32px 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: modal-in 0.22s cubic-bezier(.34,1.56,.64,1); max-width: 340px; width: 90vw; &__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: none; background: #f1f5f9; color: #475569; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; &:hover { background: #e2e8f0; } } &__label { font-size: 11px !important; font-weight: 500; color: #475569; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; margin: 0 auto 8px auto; text-align: center; } &__img { border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); } &__hint { font-size: 13px; color: #64748b; animation: pulse 1.6s ease-in-out infinite; } &__status { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; background: #f1f5f9; color: #475569; } } @keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } } @keyframes modal-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }