body {
    font-family: 'Inter', sans-serif;
    background-color: #0c1322;
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

.signup-auth-page {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 40px;
}

.signup-auth-page main {
    max-width: 28rem;
    width: 100%;
}

.signup-form .signup-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8d90a2;
    padding-left: 4px;
}

.signup-form .signup-select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238d90a2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 24px;
}

.country-picker {
    position: relative;
}

.country-picker-field {
    position: relative;
}

.country-picker-input {
    padding-right: 36px !important;
}

.country-picker-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #8d90a2;
    cursor: pointer;
    border-radius: 8px;
}

.country-picker-toggle:hover {
    color: #b7c4ff;
    background: rgba(255, 255, 255, 0.05);
}

.country-picker.is-open .country-picker-toggle .material-symbols-outlined {
    transform: rotate(180deg);
}

.country-picker-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 16px;
    background: #141b2b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

.country-picker-panel::-webkit-scrollbar {
    width: 6px;
}

.country-picker-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.country-picker-group-label {
    margin: 0;
    padding: 6px 14px 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.country-picker-group-label:not(:first-child) {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.country-picker-options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.country-picker-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: transparent;
    color: #dce2f7;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

.country-picker-option:hover,
.country-picker-option.is-highlighted {
    background: rgba(0, 82, 255, 0.14);
    color: #b7c4ff;
}

.country-picker-option.is-selected {
    color: #b7c4ff;
    font-weight: 600;
}

.country-picker-option[hidden] {
    display: none;
}

.country-picker-empty {
    margin: 0;
    padding: 16px 14px;
    font-size: 0.85rem;
    color: #8d90a2;
    text-align: center;
}

.country-picker.is-invalid .country-picker-field {
    border-color: rgba(255, 180, 171, 0.5);
}

.country-picker.is-invalid .country-picker-input::placeholder {
    color: #ffb4ab;
}

.signup-pin-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.signup-note {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8d90a2;
    text-align: center;
}

@media (max-width: 400px) {
    .signup-pin-row {
        grid-template-columns: 1fr;
    }
}

.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 231, 235, 0.1);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.05);
}

.metallic-border {
    position: relative;
}
.metallic-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(229,231,235,0.2) 0%, rgba(229,231,235,0) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.input-glow:focus-within {
    box-shadow: 0 4px 20px -6px rgba(0, 82, 255, 0.35);
    border-bottom-color: #0052ff !important;
}

/* Auth input fields — flex layout prevents icon/text overlap */
.input-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    border-bottom: 1px solid rgba(67, 70, 86, 0.45);
    padding: 10px 4px 10px 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.input-field:focus-within {
    border-bottom-color: #0052ff;
}

.input-field-icon {
    flex-shrink: 0;
    width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #8d90a2;
    pointer-events: none;
    user-select: none;
}

.input-field:focus-within .input-field-icon {
    color: #b7c4ff;
}

.input-field-control {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.5;
    color: #dce2f7 !important;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0 !important;
}

.input-field-control::placeholder {
    color: rgba(141, 144, 162, 0.55);
}

.input-field-control:-webkit-autofill,
.input-field-control:-webkit-autofill:hover,
.input-field-control:-webkit-autofill:focus,
.input-field-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #141b2b inset !important;
    box-shadow: 0 0 0 1000px #141b2b inset !important;
    -webkit-text-fill-color: #dce2f7 !important;
    caret-color: #dce2f7;
    transition: background-color 99999s ease-in-out 0s;
}

.input-field-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-right: -4px;
    border: none;
    background: transparent;
    color: #8d90a2;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.input-field-action:hover {
    color: #dce2f7;
    background: rgba(255, 255, 255, 0.05);
}

