/* Wallet Panel - Hollowcore V2 / Social Hub Style */
/* Compact, glowing, Morrhollow terminal aesthetic */

:root {
    --hc-gap-xs: 3px;
    --hc-gap-sm: 4px;
    --hc-gap-md: 6px;
    --hc-gap-lg: 8px;
    --hc-pad-xs: 4px;
    --hc-pad-sm: 6px;
    --hc-pad-md: 8px;
    --hc-pad-lg: 12px;

    /* Morrhollow Terminal Colors */
    --hc-bg-dark: rgba(15, 15, 25, 0.95);
    --hc-bg-darker: rgba(8, 8, 15, 0.98);
    --hc-blue-glow: #93C5FD;
    --hc-blue-accent: #00d4ff;
    --hc-gold-accent: rgba(212, 175, 55, 0.9);
    --hc-gold-border: rgba(212, 175, 55, 0.4);
}

.panel-wallet {
    position: fixed;
    top: 50px;
    right: 10px;
    width: 500px;
    max-width: calc(100vw - 20px);
    height: calc(100vh - 100px);
    max-height: 700px;
    z-index: 9998;
    display: none; /* Hidden by default */
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    /* Morrhollow-style multi-layer glow shadow */
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 40px rgba(147, 197, 253, 0.15),
        0 0 20px rgba(212, 175, 55, 0.1);
    border: 1px solid var(--hc-gold-border);
    font-family: 'RemiliaMincho', serif;
    font-size: 12px;
    color: #E5E7EB;
    user-select: none;
    background: transparent;
    animation: hc-panel-slide-in 0.3s ease-out;
    margin: 0;
    padding: 0;
}

/* Show panel when active */
.panel-wallet.active {
    display: flex;
}

/* CRITICAL: Remove padding from .panel-content wrapper */
.panel-wallet .panel-content {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Hide the auto-generated .panel-close button (we have our own .close-btn in header) */
.panel-wallet .panel-close {
    display: none !important;
}

@keyframes hc-panel-slide-in {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.panel-wallet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        var(--hc-bg-dark) 0%,
        var(--hc-bg-darker) 50%,
        var(--hc-bg-dark) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

.panel-wallet.dragging {
    user-select: none;
    cursor: move;
    transition: none !important;
}

.wallet-panel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header - Compact Single Row (Match Hollowcore V2) */
.wallet-panel .panel-header {
    background: linear-gradient(180deg,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(51, 65, 85, 0.98) 100%);
    min-height: 30px;
    max-height: 30px;
    border-bottom: 1px solid var(--hc-gold-border);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(147, 197, 253, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    gap: 8px;
}

.wallet-panel .panel-header h2 {
    font-size: 11px;
    color: var(--hc-gold-accent);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap;
    text-shadow:
        0 0 10px rgba(147, 197, 253, 0.3),
        0 1px 2px rgba(0, 0, 0, 0.8);
}

.wallet-actions {
    display: flex;
    gap: 2px;
    align-items: center;
}

/* Compact header buttons (Match Hollowcore V2) */
.wallet-actions button {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.7) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 3px;
    color: rgba(186, 166, 116, 0.8);
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.wallet-actions button:hover {
    background: linear-gradient(135deg,
        rgba(147, 197, 253, 0.3) 0%,
        rgba(59, 130, 246, 0.4) 100%);
    border-color: var(--hc-blue-glow);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(147, 197, 253, 0.3);
}

.refresh-btn.spinning {
    animation: spin 1s linear infinite;
}

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

/* Wallet Body - Compact style */
.wallet-panel .panel-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Wallet Overview Section */
.wallet-overview {
    padding: var(--hc-pad-md);
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 100%);
    border-bottom: 1px solid var(--hc-gold-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.wallet-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wallet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(212, 175, 55, 0.3) 0%,
        rgba(186, 166, 116, 0.4) 50%,
        rgba(212, 175, 55, 0.3) 100%);
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wallet-send-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(180deg,
        rgba(15, 23, 42, 0.4) 0%,
        rgba(30, 41, 59, 0.5) 100%);
    overflow-y: auto;
}

.wallet-send-body::-webkit-scrollbar {
    width: 6px;
}

.wallet-send-body::-webkit-scrollbar-track {
    background: transparent;
}

.wallet-send-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.wallet-send-body::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

.wallet-send-intro {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 8px;
    background: linear-gradient(160deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(17, 24, 39, 0.8) 100%);
    box-shadow: inset 0 0 12px rgba(15, 15, 15, 0.25);
}

.send-wallet-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: rgba(186, 166, 116, 0.72);
    text-transform: uppercase;
}

.send-wallet-address {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: #f1f5f9;
}

.send-wallet-note {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(148, 163, 184, 0.9);
}

.send-status-container {
    min-height: 0;
}

.send-status {
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: rgba(226, 232, 240, 0.9);
}

.send-status.success {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.35), rgba(21, 128, 61, 0.55));
}

