/* Wallet / QR deposit page styles */

.wallet-section {
    padding: 8rem 0 5rem;
    min-height: 90vh;
    background: #f8fafc;
}

.wallet-card-main {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 5px solid var(--gold);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.wallet-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(4, 120, 87, 0.08);
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Multi-Wallet Showcase Selector Carousel/Grid */
.showcase-selector-box {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.showcase-selector-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.showcase-thumbnails-grid {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.showcase-thumb-item {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: all 0.25 ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 170px;
    text-align: left;
}

.showcase-thumb-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.showcase-thumb-item.active {
    border-color: var(--gold);
    background: rgba(4, 120, 87, 0.05);
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.15);
}

.showcase-thumb-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.showcase-thumb-info {
    display: flex;
    flex-direction: column;
}

.showcase-thumb-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.showcase-thumb-net {
    font-size: 0.72rem;
    color: var(--gold-dark);
    font-weight: 600;
}

.view-toggle-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
}

.view-tab {
    padding: 0.55rem 1.2rem;
    border-radius: 25px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-tab.active {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

.wallet-media-container {
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.wallet-media-container > div {
    min-width: 0;
    max-width: 100%;
}

.qr-vector-box {
    position: relative;
    background: #ffffff;
    border: 2px solid var(--gold);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: inline-block;
}

/* Keeps the box from looking empty while the QR image loads or if it fails */
.qr-status {
    display: none;
    position: absolute;
    inset: 1rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.qr-vector-box.is-loading .qr-status,
.qr-vector-box.is-failed .qr-status {
    display: flex;
}

.qr-vector-box.is-failed .qr-status {
    flex-direction: column;
    color: #92400e;
}

.qr-vector-box.is-loading img,
.qr-vector-box.is-failed img {
    visibility: hidden;
}

.media-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.7rem;
}

.media-fallback {
    max-width: 280px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    font-size: 0.88rem;
    color: #475569;
}

.wallet-warning {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    text-align: left;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
}

.wallet-warning i {
    margin-top: 0.2rem;
    color: #d97706;
}

.wallet-cta {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
}

.qr-vector-box img {
    width: 220px;
    height: 220px;
    display: block;
    border-radius: 8px;
}

.wallet-img-preview {
    max-width: 280px;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 16px;
    border: 2px solid var(--gold);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    padding: 0.6rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wallet-img-preview:hover {
    transform: scale(1.02);
}

.wallet-code-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.85rem 1.2rem;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.wallet-address-text {
    font-family: monospace;
    font-size: 0.95rem;
    color: #0f172a;
    word-break: break-all;
    text-align: left;
    font-weight: 600;
}

.btn-copy {
    padding: 0.65rem 1.2rem;
    background: var(--gold);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-copy:hover {
    background: var(--gold-dark);
}

.btn-copy.copied {
    background: #065f46;
}

.net-pills {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0 1.2rem;
    flex-wrap: wrap;
}

.net-pill-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.net-pill-badge.active {
    background: rgba(4, 120, 87, 0.12);
    border-color: var(--gold);
    color: #047857;
}

.steps-list {
    text-align: left;
    margin-top: 2rem;
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.6rem;
    border: 1px solid #e2e8f0;
}

.steps-list h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps-list ol {
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.94rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .wallet-card-main { padding: 1.8rem 1.2rem; }
    .wallet-section { padding-top: 6.5rem; }
    .view-toggle-tabs { gap: 0.4rem; }
    .view-tab { flex: 1 1 0; justify-content: center; padding: 0.55rem 0.5rem; font-size: 0.82rem; min-width: 0; }
    .wallet-code-box { flex-direction: column; align-items: stretch; text-align: center; }
    .wallet-address-text { text-align: center; font-size: 0.88rem; }
    .btn-copy { justify-content: center; width: 100%; }
    .showcase-thumb-item { width: 100%; min-width: auto; }
}

.wallet-unavailable {
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    background: #fffbeb;
    border: 1px dashed #f59e0b;
    border-radius: 14px;
    color: #92400e;
}

.wallet-unavailable i {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.wallet-unavailable h3 {
    margin-bottom: 0.4rem;
    color: #78350f;
}

.wallet-unavailable a {
    color: var(--gold-dark);
    font-weight: 700;
}