/* Legacy form-input (admin, security pages) */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(67, 70, 86, 0.5);
    padding: 12px 12px 12px 36px;
    color: #dce2f7;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus {
    border-bottom-color: #0052ff;
    outline: none;
    box-shadow: none;
}
.form-input::placeholder {
    color: rgba(141, 144, 162, 0.5);
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
select,
textarea {
    background-color: transparent;
}

.btn-primary {
    width: 100%;
    background: #0052ff;
    color: #dfe3ff;
    font-weight: 600;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 82, 255, 0.2);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0, 82, 255, 0.4);
}
.btn-primary:active {
    transform: scale(0.98);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(141, 144, 162, 0.3);
    color: #b7c4ff;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 16px;
}
.alert-error {
    background: rgba(147, 0, 10, 0.3);
    border: 1px solid rgba(255, 180, 171, 0.3);
    color: #ffb4ab;
}
.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
}
.alert-info {
    background: rgba(0, 82, 255, 0.15);
    border: 1px solid rgba(183, 196, 255, 0.2);
    color: #b7c4ff;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    background: #141b2b;
    border: 1px solid rgba(67, 70, 86, 0.5);
    border-radius: 12px;
    color: #dce2f7;
    outline: none;
}
.otp-input:focus {
    border-color: #0052ff;
    box-shadow: 0 0 12px rgba(0, 82, 255, 0.3);
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #8d90a2;
    transition: all 0.2s;
}
.pin-dot.filled {
    background: #0052ff;
    border-color: #0052ff;
}

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.shimmer {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.atmospheric-bg::before,
.atmospheric-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.atmospheric-bg::before {
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: rgba(183, 196, 255, 0.1);
}
.atmospheric-bg::after {
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: rgba(0, 82, 255, 0.1);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.pb-safe { padding-bottom: env(safe-area-inset-bottom, 0); }
.page-content { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); max-width: 512px; margin: 0 auto; padding-top: 4px; }

.card-visual {
    aspect-ratio: 1.586;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.status-pending { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.status-active { color: #10B981; background: rgba(16, 185, 129, 0.1); }
.status-frozen { color: #60a5fa; background: rgba(96, 165, 250, 0.1); }
.status-blocked { color: #ffb4ab; background: rgba(255, 180, 171, 0.1); }

.chip {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* App bottom tab bar */
.app-tab-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(8, 12, 22, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.app-tab-bar-shell {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 62px;
    max-width: 512px;
    margin: 0 auto;
    padding: 0 6px;
}

.app-tab {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
    height: 100%;
    padding-bottom: 9px;
    color: #9ca3af;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.app-tab:active {
    opacity: 0.85;
}

.app-tab.is-active {
    color: #c4b5fd;
}

.app-tab-topline {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0.6);
    width: 40px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: transparent;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.app-tab.is-active .app-tab-topline {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    box-shadow: 0 2px 14px rgba(167, 139, 250, 0.55);
}

.app-tab-icon {
    font-size: 23px;
    line-height: 1;
    color: #d1d5db;
    transition: color 0.2s ease;
}

.app-tab.is-active .app-tab-icon {
    color: #ddd6fe;
}

.app-tab--action .app-tab-icon {
    color: #34d399;
    font-size: 21px;
}

.app-tab--action.is-active .app-tab-icon {
    color: #34d399;
}

.app-tab-label {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.app-tab.is-active .app-tab-label {
    color: #c4b5fd;
    font-weight: 600;
}

.app-tab--action.is-active .app-tab-label {
    color: #c4b5fd;
}

.app-tab-fab-slot {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-bottom: 6px;
}

.app-tab-fab {
    position: absolute;
    bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #8b5cf6 0%, #6d28d9 55%, #5b21b6 100%);
    border: 3px solid rgba(8, 12, 22, 0.98);
    box-shadow:
        0 10px 28px rgba(109, 40, 217, 0.5),
        0 0 0 1px rgba(167, 139, 250, 0.25) inset;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.app-tab-fab:hover {
    box-shadow:
        0 12px 32px rgba(109, 40, 217, 0.58),
        0 0 0 1px rgba(196, 181, 253, 0.35) inset;
}

.app-tab-fab.is-active {
    box-shadow:
        0 12px 36px rgba(109, 40, 217, 0.65),
        0 0 0 1px rgba(196, 181, 253, 0.4) inset,
        0 0 24px rgba(139, 92, 246, 0.35);
}

.app-tab-fab:active {
    transform: scale(0.93);
}

.app-tab-fab .material-symbols-outlined {
    font-size: 26px;
}

@media (prefers-reduced-motion: reduce) {
    .app-tab,
    .app-tab-topline,
    .app-tab-icon,
    .app-tab-label,
    .app-tab-fab {
        transition: none;
    }
}

/* Mobile app top bar */
.app-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(12, 19, 34, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-topbar-inner {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    max-width: 512px;
    margin: 0 auto;
    padding: 10px 16px;
    min-height: 56px;
}

.app-topbar-slot {
    display: flex;
    align-items: center;
}

.app-topbar-start {
    justify-content: flex-start;
}

.app-topbar-center {
    justify-content: center;
    min-width: 0;
}

.app-topbar-end {
    justify-content: flex-end;
}

.app-topbar-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    max-width: 160px;
}

.app-topbar-logo-img {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.app-topbar-logo-fallback {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #191f2f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b7c4ff;
}

.app-topbar-logo-fallback .material-symbols-outlined {
    font-size: 22px;
}

.app-topbar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    background: rgba(0, 82, 255, 0.2);
    border: 1px solid rgba(183, 196, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b7c4ff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

/* Mobile breadcrumb */
.mobile-breadcrumb {
    position: sticky;
    top: 56px;
    z-index: 35;
    background: rgba(12, 19, 34, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-breadcrumb-inner {
    max-width: 512px;
    margin: 0 auto;
    padding: 10px 20px 12px;
}

.mobile-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.mobile-breadcrumb-sep {
    margin: 0 8px;
    color: #434656;
    font-size: 12px;
    user-select: none;
}

.mobile-breadcrumb-link {
    color: #8d90a2;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-breadcrumb-link:hover {
    color: #b7c4ff;
}

.mobile-breadcrumb-current {
    color: #dce2f7;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* Mobile hamburger menu */
.mobile-menu-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #191f2f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #b7c4ff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.mobile-menu-btn:active {
    transform: scale(0.94);
    background: #232a3a;
}

.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
}
.nav-drawer.is-open {
    pointer-events: auto;
}

.nav-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-drawer.is-open .nav-drawer-overlay {
    opacity: 1;
}

.nav-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100%;
    background: #141b2b;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.nav-drawer.is-open .nav-drawer-panel {
    transform: translateX(0);
}

.nav-drawer-brand {
    padding: 20px 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 16px;
    text-decoration: none;
}

.nav-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.nav-drawer-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 9999px;
    background: rgba(0, 82, 255, 0.2);
    border: 1px solid rgba(183, 196, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #b7c4ff;
    font-size: 18px;
}

.nav-drawer-close {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: #8d90a2;
    cursor: pointer;
}
.nav-drawer-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #dce2f7;
}

.nav-drawer-links {
    flex: 1;
    overflow-y: auto;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-drawer-footer {
    padding: 16px 12px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-drawer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    color: #c3c5d9;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}
.nav-drawer-link .material-symbols-outlined {
    font-size: 22px;
    width: 24px;
    text-align: center;
}
.nav-drawer-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #dce2f7;
}
.nav-drawer-link.is-active {
    background: rgba(0, 82, 255, 0.18);
    color: #b7c4ff;
}
.nav-drawer-link-danger {
    color: #ffb4ab;
}
.nav-drawer-link-danger:hover {
    background: rgba(147, 0, 10, 0.15);
    color: #ffb4ab;
}

body.drawer-open {
    overflow: hidden;
}

/* KYC popup */
body.kyc-popup-open {
    overflow: hidden;
}

.kyc-popup {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.kyc-popup.is-open {
    display: flex;
}

.kyc-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 29, 0.72);
    backdrop-filter: blur(3px);
}

.kyc-popup-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    background: #141b2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.kyc-popup-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: rgba(0, 82, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b7c4ff;
}

.kyc-popup-icon .material-symbols-outlined {
    font-size: 32px;
}

.kyc-popup-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dce2f7;
    margin: 0;
}

.kyc-popup-text {
    font-size: 0.875rem;
    color: #c3c5d9;
    margin: 12px 0 0;
    line-height: 1.55;
}

.kyc-popup-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 82, 255, 0.08);
    border: 1px solid rgba(183, 196, 255, 0.15);
    font-size: 0.8rem;
    color: #c3c5d9;
    text-align: left;
}

.kyc-popup-note .material-symbols-outlined {
    font-size: 20px;
    color: #b7c4ff;
    flex-shrink: 0;
}

.kyc-popup-note-error {
    background: rgba(255, 180, 171, 0.08);
    border-color: rgba(255, 180, 171, 0.2);
    color: #ffb4ab;
}

.kyc-popup-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kyc-popup-link {
    font-size: 0.875rem;
    color: #8d90a2;
    text-decoration: none;
}

.kyc-popup-link:hover {
    color: #b7c4ff;
}

.card-link-popup-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.card-link-popup-countdown {
    margin: 16px 0 0;
    font-size: 0.8rem;
    color: #8d90a2;
}

.card-link-popup-countdown strong {
    color: #b7c4ff;
    font-weight: 700;
}

.kyc-pending-box {
    text-align: center;
    padding: 32px 16px;
    background: rgba(0, 82, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(183, 196, 255, 0.15);
}

.kyc-pending-icon {
    font-size: 48px;
    color: #b7c4ff;
    display: block;
    margin-bottom: 12px;
}

.kyc-form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
}

.kyc-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8d90a2;
    margin-bottom: 4px;
}

.kyc-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8d90a2;
    margin-bottom: 6px;
}

.kyc-input {
    width: 100%;
    background: #191f2f;
    border: 1px solid rgba(67, 70, 86, 0.5);
    border-radius: 12px;
    padding: 12px 14px;
    color: #dce2f7;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.kyc-input:focus {
    border-color: #0052ff;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

.kyc-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #191f2f;
    border: 1px dashed rgba(141, 144, 162, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.kyc-upload:hover {
    border-color: #b7c4ff;
    background: #232a3a;
}
.kyc-upload input[type="file"] {
    display: none;
}
.kyc-upload-text {
    font-size: 14px;
    color: #c3c5d9;
}

.kyc-preview {
    margin-top: 8px;
    min-height: 0;
}
.kyc-preview.has-preview {
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.kyc-preview img {
    display: block;
    max-height: 140px;
    max-width: 100%;
    width: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.kyc-preview-error {
    margin: 0;
    font-size: 12px;
    color: #ffb4ab;
}

/* Crypto Card page */
.crypto-card-page-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 32px;
}

.crypto-balance-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, #7a1824 0%, #5c1018 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.crypto-balance-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.crypto-balance-value {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.crypto-balance-value span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.crypto-balance-status {
    text-align: right;
    flex-shrink: 0;
}

.crypto-card-status-card .crypto-balance-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crypto-card-balance-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.crypto-card-balance-link .material-symbols-outlined {
    font-size: 16px;
    opacity: 0.85;
}

/* Dashboard */
.dash-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 8px;
}

.dash-header {
    padding-top: 4px;
}

.dash-greeting {
    margin: 0 0 2px;
    font-size: 0.8rem;
    color: #8d90a2;
}

.dash-name {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.dash-wallet {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(155deg, #1a2236 0%, #121a2a 55%, #0d1422 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.dash-wallet-glow {
    position: absolute;
    top: -55%;
    right: -18%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.22) 0%, transparent 68%);
    pointer-events: none;
}

.dash-wallet-body {
    position: relative;
    padding: 22px 22px 18px;
}

.dash-wallet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.dash-wallet-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.dash-wallet-hold {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    white-space: nowrap;
}

.dash-wallet-amount {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.03em;
}

.dash-wallet-symbol {
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0.55;
    margin-right: 2px;
    vertical-align: top;
}

.dash-wallet-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.18);
}

.dash-wallet-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 88px;
    padding: 12px 8px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}

.dash-wallet-nav-item:last-child {
    border-right: none;
}

.dash-wallet-nav-item:active {
    background: rgba(255, 255, 255, 0.04);
}

.dash-wallet-nav-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-wallet-nav-icon .material-symbols-outlined {
    font-size: 20px;
    color: #dce2f7;
}

.dash-wallet-nav-primary .dash-wallet-nav-icon {
    background: #0052ff;
    border-color: rgba(183, 196, 255, 0.35);
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.35);
}

.dash-wallet-nav-primary .dash-wallet-nav-icon .material-symbols-outlined {
    color: #fff;
}

.dash-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.dash-section-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f4f4f8;
}

.dash-section-title-block {
    margin-bottom: 4px;
}

.dash-section-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #b7c4ff;
}

