:root{--bg-primary: #ffffff;--bg-secondary: #f8f9fa;--bg-tertiary: #e9ecef;--card-bg: #ffffff;--modal-bg: #ffffff;--text-primary: #212529;--text-secondary: #6c757d;--text-muted: #868e96;--text-inverse: #ffffff;--border-color: #dee2e6;--border-light: #f1f3f4;--divider-color: #e9ecef;--btn-primary-bg: #007bff;--btn-primary-hover: #0056b3;--btn-secondary-bg: #6c757d;--btn-secondary-hover: #545b62;--crypto-green: #28a745;--crypto-red: #dc3545;--crypto-orange: #fd7e14;--btc-color: #f7931a;--eth-color: #627eea;--sol-color: #14f195;--success-color: #28a745;--warning-color: #ffc107;--danger-color: #dc3545;--info-color: #17a2b8;--shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .075);--shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .15);--shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .175);--hover-bg: rgba(0, 0, 0, .05);--active-bg: rgba(0, 0, 0, .1);--focus-ring: 0 0 0 .2rem rgba(0, 123, 255, .25)}[data-theme=dark]{--bg-primary: #0d1117;--bg-secondary: #161b22;--bg-tertiary: #21262d;--card-bg: #161b22;--modal-bg: #161b22;--text-primary: #ffffff;--text-secondary: #e6edf3;--text-muted: #8d96a0;--text-inverse: #0d1117;--border-color: #30363d;--border-light: #21262d;--divider-color: #30363d;--btn-primary-bg: #238636;--btn-primary-hover: #2ea043;--btn-secondary-bg: #373e47;--btn-secondary-hover: #444c56;--crypto-green: #3fb950;--crypto-red: #f85149;--crypto-orange: #fb8500;--btc-color: #f7931a;--eth-color: #627eea;--sol-color: #14f195;--success-color: #3fb950;--warning-color: #d29922;--danger-color: #f85149;--info-color: #58a6ff;--shadow-sm: 0 .125rem .25rem rgba(0, 0, 0, .3);--shadow-md: 0 .5rem 1rem rgba(0, 0, 0, .4);--shadow-lg: 0 1rem 3rem rgba(0, 0, 0, .5);--hover-bg: rgba(255, 255, 255, .1);--active-bg: rgba(255, 255, 255, .15);--focus-ring: 0 0 0 .2rem rgba(88, 166, 255, .4)}body{background-color:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}html,body{overflow-x:hidden!important;max-width:100vw!important}.card,.dashboard-card,.crypto-card{background-color:var(--card-bg);border:1px solid var(--border-color);box-shadow:var(--shadow-sm);transition:all .3s ease}.card:hover,.dashboard-card:hover,.crypto-card:hover{box-shadow:var(--shadow-md)}.theme-transitioning{overflow-x:hidden!important}.theme-transitioning *{transition:background-color .3s ease,color .3s ease,border-color .3s ease!important}h1,h2,h3,h4,h5,h6{color:var(--text-primary);font-weight:700}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] h5,[data-theme=dark] h6{color:#fff}.text-muted{color:var(--text-muted)!important;font-weight:500}.text-secondary{color:var(--text-secondary)!important;font-weight:500}[data-theme=dark] .text-muted{color:#8d96a0!important}[data-theme=dark] .text-secondary{color:#e6edf3!important}small,.small{color:var(--text-secondary);font-weight:500}[data-theme=dark] small,[data-theme=dark] .small{color:#8d96a0}.price,.value,.crypto-value{font-weight:600;color:var(--text-primary)}[data-theme=dark] .price,[data-theme=dark] .value,[data-theme=dark] .crypto-value{color:#fff}.btn{transition:all .3s ease}.btn-primary{background-color:var(--btn-primary-bg);border-color:var(--btn-primary-bg)}.btn-primary:hover{background-color:var(--btn-primary-hover);border-color:var(--btn-primary-hover)}.btn-secondary{background-color:var(--btn-secondary-bg);border-color:var(--btn-secondary-bg)}.btn-secondary:hover{background-color:var(--btn-secondary-hover);border-color:var(--btn-secondary-hover)}.theme-toggle{background:var(--btn-primary-bg);border:2px solid var(--btn-primary-bg);border-radius:8px;width:44px;height:44px;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;color:#fff;margin-left:auto;box-shadow:var(--shadow-md);position:relative;z-index:100}.theme-toggle:hover{background-color:var(--btn-primary-hover);border-color:var(--btn-primary-hover);transform:scale(1.05);box-shadow:var(--shadow-lg)}.theme-toggle:focus{outline:none;box-shadow:var(--focus-ring)}.theme-toggle .theme-icon{font-size:20px;line-height:1}[data-theme=dark] .theme-toggle{background:#238636;border-color:#238636;color:#fff;box-shadow:0 2px 8px #23863666}[data-theme=dark] .theme-toggle:hover{background:#2ea043;border-color:#2ea043;box-shadow:0 4px 12px #23863699}.dashboard-header{background-color:transparent;border-bottom:none;padding:.5rem 0;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;transition:all .3s ease;position:relative;width:100%;overflow:hidden}.dashboard-header h1{color:var(--text-primary);font-size:2rem;font-weight:700;margin:0;display:flex;align-items:center;gap:1.5rem;justify-content:center;text-align:center}.dashboard-header .logo{height:500px!important;width:auto!important;max-width:90vw;display:inline-block;object-fit:cover!important;object-position:center!important;border-radius:8px;margin:0!important;padding:0!important;clip-path:inset(40% 23% 42% 23%);transform:scale(4)}.dashboard-header .theme-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0;flex-shrink:0}@media (max-width: 768px){.dashboard-header{flex-direction:column;gap:1rem;align-items:center;text-align:center;padding:1rem 0;position:relative}.dashboard-header h1{justify-content:center;width:100%}.dashboard-header .logo{height:80px}.dashboard-header .theme-toggle{position:relative;right:auto;top:auto;transform:none;margin:.5rem 0 0}}@media (max-width: 480px){.dashboard-header{padding:.75rem 0}.dashboard-header .logo{height:70px}.dashboard-header .theme-toggle{margin:.75rem 0 0}}.table{color:var(--text-primary);background-color:var(--card-bg);font-weight:500}.table th{background-color:var(--bg-secondary);border-color:var(--border-color);color:var(--text-primary);font-weight:600;font-size:.9rem}.table td{border-color:var(--border-color);color:var(--text-primary);font-weight:500}.table-striped tbody tr:nth-of-type(odd){background-color:var(--bg-tertiary)}.table-hover tbody tr:hover{background-color:var(--hover-bg)}[data-theme=dark] .table th{background-color:var(--bg-tertiary);color:#fff;border-color:var(--border-color)}[data-theme=dark] .table td{color:#e6edf3;border-color:var(--border-color)}[data-theme=dark] .table-striped tbody tr:nth-of-type(odd){background-color:#ffffff0d}.modal-body table td:nth-child(3),.history-table td:nth-child(3){font-weight:600}.modal-body table td:nth-child(3)[data-change^="+"],.modal-body table td:nth-child(3).positive,.history-table td:nth-child(3)[data-change^="+"],.history-table td:nth-child(3).positive{color:var(--crypto-green)!important;font-weight:600}.modal-body table td:nth-child(3)[data-change^="-"],.modal-body table td:nth-child(3).negative,.history-table td:nth-child(3)[data-change^="-"],.history-table td:nth-child(3).negative{color:var(--crypto-red)!important;font-weight:600}[data-theme=dark] .modal-body table td:nth-child(3)[data-change^="+"],[data-theme=dark] .modal-body table td:nth-child(3).positive,[data-theme=dark] .history-table td:nth-child(3)[data-change^="+"],[data-theme=dark] .history-table td:nth-child(3).positive{color:#56d364!important;font-weight:600}[data-theme=dark] .modal-body table td:nth-child(3)[data-change^="-"],[data-theme=dark] .modal-body table td:nth-child(3).negative,[data-theme=dark] .history-table td:nth-child(3)[data-change^="-"],[data-theme=dark] .history-table td:nth-child(3).negative{color:#f85149!important;font-weight:600}.form-control{background-color:var(--card-bg);border-color:var(--border-color);color:var(--text-primary)}.form-control:focus{background-color:var(--card-bg);border-color:var(--btn-primary-bg);color:var(--text-primary);box-shadow:var(--focus-ring)}.form-control::placeholder{color:var(--text-muted)}.modal-content{background-color:var(--modal-bg)!important;color:var(--text-primary)!important;border:1px solid var(--border-color)!important}.modal-header{background-color:var(--bg-secondary)!important;border-bottom:1px solid var(--border-color)!important;color:var(--text-primary)!important}.modal-title{color:var(--text-primary)!important}.modal-body{background-color:var(--modal-bg)!important;color:var(--text-primary)!important}.modal-footer{background-color:var(--bg-secondary)!important;border-top:1px solid var(--border-color)!important}.btn-close{filter:var(--bs-btn-close-white-filter)}[data-theme=dark] .btn-close{filter:invert(1) grayscale(100%) brightness(200%)}.navbar{background-color:var(--bg-secondary)!important;border-bottom:1px solid var(--border-color)}.nav-link{color:var(--text-secondary)!important;transition:color .3s ease}.nav-link:hover,.nav-link.active{color:var(--text-primary)!important}.alert-success{background-color:var(--success-color);border-color:var(--success-color);color:#fff}.alert-danger{background-color:var(--danger-color);border-color:var(--danger-color);color:#fff}.alert-warning{background-color:var(--warning-color);border-color:var(--warning-color);color:var(--text-inverse)}.alert-info{background-color:var(--info-color);border-color:var(--info-color);color:#fff}.spinner-border{color:var(--btn-primary-bg)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-secondary)}::-webkit-scrollbar-thumb{background:var(--text-muted);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-secondary)}*{transition:background-color .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}.no-transition *{transition:none!important}@media print{:root{--bg-primary: #ffffff !important;--bg-secondary: #f8f9fa !important;--text-primary: #000000 !important;--text-secondary: #333333 !important}}@media (prefers-contrast: high){:root{--border-color: #000000}[data-theme=dark]{--border-color: #ffffff}}@media (prefers-reduced-motion: reduce){*{transition:none!important;animation:none!important}}.crypto-chart-container{background-color:var(--card-bg)!important;border:1px solid var(--border-color);border-radius:8px;padding:1rem;margin-bottom:1rem;box-shadow:var(--shadow-sm)}[data-theme=dark] .crypto-chart-container{background-color:var(--bg-secondary)!important;border-color:var(--border-color)}.crypto-chart-header{color:var(--text-primary)!important;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.crypto-chart-header h3{color:var(--text-primary)!important;margin:0 0 .5rem;font-weight:600}.current-price-info{text-align:right;flex-shrink:0}.current-price{color:var(--text-primary)!important;font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.last-updated{color:var(--text-secondary)!important;font-size:.875rem;font-weight:400}.current-price-info{margin-top:.5rem}.current-price{font-size:1.25rem;font-weight:700;color:var(--text-primary)!important}.last-updated{font-size:.875rem;color:var(--text-secondary)!important;margin-top:.25rem}.chart-container,.crypto-chart-container,.chart-wrapper,.chartjs-wrapper{max-width:100%;overflow:hidden;box-sizing:border-box;position:relative}.modal-content .chart-container,.modal-body .chart-container{overflow:hidden;box-sizing:border-box;position:relative}.modal-body .chart-container{height:400px;max-height:60vh;padding:.5rem;margin:0 auto;box-sizing:border-box}.modal-body canvas{width:100%!important;max-width:100%!important;height:100%!important;box-sizing:border-box!important}body .modal.show .modal-dialog .modal-content .modal-body canvas{max-width:100%!important;box-sizing:border-box!important;overflow:hidden!important}.chart-container canvas,.crypto-chart-container canvas{max-width:100%!important;height:auto!important;box-sizing:border-box}@media (max-width: 768px){.chart-container,.crypto-chart-container{padding:.5rem;margin:.5rem 0}.modal-content .chart-container{max-width:100%;padding:0}}[data-theme=dark] .chart-wrapper{background:var(--card-bg)!important}[data-theme=dark] canvas{background:var(--bg-tertiary)!important}[data-theme=dark] .chart-container{background-color:var(--card-bg)!important}[data-theme=dark] canvas.chartjs-render-monitor{background-color:var(--bg-tertiary)!important}.modal-content{background-color:var(--modal-bg);color:var(--text-primary);border:1px solid var(--border-color)}.modal-body{padding:1.5rem;overflow-x:hidden!important;max-width:100%!important}.modal .chart-container,.modal-body .chart-container,.modal div[style*="height: 400px"]{background-color:var(--bg-primary)!important;border-radius:8px;overflow:hidden}.modal canvas{background-color:transparent!important}[data-theme=dark] .modal .chart-container,[data-theme=dark] .modal-body .chart-container,[data-theme=dark] .modal div[style*="height: 400px"]{background-color:var(--bg-secondary)!important}[data-theme=light] .modal .chart-container,[data-theme=light] .modal-body .chart-container,[data-theme=light] .modal div[style*="height: 400px"]{background-color:#fff!important}[data-theme=dark] .chart-area{background-color:var(--bg-secondary)!important}[data-theme=dark] .time-range-filters .time-range-btn.active{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#10b981!important;color:#fff!important;font-weight:700!important;box-shadow:0 0 0 .2rem #10b9814d!important}.modal-content{max-width:100%!important;box-sizing:border-box;overflow-x:hidden}.modal-body{overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box}.modal .chart-container,.modal-body .chart-container,.modal div[style*="position: relative"]{box-sizing:border-box!important;overflow:hidden!important}[data-theme=dark] .yield-value.positive{color:#56d364!important;background-color:#56d36426!important;border:1px solid rgba(86,211,100,.4)!important}[data-theme=dark] .yield-value.negative{color:#f85149!important;background-color:#f8514926!important;border:1px solid rgba(248,81,73,.4)!important}[data-theme=dark] .yield-value.neutral{color:#8b949e!important;background-color:var(--bg-tertiary)!important;border:1px solid var(--border-color)!important}[data-theme=dark] .mobile-yield-value.positive{color:#56d364!important;background-color:#56d36426!important;border:1px solid rgba(86,211,100,.4)!important}[data-theme=dark] .mobile-yield-value.negative{color:#f85149!important;background-color:#f8514926!important;border:1px solid rgba(248,81,73,.4)!important}[data-theme=dark] .mobile-yield-value.neutral{color:#8b949e!important;background-color:var(--bg-tertiary)!important;border:1px solid var(--border-color)!important}[data-theme=light] .mobile-yield-value.positive{color:#22c55e!important;background-color:#f7fef9!important;border:1px solid #d1fae5!important}[data-theme=light] .mobile-yield-value.negative{color:#ef4444!important;background-color:#fef7f7!important;border:1px solid #fed7d7!important}[data-theme=light] .mobile-yield-value.neutral{color:#64748b!important;background-color:#fbfcfd!important;border:1px solid #e8edf3!important}.tabs button{padding:.75rem 2rem;border:2px solid var(--border-color);background:var(--bg-primary);border-radius:8px;font-size:1rem;cursor:pointer;color:var(--text-primary);transition:all .3s ease;font-weight:500;position:relative;box-shadow:var(--shadow-sm)}.tabs button:hover:not(.active){background:var(--bg-secondary);border-color:var(--btn-primary-bg);transform:translateY(-1px);box-shadow:var(--shadow-md)}.tabs button.active{font-weight:700!important;transform:translateY(-2px)!important;box-shadow:var(--shadow-lg)!important}.tabs button:first-child.active{background:linear-gradient(135deg,#f7931a,#ff8c00)!important;color:#fff!important;border-color:#f7931a!important;box-shadow:0 4px 12px #f7931a66!important;font-weight:700!important}.tabs button:nth-child(2).active{background:linear-gradient(135deg,#627eea,#4f5bd5)!important;color:#fff!important;border-color:#627eea!important;box-shadow:0 4px 12px #627eea66!important;font-weight:700!important}.tabs button:nth-child(3).active{background:linear-gradient(135deg,#00ffa3,#00cc7a)!important;color:#000!important;border-color:#00ffa3!important;box-shadow:0 4px 12px #00ffa366!important;font-weight:700!important}[data-theme=dark] .tabs button{background:var(--bg-primary);color:var(--text-primary);border-color:var(--border-color)}[data-theme=dark] .tabs button:hover:not(.active){background:var(--bg-secondary);border-color:var(--btn-primary-bg)}[data-theme=dark] .chartjs-wrapper,[data-theme=dark] .chart-js-wrapper,[data-theme=dark] div[id*=chart],[data-theme=dark] .crypto-price-chart{background-color:var(--bg-secondary)!important}[data-theme=dark] .crypto-chart-container canvas,[data-theme=dark] .chart-container canvas,[data-theme=dark] canvas[role=img]{background-color:var(--bg-tertiary)!important}[data-theme=dark] .relative canvas{background-color:var(--bg-tertiary)!important}[data-theme=light] .crypto-chart-container canvas,[data-theme=light] .chart-container canvas,[data-theme=light] canvas[role=img]{background-color:#fff!important}[data-theme=light] .crypto-chart-container{background-color:#fff!important;border-color:#dee2e6}[data-theme=light] .chart-wrapper{background:#fff!important}[data-theme=light] .current-price,[data-theme=light] .crypto-chart-header h3{color:#212529!important}[data-theme=light] .last-updated{color:#6c757d!important}.positive,.btc-change.positive,.eth-change.positive,.yield-value.positive,.mobile-yield-value.positive,.change-positive{color:var(--crypto-green)!important;font-weight:600}.negative,.btc-change.negative,.eth-change.negative,.yield-value.negative,.mobile-yield-value.negative,.change-negative{color:var(--crypto-red)!important;font-weight:600}.neutral,.btc-change.neutral,.eth-change.neutral,.yield-value.neutral,.mobile-yield-value.neutral,.change-neutral{color:var(--text-muted)!important;font-weight:500}[data-theme=dark] .positive,[data-theme=dark] .btc-change.positive,[data-theme=dark] .eth-change.positive,[data-theme=dark] .yield-value.positive,[data-theme=dark] .mobile-yield-value.positive,[data-theme=dark] .change-positive{color:#56d364!important;font-weight:600}[data-theme=dark] .negative,[data-theme=dark] .btc-change.negative,[data-theme=dark] .eth-change.negative,[data-theme=dark] .yield-value.negative,[data-theme=dark] .mobile-yield-value.negative,[data-theme=dark] .change-negative{color:#f85149!important;font-weight:600}[data-theme=dark] .neutral,[data-theme=dark] .btc-change.neutral,[data-theme=dark] .eth-change.neutral,[data-theme=dark] .yield-value.neutral,[data-theme=dark] .mobile-yield-value.neutral,[data-theme=dark] .change-neutral{color:#8b949e!important;font-weight:500}body table td .yield-value.positive,body .table td .yield-value.positive,body .mobile-yield-value.positive,div .yield-value.positive{color:var(--crypto-green)!important}body table td .yield-value.negative,body .table td .yield-value.negative,body .mobile-yield-value.negative,div .yield-value.negative{color:var(--crypto-red)!important}body table td .yield-value.neutral,body .table td .yield-value.neutral,body .mobile-yield-value.neutral,div .yield-value.neutral{color:var(--text-muted)!important}[data-theme=dark] body table td .yield-value.positive,[data-theme=dark] body .table td .yield-value.positive,[data-theme=dark] body .mobile-yield-value.positive,[data-theme=dark] div .yield-value.positive{color:#56d364!important;font-weight:600!important}[data-theme=dark] body table td .yield-value.negative,[data-theme=dark] body .table td .yield-value.negative,[data-theme=dark] body .mobile-yield-value.negative,[data-theme=dark] div .yield-value.negative{color:#f85149!important;font-weight:600!important}[data-theme=dark] body table td .yield-value.neutral,[data-theme=dark] body .table td .yield-value.neutral,[data-theme=dark] body .mobile-yield-value.neutral,[data-theme=dark] div .yield-value.neutral{color:#8b949e!important;font-weight:500!important}[data-theme=dark] button{color:#f0f6fc!important;background:#21262d!important;border-color:#30363d!important}[data-theme=dark] button:hover{background:#30363d!important}[data-theme=dark] .btn-primary{background:#1f6feb!important;border-color:#1f6feb!important;color:#fff!important}[data-theme=dark] .btn-primary:hover{background:#0969da!important;border-color:#0969da!important}[data-theme=dark] .bitcoin-price,[data-theme=dark] .btc-price,[data-theme=dark] h2,[data-theme=dark] h3{color:var(--text-primary)!important;font-weight:600!important}[data-theme=dark] .crypto-chart-header h3,[data-theme=dark] .crypto-chart-header .price,[data-theme=dark] .price-display{color:var(--text-primary)!important;text-shadow:none!important}[data-theme=dark] .table thead th{color:var(--text-primary)!important;background-color:var(--bg-secondary)!important;border-bottom:2px solid var(--border-color)!important;font-weight:700!important}[data-theme=dark] .table td{color:var(--text-primary)!important;font-weight:500!important}[data-theme=dark] .text-muted,[data-theme=dark] .last-updated{color:var(--text-secondary)!important;opacity:.8}body [data-theme=light] canvas,[data-theme=light] body canvas,html[data-theme=light] canvas{background:#fff!important}body [data-theme=dark] canvas,[data-theme=dark] body canvas,html[data-theme=dark] canvas{background:#21262d!important}body [data-theme=light] canvas.chartjs-render-monitor,[data-theme=light] body canvas.chartjs-render-monitor,html[data-theme=light] canvas.chartjs-render-monitor{background-color:#fff!important}body [data-theme=dark] canvas.chartjs-render-monitor,[data-theme=dark] body canvas.chartjs-render-monitor,html[data-theme=dark] canvas.chartjs-render-monitor{background-color:#21262d!important}body .crypto-chart-container,.crypto-chart-container{transition:background-color .1s ease!important}body [data-theme=light] .crypto-chart-container,[data-theme=light] body .crypto-chart-container,html[data-theme=light] .crypto-chart-container{background-color:#fff!important}body [data-theme=dark] .crypto-chart-container,[data-theme=dark] body .crypto-chart-container,html[data-theme=dark] .crypto-chart-container{background-color:#161b22!important}.pagination{background-color:var(--card-bg);border-radius:8px;padding:.5rem;border:1px solid var(--border-color)}.pagination .page-link{background-color:var(--btn-secondary-bg);border:1px solid var(--border-color);color:var(--text-primary);padding:.5rem .75rem;margin:0 .125rem;border-radius:6px;font-weight:500;transition:all .2s ease}.pagination .page-link:hover{background-color:var(--btn-primary-bg);border-color:var(--btn-primary-bg);color:#fff;transform:translateY(-1px)}.pagination .page-item.active .page-link{background-color:var(--btn-primary-bg);border-color:var(--btn-primary-bg);color:#fff;font-weight:600}.pagination .page-item.disabled .page-link{background-color:var(--bg-tertiary);border-color:var(--border-light);color:var(--text-muted);opacity:.6}[data-theme=dark] .pagination{background-color:var(--bg-secondary);border-color:var(--border-color)}[data-theme=dark] .pagination .page-link{background-color:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .pagination .page-link:hover,[data-theme=dark] .pagination .page-item.active .page-link{background-color:var(--btn-primary-bg);border-color:var(--btn-primary-bg);color:#fff}[data-theme=dark] .pagination .page-item.disabled .page-link{background-color:var(--bg-primary);border-color:var(--border-light);color:var(--text-muted)}.btn-sm,.btn-small,button[onclick*=history],button:contains("View History"){background-color:var(--btn-primary-bg);border:2px solid var(--btn-primary-bg);color:#fff;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:600;transition:all .2s ease;box-shadow:var(--shadow-sm)}.btn-sm:hover,.btn-small:hover,button[onclick*=history]:hover{background-color:var(--btn-primary-hover);border-color:var(--btn-primary-hover);transform:translateY(-1px);box-shadow:var(--shadow-md)}[data-theme=dark] .btn-sm,[data-theme=dark] .btn-small,[data-theme=dark] button[onclick*=history]{background-color:#238636!important;border:2px solid #238636!important;color:#fff!important;font-weight:600!important;box-shadow:0 2px 6px #23863666!important}[data-theme=dark] .btn-sm:hover,[data-theme=dark] .btn-small:hover,[data-theme=dark] button[onclick*=history]:hover{background-color:#2ea043!important;border-color:#2ea043!important;box-shadow:0 4px 12px #23863699!important;transform:translateY(-2px)!important}[data-theme=dark] button:not(.theme-toggle){background-color:#238636!important;border:2px solid #238636!important;color:#fff!important;font-weight:600!important}[data-theme=dark] button:not(.theme-toggle):hover{background-color:#2ea043!important;border-color:#2ea043!important}[data-theme=light] .chart-container .chartjs-legend,[data-theme=light] .modal-body .chartjs-legend{color:#212529!important}[data-theme=dark] .chart-container .chartjs-legend,[data-theme=dark] .modal-body .chartjs-legend{color:#fff!important}.chart-container .chartjs-legend-item,.modal-body .chartjs-legend-item{color:var(--text-primary)!important}body .yield-container{background-color:var(--bg-secondary)!important;border:1px solid var(--border-color)!important;color:var(--text-primary)!important;transition:background-color .3s ease,border-color .3s ease}body .yield-label{color:var(--text-secondary)!important;border-bottom:1px solid var(--border-color)!important}[data-theme=dark] body table .yield-container,[data-theme=dark] body .table .yield-container,[data-theme=dark] body #btcTable .yield-container,[data-theme=dark] body #ethTable .yield-container{background-color:#2d333b!important;border-color:#444c56!important;color:var(--text-primary)!important}[data-theme=dark] body table .yield-label,[data-theme=dark] body .table .yield-label,[data-theme=dark] body #btcTable .yield-label,[data-theme=dark] body #ethTable .yield-label{color:var(--text-secondary)!important;border-bottom-color:var(--border-color)!important}[data-theme=dark] body table .yield-value.positive,[data-theme=dark] body .table .yield-value.positive,[data-theme=dark] body #btcTable .yield-value.positive,[data-theme=dark] body #ethTable .yield-value.positive{color:var(--crypto-green)!important}[data-theme=dark] body table .yield-value.negative,[data-theme=dark] body .table .yield-value.negative,[data-theme=dark] body #btcTable .yield-value.negative,[data-theme=dark] body #ethTable .yield-value.negative{color:var(--crypto-red)!important}[data-theme=dark] body table .yield-value.neutral,[data-theme=dark] body .table .yield-value.neutral,[data-theme=dark] body #btcTable .yield-value.neutral,[data-theme=dark] body #ethTable .yield-value.neutral{color:var(--text-muted)!important}.modal .chart-container,.modal-dialog .chart-container,.modal-content .chart-container,.modal-body .chart-container,.modal div[class*=chart],.modal div[style*="height: 400px"],.modal div[style*="position: relative"]{min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}.modal canvas,.modal-body canvas,.modal .chart-container canvas,.modal-body .chart-container canvas{max-width:100%!important;width:100%!important;height:auto!important;box-sizing:border-box!important}body{margin:0;padding:0;background:var(--bg-primary, #f5f7fa);font-family:system-ui,Arial,sans-serif;color:var(--text-primary, #212529);transition:background-color .3s ease,color .3s ease}.container{max-width:1400px;margin:0 auto;padding:1.5rem .8rem;font-family:system-ui,Arial,sans-serif;background:var(--card-bg, #fff);box-shadow:var(--shadow-md, 0 2px 10px rgba(0,0,0,.1));border-radius:8px;transition:background-color .3s ease,box-shadow .3s ease}th:nth-child(4),td:nth-child(4),th:nth-child(5),td:nth-child(5),th:nth-child(6),td:nth-child(6),th:nth-child(8),td:nth-child(8){text-align:right}th:nth-child(1),td:nth-child(1){text-align:center}th:nth-child(2),td:nth-child(2){text-align:center}th:nth-child(9),td:nth-child(9){text-align:center}.header{text-align:center;margin-bottom:1.5rem}.logo{max-height:150px;height:auto;max-width:100%;object-fit:contain;image-rendering:high-quality;image-rendering:-webkit-optimize-contrast;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(0);-webkit-transform:translateZ(0)}h1{text-align:center;margin-bottom:1.5rem}.tabs{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem}.tabs button{padding:.75rem 2rem;border:2px solid var(--border-color, #dee2e6);background:var(--bg-primary, #ffffff);border-radius:8px;font-size:1rem;cursor:pointer;color:var(--text-primary, #000);transition:all .3s ease;font-weight:500;position:relative;box-shadow:var(--shadow-sm)}.tabs button:first-child.active{background:linear-gradient(135deg,#f7931a,#ff8c00)!important;color:#fff!important;font-weight:700!important;border-color:#f7931a!important;box-shadow:0 4px 12px #f7931a66!important;transform:translateY(-2px)!important}.tabs button:nth-child(2).active{background:linear-gradient(135deg,#627eea,#4f5bd5)!important;color:#fff!important;font-weight:700!important;border-color:#627eea!important;box-shadow:0 4px 12px #627eea66!important;transform:translateY(-2px)!important}.tabs button:nth-child(3).active{background:linear-gradient(135deg,#00ffa3,#00cc7a)!important;color:#000!important;font-weight:700!important;border-color:#00ffa3!important;box-shadow:0 4px 12px #00ffa366!important;transform:translateY(-2px)!important}.tabs button.active{background:var(--btn-primary-bg, #238636);color:#fff;font-weight:700;border-color:var(--btn-primary-bg, #238636);box-shadow:var(--shadow-md);transform:translateY(-2px)}.tabs button:hover:not(.active){background:var(--btn-secondary-bg, #f8f9fa);border-color:var(--btn-primary-bg, #238636);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.tab-content{background:var(--bg-secondary, #fafbfc);border-radius:0 0 8px 8px;padding:1.5rem 1rem 2rem;box-shadow:var(--shadow-sm, 0 2px 8px rgba(0,0,0,.04))}.export-btn{margin-bottom:1rem;padding:.5rem 1.2rem;background:var(--btn-primary-bg, #1a73e8);color:#fff;border:none;border-radius:4px;font-weight:500;cursor:pointer;transition:background .2s}.export-btn:hover{background:var(--btn-primary-hover, #155ab6)}table{width:100%;border-collapse:collapse;background:var(--card-bg, #fff)!important;margin:1rem auto;font-size:.9rem;table-layout:fixed;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0,0,0,.1));border-radius:6px;overflow:hidden;color:var(--text-primary, #212529)!important}.table-wrapper{overflow-x:auto;margin:1rem 0;border-radius:6px;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0,0,0,.1));background:var(--card-bg, #fff)}th:nth-child(1),td:nth-child(1){width:3%}th:nth-child(2),td:nth-child(2){width:6%}th:nth-child(3),td:nth-child(3){width:16%}th:nth-child(4),td:nth-child(4){width:11%}th:nth-child(5),td:nth-child(5){width:9%}th:nth-child(6),td:nth-child(6){width:11%}th:nth-child(7),td:nth-child(7){width:25%}th:nth-child(8),td:nth-child(8){width:8%}th:nth-child(9),td:nth-child(9){width:11%}th,td{padding:.6rem .4rem;text-align:left;border-bottom:1px solid var(--border-color, #eaeaea)!important;word-wrap:break-word;overflow:hidden;vertical-align:middle;font-size:.9rem;color:var(--text-primary, #212529)!important;background-color:var(--card-bg, #fff)!important}tbody tr{min-height:55px}tbody td{vertical-align:middle}th:nth-child(7),td:nth-child(7){text-align:center!important;vertical-align:middle!important;padding:.5rem .2rem!important;width:25%!important;min-width:230px!important;max-width:290px!important;overflow:visible!important}th:nth-child(1),td:nth-child(1){width:3em}th:nth-child(3),td:nth-child(3){text-align:left}th{background:var(--bg-secondary, #f5f7fa)!important;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:600;color:var(--text-primary, #212529)!important}th .sort-icon{margin-left:.3em;font-size:.9em;color:var(--text-primary, #212529)!important}tr:hover,tr:hover td{background:var(--hover-bg, rgba(26, 115, 232, .05))!important}.spinner-container{display:flex;justify-content:center;align-items:center;min-height:120px}.spinner{border:6px solid var(--border-color, #f3f3f3);border-top:6px solid var(--btn-primary-bg, #1a73e8);border-radius:50%;width:48px;height:48px;animation:spin 1s linear infinite;margin:0 auto}footer{margin-top:2rem;text-align:center;color:#888;font-size:1rem}a{color:#1a73e8;text-decoration:none}a:hover{text-decoration:underline}.history-button{background-color:#007bff;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:12px;transition:background-color .2s}.history-button:hover{background-color:#0056b3}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;overflow:hidden!important;padding:1rem;box-sizing:border-box;max-width:100vw!important}.modal-dialog{max-width:min(65vw,700px)!important;margin:1rem auto!important;width:auto!important;box-sizing:border-box!important}.modal-content{background-color:#fff;border-radius:8px;max-width:100%!important;max-height:90vh;overflow-y:auto;overflow-x:hidden!important;box-shadow:0 4px 6px #0000001a;box-sizing:border-box!important;width:100%!important}.modal-content,.modal-body{overflow-x:hidden!important;max-width:100%!important}.modal-body{padding:1.25rem!important;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box!important}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #ddd}.modal-header h3{margin:0;color:#333}.close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.close-button:hover{color:#333}.modal-body .chart-container{width:calc(100vw - 8rem)!important;max-width:calc(100% - 2rem)!important;margin:1rem auto!important;box-sizing:border-box!important;overflow:hidden!important;position:relative!important;padding:.5rem!important;height:400px!important}.modal-body .chart-container canvas{max-width:100%!important;width:100%!important;height:100%!important;box-sizing:border-box!important}.modal-body div[style*="position: relative; height: 400px"],.modal-body div[style*="width:"][style*="height:"],.modal-body .recharts-responsive-container,.modal-body .recharts-wrapper{max-width:100%!important;width:100%!important;margin:0 auto!important;overflow:hidden!important;box-sizing:border-box!important}.modal-body .chart-wrapper,.modal-body .chartjs-wrapper,.modal-body [class*=chart-],.modal-body [id*=chart]{max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}.modal-body div[style*=width]{max-width:100%!important;box-sizing:border-box!important}.modal-body svg{max-width:100%!important;height:auto!important;box-sizing:border-box!important}.loading-modal-content{background-color:#fff;border-radius:8px;padding:2rem;box-shadow:0 4px 6px #0000001a;text-align:center}.loading-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-text{color:#666;font-size:1.1rem;font-weight:500}.modal-body .history-table table{width:100%;border-collapse:collapse;margin-top:10px;table-layout:fixed}.modal-body .history-table th:nth-child(1),.modal-body .history-table td:nth-child(1){width:12%}.modal-body .history-table th:nth-child(2),.modal-body .history-table td:nth-child(2){width:18%}.modal-body .history-table th:nth-child(3),.modal-body .history-table td:nth-child(3){width:18%}.modal-body .history-table th:nth-child(4),.modal-body .history-table td:nth-child(4){width:18%}.modal-body .history-table th:nth-child(5),.modal-body .history-table td:nth-child(5){width:22%}.modal-body .history-table th:nth-child(6),.modal-body .history-table td:nth-child(6){width:12%}.modal-body .history-table th,.modal-body .history-table td{padding:8px 10px;text-align:left;border-bottom:1px solid #ddd;word-wrap:break-word;overflow:hidden}.modal-body .history-table th:nth-child(n+2),.modal-body .history-table td:nth-child(n+2){text-align:right}.modal-body .history-table th:nth-child(1),.modal-body .history-table td:nth-child(1){text-align:left}.modal-body .history-table th{background-color:#f5f5f5;font-weight:600;color:#333}.modal-body .history-table tr:hover{background-color:#f9f9f9}.history-content{display:flex;flex-direction:column;gap:2rem}.chart-section{padding:1rem;background:var(--bg-secondary, #f8f9fa);border-radius:8px;border:1px solid var(--border-color, #e9ecef);transition:background-color .1s ease,border-color .1s ease}[data-theme=dark] .chart-section{background:var(--bg-secondary)!important;border-color:var(--border-color)!important}.chart-container{position:relative;height:400px;width:100%;margin:0 auto}@media (max-width: 768px){.modal-dialog{max-width:95vw!important;margin:.5rem auto!important}.modal-body{padding:.75rem!important}.modal-body .chart-container{width:calc(100vw - 6rem)!important;max-width:calc(100% - 1.5rem)!important;height:350px!important}}@media (max-width: 576px){.modal-dialog{max-width:98vw!important;margin:.25rem auto!important}.modal-body{padding:.5rem!important}.modal-body .chart-container{width:calc(100vw - 4rem)!important;max-width:calc(100% - 1rem)!important;height:300px!important}}@media (min-width: 769px) and (max-width: 1024px){.modal-dialog{max-width:80vw!important}.modal-body .chart-container{width:calc(100vw - 12rem)!important;max-width:calc(100% - 3rem)!important}}@media (min-width: 1025px){.modal-dialog{max-width:70vw!important}.modal-body .chart-container{width:calc(100vw - 15rem)!important;max-width:calc(100% - 4rem)!important}}@media (min-width: 1400px){.modal-dialog{max-width:60vw!important}.modal-body .chart-container{width:calc(100vw - 20rem)!important;max-width:calc(100% - 5rem)!important}}.modal-body .chart-section{width:100%;max-width:100%;overflow:hidden}.table-section{padding:1rem 0}.table-section h4{margin:0 0 1rem;color:#495057;font-size:1.1rem;font-weight:600}.yield-container{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;grid-template-rows:auto auto!important;gap:6px 4px!important;min-width:210px!important;max-width:250px!important;padding:8px 6px!important;margin:0 auto!important;text-align:center!important;border:1px solid #e5e7eb!important;border-radius:4px!important;background-color:#fafbfc!important;align-items:center!important;justify-items:center!important}.yield-container>.yield-label:nth-child(1),.yield-container>.yield-label:nth-child(2),.yield-container>.yield-label:nth-child(3){grid-row:1!important}.yield-container>.yield-value:nth-child(4),.yield-container>.yield-value:nth-child(5),.yield-container>.yield-value:nth-child(6){grid-row:2!important}.yield-label{font-size:.68rem!important;font-weight:700!important;color:#6b7280!important;text-transform:uppercase!important;letter-spacing:.3px!important;text-align:center!important;padding:3px 2px!important;border-bottom:1px solid #e5e7eb!important;width:100%!important;min-width:52px!important;box-sizing:border-box!important}.yield-value{font-size:.72rem!important;font-weight:600!important;padding:5px 3px!important;border-radius:3px!important;text-align:center!important;white-space:nowrap!important;overflow:visible!important;width:100%!important;min-width:52px!important;box-sizing:border-box!important;margin-top:3px!important}.yield-value.positive{color:#22c55e!important;background-color:#f7fef9!important;border:1px solid #d1fae5!important}.yield-value.negative{color:#ef4444!important;background-color:#fef7f7!important;border:1px solid #fed7d7!important}.yield-value.neutral{color:#64748b!important;background-color:#fbfcfd!important;border:1px solid #e8edf3!important}@media (max-width: 768px){.yield-container{min-width:140px!important;max-width:160px!important;padding:4px 2px!important;gap:3px 1px!important}.yield-label{font-size:.6rem!important;padding:2px 1px!important;min-width:40px!important}.yield-value{font-size:.65rem!important;padding:3px 1px!important;min-width:40px!important}th:nth-child(6),td:nth-child(6){min-width:140px!important;max-width:160px!important;width:24%!important}.container{max-width:100%;padding:1rem .5rem;margin:0;border-radius:0}.table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}}@media (max-width: 1024px){.container{max-width:98%;padding:1.5rem 1rem}}@media (max-width: 1200px){.container{max-width:99%;padding:1.5rem .5rem}}@media (min-width: 1400px){.container{max-width:1600px}}@media (max-width: 800px){.container{padding:12px 2vw}table,thead,tbody,th,td,tr{font-size:.98rem}h1{font-size:2rem}}@media (max-width: 600px){.container{padding:4px 0}table,thead,tbody,th,td,tr{font-size:.93rem}.tabs button{padding:10px 12px;font-size:1rem}}table th:first-child,table td:first-child{width:40px;text-align:center;font-weight:600;color:#666;background-color:#f8f9fa;border-right:2px solid #e9ecef}table th:first-child{background-color:#e9ecef;color:#495057;font-weight:700}.pagination-controls{display:flex;justify-content:space-between;align-items:center;margin:1.5rem 0;padding:1rem;background:#f8f9fa;border-radius:6px;border:1px solid #e9ecef}.pagination-info{display:flex;align-items:center;gap:1rem;font-size:.9rem;color:#495057}.items-per-page-select{padding:.4rem .8rem;border:1px solid #ced4da;border-radius:4px;background:#fff;font-size:.9rem;cursor:pointer}.pagination-buttons{display:flex;align-items:center;gap:.25rem}.pagination-btn{padding:.5rem .75rem;border:1px solid #dee2e6;background:#fff;color:#495057;border-radius:4px;cursor:pointer;font-size:.9rem;transition:all .2s;min-width:40px;text-align:center}.pagination-btn:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.pagination-btn.active{background:#1a73e8;color:#fff;border-color:#1a73e8;font-weight:600}.pagination-btn:disabled{background:#f8f9fa;color:#adb5bd;border-color:#dee2e6;cursor:not-allowed}.pagination-ellipsis{padding:.5rem .25rem;color:#6c757d;font-size:.9rem}[data-theme=dark] .pagination-controls{background:var(--bg-secondary);border-color:var(--border-color)}[data-theme=dark] .pagination-info{color:var(--text-secondary)}[data-theme=dark] .items-per-page-select,[data-theme=dark] .pagination-btn{background:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .pagination-btn:hover:not(:disabled){background:var(--btn-primary-bg);border-color:var(--btn-primary-bg);color:#fff}[data-theme=dark] .pagination-btn.active{background:var(--btn-primary-bg);color:#fff;border-color:var(--btn-primary-bg)}[data-theme=dark] .pagination-btn:disabled{background:var(--bg-primary);color:var(--text-muted);border-color:var(--border-light)}[data-theme=dark] .pagination-ellipsis{color:var(--text-secondary)}[data-theme=dark] .time-range-btn{background:var(--bg-tertiary)!important;border-color:var(--border-color)!important;color:var(--text-primary)!important;font-weight:500}[data-theme=dark] .time-range-btn:hover{background:var(--btn-secondary-bg)!important;border-color:var(--btn-secondary-hover)!important;color:var(--text-primary)!important}[data-theme=dark] .time-range-btn.active{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#10b981!important;color:#fff!important;font-weight:700!important;box-shadow:0 4px 12px #10b98199!important;transform:translateY(-2px)!important}[data-theme=dark] .time-range-filters .time-range-btn.active{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#10b981!important;color:#fff!important;font-weight:700!important;box-shadow:0 0 0 .2rem #10b9814d!important;transform:translateY(-2px)!important}@media (max-width: 768px){.pagination-controls{flex-direction:column;gap:1rem;align-items:stretch}.pagination-info{flex-direction:column;gap:.5rem;text-align:center}.pagination-buttons{justify-content:center;flex-wrap:wrap}.pagination-btn{padding:.4rem .6rem;font-size:.8rem;min-width:35px}}@media (max-width: 480px){.pagination-btn{padding:.3rem .5rem;font-size:.75rem;min-width:30px}.pagination-ellipsis{display:none}}.desktop-only{display:block}.mobile-only{display:none}@media (max-width: 768px){.desktop-only{display:none}.mobile-only{display:block}}.mobile-accordion{margin:1rem 0}.mobile-accordion-item{background:#fff;border:1px solid #e9ecef;border-radius:8px;margin-bottom:.5rem;overflow:hidden;box-shadow:0 1px 3px #0000001a}.mobile-accordion-header{padding:1rem;cursor:pointer;background:#f8f9fa;border-bottom:1px solid #e9ecef;transition:background-color .2s}.mobile-accordion-header:hover{background:#e9ecef}.mobile-header-content{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.mobile-rank{background:#1a73e8;color:#fff;font-weight:700;font-size:.75rem;padding:.25rem .5rem;border-radius:4px;min-width:35px;text-align:center}.mobile-company-info{flex:1;min-width:0}.mobile-company-name{font-weight:600;font-size:.9rem;color:#212529;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-ticker{font-size:.75rem;color:#6c757d;font-weight:500}.mobile-crypto-held{text-align:right;min-width:80px}.mobile-crypto-amount{font-weight:600;font-size:.9rem;color:#212529;margin-bottom:.125rem}.mobile-crypto-label{font-size:.7rem;color:#6c757d;text-transform:uppercase;font-weight:500}.mobile-expand-icon{color:#6c757d;font-size:.8rem;min-width:20px;text-align:center;transition:transform .2s}.mobile-accordion-content{padding:1rem;background:#fff;border-top:1px solid #f1f3f4}.mobile-data-grid{display:grid;gap:.75rem}.mobile-data-item{display:flex;justify-content:space-between;align-items:flex-start;padding:.5rem 0;border-bottom:1px solid #f1f3f4}.mobile-data-item:last-child{border-bottom:none}.mobile-data-label{font-weight:600;font-size:.8rem;color:#495057;min-width:80px}.mobile-data-value{font-size:.85rem;color:#212529;text-align:right;flex:1;word-break:break-all}.mobile-yield-display{flex:1;text-align:right}.mobile-yield-container{display:flex;flex-direction:column;gap:.25rem}.mobile-yield-row{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.mobile-yield-period{font-size:.7rem;font-weight:600;color:#6c757d;min-width:30px}.mobile-yield-value{font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:3px;text-align:center;min-width:60px}.mobile-yield-value.positive{color:#22c55e;background-color:#f7fef9;border:1px solid #d1fae5}.mobile-yield-value.negative{color:#ef4444;background-color:#fef7f7;border:1px solid #fed7d7}.mobile-yield-value.neutral{color:#64748b;background-color:#fbfcfd;border:1px solid #e8edf3}.mobile-history-item{justify-content:center;border-bottom:none}.mobile-history-button{background-color:#1a73e8;color:#fff;border:none;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-size:.8rem;font-weight:500;transition:background-color .2s}.mobile-history-button:hover{background-color:#155ab6}.mobile-history-accordion{display:none}@media (max-width: 768px){.history-table{display:none!important}.mobile-history-accordion{display:block}}.mobile-history-item{background:#fff;border:1px solid #e9ecef;border-radius:6px;margin-bottom:.75rem;overflow:hidden;box-shadow:0 1px 3px #00000014}.mobile-history-header{padding:.75rem 1rem;cursor:pointer;background:#f8f9fa;border-bottom:1px solid #e9ecef;transition:background-color .2s;display:flex;justify-content:space-between;align-items:center}.mobile-history-header:hover{background:#e9ecef}.mobile-history-date{font-weight:600;font-size:.9rem;color:#212529}.mobile-history-balance{font-weight:600;font-size:.85rem;color:#1a73e8}.mobile-history-expand-icon{color:#6c757d;font-size:.7rem;transition:transform .2s}.mobile-history-content{padding:.75rem 1rem;background:#fff;display:none}.mobile-history-content.expanded{display:block}.mobile-history-details{display:grid;gap:.5rem}.mobile-history-detail-row{display:flex;justify-content:space-between;align-items:center;padding:.4rem 0;border-bottom:1px solid #f1f3f4}.mobile-history-detail-row:last-child{border-bottom:none}.mobile-history-detail-label{font-weight:600;font-size:.75rem;color:#495057;flex:1}.mobile-history-detail-value{font-size:.8rem;color:#212529;text-align:right;flex:1}.mobile-history-detail-value.positive{color:#059669}.mobile-history-detail-value.negative{color:#dc2626}.charts-container{display:grid;gap:2rem;grid-template-columns:1fr}@media (min-width: 1200px){.charts-container{grid-template-columns:1fr 1fr}}.crypto-chart-container{background:var(--card-bg, #fff);border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}[data-theme=dark] .crypto-chart-container{background:var(--bg-secondary)!important;border-color:var(--border-color)!important}[data-theme=dark] .chart-container,[data-theme=dark] .crypto-chart-container,[data-theme=dark] .modal-body .chart-container{background-color:#21262d!important;border-color:#30363d!important;transition:background-color .1s ease,border-color .1s ease!important}[data-theme=light] .chart-container,[data-theme=light] .crypto-chart-container,[data-theme=light] .modal-body .chart-container{background-color:#fff!important;border-color:#dee2e6!important;transition:background-color .1s ease,border-color .1s ease!important}[data-theme=dark] canvas.chartjs-render-monitor{background-color:#21262d!important;transition:background-color .1s ease!important}[data-theme=light] canvas.chartjs-render-monitor{background-color:#fff!important;transition:background-color .1s ease!important}[data-theme=dark] .time-range-btn{background-color:#21262d!important;color:#f0f6fc!important;border-color:#30363d!important}[data-theme=light] .time-range-btn{background-color:#fff!important;color:#212529!important;border-color:#dee2e6!important}[data-theme=dark] .time-range-btn.active{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;border-color:#10b981!important}[data-theme=dark] .crypto-chart-header h3,[data-theme=dark] .crypto-chart-header .current-price,[data-theme=dark] .crypto-chart-header .last-updated{color:#f0f6fc!important}[data-theme=light] .crypto-chart-header h3,[data-theme=light] .crypto-chart-header .current-price,[data-theme=light] .crypto-chart-header .last-updated{color:#212529!important}.chart-container,.crypto-chart-container,canvas{transition:background-color .1s ease!important}canvas.chartjs-render-monitor{transition:background-color .05s ease!important}.crypto-chart-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.crypto-chart-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#111827}.current-price-info{text-align:right}.current-price{font-size:1.5rem;font-weight:700;color:#111827;margin-bottom:.25rem}.last-updated{font-size:.75rem;color:#6b7280}.time-range-filters{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.time-range-btn{padding:.375rem .75rem;border:1px solid var(--border-color, #d1d5db);background:var(--card-bg, #fff);border-radius:6px;font-size:.875rem;cursor:pointer;transition:all .2s;color:var(--text-primary, #374151)}.time-range-btn:hover{background:var(--hover-bg, #f9fafb);border-color:var(--btn-primary-bg, #9ca3af)}.time-range-btn.active{background:linear-gradient(135deg,#10b981,#059669)!important;border-color:#10b981!important;color:#fff!important;font-weight:700!important;box-shadow:0 4px 12px #10b98166!important;transform:translateY(-2px)!important}.chart-wrapper{position:relative;width:100%}@media (max-width: 768px){.crypto-chart-header{flex-direction:column;align-items:flex-start}.current-price-info{text-align:left}.time-range-filters{justify-content:flex-start}.time-range-btn{font-size:.8rem;padding:.3rem .6rem}}.history-button,.mobile-history-button{background-color:var(--btn-primary-bg, #238636);border:1px solid var(--btn-primary-bg, #238636);color:#fff;padding:.375rem .75rem;border-radius:6px;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.history-button:hover,.mobile-history-button:hover{background-color:var(--btn-primary-hover, #2ea043);border-color:var(--btn-primary-hover, #2ea043);transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}[data-theme=dark] .modal-overlay{background-color:#000c}[data-theme=dark] .modal-content{background-color:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}[data-theme=dark] .modal-header{border-bottom:1px solid var(--border-color);background-color:var(--bg-secondary)}[data-theme=dark] .modal-header h3{color:var(--text-primary)}[data-theme=dark] .close-button{color:var(--text-secondary);background:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;width:32px;height:32px}[data-theme=dark] .close-button:hover{color:var(--text-primary);background:var(--btn-secondary-bg)}[data-theme=dark] .modal-body{background-color:var(--bg-secondary);color:var(--text-primary)}[data-theme=dark] .loading-modal-content{background-color:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}[data-theme=dark] .modal-body .history-table table{background-color:var(--bg-secondary);border:1px solid var(--border-color)}[data-theme=dark] .modal-body .history-table th{background-color:var(--bg-tertiary);color:var(--text-primary);border-bottom:2px solid var(--border-color)}[data-theme=dark] .modal-body .history-table td{color:var(--text-primary);border-color:var(--border-color)}[data-theme=dark] .modal-body .history-table tr:hover{background-color:var(--bg-tertiary)}[data-theme=dark] .modal-body .chart-wrapper,[data-theme=dark] .modal-body .crypto-chart-container,[data-theme=dark] .modal-body .balance-history-chart{background-color:var(--bg-secondary)!important;border:1px solid var(--border-color)!important}[data-theme=dark] .modal-body>div,[data-theme=dark] .modal-body .chart-container,[data-theme=dark] .modal-body .chart-area{background-color:var(--bg-secondary)!important}.modal-body .chart-section{background-color:transparent}.modal-body .chart-container{background-color:transparent;padding:1rem;border-radius:8px;border:1px solid var(--border-color, #e0e0e0)}[data-theme=dark] .modal-body .chart-section{background-color:var(--bg-secondary);border-radius:8px}[data-theme=dark] .modal-body .chart-container{background-color:var(--bg-tertiary, #2a2a2a)!important;border:1px solid var(--border-color, #404040)!important;border-radius:8px}[data-theme=dark] .modal-body .chart-section h4{color:var(--text-primary);margin-bottom:1rem}[data-theme=dark] .modal-body .chart-container>div{background-color:var(--bg-tertiary)!important}[data-theme=dark] .modal-body [class*=chartjs]{background-color:var(--bg-tertiary)!important}.modal-body h4,.modal-body .detailed-history-heading,.modal-body .history-content h4,.modal-body .history-content h3{color:var(--text-primary, #333);font-weight:600;margin-bottom:1rem}[data-theme=dark] .modal-body h4,[data-theme=dark] .modal-body .detailed-history-heading,[data-theme=dark] .modal-body .history-content h4,[data-theme=dark] .modal-body .history-content h3{color:var(--text-primary)!important}[data-theme=dark] .history-content>h4:not(.chart-section h4){color:var(--text-primary)!important;margin-top:2rem;margin-bottom:1rem;font-size:1.2rem;font-weight:600}[data-theme=dark] .modal-body h1,[data-theme=dark] .modal-body h2,[data-theme=dark] .modal-body h3,[data-theme=dark] .modal-body h4,[data-theme=dark] .modal-body h5{color:var(--text-primary)!important}.modal{padding-right:0!important}[data-theme=light] .modal-body .chart-container,[data-theme=light] .modal-body canvas,[data-theme=light] .modal .chart-section{background-color:#fff!important}[data-theme=dark] .modal-body .chart-container,[data-theme=dark] .modal-body canvas,[data-theme=dark] .modal .chart-section{background-color:#21262d!important}[data-theme=dark] .modal-header h3,[data-theme=dark] .modal-body h4,[data-theme=dark] .modal-body h3{color:#f0f6fc!important}[data-theme=light] .modal-header h3,[data-theme=light] .modal-body h4,[data-theme=light] .modal-body h3{color:#212529!important}[data-theme=dark] .mobile-accordion-item{background:var(--card-bg);border:1px solid var(--border-color)}[data-theme=dark] .mobile-accordion-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);color:var(--text-primary)}[data-theme=dark] .mobile-accordion-header:hover{background:var(--bg-tertiary)}[data-theme=dark] .mobile-company-name{color:var(--text-primary)!important}[data-theme=dark] .mobile-ticker{color:var(--text-secondary)!important}[data-theme=dark] .mobile-crypto-amount{color:var(--text-primary)!important}[data-theme=dark] .mobile-crypto-label{color:var(--text-secondary)!important}[data-theme=dark] .mobile-expand-icon{color:var(--text-secondary)}[data-theme=dark] .mobile-accordion-content{background:var(--card-bg);border-top:1px solid var(--border-color)}[data-theme=dark] .mobile-data-item{border-bottom:1px solid var(--border-color)}[data-theme=dark] .mobile-data-label{color:var(--text-secondary)!important}[data-theme=dark] .mobile-data-value{color:var(--text-primary)!important}[data-theme=dark] .mobile-history-item{background:var(--card-bg);border:1px solid var(--border-color)}[data-theme=dark] .mobile-history-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color)}[data-theme=dark] .mobile-history-header:hover{background:var(--bg-tertiary)}[data-theme=dark] .mobile-history-date{color:var(--text-primary)!important}[data-theme=dark] .mobile-history-balance{color:var(--btn-primary-bg)!important}[data-theme=dark] .mobile-history-expand-icon{color:var(--text-secondary)}[data-theme=dark] .mobile-history-content{background:var(--card-bg)}[data-theme=dark] .mobile-history-detail-row{border-bottom:1px solid var(--border-color)}[data-theme=dark] .mobile-history-detail-label{color:var(--text-secondary)!important}[data-theme=dark] .mobile-history-detail-value{color:var(--text-primary)!important}[data-theme=dark] .mobile-history-detail-value.positive{color:var(--crypto-green)!important}[data-theme=dark] .mobile-history-detail-value.negative{color:var(--crypto-red)!important}[data-theme=dark] .mobile-accordion,[data-theme=dark] .mobile-history-accordion,[data-theme=dark] .accordion,[data-theme=dark] .history-accordion{background-color:var(--card-bg, #161b22)!important;border-color:var(--border-color, #30363d)!important}[data-theme=dark] .mobile-accordion-button,[data-theme=dark] .mobile-history-accordion-button,[data-theme=dark] .accordion-button,[data-theme=dark] .history-accordion-button{background-color:var(--card-bg, #161b22)!important;color:var(--text-primary, #ffffff)!important;border-bottom-color:var(--border-color, #30363d)!important}[data-theme=dark] .mobile-accordion-button:hover,[data-theme=dark] .mobile-history-accordion-button:hover,[data-theme=dark] .accordion-button:hover,[data-theme=dark] .history-accordion-button:hover{background-color:var(--hover-bg, rgba(255, 255, 255, .1))!important}[data-theme=dark] .mobile-accordion-body,[data-theme=dark] .mobile-history-accordion-body,[data-theme=dark] .accordion-body,[data-theme=dark] .history-accordion-body{background-color:var(--bg-secondary, #161b22)!important;color:var(--text-primary, #ffffff)!important;border-top-color:var(--border-color, #30363d)!important}[data-theme=light] .mobile-accordion,[data-theme=light] .mobile-history-accordion,[data-theme=light] .accordion,[data-theme=light] .history-accordion{background-color:#fff!important;border-color:#dee2e6!important}[data-theme=light] .mobile-accordion-button,[data-theme=light] .mobile-history-accordion-button,[data-theme=light] .accordion-button,[data-theme=light] .history-accordion-button{background-color:#fff!important;color:#212529!important;border-bottom-color:#dee2e6!important}[data-theme=light] .mobile-accordion-button:hover,[data-theme=light] .mobile-history-accordion-button:hover,[data-theme=light] .accordion-button:hover,[data-theme=light] .history-accordion-button:hover{background-color:#0000000d!important}[data-theme=light] .mobile-accordion-body,[data-theme=light] .mobile-history-accordion-body,[data-theme=light] .accordion-body,[data-theme=light] .history-accordion-body{background-color:#f8f9fa!important;color:#212529!important;border-top-color:#dee2e6!important}.data-inconsistency-footer{margin-top:2rem;padding:1rem 0;border-top:1px solid var(--border-color, #dee2e6);background:var(--bg-secondary, #f8f9fa);transition:all .3s ease}.footer-content{max-width:1400px;margin:0 auto;padding:0 .8rem;text-align:center}.footer-content p{margin:0;font-size:.9rem;color:var(--text-secondary, #6c757d);line-height:1.4;opacity:.8}.correction-link{color:var(--accent-color, #f7931a);text-decoration:none;font-weight:500;padding:0 .25rem;border-radius:3px;transition:all .2s ease}.correction-link:hover{color:var(--accent-hover, #e6840a);background:#f7931a1a;text-decoration:underline}[data-theme=dark] .data-inconsistency-footer{border-top-color:var(--border-color, #30363d);background:var(--bg-secondary, #161b22)}[data-theme=dark] .footer-content p{color:var(--text-secondary, #8b949e)}[data-theme=dark] .correction-link{color:#f7931a}[data-theme=dark] .correction-link:hover{color:#ffab40;background:#f7931a26}[data-theme=light] .data-inconsistency-footer{border-top-color:#dee2e6;background:#f8f9fa}[data-theme=light] .footer-content p{color:#6c757d}[data-theme=light] .correction-link{color:#f7931a}[data-theme=light] .correction-link:hover{color:#e6840a;background:#f7931a1a}@media (max-width: 768px){.data-inconsistency-footer{margin-top:1rem;padding:.75rem 0}.footer-content p{font-size:.8rem;padding:0 1rem}}.theme-transition-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:fadeIn .15s ease-out}.theme-transition-overlay.light{background:#ffffffd9;color:#333}.theme-transition-overlay.dark{background:#0d1117d9;color:#f0f6fc}.transition-content{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem;border-radius:12px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.theme-transition-overlay.light .transition-content{background:#ffffffe6;border:1px solid rgba(0,0,0,.1);box-shadow:0 8px 32px #0000001a}.theme-transition-overlay.dark .transition-content{background:#161b22e6;border:1px solid rgba(255,255,255,.1);box-shadow:0 8px 32px #0000004d}.theme-spinner{position:relative;width:60px;height:60px}.spinner-ring{position:absolute;width:100%;height:100%;border:2px solid transparent;border-radius:50%;animation:spin 1.5s linear infinite}.theme-transition-overlay.light .spinner-ring{border-top:2px solid #007bff;border-right:2px solid rgba(0,123,255,.3)}.theme-transition-overlay.dark .spinner-ring{border-top:2px solid #58a6ff;border-right:2px solid rgba(88,166,255,.3)}.spinner-ring:nth-child(2){animation-delay:-.5s;transform:scale(.8)}.spinner-ring:nth-child(3){animation-delay:-1s;transform:scale(.6)}.transition-text{font-size:.875rem;font-weight:500;text-align:center;opacity:.8;animation:pulse 1.5s ease-in-out infinite}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse{0%,to{opacity:.6}50%{opacity:1}}@media (max-width: 480px){.transition-content{padding:1.5rem}.theme-spinner{width:48px;height:48px}.transition-text{font-size:.8rem}}