.send-status.error {
    border-color: rgba(248, 113, 113, 0.45);
    background: linear-gradient(135deg, rgba(69, 10, 10, 0.45), rgba(127, 29, 29, 0.65));
}

.status-message {
    font-weight: 600;
    margin-bottom: 4px;
}

.status-detail {
    font-size: 11px;
    color: rgba(203, 213, 225, 0.85);
}

.status-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: rgba(147, 197, 253, 0.9);
    text-decoration: none;
}

.status-link:hover {
    color: rgba(191, 219, 254, 0.95);
    text-decoration: underline;
}

.wallet-send-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.send-field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: rgba(186, 166, 116, 0.75);
    text-transform: uppercase;
}

.send-asset-row {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.send-token-display {
    display: flex;
    gap: 10px;
    align-items: center;
}

.send-token-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.send-token-symbol {
    font-weight: 600;
    font-size: 13px;
    color: #f8fafc;
}

.send-token-name {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.9);
}

.send-select {
    flex: 0 0 160px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    color: #e2e8f0;
    padding: 8px;
    font-family: inherit;
    font-size: 12px;
}

.send-select:focus {
    border-color: rgba(212, 175, 55, 0.5);
    outline: none;
}

.send-balance {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.85);
}

.send-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.send-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
    color: #f8fafc;
}

.send-input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.send-secondary-btn {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 6px;
    color: rgba(212, 175, 55, 0.9);
    padding: 8px 14px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.send-secondary-btn:hover {
    border-color: rgba(212, 175, 55, 0.45);
    color: rgba(250, 204, 21, 0.95);
}

.send-quick-amounts .quick-amount {
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 11px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: rgba(226, 232, 240, 0.85);
}

.send-quick-amounts .quick-amount:hover {
    border-color: rgba(212, 175, 55, 0.4);
    color: rgba(248, 250, 252, 0.95);
}

.send-hint {
    font-size: 11px;
    color: rgba(148, 163, 184, 0.8);
}

.send-summary-card {
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.18);
    padding: 12px;
    background: linear-gradient(160deg,
        rgba(15, 23, 42, 0.6) 0%,
        rgba(30, 41, 59, 0.7) 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.summary-label {
    color: rgba(186, 166, 116, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.summary-value {
    color: #f8fafc;
    font-family: 'IBM Plex Mono', monospace;
}

.send-submit-btn {
    padding: 14px 16px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.9), rgba(212, 175, 55, 1));
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.send-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.send-submit-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.send-help-card {
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.12);
    padding: 14px 16px;
    background: linear-gradient(160deg,
        rgba(15, 23, 42, 0.55) 0%,
        rgba(2, 6, 23, 0.75) 100%);
}

.send-help-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(186, 166, 116, 0.8);
    margin-bottom: 8px;
}

.send-help-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(203, 213, 225, 0.85);
    font-size: 11.5px;
    line-height: 1.5;
}

.send-help-list li {
    margin-bottom: 6px;
}