.dash-section-link .material-symbols-outlined {
    font-size: 16px;
}

.crypto-status-badge {
    display: inline-block;
    margin-top: 2px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #0a0a0a;
    color: #fff;
}

.crypto-status-unlinked {
    color: #ff6b6b;
}

.crypto-status-linked {
    color: #34d399;
}

.crypto-status-pending {
    color: #fbbf24;
}

.crypto-status-frozen {
    color: #93c5fd;
}

.crypto-virtual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 200px;
    box-shadow: 0 16px 48px rgba(88, 28, 135, 0.45);
}

.crypto-virtual-card-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) -20px 0,
        linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) -20px 0,
        linear-gradient(315deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
        linear-gradient(145deg, #7c3aed 0%, #5b21b6 45%, #4c1d95 100%);
    background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px, 100% 100%;
}

.crypto-virtual-card-content {
    position: relative;
    z-index: 1;
    padding: 22px 24px 24px;
    color: #fff;
}

.crypto-virtual-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}

.crypto-visa-logo {
    font-size: 1.1rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.04em;
}

.crypto-visa-logo small {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.12em;
    opacity: 0.85;
}

.crypto-card-chip {
    width: 42px;
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(145deg, #f5f5f5 0%, #d4d4d4 50%, #e8e8e8 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.crypto-card-number {
    text-align: center;
    font-size: 1.15rem;
    letter-spacing: 0.22em;
    font-weight: 600;
    margin: 0 0 24px;
}

.crypto-card-meta {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: end;
}

.crypto-card-meta-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin-bottom: 4px;
}

.crypto-card-meta-value {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.crypto-action-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.crypto-action-form {
    margin: 0;
    min-width: 0;
}

.crypto-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 8px;
    border: none;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
}

.crypto-action-btn:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
}

.crypto-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.crypto-action-btn:not(:disabled) {
    pointer-events: auto;
}

.crypto-action-link {
    background: #16a34a;
    color: #fff;
}

.crypto-action-request {
    background: #2e3545;
    color: #fff;
}

.crypto-action-help {
    background: #dc2626;
    color: #fff;
}

.crypto-inline-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    font-size: 0.8rem;
    color: #fcd34d;
}

.crypto-inline-note .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
}

.crypto-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #dce2f7;
    margin: 0 0 12px;
}

.crypto-manage-card {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-manage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.crypto-manage-grid strong {
    display: block;
    font-size: 0.9rem;
    color: #dce2f7;
}

.crypto-billing-panel {
    padding: 16px;
    border-radius: 16px;
    background: #141b2b;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-billing-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: #16a34a;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.crypto-billing-add:hover {
    opacity: 0.9;
}

.crypto-billing-add-secondary {
    margin-top: 12px;
    background: transparent;
    border: 1px solid rgba(22, 163, 74, 0.5);
    color: #34d399;
}

.crypto-billing-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crypto-billing-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-billing-item p {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #c3c5d9;
}

.crypto-billing-item-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.crypto-billing-edit,
.crypto-billing-delete {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.crypto-billing-edit {
    background: rgba(183, 196, 255, 0.12);
    color: #b7c4ff;
}

.crypto-billing-delete {
    background: rgba(255, 180, 171, 0.12);
    color: #ffb4ab;
}

.crypto-input {
    width: 100%;
    background: #191f2f;
    border: 1px solid rgba(67, 70, 86, 0.5);
    border-radius: 12px;
    padding: 12px 14px;
    color: #dce2f7;
    font-size: 15px;
    outline: none;
}

.crypto-input:focus {
    border-color: #0052ff;
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.15);
}

/* App modals (link card, billing) */
.app-modal {
    position: fixed;
    inset: 0;
    z-index: 700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.app-modal.is-open {
    display: flex;
}

.app-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 29, 0.72);
    backdrop-filter: blur(3px);
}

