:root { --primary-color: #3b82f6; --primary-light: #60a5fa; --primary-dark: #2563eb; --success-color: #10b981; --warning-color: #f59e0b; --danger-color: #ef4444; --text-color: #1f2937; --text-light: #6b7280; --text-lighter: #94a3b8; --bg-color: #f8fafc; --bg-light: #f7f7f7; --bg-dark: #eaeaea; --card-bg: #fff; --card-border: #e5e7eb; --card-shadow: rgba(0, 0, 0, 0.05); --surface-color: #fff; --border-color: #e5e7eb; --text-primary: #1f2937; --text-secondary: #6b7280; --border-radius: 0.75rem; --border-radius-sm: 0.5rem; --box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); --transition: all 0.3s ease; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg-color: #0f172a; --bg-light: #1e293b; --bg-dark: #334155; --card-bg: #1e293b; --card-border: #334155; --card-shadow: rgba(0, 0, 0, 0.2); --text-color: #f1f5f9; --text-light: #94a3b8; --text-lighter: #64748b; --surface-color: #1e293b; --border-color: #334155; --text-primary: #f1f5f9; --text-secondary: #94a3b8; } } [data-theme="dark"] { --bg-color: #0f172a; --bg-light: #1e293b; --bg-dark: #334155; --card-bg: #1e293b; --card-border: #334155; --card-shadow: rgba(0, 0, 0, 0.2); --text-color: #f1f5f9; --text-light: #94a3b8; --text-lighter: #64748b; --success-color: #10b981; --surface-color: #1e293b; --border-color: #334155; --text-primary: #f1f5f9; --text-secondary: #94a3b8; } [data-theme="light"] { --text-color: #1f2937; --text-light: #6b7280; --text-lighter: #94a3b8; --bg-color: #f8fafc; --bg-light: #f7f7f7; --bg-dark: #eaeaea; --card-bg: #fff; --card-border: #e5e7eb; --card-shadow: rgba(0, 0, 0, 0.05); --surface-color: #fff; --border-color: #e5e7eb; --text-primary: #1f2937; --text-secondary: #6b7280; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; font-size: 16px; transition: var(--transition); } .sidebar { margin: 0 !important; left: 0 !important; box-sizing: border-box !important; } html, body { height: 100%; overflow-x: hidden; } /* Loading Screen */ .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); display: flex; justify-content: center; align-items: center; z-index: 9999; opacity: 1; transition: opacity 0.5s ease; color: white; } .loading-content { text-align: center; } .loading-spinner { width: 50px; height: 50px; border: 4px solid rgba(255, 255, 255, 0.3); border-top: 4px solid white; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 2rem; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Header */ .header { background: var(--card-bg); border-bottom: 1px solid var(--card-border); box-shadow: var(--box-shadow); position: sticky; top: 0; z-index: 400; width: 100%; } .header-content { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1200px; margin: 0 auto; } .hamburger-btn { display: none; background: none; border: none; font-size: 1.25rem; color: var(--text-color); cursor: pointer; padding: 0.5rem; border-radius: var(--border-radius-sm); transition: var(--transition); } .hamburger-btn:hover { background-color: var(--bg-color); } .mobile-title { display: none; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; color: var(--text-primary); } .mobile-title i { color: var(--primary-color); font-size: 1.25rem; } .mobile-title span { font-weight: 700; } .logo { display: flex; align-items: center; font-weight: bold; font-size: 1.2rem; color: white; } .logo i { margin-right: 0.5rem; } /* App Brand Styling */ .app-brand { display: flex; align-items: center; gap: 0.75rem; } .app-brand .icon { width: 2.5rem; height: 2.5rem; fill: var(--primary-color); flex-shrink: 0; } .app-name { display: flex; flex-direction: column; line-height: 1.2; } .app-name__company { font-size: 0.875rem; font-weight: 600; color: var(--text-light); margin: 0; } .app-name__title { font-size: 1.125rem; font-weight: 700; color: var(--text-color); margin: 0; } .wallet-balance { background-color: rgba(255, 255, 255, 0.15); border-radius: 4px; padding: 0.5rem 1rem; display: inline-flex; align-items: center; margin-left: 1rem; } .wallet-balance span { font-weight: 700; margin-right: 0.25rem; } /* Header Actions Container */ .header-actions { display: flex; align-items: center; gap: 1rem; } /* Theme Toggle Button */ .theme-toggle { background: var(--card-bg); border: 2px solid var(--card-border); color: var(--text-color); padding: 0.5rem; border-radius: var(--border-radius-sm); cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; font-size: 1rem; } .theme-toggle:hover { background: var(--bg-color); border-color: var(--primary-color); color: var(--primary-color); transform: scale(1.05); } .theme-toggle:active { transform: scale(0.95); } .theme-toggle i { transition: var(--transition); } /* Theme toggle animation */ .theme-toggle:hover i { transform: rotate(20deg); } /* Sidebar */ .sidebar-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 200; opacity: 0; visibility: hidden; transition: var(--transition); } .sidebar-overlay.active { opacity: 1; visibility: visible; } .sidebar { background: var(--card-bg); border-right: 1px solid var(--card-border); width: 280px; height: 100vh; position: fixed; top: 0; left: 0; z-index: 300; padding: 2rem 0; overflow-y: auto; transition: var(--transition); } @media (max-width: 768px) { .sidebar { transform: translateX(-100%); } } .sidebar.active { transform: translateX(0); } .sidebar-header { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid var(--card-border); display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; } .sidebar-header i { font-size: 1.5rem; color: var(--primary-color); } .sidebar-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-color); margin: 0; } .sidebar-menu { list-style: none; padding: 0 1rem; } .sidebar-menu li { margin-bottom: 0.25rem; } .nav-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; text-decoration: none; color: var(--text-light); border-radius: var(--border-radius-sm); transition: var(--transition); font-weight: 500; } .nav-link:hover { background-color: var(--bg-color); color: var(--text-color); } .nav-link.active { background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); color: white; } .nav-link i { width: 1.25rem; text-align: center; } .nav-link i { margin-right: 0.75rem; } /* Generate Wallet Intro Styling */ .generate-wallet-intro { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--border-radius); margin-bottom: 1.5rem; } .intro-icon { flex-shrink: 0; width: 3rem; height: 3rem; background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.25rem; } .intro-content h3 { margin: 0 0 0.5rem 0; color: var(--text-primary); font-size: 1.125rem; font-weight: 600; } .intro-content p { margin: 0; color: var(--text-secondary); line-height: 1.5; } .generate-actions { margin-bottom: 2rem; } /* Mobile responsiveness for generate wallet intro */ @media (max-width: 768px) { .generate-wallet-intro { flex-direction: column; align-items: center; text-align: center; padding: 1.25rem; } .intro-icon { margin-bottom: 1rem; } .intro-content h3 { font-size: 1.1rem; } .intro-content p { font-size: 0.95rem; } } /* Wallet Generated Success State */ .wallet-generated-success { margin-bottom: 2rem; background-color: #10b981; border-radius: var(--border-radius); padding: 1.25rem; display: flex; align-items: flex-start; gap: 1rem; color: white; } .wallet-generated-success .success-icon { background-color: rgba(255, 255, 255, 0.2); width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); flex-shrink: 0; } .wallet-generated-success .success-message { flex: 1; } .wallet-generated-success h3 { color: white; font-weight: 600; margin: 0 0 0.5rem 0; } .wallet-generated-success p { color: rgba(255, 255, 255, 0.9); margin: 0; line-height: 1.5; } /* Blockchain section styling */ .blockchain-section { background: #1e293b; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--border-radius); padding: 1.5rem; margin: 0.75rem 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; color: white; } .blockchain-section:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transform: translateY(-1px); } .blockchain-section h4 { margin: 0 0 0.75rem 0; padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; } .blockchain-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .blockchain-header h4 { margin: 0; font-size: 1.1rem; color: white; display: flex; align-items: center; gap: 0.5rem; font-weight: 600; } .blockchain-badge { font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 1rem; text-transform: uppercase; letter-spacing: 0.5px; } .blockchain-badge.primary { background-color: #3b82f6; color: white; } .blockchain-badge.secondary { background-color: rgba(255, 255, 255, 0.2); color: white; } /* Main Layout */ .container { max-width: 1200px; margin: 0 auto; display: flex; min-height: calc(100vh - 80px); } .main-content { flex: 1; padding: 2rem; padding-bottom: 140px; /* Space for mobile navigation */ width: 100%; max-width: 100%; overflow-x: hidden; } /* Success header */ .success-header { text-align: center; margin-bottom: 2rem; } .success-icon { width: 4rem; height: 4rem; background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; } .success-icon i { color: white; font-size: 2rem; } .success-header h3 { color: var(--text-primary); font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem 0; } .success-header p { color: var(--text-secondary); margin: 0; max-width: 600px; margin: 0 auto; } /* success header smaller on mobile */ @media (max-width: 768px) { .success-header h3 { font-size: 1.25rem; } .success-icon { width: 3rem; height: 3rem; } .success-icon i { font-size: 1.5rem; } } /* Page Management */ .page { animation: fadeIn 0.3s ease; max-width: 100%; margin: 0 auto; } .page.hidden { display: none !important; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .page-header { margin-bottom: 2rem; } .page-header h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.75rem; } .page-header h2 i { color: var(--primary-color); } .page-header p { color: var(--text-light); font-size: 1rem; } h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-color); margin-top: 1rem; margin-bottom: 0.75rem; } h4 { font-size: 1.1rem; font-weight: 600; color: var(--text-color); margin-top: 0.75rem; margin-bottom: 0.5rem; } /* Cards */ .card { background-color: var(--card-bg); border-radius: var(--border-radius); box-shadow: var(--box-shadow); padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid var(--card-border); transition: var(--transition); } .card:hover { box-shadow: var(--shadow-md); } /* Info/Warning Cards */ .card.info-card { padding: 1rem; border-left: 4px solid var(--info-color); background-color: rgba(23, 162, 184, 0.05); } .info-card .info-header h3 { font-size: 1rem; color: var(--info-color); display: flex; align-items: center; gap: 8px; margin-bottom: 0.5rem; } .info-card .info-content { color: var(--text-light); } .info-card .info-content p { margin-bottom: 0.5rem; } .info-card .info-content ol, .info-card .info-content ul { padding-left: 1.25rem; } .info-card .info-content li { margin-bottom: 0.25rem; } .input-container { position: relative; margin-bottom: 1rem; } .input-controls { position: absolute; right: 0; top: 0; height: 100%; display: flex; align-items: center; padding-right: 0.5rem; gap: 0.25rem; } .input-control-btn { background: transparent; border: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; color: var(--text-lighter); cursor: pointer; border-radius: 50%; transition: all 0.2s ease; } .input-control-btn:hover { background-color: var(--bg-dark); color: var(--text-color); } .input-control-btn:active { transform: scale(0.95); } .input-container input { padding-right: 5rem; } /* Mobile responsive */ @media (max-width: 768px) { .app-brand { display: flex; transform: scale(0.85); } .header-content { padding: 0.75rem 1rem; justify-content: space-between; } .main-content { padding: 1rem; padding-bottom: 5rem; margin-left: 0; } .sidebar { width: 85%; max-width: 300px; transform: translateX(-100%); z-index: 1000; transition: transform 0.3s ease; } .sidebar.active { transform: translateX(0); } /* Theme toggle and header adjustments for mobile */ .theme-toggle { width: 2rem; height: 2rem; font-size: 0.875rem; } /* Ensure header actions stay on the right */ .header-actions { margin-left: auto; } .tx-address-row .address-value, .tx-addresses .address-value { max-width: 120px; overflow: hidden; text-overflow: ellipsis; } /* Make bottom navigation fixed and match the design in screenshot */ .nav-box { background: var(--surface-color); border-top: 1px solid var(--border-color); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); } } /* Large screen styles */ @media (min-width: 769px) { /* Desktop Layout - Unified header spans full width */ .header { position: fixed; top: 0; left: 0; right: 0; z-index: 400; } .header-content { max-width: none; padding: 1rem 1.5rem; position: relative; } /* Ensure header actions stay on the right */ .header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; position: relative; z-index: 1; } /* We're not using mobile title now as we keep the app-brand visible on all screen sizes */ .hamburger-btn { display: none; } .sidebar { transform: translateX(0) !important; border-top: none; height: calc(100vh - 80px); top: 80px; left: 0 !important; z-index: 300; padding-top: 1rem; } .sidebar-overlay { display: none; } .main-content { padding-bottom: 2rem; margin-left: 280px; margin-top: 80px; } } /* Form Elements */ .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-color); font-size: 0.9rem; } .form-group label small { font-weight: 400; font-size: 0.8rem; opacity: 0.8; font-style: italic; } .form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: var(--border-radius-sm); background: var(--surface-color); color: var(--text-primary); font-size: 1rem; transition: var(--transition); } .form-input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } .form-input[readonly] { background-color: rgba(59, 130, 246, 0.05); color: var(--text-secondary); cursor: default; } .form-input::placeholder { color: var(--text-secondary); } /* Input with action buttons */ .input-with-actions { position: relative; display: flex; align-items: center; } .input-with-actions .form-input { padding-right: 4rem; /* Make space for buttons */ } .input-action-btn { position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 0.25rem; border-radius: 0.25rem; transition: var(--transition); display: flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; } .input-action-btn:hover { color: var(--text-primary); background: var(--border-color); } .input-action-btn.password-toggle { right: 2rem; /* Position eye icon */ } .input-action-btn.clear-btn { right: 0.5rem; /* Position clear icon */ } .input-action-btn i { font-size: 0.875rem; } .input-group { display: flex; margin-bottom: 1rem; } .input-help { font-size: 0.85rem; color: var(--text-lighter); margin-top: 0.25rem; } .form-text { font-size: 0.875rem; color: var(--text-light); margin-top: 0.5rem; margin-bottom: 1rem; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: var(--border-radius); border: none; font-weight: 600; cursor: pointer; transition: all 0.2s; font-size: 0.95rem; text-align: center; gap: 8px; } .btn-primary { background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); color: white; box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2); } .btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); } .btn-secondary { background-color: var(--bg-dark); color: var(--text-color); } .btn-secondary:hover { background-color: var(--bg-light); } .btn-block { display: block; width: 100%; } .btn-icon { width: 36px; height: 36px; border-radius: 50%; padding: 0; display: flex; align-items: center; justify-content: center; background-color: rgba(255, 255, 255, 0.15); color: white; border: none; cursor: pointer; transition: all 0.2s ease; } .btn-icon:hover { transform: translateY(-2px); background-color: rgba(255, 255, 255, 0.25); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* Loading and Error States */ /* Error state */ .error-state { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background-color: var(--danger-color); border-radius: var(--border-radius); margin-bottom: 1.5rem; color: white; overflow: hidden; word-wrap: break-word; } .error-state .error-icon { background-color: rgba(255, 255, 255, 0.2); width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); flex-shrink: 0; color: white; } .error-state .error-message { flex: 1; min-width: 0; /* Ensures flexbox item can shrink below min-content */ } .error-state h3 { color: white; margin-bottom: 0.75rem; font-weight: 700; font-size: 1.25rem; word-break: break-word; } .error-state p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1rem; word-break: break-word; } .error-state p:last-child { margin-bottom: 1.5rem; } /* Responsive styles for error messages */ @media (max-width: 480px) { .error-state { flex-direction: column; align-items: center; padding: 1.25rem; text-align: center; } .error-state .error-icon { margin-bottom: 1rem; } .error-state h3 { font-size: 1.1rem; } .error-state p { font-size: 0.9rem; } } /* Empty state message */ .empty-state-message { text-align: center; padding: 2rem 1rem; margin: 2rem auto; max-width: 500px; } .empty-state-message i { font-size: 3rem; color: var(--text-lighter); margin-bottom: 1rem; } .empty-state-message h3 { color: var(--text-primary); margin-bottom: 0.75rem; font-weight: 700; font-size: 1.25rem; } .empty-state-message p { color: var(--text-light); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; } .no-transactions { text-align: center; padding: 2rem; } .no-transactions i { font-size: 3rem; color: var(--text-lighter); margin-bottom: 1rem; } /* Button Loading States */ .btn:disabled { opacity: 0.7; cursor: not-allowed; } .btn .fa-spinner { animation: spin 1s linear infinite; } /* Transaction Status Styling */ .tx-status.success { background-color: rgba(40, 167, 69, 0.1); color: var(--success-color); padding: 0.25rem 0.5rem; border-radius: 4px; font-weight: 500; } .tx-status.failed { background-color: rgba(220, 53, 69, 0.1); color: var(--danger-color); padding: 0.25rem 0.5rem; border-radius: 4px; font-weight: 500; } /* Address and Hash Styling */ .address, .hash { font-family: monospace; font-size: 0.85rem; word-break: break-all; padding: 0.5rem; background-color: var(--bg-light); border-radius: 4px; } /* Transaction List */ .transaction-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; } .transaction-card { background-color: var(--card-bg); border-radius: var(--border-radius); border-left: 4px solid var(--card-border); padding: 1.25rem; transition: transform 0.15s ease, box-shadow 0.15s ease; box-shadow: var(--box-shadow); margin-bottom: 1rem; position: relative; overflow: hidden; } .transaction-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .transaction-card.incoming { border-left: 4px solid #10b981; /* Green for received */ } .transaction-card.outgoing { border-left: 4px solid #ef4444; /* Red for sent */ } .tx-main { display: flex; align-items: flex-start; margin-bottom: 0.875rem; gap: 1rem; justify-content: space-between; } .tx-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 0.25rem; } .incoming .tx-icon { background-color: rgba(16, 185, 129, 0.1); color: #10b981; } .outgoing .tx-icon { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; } .tx-info { flex: 1; } .tx-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; width: 100%; } .tx-direction { font-weight: 600; font-size: 1rem; display: flex; align-items: center; white-space: nowrap; color: #f8fafc; /* Very light color for better visibility on dark background */ } .tx-right-header { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; /* Add space between date and status */ } .tx-date { color: var(--text-light); font-size: 0.8rem; /* Smaller font size */ flex-shrink: 0; display: inline-block; } .tx-right-info { text-align: right; display: flex; flex-direction: column; justify-content: center; } .tx-amount { font-weight: 600; font-size: 1rem; } .tx-amount.incoming { color: #10b981; } .tx-amount.outgoing { color: #ef4444; } .tx-addresses { margin-top: 0.5rem; } .tx-address-row { display: flex; flex-direction: column; margin-bottom: 0.5rem; padding: 0.5rem; background-color: var(--bg-light); border-radius: var(--border-radius); } .address-label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.25rem; font-weight: 500; } .address-value { font-family: monospace; word-break: break-all; font-size: 0.85rem; } .tx-hash { margin-top: 0.75rem; display: flex; flex-direction: column; } .hash-label { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.25rem; font-weight: 500; } .hash-value { font-family: monospace; word-break: break-all; font-size: 0.85rem; } .tx-status { display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; border-radius: 3px; margin-top: 0.5rem; } /* Output container styling */ .output { display: block; min-height: 10px; /* Ensure it takes space even when empty */ margin-top: 1.5rem; } /* Detail row for wallet information */ .detail-row { display: flex; flex-direction: column; margin-bottom: 1.25rem; } .detail-row:last-child { margin-bottom: 0; } .detail-row label { font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.7); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; } .detail-row .value-container { display: flex; align-items: center; justify-content: space-between; background-color: rgba(255, 255, 255, 0.1); padding: 0.75rem 1rem; border-radius: var(--border-radius-sm); gap: 0.75rem; } .detail-row code { font-family: "Courier New", monospace; font-size: 0.9rem; word-break: break-all; color: white; flex: 1; } .tx-status.success { background-color: rgba(40, 167, 69, 0.1); color: var(--success-color); } .tx-status.failed { background-color: rgba(220, 53, 69, 0.1); color: var(--danger-color); } /* Transaction Filter and Pagination Controls */ .transaction-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; gap: 1rem; } .filter-section { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } .filter-label { font-weight: 500; font-size: 0.9rem; } /* Filter buttons in one line */ .filter-buttons { display: flex; flex-direction: row; gap: 0.2rem; flex-wrap: nowrap; } /* Transaction Section - Remove border */ .transaction-section { background-color: var(--card-bg); border-radius: var(--border-radius); padding: 1.25rem 1rem; margin-bottom: 1.5rem; } /* Search Type Radio Buttons */ .search-type-selector { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1.25rem; } .search-type-label { font-weight: 600; color: var(--text-color); margin-bottom: 0.75rem; } .search-type-options { display: flex; gap: 1rem; flex-wrap: wrap; width: 100%; } .radio-button-container { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1.25rem; background-color: var(--bg-light); border-radius: var(--border-radius); cursor: pointer; transition: var(--transition); border: 1px solid var(--border-color); font-weight: 500; flex: 1; justify-content: center; } .radio-button-container:hover { border-color: var(--primary-color); background-color: rgba(59, 130, 246, 0.05); } .radio-button-container.active { background-color: rgba(59, 130, 246, 0.1); border-color: var(--primary-color); color: var(--primary-color); } .radio-button-container input[type="radio"] { position: absolute; opacity: 0; cursor: pointer; } .radio-icon { color: inherit; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; } /* Balance Info Styling */ .balance-info { margin-top: 1rem; margin-bottom: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; } .balance-info:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } .balance-header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; position: relative; margin-bottom: 1.5rem; } .balance-header .share-btn { position: relative; right: 0; background-color: rgba(59, 130, 246, 0.1); color: var(--primary-color); } .transaction-details .transaction-header .share-btn { position: relative; right: 0; background-color: rgba(59, 130, 246, 0.1); color: var(--primary-color); } .balance-header h3 { margin: 0 0 0.5rem 0; color: var(--text-primary); font-size: 1.2rem; display: flex; align-items: center; gap: 0.5rem; } .balance-header h3 i { color: var(--primary-color); } .balance-display { background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); padding: 1rem 1.5rem; border-radius: 12px; margin: 0.5rem 0; text-align: center; width: 100%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .balance-amount { font-size: 1.5rem; font-weight: 700; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } .currency { font-size: 1.2rem; color: rgba(255, 255, 255, 0.8); font-weight: 600; margin-left: 0.5rem; } .account-details { border-top: 1px solid var(--border-color); padding-top: 1rem; margin-top: 1rem; } .detail-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; padding: 0.5rem 0; } .detail-row:last-child { margin-bottom: 0; } .detail-row label { font-weight: 600; color: var(--text-secondary); margin: 0; min-width: 80px; } .address-container { display: flex; align-items: center; justify-content: center; width: 100%; position: relative; } .address-text { font-family: "Courier New", monospace; font-size: 0.875rem; color: var(--text-primary); white-space: nowrap; overflow: visible; word-break: break-all; text-align: center; width: calc(100% - 2rem); } .translated-from { font-size: 0.8em; opacity: 0.7; font-style: italic; display: block; margin-top: 0.25rem; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } @media (max-width: 480px) { .address-text { font-size: 0.75rem; } } .copy-btn { position: absolute; right: 0; background: none; border: none; color: var(--text-secondary); cursor: pointer; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; margin-left: 0.5rem; } .copy-btn:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--text-primary); } /* Mobile responsive adjustments for balance section */ @media (max-width: 768px) { .detail-row { flex-direction: column; align-items: flex-start; gap: 0.25rem; } .address-container { justify-content: center; width: 100%; } .address-text { text-align: center; font-size: 0.8rem; } } /* Mobile responsive adjustments for balance section */ @media (max-width: 768px) { .section-header { padding: 1.25rem; } .section-header h3 { font-size: 1.1rem; } .balance-content { padding: 1.25rem; } .balance-amount { font-size: 2.5rem; margin-bottom: 1.25rem; } .currency { font-size: 1.25rem; } .address-container { padding: 0.75rem; } .address-display span { font-size: 0.9rem; } } /* Transaction Header Layout */ .transaction-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .transaction-header h3 { font-size: 1.1rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 0.5rem; } .filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; } .filter-btn { padding: 0.4rem 0.85rem; border: 1px solid var(--border-color); background: var(--surface-color); color: var(--text-secondary); border-radius: var(--border-radius-sm); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition); } .filter-btn:hover { background: var(--bg-light); border-color: var(--primary-color); color: var(--text-primary); } .filter-btn.active { background: var(--primary-color); border-color: var(--primary-color); color: white; } .pagination-section { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 100%; overflow: hidden; margin-top: 1.5rem; } .pagination-info { font-size: 0.875rem; color: var(--text-secondary); } .pagination-controls { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: center; max-width: 100%; overflow: hidden; } .pagination-btn { padding: 0.5rem 0.75rem; border: 1px solid var(--border-color); background: var(--surface-color); color: var(--text-primary); border-radius: var(--border-radius-sm); font-size: 0.875rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; gap: 0.25rem; white-space: nowrap; flex-shrink: 0; min-width: auto; } .pagination-btn:hover:not(:disabled) { background: var(--bg-light); border-color: var(--primary-color); } .pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; } .pagination-btn i { font-size: 0.75rem; } .page-numbers { display: flex; align-items: center; gap: 0.25rem; margin: 0 0.5rem; } .page-number { min-width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); background: var(--surface-color); color: var(--text-primary); border-radius: var(--border-radius-sm); font-size: 0.875rem; cursor: pointer; transition: var(--transition); } .page-number:hover { background: var(--bg-light); border-color: var(--primary-color); } .page-number.active { background: var(--primary-color); border-color: var(--primary-color); color: white; } .page-ellipsis { padding: 0 0.5rem; color: var(--text-secondary); font-size: 0.875rem; } /* Wallet Security Notice */ .wallet-security-notice { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: rgba(59, 130, 246, 0.05); border: 1px solid var(--primary-light); border-radius: var(--border-radius); margin-top: 1.5rem; } .wallet-security-notice .notice-icon { flex-shrink: 0; width: 2.5rem; height: 2.5rem; background: linear-gradient( 135deg, var(--primary-color), var(--primary-dark) ); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; } .wallet-security-notice .notice-content h4 { margin: 0 0 0.5rem 0; font-size: 1rem; font-weight: 600; } .wallet-security-notice .notice-content p { margin: 0; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; } /* Transaction list spacing */ .transaction-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; } /* Transaction addresses */ .tx-addresses { background-color: rgba(0, 0, 0, 0.05); border-radius: var(--border-radius-sm); padding: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.5rem; } .tx-field { display: flex; flex-direction: row; align-items: center; gap: 0.25rem; margin-bottom: 0.25rem; } .tx-field:last-child { margin-bottom: 0; } .tx-label { font-size: 0.7rem; color: #94a3b8; font-weight: 500; width: 3rem; flex-shrink: 0; } .tx-value { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: monospace; word-break: break-all; font-size: 0.75rem; flex: 1; background-color: rgba(0, 0, 0, 0.2); border-radius: var(--border-radius-sm); padding: 0.25rem 0.5rem; color: #e2e8f0; } .address-chip { background-color: transparent; border: none; padding: 0; font-family: monospace; font-size: 0.8rem; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; color: var(--text-primary); } .address-chip:hover { color: var(--primary-color); } .address-unknown { color: var(--text-light); font-style: italic; } .address-self { color: var(--primary-color); font-style: italic; } /* Hash value display*/ .tx-hash-value { font-size: 0.8rem; } .tx-hash-value a { color: var(--text-primary); text-decoration: none; transition: color 0.2s ease; display: inline-flex; align-items: center; gap: 0.5rem; } .tx-hash-value a:hover { color: var(--primary-color); } .tx-hash-value a i { font-size: 0.75rem; } /* Confirmation counter */ .confirmation-count { font-size: 0.75rem; color: var(--text-light); margin-top: 0.5rem; text-align: right; } /* Transaction status indicator */ .tx-status { padding: 0.15rem 0.5rem; font-size: 0.65rem; font-weight: 600; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.05rem; display: inline-block; color: #10b981; white-space: nowrap; } .tx-status.success { background-color: rgba(16, 185, 129, 0.1); color: #10b981; } .tx-status.pending { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; } @media (max-width: 768px) { .tx-header { flex-direction: row; align-items: center; justify-content: space-between; } .tx-right-header { flex-direction: column; align-items: flex-end; gap: 0.25rem; } .tx-addresses { padding: 0.5rem; } .tx-field { flex-direction: row; align-items: center; } .tx-label { width: 2.5rem; } .tx-value { width: 100%; padding: 0.25rem 0.35rem; font-size: 0.7rem; } } /* Responsive design for controls */ @media (max-width: 768px) { .transaction-controls { padding: 0.75rem; } .filter-section { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .pagination-section { flex-direction: column; align-items: center; gap: 0.75rem; } .pagination-info { text-align: center; } .page-numbers { flex-grow: 1; justify-content: center; } .filter-buttons { gap: 0.1rem; } .filter-btn { padding: 0.35rem 0.6rem; font-size: 0.75rem; border-radius: 0.3rem; } .transaction-section { padding: 0.75rem; border-radius: 0.5rem; margin-bottom: 1rem; } .transaction-header { gap: 0.5rem; margin-bottom: 0.5rem; } .transaction-header h3 { font-size: 1rem; margin: 0; } } @media (max-width: 380px) { .filter-btn { padding: 0.25rem 0.5rem; font-size: 0.7rem; } .transaction-header h3 { font-size: 0.9rem; } .transaction-section { padding: 0.6rem; } } /* Bottom Navigation */ .nav-box { position: fixed; bottom: 0; left: 0; right: 0; background: var(--card-bg); border-top: 1px solid var(--border-color); display: flex; justify-content: space-around; padding: 0.75rem 0; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); z-index: 100; } /* Hide bottom navigation on large screens */ @media (min-width: 769px) { .nav-box { display: none; } } .nav-btn { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; background: none; border: none; color: var(--text-secondary); cursor: pointer; padding: 0.5rem; border-radius: var(--border-radius-sm); transition: var(--transition); font-size: 0.75rem; font-weight: 500; min-width: 60px; } .nav-btn i { font-size: 1.25rem; } .nav-btn.active { color: var(--primary-color); background: rgba(59, 130, 246, 0.1); } .nav-btn:hover { color: var(--primary-color); } /* Notification container */ .notification-drawer { position: fixed; top: 1rem; right: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: 1rem; width: auto; } .notification { position: relative; display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-radius: 0.5rem; font-size: 0.95rem; font-weight: 500; background-color: var(--surface-color, #fff); color: var(--text-primary, #000); box-shadow: var(--shadow-md); min-width: 250px; max-width: 100%; width: 100%; box-sizing: border-box; transform: translateX(0); transition: transform 0.25s ease-out; } .notification.success { background-color: var(--success-color, #10b981); color: white; } .notification.error { background-color: var(--danger-color, #ef4444); color: white; } .notification.warning { border-left-color: var(--warning-color); } @media (max-width: 600px) { .notification-drawer { left: 0; right: 0; transform: none; align-items: stretch; padding: 0 1rem; } .notification { width: 100%; border-radius: 0.5rem; } } /* Transaction Details Styling */ .transaction-details { margin-top: 1.5rem; } .transaction-details .transaction-header { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center; } #transactionSearch { transition: all 0.3s ease; animation: fadeIn 0.3s ease; margin-top: 0.5rem; } .tx-main-info { margin-bottom: 1.5rem; } .transaction-result { overflow: hidden; } .card.transaction-details { max-height: none; overflow: visible; } .tx-io-addresses { max-height: 300px; overflow-y: auto; margin: 0.5rem 0; padding: 0.25rem; } .tx-inputs, .tx-outputs { overflow: visible; } .tx-detail-row { display: flex; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); transition: background-color 0.15s ease; } .tx-detail-row:hover { background-color: rgba(0, 0, 0, 0.02); } .tx-detail-row:last-child { border-bottom: none; } .tx-detail-row label { flex: 0 0 120px; font-weight: 600; color: var(--text-secondary); } .tx-detail-value { flex: 1; display: flex; align-items: center; gap: 0.75rem; word-break: break-all; font-family: "Courier New", monospace; } /* Highlighted transaction detail*/ .tx-detail-row.highlight { background-color: rgba(59, 130, 246, 0.08); border-radius: var(--border-radius-sm); padding: 0.75rem 0.5rem; margin: 0.5rem 0; transition: all 0.2s ease-in-out; position: relative; } .tx-detail-row.highlight:hover { background-color: rgba(59, 130, 246, 0.15); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1); } .tx-detail-row.highlight label { font-weight: 700; color: var(--primary-color); } .tx-detail-row.highlight .tx-detail-value { font-weight: 600; color: var(--text-primary); } .tx-section { margin-top: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 0.75rem; } .tx-section h4 { margin-bottom: 0.75rem; color: var(--text-primary); font-size: 1rem; font-weight: 600; } .tx-inputs, .tx-outputs { display: flex; flex-direction: column; gap: 0.75rem; } .tx-io-item { background-color: var(--bg-light); border-radius: var(--border-radius-sm); padding: 0.75rem; } .tx-io-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; } .tx-io-index { background-color: var(--primary-color); color: white; border-radius: var(--border-radius-sm); padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; } .tx-io-value { font-weight: 600; font-family: monospace; color: var(--text-primary); } .tx-io-status { font-size: 0.75rem; padding: 0.15rem 0.5rem; border-radius: 3px; margin-left: auto; } .tx-io-status.spent { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; } .tx-io-status.unspent { background-color: rgba(16, 185, 129, 0.1); color: #10b981; } .tx-io-addresses { display: flex; flex-direction: column; gap: 0.5rem; } .tx-io-address { display: flex; align-items: center; gap: 0.5rem; font-family: monospace; font-size: 0.85rem; background-color: var(--card-bg); border-radius: var(--border-radius-sm); padding: 0.5rem; word-break: break-all; justify-content: space-between; } .address-text { flex: 1; word-break: break-all; max-width: calc(100% - 2.5rem); } .tx-actions { margin-top: 2rem; display: flex; justify-content: center; gap: 1rem; width: 100%; flex-wrap: wrap; } .tx-actions .btn { min-width: 200px; font-weight: 600; padding: 0.75rem 1.5rem; border-radius: var(--border-radius); transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .tx-actions .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .confirmations { font-size: 0.75rem; color: var(--text-secondary); margin-left: 0.5rem; } .tx-blockhash { font-size: 0.75rem; color: var(--text-secondary); margin-left: 0.5rem; } #txOutput { overflow: visible !important; } .tx-detail-row { padding: 0.75rem 0; } @media (max-width: 768px) { .tx-detail-value { overflow-x: auto; white-space: nowrap; padding-bottom: 0.5rem; } .tx-io-address { flex-direction: column; align-items: flex-start; } .copy-btn { margin-top: 0.25rem; position: static; } } @media (max-width: 768px) { .tx-detail-row { flex-direction: column; gap: 0.25rem; } .tx-detail-row label { flex: 0 0 auto; } .tx-io-header { flex-wrap: wrap; } .tx-io-status { margin-left: 0; margin-top: 0.25rem; } } [data-theme="dark"] .notification { box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); } [data-theme="dark"] .notification.success { background-color: var(--success-color, #10b981); color: white; } /* Progress bar at bottom */ .notification::after { content: ""; position: absolute; bottom: 0; left: 0; height: 4px; width: 100%; background: rgba(0, 0, 0, 0.15); animation: countdown 3s linear forwards; border-radius: 0 0 0.5rem 0.5rem; } .tx-io-address { display: flex; align-items: center; gap: 0.5rem; font-family: monospace; font-size: 0.85rem; background-color: var(--card-bg); border-radius: var(--border-radius-sm); padding: 0.5rem; word-break: break-all; justify-content: space-between; } .tx-io-address .address-text { flex: 1; overflow: hidden; text-overflow: ellipsis; } .tx-io-address .copy-btn { position: relative; right: 0; top: 0; flex-shrink: 0; margin-left: 0.5rem; transform: translateY(0); } .tx-detail-value { display: flex; align-items: center; justify-content: space-between; word-break: break-all; font-family: "Courier New", monospace; position: relative; } .transaction-result { margin-top: 1rem; overflow: visible; max-height: none; } #txOutput { overflow: visible; } .transaction-details { overflow: visible; } .tx-inputs, .tx-outputs { overflow: visible; } #balanceHistoryResults, #txOutput { transition: opacity 0.3s ease, display 0.3s ease; } #transactionsPage { display: flex; flex-direction: column; gap: 1.5rem; } .transaction-result { margin-top: 1rem; } .radio-button-container { transition: all 0.3s ease; } .radio-button-container.active { transform: scale(1.02); box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2); } .search-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } #txOutput { animation: fadeIn 0.3s ease; overflow: visible; } /* Address display in balance section */ #displayedAddress { text-align: center; width: 100%; overflow-x: auto; display: block; } #balanceHistorySearch, #transactionSearch { padding-top: 1rem; } @keyframes countdown { from { width: 100%; } to { width: 0%; } } .notification svg { flex-shrink: 0; width: 1.2rem; height: 1.2rem; fill: currentColor; } @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes slideOutRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } } @keyframes spin-once { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .nav-link:hover .fa-sync-alt, .nav-btn:hover .fa-sync-alt { transform: rotate(180deg); } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Confirmation Modal Styling */ .modal { display: none; position: fixed; z-index: 500; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(5px); animation: fadeIn 0.3s ease; } .modal-content { background-color: var(--card-bg); margin: 10vh auto; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); width: 90%; max-width: 500px; overflow: hidden; animation: slideUp 0.4s ease; border: 1px solid var(--card-border); } .modal-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; } .modal-header h3 { margin: 0; font-size: 1.25rem; color: var(--text-primary); display: flex; align-items: center; gap: 0.5rem; } .modal-close { color: var(--text-light); font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: color 0.2s; line-height: 1; } .modal-close:hover { color: var(--danger-color); } .modal-body { padding: 1.5rem; } .modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 1rem; } /* Confirm Details Styling */ .confirm-details { display: flex; flex-direction: column; gap: 1rem; } .detail-group { display: flex; flex-direction: column; gap: 0.5rem; } .detail-group label { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--text-secondary); font-size: 0.9rem; } .detail-group label i { color: var(--primary-color); } .confirm-value { background: var(--bg-color); padding: 0.75rem 1rem; border-radius: var(--border-radius-sm); font-size: 1rem; color: var(--text-primary); font-weight: 500; border: 1px solid var(--card-border); } .address-value { font-family: "Courier New", monospace; font-size: 0.9rem; word-break: break-all; } .detail-group.warning { background-color: rgba(245, 158, 11, 0.1); border-left: 4px solid var(--warning-color); padding: 1rem; border-radius: var(--border-radius-sm); display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 0.5rem; } .detail-group.warning i { color: var(--warning-color); font-size: 1.25rem; flex-shrink: 0; } @media (max-width: 768px) { .modal-content { width: 95%; margin: 5vh auto; } .modal-header, .modal-body, .modal-footer { padding: 1rem; } .detail-group.warning { padding: 0.75rem; } .transaction-details-container { padding: 1.25rem; } .tx-info-grid { grid-template-columns: 1fr; } .tx-item-grid { grid-template-columns: 1fr; } .card { padding: 1.25rem; } .form-group { margin-bottom: 1.25rem; } .page-header { padding: 1.25rem; margin-bottom: 1.25rem; } .page-header h2 { font-size: 1.6rem; } .copy-btn { min-width: 2.5rem; min-height: 2.5rem; } .transaction-item { padding: 0.75rem; } } @media (max-width: 480px) { .error-state { padding: 1rem; } .error-state .error-icon { width: 2.5rem; height: 2.5rem; font-size: 1.2rem; } .error-state h3 { font-size: 1.1rem; margin-bottom: 0.5rem; } .error-state p { font-size: 0.9rem; margin-bottom: 0.75rem; } .error-state .btn { display: block; width: 100%; margin-top: 0.5rem; } /* Form inputs and buttons */ .form-input { font-size: 0.9rem; padding: 0.6rem; } .btn { padding: 0.6rem 0.75rem; font-size: 0.9rem; } /* Card adjustments */ .card { padding: 1rem; margin-bottom: 1rem; } .page-header { padding: 1rem; } .page-header h2 { font-size: 1.3rem; } /* Balance display */ .balance-display { padding: 0.75rem; } .balance-display .balance-amount { font-size: 1.5rem; } } /* Transaction Success/Error UI */ :root { --primary-color-rgb: 59, 130, 246; --success-color-rgb: 16, 185, 129; --error-color-rgb: 239, 68, 68; --warning-color-rgb: 245, 158, 11; } .transaction-success, .transaction-error { padding: 1.5rem 1rem; text-align: center; background: #192231; /* Exact dark blue from image */ border-radius: 0.5rem; position: relative; margin: 1rem auto; color: var(--text-color); max-width: 400px; width: 100%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .transaction-success h3 { font-size: 1.25rem; margin: 0.5rem 0; color: #0abe81; font-weight: 600; } @media (max-width: 768px) { .tx-detail-value { margin-left: 0; } } .transaction-error h3 { font-size: 1.25rem; margin: 0.75rem 0; color: var(--danger-color); font-weight: 600; } .success-message, .error-message { color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.8125rem; opacity: 0.75; } .success-animation, .error-animation { margin: 0 auto 1rem; } .checkmark-circle, .error-circle { width: 4rem; height: 4rem; position: relative; display: flex; align-items: center; justify-content: center; margin: 0 auto; border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); } .checkmark-circle { background: transparent; border: 2px solid #0abe81; width: 3.5rem; height: 3.5rem; } .error-circle { background: transparent; border: 2px solid var(--danger-color); animation: error-pulse 2s infinite; } .checkmark { color: #0abe81; font-size: 1.5rem; animation: scale-in 0.5s ease-out; } .error-icon { color: var(--danger-color); font-size: 1.5rem; animation: scale-in 0.5s ease-out; } @keyframes scale-in { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } } @keyframes error-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--error-color-rgb), 0.4); } 70% { box-shadow: 0 0 0 10px rgba(var(--error-color-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--error-color-rgb), 0); } } /* Transaction Details Card */ .tx-details-card { background: rgba(255, 255, 255, 0.05); border-radius: 12px; padding: 0; margin: 1rem 0 1.5rem; position: relative; overflow: hidden; width: 100%; } .tx-detail-item { display: flex; flex-direction: column; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); align-items: flex-start; text-align: left; } .tx-detail-item:last-child { border-bottom: none; } .tx-detail-label { font-weight: 500; color: #4794ff; font-size: 0.75rem; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; width: 100%; letter-spacing: 0.02em; } .tx-detail-label i { color: #4794ff; font-size: 0.875rem; width: 18px; text-align: center; } .tx-detail-value { color: var(--text-color); font-weight: 400; word-break: break-all; font-family: "Monaco", "Menlo", "Ubuntu Mono", "Courier New", monospace; padding: 0; font-size: 0.875rem; display: flex; align-items: center; justify-content: space-between; width: 100%; margin-left: 0; } .tx-detail-value span { overflow: hidden; text-overflow: ellipsis; flex: 1; display: block; } .tx-detail-item:last-child .tx-detail-value span { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .copy-small { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 0.25rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; transition: all 0.2s ease; flex-shrink: 0; width: 24px; height: 24px; } .copy-small:hover { color: var(--primary-color); background-color: rgba(var(--primary-color-rgb), 0.1); } .copy-small:active { transform: scale(0.95); } .view-on-chain { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; } .tx-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.75rem; width: 100%; } .tx-actions .btn { width: 100%; transition: all 0.2s ease; padding: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 0.25rem; } .tx-actions .btn:hover { opacity: 0.9; } .tx-actions .btn-primary { background: #4794ff; border: none; color: white; font-weight: 500; } .tx-actions .btn-secondary { background: transparent; color: var(--text-color); border: 1px solid rgba(255, 255, 255, 0.1); } .view-on-chain { margin-bottom: 0.75rem; } .transaction-error .tx-actions .btn-primary { background: var(--danger-color); border-color: var(--danger-color); } .transaction-error .tx-actions .btn-primary:hover { background: rgba(var(--error-color-rgb), 0.9); border-color: var(--danger-color); } .transaction-error .error-details { background: rgba(var(--error-color-rgb), 0.05); padding: 1rem; border-radius: 0.5rem; border: 1px solid rgba(var(--error-color-rgb), 0.2); margin: 1rem 0; color: var(--danger-color); font-family: monospace; font-size: 0.875rem; word-break: break-all; text-align: left; max-height: 200px; overflow-y: auto; } @media (max-width: 768px) { .tx-detail-item { flex-direction: column; align-items: flex-start; } .tx-detail-label { margin-bottom: 0.5rem; min-width: auto; } .tx-detail-value { margin-left: 0; } .transaction-success h3, .transaction-error h3 { font-size: 1.25rem; } } @media (max-width: 480px) { .transaction-success, .transaction-error { padding: 1rem; } .tx-details-card { padding: 0; margin: 0.75rem 0; } .tx-actions { gap: 0.5rem; } .checkmark-circle, .error-circle { width: 3.5rem; height: 3.5rem; } .checkmark, .error-icon { font-size: 1.25rem; } .tx-detail-value { font-size: 0.75rem; } .tx-detail-item { padding: 0.5rem 0.75rem; } .tx-actions .btn { padding: 0.625rem; } .searched-addresses-header h3 { font-size: 0.9rem; } .btn-clear-all { font-size: 0.75rem; padding: 0.2rem 0.4rem; } .address-actions { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; } .searched-address-item { padding: 0.4rem; } .btn-copy, .btn-copy-current, .btn-delete, .btn-check { padding: 0.15rem 0.3rem; font-size: 0.65rem; } .address-display { font-size: 0.7rem; } .address-toggle-group { gap: 0.25rem; } .btn-toggle-address { font-size: 0.65rem; padding: 0.1rem 0.25rem; } } /* Transaction list */ .transaction-list { gap: 0.5rem; } .hash-value, .address-value { font-size: 0.8rem; word-break: break-all; } /* Searched Addresses Styles */ .searched-addresses-card { margin-top: 2rem; border-radius: 12px; overflow: hidden; } .searched-addresses-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid var(--border-color); } .searched-addresses-header h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; } .searched-addresses-header h3 i { color: var(--primary-color); } .btn-clear-all { background: none; border: none; cursor: pointer; color: var(--danger-color); display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; padding: 0.25rem 0.5rem; border-radius: 4px; } .btn-clear-all:hover { background-color: rgba(var(--danger-color-rgb), 0.1); } .searched-addresses-list { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.5rem; max-height: 300px; overflow-y: auto; width: 100%; } .searched-address-item { display: flex; flex-direction: column; background: var(--card-bg); border-radius: 8px; border: 1px solid var(--border-color); padding: 0.75rem; position: relative; transition: all 0.2s ease; width: 100%; box-sizing: border-box; } .searched-address-item:hover { border-color: var(--primary-color); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .searched-address-item.has-source-info { padding-bottom: 1rem; } .address-toggle-section { margin-bottom: 0.5rem; width: 100%; } .address-toggle-group { display: flex; gap: 0.5rem; flex-wrap: wrap; } .btn-toggle-address { background: var(--background-secondary); border: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; } .btn-toggle-address.active { background: var(--primary-color); color: white; border-color: var(--primary-color); } .address-content-wrapper { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; } .address-info { flex-grow: 1; min-width: 0; width: 100%; } .address-display { display: flex; align-items: center; gap: 0.5rem; width: 100%; font-family: monospace; } .address-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; } @media (max-width: 768px) { .address-text { white-space: normal; word-break: break-all; font-size: 0.75rem; } } .address-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; } .btn-copy, .btn-copy-current, .btn-delete, .btn-check { background: none; border: 1px solid var(--border-color); border-radius: 4px; padding: 0.25rem 0.5rem; font-size: 0.75rem; cursor: pointer; display: flex; align-items: center; gap: 0.25rem; transition: all 0.2s ease; } .btn-copy i, .btn-copy-current i { color: var(--primary-color); } .btn-delete i { color: var(--danger-color); } .btn-check i { color: var(--success-color); } .btn-copy:hover, .btn-copy-current:hover { background-color: rgba(var(--primary-color-rgb), 0.1); } .btn-delete:hover { background-color: rgba(var(--danger-color-rgb), 0.1); } .btn-check:hover { background-color: rgba(var(--success-color-rgb), 0.1); } @media (max-width: 768px) { .address-content-wrapper { flex-direction: column; align-items: flex-start; gap: 0.5rem; } .address-actions { width: 100%; justify-content: flex-start; gap: 0.35rem; } .searched-addresses-card { margin-top: 1.5rem; } .searched-addresses-header { padding: 0.75rem; flex-wrap: wrap; gap: 0.5rem; } .searched-addresses-list { padding: 0.5rem; max-height: 250px; } .searched-address-item { padding: 0.75rem 0.5rem; } .address-toggle-group { flex-wrap: wrap; margin-bottom: 0.25rem; width: 100%; justify-content: flex-start; } .btn-toggle-address { font-size: 0.7rem; padding: 0.15rem 0.35rem; flex-grow: 1; text-align: center; } .btn-copy, .btn-copy-current, .btn-delete, .btn-check { padding: 0.3rem 0.5rem; font-size: 0.7rem; display: flex; align-items: center; justify-content: center; } .address-info { margin-bottom: 0.25rem; } } .txid-link { color: white; text-decoration: none; transition: color 0.2s ease; } .txid-link:hover { color: var(--primary-color-dark, #3b82f6); text-decoration: underline; } .tx-detail-value .txid-link { overflow: hidden; text-overflow: ellipsis; display: inline-block; max-width: 100%; }