.wallet-label {
    font-family: 'RemiliaMincho', serif;
    font-size: 10px;
    color: rgba(186, 166, 116, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.wallet-address-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    transition: all 0.15s ease;
}

.wallet-address-display:hover {
    background: linear-gradient(180deg, 
        rgba(51, 65, 85, 0.8) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.2);
}

.address-text {
    color: rgba(212, 175, 55, 0.9);
    font-weight: 600;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(186, 166, 116, 0.6);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    font-size: 12px;
}

.copy-btn:hover {
    color: rgba(212, 175, 55, 0.9);
    transform: scale(1.1);
}

.copy-btn .copy-icon,
.copy-btn .copied-icon {
    font-size: 12px;
}

.copied-icon {
    color: rgba(34, 197, 94, 0.9);
}

.wallet-balance {
    text-align: right;
}

.balance-label {
    font-family: 'RemiliaMincho', serif;
    font-size: 10px;
    color: rgba(186, 166, 116, 0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.balance-value {
    font-family: 'RemiliaMincho', serif;
    font-size: 24px;
    font-weight: 700;
    color: rgba(212, 175, 55, 1);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
    line-height: 1;
}

.balance-change {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
}

.change-positive {
    color: rgba(34, 197, 94, 0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: 'RemiliaMincho', serif;
}

.change-positive::before {
    content: '↗';
    font-size: 10px;
}

.change-timeframe {
    color: rgba(186, 166, 116, 0.5);
    font-size: 10px;
    font-family: 'RemiliaMincho', serif;
}

/* Token List Container */
.token-list-container {
    flex: 1;
    overflow-y: auto;
    padding: var(--hc-pad-md);
}

.token-list-container::-webkit-scrollbar {
    width: 6px;
}

.token-list-container::-webkit-scrollbar-track {
    background: transparent;
}

.token-list-container::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.token-list-container::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

.token-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.token-list-header h3 {
    font-family: 'RemiliaMincho', serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.9);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.view-all-btn {
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: rgba(186, 166, 116, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'RemiliaMincho', serif;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.view-all-btn:hover {
    background: linear-gradient(180deg, 
        rgba(51, 65, 85, 0.8) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.2);
}

/* Token List Items */
.token-list {
    display: flex;
    flex-direction: column;
    gap: var(--hc-gap-sm);
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--hc-pad-md);
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.3) 0%,
        rgba(51, 65, 85, 0.4) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.token-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.token-item:hover {
    background: linear-gradient(135deg,
        rgba(147, 197, 253, 0.2) 0%,
        rgba(59, 130, 246, 0.3) 100%);
    border-color: var(--hc-blue-glow);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(147, 197, 253, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.token-item:hover::before {
    left: 100%;
}

/* Clickable token (like SHARD) - extra visual feedback */
.token-item.clickable-token {
    cursor: pointer;
}

.token-item.clickable-token:hover {
    background: linear-gradient(135deg,
        rgba(157, 78, 221, 0.3) 0%,
        rgba(157, 78, 221, 0.4) 100%);
    border-color: rgba(157, 78, 221, 0.6);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 15px rgba(157, 78, 221, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.token-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.token-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.8) 0%,
        rgba(51, 65, 85, 0.9) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.token-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.token-icon-placeholder {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: rgba(236, 233, 217, 0.85);
    text-transform: uppercase;
}

.token-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.token-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-name {
    font-family: 'RemiliaMincho', serif;
    font-size: 13px;
    font-weight: 600;
    color: #E5E7EB;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.token-symbol {
    font-family: 'RemiliaMincho', serif;
    font-size: 9px;
    font-weight: 700;
    color: rgba(186, 166, 116, 0.8);
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.token-address-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.token-mint {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: rgba(186, 166, 116, 0.4);
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 4px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.copy-mini-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(186, 166, 116, 0.4);
    padding: 2px;
    opacity: 0.6;
    transition: all 0.15s ease;
    font-size: 10px;
}

.copy-mini-btn:hover {
    opacity: 1;
    color: rgba(212, 175, 55, 0.9);
    transform: scale(1.2);
}

.copy-mini-btn .copy-icon,
.copy-mini-btn .copied-icon {
    font-size: 10px;
}

.token-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.token-balance {
    font-family: 'RemiliaMincho', serif;
    font-size: 14px;
    font-weight: 600;
    color: #E5E7EB;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.token-value {
    font-family: 'RemiliaMincho', serif;
    font-size: 10px;
    color: rgba(186, 166, 116, 0.6);
    font-weight: 500;
}

/* Wallet Actions Container */
.wallet-actions-container {
    padding: var(--hc-pad-md);
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 100%);
    border-top: 1px solid var(--hc-gold-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.primary-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--hc-gap-sm);
    margin-bottom: var(--hc-gap-md);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--hc-gap-xs);
    padding: var(--hc-pad-md) var(--hc-pad-sm);
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.3) 0%,
        rgba(51, 65, 85, 0.4) 100%);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(186, 166, 116, 0.8);
    font-family: 'RemiliaMincho', serif;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.3s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg,
        rgba(147, 197, 253, 0.3) 0%,
        rgba(59, 130, 246, 0.4) 100%);
    border-color: var(--hc-blue-glow);
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 10px rgba(147, 197, 253, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.4);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:active {
    transform: translateY(0px);
}

.action-icon {
    font-size: 18px;
}

.action-text {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.secondary-actions {
    display: flex;
    gap: var(--hc-gap-sm);
    justify-content: center;
}

.secondary-btn {
    flex: 0 1 auto;
    min-width: 160px;
    padding: var(--hc-pad-sm) var(--hc-pad-md);
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.3) 0%,
        rgba(51, 65, 85, 0.4) 100%);
    border: 1px solid rgba(147, 197, 253, 0.15);
    color: rgba(186, 166, 116, 0.7);
    border-radius: 4px;
    cursor: pointer;
    font-family: 'RemiliaMincho', serif;
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.3);
}

.secondary-btn:hover {
    background: linear-gradient(135deg,
        rgba(147, 197, 253, 0.2) 0%,
        rgba(59, 130, 246, 0.3) 100%);
    border-color: var(--hc-blue-glow);
    color: rgba(212, 175, 55, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 8px rgba(147, 197, 253, 0.25);
}

/* Receive Modal - MorrHollow Style */
.receive-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100000;
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.receive-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.receive-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 90%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        rgba(186, 166, 116, 0.3) 0 0 40px,
        rgba(186, 166, 116, 0.2) 0 0 20px,
        rgba(186, 166, 116, 0.1) 1px 1px 3px inset,
        rgba(0, 0, 0, 0.5) 0 12px 40px;
    font-family: 'RemiliaMincho', serif;
    animation: modalSlideUp 0.4s ease-out;
    position: relative;
    background: transparent;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.receive-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.05) 0%,
        rgba(51, 65, 85, 0.08) 50%,
        rgba(30, 41, 59, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
    pointer-events: none;
}

.receive-modal .modal-header {
    background: linear-gradient(0deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.98));
    height: 2.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    position: relative;
    z-index: 20;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.receive-modal .modal-header h3 {
    font-family: 'RemiliaMincho', serif;
    font-size: 0.9rem;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
    color: rgba(186, 166, 116, 0.7);
    font-weight: 400;
    opacity: 0.8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.receive-modal .modal-close {
    width: 20px;
    height: 20px;
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.9) 0%,
        rgba(51, 65, 85, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: rgba(186, 166, 116, 0.8);
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.receive-modal .modal-close:hover {
    background: linear-gradient(180deg, 
        rgba(51, 65, 85, 0.9) 0%,
        rgba(30, 41, 59, 0.95) 100%);
    border-color: rgba(239, 68, 68, 0.5);
    color: rgba(239, 68, 68, 0.9);
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.2);
}

.receive-modal .modal-body {
    padding: 20px;
    background: transparent;
    position: relative;
    z-index: 10;
}

.qr-container {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

#receive-qr {
    width: 256px;
    height: 256px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(30, 41, 59, 0.8);
    padding: 8px;
    box-shadow:
        0 0 20px rgba(186, 166, 116, 0.2),
        inset 0 0 10px rgba(0, 0, 0, 0.3);
}

#receive-qr img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 4px;
}

.qr-placeholder {
    width: 256px;
    height: 256px;
    background: linear-gradient(180deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(186, 166, 116, 0.6);
    font-family: 'RemiliaMincho', serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.receive-address {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.address-input {
    flex: 1;
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: rgba(212, 175, 55, 0.9);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    padding: 8px;
    outline: none;
    transition: all 0.15s ease;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
}

.address-input:focus {
    border-color: rgba(212, 175, 55, 0.6);
    background: linear-gradient(180deg, 
        rgba(51, 65, 85, 0.8) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.receive-modal .copy-btn {
    background: linear-gradient(180deg, 
        rgba(30, 41, 59, 0.6) 0%,
        rgba(51, 65, 85, 0.8) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: rgba(186, 166, 116, 0.8);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'RemiliaMincho', serif;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.receive-modal .copy-btn:hover {
    background: linear-gradient(180deg, 
        rgba(51, 65, 85, 0.8) 0%,
        rgba(30, 41, 59, 0.9) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    color: rgba(212, 175, 55, 0.9);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.2);
}

.receive-note {
    text-align: center;
    color: rgba(186, 166, 116, 0.6);
    font-family: 'RemiliaMincho', serif;
    font-size: 11px;
    margin: 0;
    font-style: italic;
}

/* Wallet Notifications */
.wallet-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 
        rgba(186, 166, 116, 0.3) 0 0 20px,
        rgba(0, 0, 0, 0.4) 0 8px 24px;
    z-index: 100001;
    font-family: 'RemiliaMincho', serif;
    font-weight: 600;
    font-size: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: notificationSlideIn 0.4s ease-out;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.wallet-notification.success {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.9) 0%,
        rgba(51, 65, 85, 0.95) 100%);
    color: rgba(34, 197, 94, 0.9);
    border-color: rgba(34, 197, 94, 0.4);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.wallet-notification.info {
    background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.9) 0%,
        rgba(51, 65, 85, 0.95) 100%);
    color: rgba(147, 197, 253, 0.9);
    border-color: rgba(147, 197, 253, 0.4);
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Loading State */
.wallet-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: rgba(186, 166, 116, 0.6);
    font-family: 'RemiliaMincho', serif;
    font-size: 14px;
    position: relative;
}

.wallet-loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: rgba(212, 175, 55, 0.9);
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wallet-overview {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .wallet-identity {
        flex-direction: column;
    }
    
    .wallet-balance {
        text-align: center;
    }
    
    .balance-value {
        font-size: 20px;
    }
    
    .primary-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .secondary-actions {
        flex-direction: column;
    }
    
    .token-item {
        padding: 10px;
    }
    
    .token-left {
        gap: 10px;
    }
    
    .token-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .token-icon {
        width: 20px;
        height: 20px;
    }
    
    .receive-modal .modal-content {
        width: 95%;
        padding: 0;
    }
    
    #receive-qr,
    .qr-placeholder {
        width: 200px;
        height: 200px;
    }

    #receive-qr img {
        width: 100% !important;
        height: 100% !important;
    }
}