.app-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #141b2b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.app-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 0;
}

.app-modal-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #dce2f7;
}

.app-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #c3c5d9;
    cursor: pointer;
}

.app-modal-body {
    padding: 16px 20px 24px;
}

body.modal-open {
    overflow: hidden;
}

/* Link Crypto Card modal */
.link-card-modal-dialog {
    max-width: 400px;
    padding: 0;
    overflow: visible;
}

.link-card-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.link-card-modal-body {
    padding: 28px 22px 24px;
}

.link-card-modal-title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}

.link-card-error {
    margin: 0 0 16px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.link-card-error[hidden] {
    display: none !important;
}

.link-card-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-card-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-card-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
}

.link-card-hint {
    margin: -4px 0 8px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #8d90a2;
}

.link-card-select-wrap {
    position: relative;
}

.link-card-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 40px 14px 16px;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

.link-card-select:invalid,
.link-card-select option[value=""][disabled] {
    color: #8d90a2;
}

.link-card-select:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

.link-card-select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #8d90a2;
    pointer-events: none;
}

.link-card-group {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.link-card-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.link-card-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    border-bottom: none;
}

.link-card-row-half {
    border-bottom: none;
    min-width: 0;
}

.link-card-row-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.link-card-row-icon {
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    opacity: 0.9;
}

.link-card-row-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.link-card-row-input::placeholder {
    color: #8d90a2;
}

.link-card-pin-input {
    width: 100%;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.35em;
    outline: none;
}

.link-card-pin-input:focus {
    border-color: rgba(255, 255, 255, 0.25);
}

.link-card-submit {
    width: 100%;
    margin-top: 4px;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: #16a34a;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.link-card-submit:hover {
    opacity: 0.92;
}

.request-card-modal .link-card-modal-body {
    padding-top: 24px;
}

.request-card-name-input {
    letter-spacing: normal;
}

.request-card-submit {
    width: 100%;
    margin-top: 4px;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.request-card-submit:hover {
    opacity: 0.92;
}

.view-card-modal .app-modal-dialog,
.view-card-modal-dialog {
    max-width: 540px;
    width: min(540px, calc(100vw - 24px));
    background: #0f1220;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.view-card-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    color: #94a3b8;
}

.view-card-modal-body {
    padding: 28px 24px 24px;
}

.view-card-modal-title {
    margin: 0 0 20px;
    padding-right: 36px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    letter-spacing: -0.01em;
}

.view-card-modal-intro {
    margin: 0 0 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #8d90a2;
    text-align: center;
}

.view-card-pin-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 320px;
    margin: 0 auto;
}

.view-card-field-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #c4c7d4;
    text-align: center;
}

.view-card-pin-input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.15rem;
    letter-spacing: 0.35em;
    text-align: center;
}

.view-card-pin-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.view-card-primary-btn {
    width: 100%;
    margin-top: 6px;
    padding: 15px 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}

.view-card-primary-btn:hover {
    opacity: 0.94;
}

.view-card-primary-btn:active {
    transform: scale(0.99);
}

.view-card-primary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.view-card-details[hidden],
.view-card-pin-step[hidden] {
    display: none !important;
}

.view-card-details {
    animation: viewCardFadeIn 0.25s ease;
}

@keyframes viewCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-card-face {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 210px;
    margin-bottom: 20px;
    box-shadow: 0 16px 40px rgba(88, 28, 135, 0.4);
}

.view-card-face-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) -20px 0,
        linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) -20px 0,
        linear-gradient(315deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
        linear-gradient(145deg, #7c3aed 0%, #5b21b6 45%, #4c1d95 100%);
    background-size: 40px 40px, 40px 40px, 40px 40px, 40px 40px, 100% 100%;
}

.view-card-face-content {
    position: relative;
    z-index: 1;
    padding: 22px 24px 20px;
    color: #fff;
}

.view-card-face-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.view-card-face-top-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.view-card-face-brand {
    font-size: 1.05rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.view-card-face-chip {
    width: 40px;
    height: 30px;
    border-radius: 6px;
    background: linear-gradient(145deg, #f5f5f5 0%, #d4d4d4 50%, #e8e8e8 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.view-card-face-status {
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.view-card-face-number {
    margin: 0 0 22px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: clamp(0.92rem, 3.2vw, 1.15rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-align: center;
    white-space: nowrap;
    word-break: normal;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
}

.view-card-face-number::-webkit-scrollbar {
    display: none;
}

.view-card-face-meta {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.7fr);
    gap: 16px;
    align-items: end;
}

.view-card-face-field-holder .view-card-face-value {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.view-card-face-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.view-card-face-value {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-card-face-cvc {
    font-size: 1rem;
    letter-spacing: 0.14em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.view-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.view-card-stat {
    padding: 14px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.view-card-stat-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8d90a2;
}

.view-card-stat-value {
    display: block;
    font-size: 0.92rem;
    color: #fff;
    line-height: 1.2;
}

.view-card-copy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.view-card-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.view-card-copy-btn .view-card-copy-icon {
    font-size: 17px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.view-card-copy-btn:hover:not(:disabled):not(.is-copied):not(.is-copy-error) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.view-card-copy-btn:active:not(:disabled):not(.is-copied) {
    transform: scale(0.97);
    box-shadow: none;
}

.view-card-copy-btn.is-copying {
    pointer-events: none;
    opacity: 0.75;
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.12);
    color: #c4b5fd;
}

.view-card-copy-btn.is-copying .view-card-copy-icon {
    animation: viewCardCopyPulse 0.6s ease infinite;
}

.view-card-copy-btn.is-copied {
    border-color: rgba(52, 211, 153, 0.55);
    background: rgba(52, 211, 153, 0.16);
    color: #6ee7b7;
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.2), 0 8px 20px rgba(52, 211, 153, 0.15);
    transform: scale(1.02);
}

.view-card-copy-btn.is-copied .view-card-copy-icon {
    color: #34d399;
    transform: scale(1.1);
}

.view-card-copy-btn.is-copy-error {
    border-color: rgba(248, 113, 113, 0.5);
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
    animation: viewCardCopyShake 0.35s ease;
}

@keyframes viewCardCopyPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.92); }
}

@keyframes viewCardCopyShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

.view-card-copy-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.view-card-security-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8d90a2;
    text-align: left;
}

.view-card-security-note .material-symbols-outlined {
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 1px;
    color: #7c3aed;
}

.view-card-security-note[hidden] {
    display: none !important;
}

#view-card-info-error {
    margin-bottom: 14px;
}

@media (min-width: 480px) {
    .view-card-modal-body {
        padding: 32px 32px 28px;
    }

    .view-card-face-content {
        padding: 24px 28px 22px;
    }

    .view-card-face-number {
        letter-spacing: 0.14em;
        font-size: 1.15rem;
    }
}

@media (max-width: 380px) {
    .view-card-face-meta {
        grid-template-columns: 1fr 1fr;
        gap: 14px 12px;
    }

    .view-card-face-field-holder {
        grid-column: 1 / -1;
    }

    .view-card-copy-actions {
        grid-template-columns: 1fr;
    }
}

/* Support tickets */
.support-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-ticket-item {
    display: block;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s, background 0.2s;
    color: inherit;
}

.support-ticket-item:hover {
    border-color: rgba(183, 196, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.support-ticket-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.support-ticket-ref {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #b7c4ff;
}

.support-ticket-subject {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #dce2f7;
}

.support-ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.75rem;
    color: #8d90a2;
}

.support-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.support-status-open {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.support-status-pending {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}

.support-status-resolved {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.support-status-closed {
    background: rgba(141, 144, 162, 0.15);
    color: #8d90a2;
}

.support-textarea {
    min-height: 120px;
    resize: vertical;
}

.support-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-message {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-message-user {
    background: rgba(255, 255, 255, 0.03);
    margin-right: 24px;
}

.support-message-staff {
    background: rgba(0, 82, 255, 0.08);
    border-color: rgba(183, 196, 255, 0.15);
    margin-left: 24px;
}

.support-message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.75rem;
    color: #8d90a2;
}

.support-message-header strong {
    color: #dce2f7;
    font-size: 0.85rem;
}

.support-message-body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #c3c5d9;
}

/* ─── Deposits hub ─── */
.deposit-hub {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
    padding-bottom: 24px;
}

.deposit-hub-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.deposit-hub-eyebrow {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a78bfa;
}

.deposit-hub-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.deposit-hub-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.deposit-hub-new-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.deposit-hub-new-btn .material-symbols-outlined {
    font-size: 18px;
}

/* Hero balance card */
.deposit-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #4c1d95 0%, #312e81 45%, #1e1b4b 100%);
    border: 1px solid rgba(167, 139, 250, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.deposit-hero-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
    pointer-events: none;
}

.deposit-hero-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.deposit-hero-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.deposit-hero-balance {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.deposit-hero-balance span {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.75;
}

.deposit-hero-card-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.deposit-hero-card-pill .material-symbols-outlined {
    font-size: 16px;
    opacity: 0.8;
}

.deposit-hero-copy {
    position: relative;
    margin: 0 0 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}

.deposit-hero-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    background: #fff;
    color: #4c1d95;
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.deposit-hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.deposit-hero-cta .material-symbols-outlined {
    font-size: 20px;
}

/* Stats row */
.deposit-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.deposit-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-stat-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.deposit-stat-icon-approved { color: #34d399; }
.deposit-stat-icon-pending { color: #60a5fa; }
.deposit-stat-icon-limits { color: #a78bfa; }

.deposit-stat strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ececf1;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.deposit-stat span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8d90a2;
    margin-top: 2px;
}

.deposit-section-title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #dce2f7;
}

/* Method chips */
.deposit-method-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deposit-method-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #c3c5d9;
    transition: border-color 0.2s, background 0.2s;
}

.deposit-method-chip:hover {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(124, 58, 237, 0.1);
}

.deposit-method-chip .material-symbols-outlined {
    font-size: 18px;
}

.deposit-method-chip--btc { color: #fbbf24; }
.deposit-method-chip--trc20 { color: #f87171; }
.deposit-method-chip--erc20 { color: #60a5fa; }

/* How it works */
.deposit-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deposit-steps li {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.deposit-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.2);
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 800;
}

.deposit-steps strong {
    display: block;
    font-size: 0.85rem;
    color: #ececf1;
    margin-bottom: 4px;
}

.deposit-steps p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8d90a2;
}

/* History */
.deposit-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.deposit-history-head .deposit-section-title {
    margin: 0;
}

.deposit-history-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8d90a2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.deposit-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.deposit-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s;
}

.deposit-card:hover {
    border-color: rgba(167, 139, 250, 0.25);
}

.deposit-card--pending {
    border-left: 3px solid #60a5fa;
}

.deposit-card--approved {
    border-left: 3px solid #34d399;
}

.deposit-card--rejected {
    border-left: 3px solid #f87171;
}

.deposit-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.deposit-card-icon .material-symbols-outlined {
    font-size: 24px;
}

.deposit-card-icon--btc {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.deposit-card-icon--trc20 {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.deposit-card-icon--erc20 {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
}

.deposit-card-icon--default {
    background: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

.deposit-card-main {
    flex: 1;
    min-width: 0;
}

.deposit-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.deposit-card-ref {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a78bfa;
    margin-bottom: 2px;
}

.deposit-card-amount {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f4f4f8;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.deposit-card-status {
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 999px;
}

.deposit-status-pending {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}

.deposit-status-approved {
    background: rgba(52, 211, 153, 0.15);
    color: #6ee7b7;
}

.deposit-status-rejected {
    background: rgba(248, 113, 113, 0.15);
    color: #fca5a5;
}

.deposit-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #8d90a2;
}

.deposit-card-dot {
    opacity: 0.5;
}

.deposit-card-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.45;
}

.deposit-card-alert .material-symbols-outlined {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.deposit-card-alert-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #fca5a5;
}

.deposit-card-tx {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.deposit-card-tx-hash {
    flex: 1;
    min-width: 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: #9ca3af;
    word-break: break-all;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.deposit-tx-copy {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #a78bfa;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.deposit-tx-copy:hover {
    background: rgba(124, 58, 237, 0.25);
}

.deposit-tx-copy.is-copied {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

.deposit-tx-copy .material-symbols-outlined {
    font-size: 16px;
}

/* Empty states */
.deposit-empty-state {
    padding: 36px 24px;
    text-align: center;
    border-radius: 22px;
}

.deposit-empty-state-compact {
    padding: 28px 20px;
}

.deposit-empty-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.deposit-empty-icon-wrap-sm {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
}

.deposit-empty-icon-wrap .material-symbols-outlined {
    font-size: 32px;
    color: #a78bfa;
}

.deposit-empty-icon-wrap-sm .material-symbols-outlined {
    font-size: 26px;
}

.deposit-empty-state h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ececf1;
}

.deposit-empty-state p {
    margin: 0 0 20px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #8d90a2;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards page CTA (unchanged hook) */
.deposit-funds-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-bottom: 4px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
}

.deposit-funds-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.deposit-funds-cta .material-symbols-outlined {
    font-size: 20px;
}

/* ─── Deposit checkout (compact) ─── */
.deposit-checkout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
    padding-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.deposit-checkout-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.deposit-checkout-top .deposit-back-link {
    margin: 4px 0 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c3c5d9;
}

.deposit-checkout-top .deposit-back-link:hover {
    color: #e9d5ff;
    border-color: rgba(167, 139, 250, 0.35);
}

.deposit-checkout-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.deposit-checkout-sub {
    margin: 4px 0 0;
    font-size: 0.75rem;
    color: #8d90a2;
}

.deposit-checkout-card {
    padding: 16px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.deposit-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.deposit-pills::-webkit-scrollbar {
    display: none;
}

.deposit-pill {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.72rem;
    font-weight: 700;
    color: #a1a1aa;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.deposit-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.deposit-pill .material-symbols-outlined {
    font-size: 18px;
}

.deposit-pill--btc .material-symbols-outlined { color: #fbbf24; }
.deposit-pill--trc20 .material-symbols-outlined { color: #f87171; }
.deposit-pill--erc20 .material-symbols-outlined { color: #60a5fa; }

.deposit-pill:has(input:checked) {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.15);
    color: #e9d5ff;
}

.deposit-checkout-amount label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8d90a2;
}

.deposit-amount-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-amount-currency {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b7280;
}

.deposit-amount-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 4px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #f4f4f8;
    font-variant-numeric: tabular-nums;
    outline: none;
}

.deposit-amount-fiat {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6b7280;
}

.deposit-quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.deposit-quick-amt {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #c3c5d9;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.deposit-quick-amt:hover {
    border-color: rgba(167, 139, 250, 0.4);
    background: rgba(124, 58, 237, 0.12);
    color: #e9d5ff;
}

.deposit-pay-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(30, 27, 75, 0.5));
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: opacity 0.2s;
}

.deposit-pay-box.is-loading {
    opacity: 0.85;
}

.deposit-pay-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.deposit-qr-frame {
    position: relative;
    width: 168px;
    height: 168px;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.deposit-qr-target {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-qr-target img,
.deposit-qr-target canvas {
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
}

.deposit-qr-empty {
    position: absolute;
    inset: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    background: #f4f4f5;
    color: #71717a;
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
}

.deposit-qr-empty .material-symbols-outlined {
    font-size: 36px;
    opacity: 0.5;
}

.deposit-qr-frame.has-qr .deposit-qr-empty {
    display: none;
}

.deposit-qr-frame:not(.has-qr) .deposit-qr-target {
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.deposit-qr-hint {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8d90a2;
}

.deposit-pay-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.deposit-pay-highlight {
    margin-bottom: 4px;
}

.deposit-pay-highlight span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8d90a2;
    margin-bottom: 2px;
}

.deposit-pay-highlight strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #e9d5ff;
    line-height: 1.2;
    word-break: break-word;
}

.deposit-pay-rate {
    margin: 0 0 10px;
    font-size: 0.72rem;
    color: #8d90a2;
}

.deposit-wallet-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-wallet-row code {
    flex: 1;
    min-width: 0;
    font-size: 0.65rem;
    line-height: 1.45;
    word-break: break-all;
    color: #dce2f7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.deposit-copy-wallet {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.25);
    color: #c4b5fd;
    cursor: pointer;
}

.deposit-copy-wallet.is-copied {
    background: rgba(52, 211, 153, 0.2);
    color: #6ee7b7;
}

.deposit-copy-wallet .material-symbols-outlined {
    font-size: 16px;
}

.deposit-live-loading {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 0.72rem;
    color: #a78bfa;
}

.deposit-live-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(167, 139, 250, 0.3);
    border-top-color: #a78bfa;
    border-radius: 50%;
    animation: deposit-spin 0.7s linear infinite;
}

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

.deposit-live-error {
    margin: 0 0 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    font-size: 0.72rem;
    color: #fca5a5;
}

.deposit-gateway-note {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.68rem;
    color: #93c5fd;
    line-height: 1.4;
}

.deposit-checkout-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.deposit-checkout-footer label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8d90a2;
}

.deposit-tx-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: #ececf1;
    font-size: 0.82rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    outline: none;
    box-sizing: border-box;
}

.deposit-tx-input:focus {
    border-color: rgba(167, 139, 250, 0.45);
}

.deposit-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    transition: transform 0.15s, opacity 0.2s;
}

.deposit-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.deposit-submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.deposit-submit-btn .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 400px) {
    .deposit-pay-box {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .deposit-pay-details {
        width: 100%;
        align-items: center;
    }

    .deposit-wallet-row {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .deposit-stats {
        grid-template-columns: 1fr;
    }

    .deposit-stat {
        padding: 12px 14px;
    }

    .deposit-hero-balance {
        font-size: 1.65rem;
    }
}

/* Wire transfers hub */
.wire-hub {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
    padding-bottom: 24px;
}

.wire-hub-header,
.wire-create-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wire-hub-eyebrow,
.wire-create-sub {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #60a5fa;
}

.wire-hub-title,
.wire-create-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.wire-hub-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.wire-hub-new-btn .material-symbols-outlined {
    font-size: 18px;
}

.wire-empty-state {
    text-align: center;
    padding: 40px 24px;
    border-radius: 22px;
}

.wire-empty-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.wire-empty-icon-wrap .material-symbols-outlined {
    font-size: 36px;
    color: #60a5fa;
}

.wire-empty-icon-wrap-sm {
    width: 56px;
    height: 56px;
    border-radius: 16px;
}

.wire-empty-icon-wrap-sm .material-symbols-outlined {
    font-size: 28px;
}

.wire-empty-state h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ececf1;
}

.wire-empty-state p {
    margin: 0 0 20px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #8d90a2;
}

.wire-empty-state-compact {
    padding: 32px 20px;
}

.wire-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #1e3a8a 0%, #1e293b 48%, #0f172a 100%);
    border: 1px solid rgba(96, 165, 250, 0.28);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.wire-hero-glow {
    position: absolute;
    top: -45%;
    right: -18%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.32) 0%, transparent 70%);
    pointer-events: none;
}

.wire-hero-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.wire-hero-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.wire-hero-balance {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.03em;
}

.wire-hero-currency {
    font-size: 1.25rem;
    font-weight: 700;
    opacity: 0.55;
    margin-right: 2px;
}

.wire-hero-pills {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.wire-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}

.wire-hero-pill .material-symbols-outlined {
    font-size: 14px;
    opacity: 0.85;
}

.wire-hero-pill-hold {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.25);
    color: #fde68a;
}

.wire-hero-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    background: #fff;
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 800;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wire-hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.wire-hero-cta .material-symbols-outlined {
    font-size: 20px;
}

.wire-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wire-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wire-stat-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.wire-stat-icon-sent { color: #34d399; }
.wire-stat-icon-pending { color: #60a5fa; }
.wire-stat-icon-fee { color: #93c5fd; }

.wire-stat strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ececf1;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.wire-stat span {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8d90a2;
    margin-top: 2px;
}

.wire-info-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wire-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #c3c5d9;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wire-info-chip .material-symbols-outlined {
    font-size: 17px;
    color: #60a5fa;
}

.wire-section-title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #dce2f7;
}

.wire-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wire-steps li {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.wire-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    font-size: 0.8rem;
    font-weight: 800;
}

.wire-steps strong {
    display: block;
    font-size: 0.85rem;
    color: #ececf1;
    margin-bottom: 4px;
}

.wire-steps p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #8d90a2;
}

.wire-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.wire-history-head .wire-section-title {
    margin: 0;
}

.wire-history-count {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8d90a2;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
}

.wire-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wire-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s;
}

.wire-card:hover {
    border-color: rgba(96, 165, 250, 0.28);
}

.wire-card--pending { border-left: 3px solid #60a5fa; }
.wire-card--approved { border-left: 3px solid #34d399; }
.wire-card--rejected { border-left: 3px solid #f87171; }

.wire-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.14);
    color: #60a5fa;
}

.wire-card-icon .material-symbols-outlined {
    font-size: 22px;
}

.wire-card-main {
    flex: 1;
    min-width: 0;
}

.wire-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.wire-card-ref {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8d90a2;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.wire-card-amount {
    margin: 2px 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #f4f4f8;
    line-height: 1.2;
}

.wire-card-status {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wire-status-pending { background: rgba(96, 165, 250, 0.15); color: #93c5fd; }
.wire-status-approved { background: rgba(52, 211, 153, 0.15); color: #6ee7b7; }
.wire-status-rejected { background: rgba(248, 113, 113, 0.15); color: #fca5a5; }
.wire-status-default { background: rgba(141, 144, 162, 0.15); color: #a1a1aa; }

.wire-card-beneficiary {
    margin-bottom: 6px;
}

.wire-card-beneficiary strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: #dce2f7;
}

.wire-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    color: #8d90a2;
    line-height: 1.4;
}

.wire-card-dot {
    opacity: 0.5;
}

.wire-card-alert {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.18);
    font-size: 0.76rem;
    line-height: 1.45;
    color: #fca5a5;
}

.wire-card-alert .material-symbols-outlined {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.wire-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #c3c5d9;
    margin: 0;
}

.wire-back-link .material-symbols-outlined {
    font-size: 20px;
}

/* Wire checkout */
.wire-checkout {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 6px;
    padding-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.wire-checkout-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wire-checkout-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.wire-checkout-sub {
    margin: 4px 0 0;
    font-size: 0.75rem;
    color: #8d90a2;
}

.wire-checkout-card {
    padding: 18px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.wire-field-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wire-field-group-title {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8d90a2;
}

.wire-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a1a1aa;
}

.wire-optional {
    font-weight: 500;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0;
}

.wire-field-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    color: #f4f4f8;
    font-size: 0.92rem;
}

.wire-field-input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.45);
}

.wire-field-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

.wire-field-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%238d90a2'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.wire-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.wire-field-note {
    margin: 6px 0 0;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.4;
}

.wire-amount-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
}

.wire-amount-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8d90a2;
}

.wire-amount-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 10px 0;
    font-variant-numeric: tabular-nums;
}

.wire-amount-input:focus {
    outline: none;
}

.wire-amount-fiat {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.06em;
}

.wire-submit-btn {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    background: #2563eb;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

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

.wire-review-heading {
    margin: 0 0 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8d90a2;
}

.wire-review-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

.wire-review-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.84rem;
}

.wire-review-row span {
    color: #8d90a2;
    flex-shrink: 0;
}

.wire-review-row strong {
    color: #ececf1;
    text-align: right;
    font-weight: 600;
    word-break: break-word;
}

.wire-review-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
}

.wire-review-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.wire-review-total strong {
    font-size: 1.05rem;
    color: #fff;
}

.wire-verify-panel {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    background: linear-gradient(165deg, rgba(30, 58, 138, 0.18) 0%, rgba(12, 19, 34, 0.92) 100%);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.wire-verify-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wire-verify-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #93c5fd;
}

.wire-verify-icon .material-symbols-outlined {
    font-size: 26px;
}

.wire-verify-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.wire-verify-desc {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #8d90a2;
}

.wire-masked-email,
.masked-email {
    display: inline-block;
    margin-top: 2px;
    padding: 3px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.78rem;
    font-weight: 600;
    color: #dce2f7;
    letter-spacing: 0.03em;
}

.wire-verify-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wire-otp-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.wire-otp-cell {
    width: 100%;
    height: 54px;
    min-width: 0;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    font-variant-numeric: tabular-nums;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.wire-otp-cell:focus {
    border-color: rgba(96, 165, 250, 0.65);
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
    outline: none;
}

.wire-otp-cell:not(:placeholder-shown),
.wire-otp-cell:valid {
    border-color: rgba(96, 165, 250, 0.35);
}

.wire-verify-expiry {
    margin: -4px 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #6b7280;
}

.wire-submit-btn-auth {
    margin-top: 4px;
}

.wire-verify-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wire-resend-form,
.wire-back-form-inline {
    margin: 0;
}

.wire-resend-btn {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #93c5fd;
    cursor: pointer;
}

.wire-change-btn {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #8d90a2;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.wire-verify-label {
    margin: 0;
    font-size: 0.8rem;
    color: #8d90a2;
    text-align: center;
}

.wire-otp-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.wire-otp-input {
    width: 44px;
    height: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

.wire-change-btn {
    width: 100%;
    margin-top: 4px;
    padding: 10px;
    border: 0;
    background: none;
    color: #8d90a2;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.wire-create-card {
    padding: 20px;
}

.wire-form-section {
    margin-bottom: 20px;
}

.wire-form-section h2 {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--on-surface-variant);
}

.wire-label {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--on-surface-variant);
}

.wire-input,
.wire-select,
.wire-textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 15px;
}

.wire-hint {
    margin: -6px 0 0;
    font-size: 12px;
    color: var(--on-surface-variant);
}

.wire-verify-summary {
    margin-bottom: 20px;
}

.wire-verify-dl {
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
}

.wire-verify-dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.wire-verify-dl dt {
    color: var(--on-surface-variant);
}

.wire-back-form {
    margin-top: 12px;
    text-align: center;
}

.wire-text-btn {
    background: none;
    border: 0;
    color: var(--primary);
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .wire-stats {
        grid-template-columns: 1fr;
    }

    .wire-hero-top {
        flex-direction: column;
    }

    .wire-hero-pills {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .wire-hero-balance {
        font-size: 1.65rem;
    }

    .wire-field-row {
        grid-template-columns: 1fr;
    }

    .wire-otp-cell {
        height: 48px;
        font-size: 1.15rem;
    }

    .wire-otp-grid {
        gap: 6px;
    }

    .wire-verify-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* Profile */
.profile-hub {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
    padding-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.profile-hub-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 4px 0 8px;
}

.profile-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: #b7c4ff;
    background: linear-gradient(145deg, rgba(0, 82, 255, 0.22), rgba(30, 27, 75, 0.5));
    border: 1px solid rgba(183, 196, 255, 0.2);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.profile-avatar-upload.is-uploading {
    pointer-events: none;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-initials {
    position: relative;
    z-index: 1;
}

.profile-avatar-camera {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    z-index: 2;
}

.profile-avatar-camera .material-symbols-outlined {
    font-size: 14px;
}

.profile-avatar-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 3;
}

.profile-avatar-spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #fff;
    animation: profile-avatar-spin 0.7s linear infinite;
}

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

.profile-photo-hint {
    margin: -8px 0 0;
    font-size: 0.74rem;
    color: #6b7280;
    text-align: center;
}

.user-avatar {
    overflow: hidden;
    position: relative;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-avatar-initials {
    font-weight: 700;
    color: #b7c4ff;
}

.app-topbar-avatar.user-avatar .user-avatar-initials {
    font-size: 14px;
}

.nav-drawer-avatar.user-avatar .user-avatar-initials {
    font-size: 18px;
}

.profile-hub-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.profile-hub-email {
    margin: 4px 0 8px;
    font-size: 0.8rem;
    color: #8d90a2;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.profile-status-chip {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-card,
.profile-meta-card {
    padding: 18px;
    border-radius: 22px;
}

.profile-card-head {
    margin-bottom: 16px;
}

.profile-card-title,
.profile-meta-title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ececf1;
}

.profile-card-sub {
    margin: 0;
    font-size: 0.78rem;
    color: #8d90a2;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.profile-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a1a1aa;
}

.profile-optional {
    font-weight: 500;
    color: #6b7280;
}

.profile-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    color: #f4f4f8;
    font-size: 0.92rem;
}

.profile-input:focus {
    outline: none;
    border-color: rgba(183, 196, 255, 0.45);
}

.profile-field-note {
    margin: 6px 0 0;
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.4;
}

.profile-save-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    border: 0;
    border-radius: 14px;
    background: #0052ff;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 82, 255, 0.3);
}

.profile-meta-list {
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.profile-meta-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.profile-meta-row dt {
    color: #8d90a2;
}

.profile-meta-row dd {
    margin: 0;
    font-weight: 600;
    color: #dce2f7;
    text-align: right;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ececf1;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.15s;
}

.profile-link-item:active {
    background: rgba(255, 255, 255, 0.07);
}

.profile-link-item .material-symbols-outlined:first-child {
    font-size: 22px;
    color: #93c5fd;
}

.profile-link-chevron {
    margin-left: auto;
    font-size: 20px !important;
    color: #6b7280 !important;
}

.profile-link-danger {
    color: #fca5a5;
}

.profile-link-danger .material-symbols-outlined:first-child {
    color: #f87171;
}

@media (max-width: 640px) {
    .profile-field-row {
        grid-template-columns: 1fr;
    }
}

/* ─── Activity / transaction history ─── */
.activity-hub {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
    padding-bottom: 24px;
}

.activity-hub-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.activity-hub-sub {
    margin: 6px 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #8d90a2;
    max-width: 280px;
}

.activity-hub-count {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.activity-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-stat-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.activity-stat-icon-in { color: #34d399; }
.activity-stat-icon-out { color: #f87171; }
.activity-stat-icon-pending { color: #60a5fa; }

.activity-stat strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ececf1;
    line-height: 1.2;
}

.activity-stat span {
    font-size: 0.72rem;
    color: #8d90a2;
}

.activity-hub-eyebrow {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #34d399;
}

.activity-hub-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #f4f4f8;
    letter-spacing: -0.02em;
}

.activity-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.activity-filters::-webkit-scrollbar {
    display: none;
}

.activity-filter {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8d90a2;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.activity-filter--active {
    color: #ecfdf5;
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(52, 211, 153, 0.35);
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.activity-day-label {
    margin: 0 0 10px 4px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.activity-day-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
}

.activity-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-item-icon .material-symbols-outlined {
    font-size: 22px;
}

.activity-icon--credit {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: #6ee7b7;
}

.activity-icon--debit {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.2);
    color: #fca5a5;
}

.activity-icon--wire {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.activity-icon--btc {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.activity-icon--trc20 {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.18);
    color: #f87171;
}

.activity-icon--erc20 {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.activity-icon--default {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #93c5fd;
}

.activity-item-main {
    flex: 1;
    min-width: 0;
}

.activity-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.activity-item-title {
    margin: 0 0 2px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ececf1;
}

.activity-item-subtitle {
    margin: 0;
    font-size: 0.78rem;
    color: #8d90a2;
    line-height: 1.4;
}

.activity-item-right {
    flex-shrink: 0;
    text-align: right;
}

.activity-amount {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.activity-amount--credit {
    color: #6ee7b7;
}

.activity-amount--debit {
    color: #fca5a5;
}

.activity-amount--neutral {
    color: #c4c6d4;
}

.activity-status {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

.activity-status-completed {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.12);
}

.activity-status-pending {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.12);
}

.activity-status-failed {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.12);
}

.activity-status-default {
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.06);
}

.activity-item-meta {
    margin-top: 8px;
    font-size: 0.72rem;
    color: #6b7280;
}

.activity-meta-dot {
    margin: 0 4px;
}

.activity-item-ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.68rem;
    color: #8d90a2;
}

.activity-empty {
    text-align: center;
    padding: 40px 24px;
    border-radius: 22px;
}

.activity-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.activity-empty-icon .material-symbols-outlined {
    font-size: 32px;
    color: #34d399;
}

.activity-empty h2 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ececf1;
}

.activity-empty p {
    margin: 0 0 20px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #8d90a2;
}

.activity-empty-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.activity-empty-secondary {
    font-size: 0.85rem;
    font-weight: 600;
    color: #93c5fd;
}

@media (max-width: 400px) {
    .activity-stats {
        grid-template-columns: 1fr;
    }

    .activity-item-head {
        flex-direction: column;
    }

    .activity-item-right {
        text-align: left;
    }
}

