@import url(https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap);
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
  tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.fixed{
  position: fixed;
}
.absolute{
  position: absolute;
}
.relative{
  position: relative;
}
.inset-0{
  inset: 0px;
}
.mx-auto{
  margin-left: auto;
  margin-right: auto;
}
.my-5{
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.mb-1{
  margin-bottom: 0.25rem;
}
.mb-3{
  margin-bottom: 0.75rem;
}
.mb-4{
  margin-bottom: 1rem;
}
.mb-6{
  margin-bottom: 1.5rem;
}
.ml-2{
  margin-left: 0.5rem;
}
.mt-1{
  margin-top: 0.25rem;
}
.block{
  display: block;
}
.flex{
  display: flex;
}
.table{
  display: table;
}
.table-row{
  display: table-row;
}
.h-3\.5{
  height: 0.875rem;
}
.h-4{
  height: 1rem;
}
.h-full{
  height: 100%;
}
.h-screen{
  height: 100vh;
}
.w-1\/2{
  width: 50%;
}
.w-3\.5{
  width: 0.875rem;
}
.w-4{
  width: 1rem;
}
.w-full{
  width: 100%;
}
.max-w-6xl{
  max-width: 72rem;
}
.max-w-sm{
  max-width: 24rem;
}
.cursor-pointer{
  cursor: pointer;
}
.items-center{
  align-items: center;
}
.justify-center{
  justify-content: center;
}
.justify-between{
  justify-content: space-between;
}
.gap-2{
  gap: 0.5rem;
}
.space-y-2 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.overflow-hidden{
  overflow: hidden;
}
.break-all{
  word-break: break-all;
}
.rounded{
  border-radius: 0.25rem;
}
.rounded-2xl{
  border-radius: 1rem;
}
.rounded-lg{
  border-radius: 0.5rem;
}
.border{
  border-width: 1px;
}
.border-t{
  border-top-width: 1px;
}
.border-none{
  border-style: none;
}
.border-gray-700{
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / 1);
  border-color: rgb(55 65 81 / var(--tw-border-opacity, 1));
}
.border-red-500\/30{
  border-color: rgb(239 68 68 / 0.3);
}
.bg-\[\#0A0C10\]{
  --tw-bg-opacity: 1;
  background-color: rgb(10 12 16 / 1);
  background-color: rgb(10 12 16 / var(--tw-bg-opacity, 1));
}
.bg-\[\#1E1F25\]{
  --tw-bg-opacity: 1;
  background-color: rgb(30 31 37 / 1);
  background-color: rgb(30 31 37 / var(--tw-bg-opacity, 1));
}
.bg-\[\#4D7EFF\]{
  --tw-bg-opacity: 1;
  background-color: rgb(77 126 255 / 1);
  background-color: rgb(77 126 255 / var(--tw-bg-opacity, 1));
}
.bg-black{
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / 1);
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-red-500\/10{
  background-color: rgb(239 68 68 / 0.1);
}
.bg-transparent{
  background-color: transparent;
}
.object-cover{
  object-fit: cover;
}
.p-6{
  padding: 1.5rem;
}
.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-2{
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3{
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.text-center{
  text-align: center;
}
.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium{
  font-weight: 500;
}
.font-semibold{
  font-weight: 600;
}
.text-\[\#4D7EFF\]{
  --tw-text-opacity: 1;
  color: rgb(77 126 255 / 1);
  color: rgb(77 126 255 / var(--tw-text-opacity, 1));
}
.text-gray-300{
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / 1);
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / 1);
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-red-400{
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / 1);
  color: rgb(248 113 113 / var(--tw-text-opacity, 1));
}
.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / 1);
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.placeholder-gray-500::placeholder{
  --tw-placeholder-opacity: 1;
  color: rgb(107 114 128 / 1);
  color: rgb(107 114 128 / var(--tw-placeholder-opacity, 1));
}
.shadow-\[0_0_0px_rgba\(77\2c 126\2c 255\2c 0\)\]{
  --tw-shadow: 0 0 0px rgba(77,126,255,0);
  --tw-shadow-colored: 0 0 0px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.invert{
  --tw-invert: invert(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition{
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200{
  transition-duration: 200ms;
}
.duration-500{
  transition-duration: 500ms;
}
.ease-in-out{
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: #0A0C10;
  font-family: 'Space Grotesk', sans-serif;
}

.hover\:bg-\[\#3B6AE6\]:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(59 106 230 / 1);
  background-color: rgb(59 106 230 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-900:hover{
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / 1);
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.hover\:underline:hover{
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.hover\:shadow-\[0_0_30px_rgba\(77\2c 126\2c 255\2c 0\.5\)\]:hover{
  --tw-shadow: 0 0 30px rgba(77,126,255,0.5);
  --tw-shadow-colored: 0 0 30px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:border-transparent:focus{
  border-color: transparent;
}

.focus\:outline-none:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus{
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-\[\#4D7EFF\]:focus{
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(77 126 255 / var(--tw-ring-opacity, 1));
}

.disabled\:cursor-not-allowed:disabled{
  cursor: not-allowed;
}

.disabled\:opacity-60:disabled{
  opacity: 0.6;
}
.sidebar {
  width: 260px;
  height: 100vh;
  background: #121212;
  color: white;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #333;
  overflow-y: hidden;
}

.logo {
  padding: 0px 0px;  /* Reduced top/bottom padding */
  border-bottom: 0px solid #333;
  display: flex;
  align-items: center;
}

.nav-menu {
  flex: 1 1;
  padding: 0px 0;
  overflow-y: auto;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-section {
  margin-bottom: 24px;
}

.section-title {
  padding: 0 20px;
  margin: 0 0 8px 0;
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 1px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  margin: 4px 0;
  cursor: pointer;
  transition: all 0.2s;
  color: #AAA;
}

.nav-item:hover {
  background: rgba(255, 152, 0, 0.1);
  color: #FF9800;
}

.nav-item.active {
  background: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
  border-left: 3px solid #00F0FF;
}

.nav-item .icon {
  margin-right: 12px;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.nav-item span:last-child {
  font-size: 0.95rem;
}
.markets-container {
  padding: 20px;
  color: white;
  background: #1E1E1E;
  border-radius: 16px;
  border: 1px solid #333;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.markets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.markets-header h1 {
  color: #00F0FF;
  margin: 0;
  font-size: 2rem;
}

.market-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-bar {
  display: flex;
  gap: 10px;
}

.search-bar input {
  background: #2D2D2D;
  border: 1px solid #333;
  padding: 10px 15px;
  border-radius: 8px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  width: 250px;
}

.search-bar input:focus {
  outline: none;
  border-color: #FF9800;
}

.search-btn {
  background: #FF9800;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.search-btn:hover {
  background: #00F0FF;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.market-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab {
  background: #2D2D2D;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: #AAA;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.2s;
}

.tab:hover {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

.tab.active {
  background: #FF9800;
  color: #000;
}

.market-table {
  background: #2D2D2D;
  border-radius: 12px;
  overflow: hidden;
  overflow-x: auto;
  margin-top: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 15px;
  background: #1E1E1E;
  color: #00F0FF;
  font-weight: 500;
  font-size: 0.9rem;
}

td {
  padding: 15px;
  border-bottom: 1px solid #333;
  color: #AAA;
}

tr:hover td {
  background: #1E1E1E;
}

.coin-info {
  display: flex;
  flex-direction: column;
}

.coin-name {
  color: white;
  font-weight: 500;
}

.coin-symbol {
  font-size: 0.8rem;
  color: #888;
}

.positive {
  color: #00F0FF;
  font-weight: 500;
}

.negative {
  color: #FF3B3B;
  font-weight: 500;
}

.trade-btn {
  background: transparent;
  border: 1px solid #FF9800;
  color: #FF9800;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.trade-btn:hover {
  background: #FF9800;
  color: #000;
}

.no-results {
  text-align: center;
  padding: 50px;
  color: #888;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .markets-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .market-controls {
    flex-direction: column;
  }
  
  .search-bar {
    flex-direction: column;
  }
  
  .search-bar input {
    width: 100%;
  }
  
  th, td {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .market-tabs {
    justify-content: center;
  }
}
.trade-container {
  padding: 20px;
  color: white;
  animation: fadeIn 0.5s ease;
}

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

/* Header Styles */
.trade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: #1E1E1E;
  padding: 15px 20px;
  border-radius: 16px;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pair-selector {
  position: relative;
  cursor: pointer;
}

.selected-pair {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 15px;
  background: #2D2D2D;
  border-radius: 12px;
  transition: all 0.3s;
  border: 1px solid #333;
}

.selected-pair:hover {
  border-color: #FF9800;
  box-shadow: 0 0 15px rgba(255, 152, 0, 0.2);
}

.pair-icon {
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00F0FF, #FF9800);
  border-radius: 8px;
  color: #000;
  font-weight: bold;
}

.pair-info {
  display: flex;
  flex-direction: column;
}

.pair-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.pair-price {
  font-size: 0.85rem;
  color: #888;
}

.pair-change {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.pair-change.positive {
  background: rgba(0, 240, 255, 0.1);
  color: #00F0FF;
}

.pair-change.negative {
  background: rgba(255, 59, 59, 0.1);
  color: #FF3B3B;
}

.pair-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #2D2D2D;
  border-radius: 12px;
  margin-top: 5px;
  border: 1px solid #333;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 100;
}

.pair-selector:hover .pair-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pair-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  transition: all 0.2s;
  border-bottom: 1px solid #333;
}

.pair-option:hover {
  background: rgba(255, 152, 0, 0.2);
}

.pair-option.active {
  background: rgba(0, 240, 255, 0.1);
  border-left: 3px solid #00F0FF;
}

.market-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
}

.stat-value {
  font-weight: 600;
  color: white;
}

/* Trading Area */
.trading-area {
  display: grid;
  grid-template-columns: 1fr 350px;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 20px;
}

/* Chart Section */
.chart-section {
  background: #1E1E1E;
  border-radius: 16px;
  border: 1px solid #333;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 500px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #333;
}

.timeframes {
  display: flex;
  gap: 5px;
}

.timeframe-btn {
  background: #2D2D2D;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  color: #AAA;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.timeframe-btn:hover {
  background: #FF9800;
  color: #000;
}

.chart-indicators {
  display: flex;
  gap: 15px;
}

.indicator {
  font-size: 0.85rem;
  color: #00F0FF;
  padding: 4px 8px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 4px;
}

.chart-placeholder {
  flex: 1 1;
  position: relative;
  background: #0A0A0A;
  overflow: hidden;
  padding: 20px 0;
  height: 100%;
}

.candlestick-chart {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 10px 0;
}

.candle-wrapper {
  position: relative;
  width: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Wick styling */
.wick {
  position: absolute;
  width: 2px;
  background: rgba(255, 255, 255, 0.5);
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 0.3s ease-out forwards;
}

.wick.upper {
  background: #888;
}

.wick.lower {
  background: #888;
}

/* Candle body */
.candle-body {
  position: absolute;
  width: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: candleRise 0.3s ease-out forwards;
  transform-origin: center;
}

.candle-body.bullish {
  background: #26a69a;
  border: 1px solid #1e8a7a;
}

.candle-body.bearish {
  background: #ef5350;
  border: 1px solid #d32f2f;
}

@keyframes candleRise {
  from { 
    opacity: 0;
    transform: translateX(-50%) scaleY(0);
  }
  to { 
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

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

.chart-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #333;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 10;
}

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-right: 10px;
}

.price-change {
  font-size: 0.9rem;
  padding: 4px 8px;
  border-radius: 20px;
}

.price-change.positive {
  background: rgba(38, 166, 154, 0.2);
  color: #26a69a;
}

.price-change.negative {
  background: rgba(239, 83, 80, 0.2);
  color: #ef5350;
}

/* Order Section */
.order-section {
  background: #1E1E1E;
  border-radius: 16px;
  border: 1px solid #333;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.order-tabs {
  display: flex;
  border-bottom: 1px solid #333;
}

.order-tab {
  flex: 1 1;
  padding: 15px;
  background: none;
  border: none;
  color: #AAA;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.order-tab::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00F0FF;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.order-tab.active {
  color: white;
}

.order-tab.active::before {
  transform: translateX(0);
}

.order-tab:first-child.active {
  color: #00F0FF;
}

.order-tab:last-child.active {
  color: #FF3B3B;
}

.order-tab:last-child.active::before {
  background: #FF3B3B;
}

.order-form {
  padding: 20px;
}

.balance-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px;
  background: #2D2D2D;
  border-radius: 8px;
}

.balance-amount {
  font-weight: 600;
  color: #00F0FF;
}

.order-type {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.type-btn {
  flex: 1 1;
  padding: 8px;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 6px;
  color: #AAA;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}

.type-btn:hover {
  border-color: #FF9800;
}

.type-btn.active {
  background: #FF9800;
  color: #000;
  border-color: #FF9800;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #AAA;
  font-size: 0.9rem;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
}

.input-wrapper input {
  flex: 1 1;
  padding: 12px;
  background: none;
  border: none;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.input-wrapper input:focus {
  outline: none;
}

.input-suffix {
  padding: 0 12px;
  color: #888;
  font-weight: 500;
}

.percentage-btns {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}

.percentage-btns button {
  flex: 1 1;
  padding: 6px;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 4px;
  color: #AAA;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
}

.percentage-btns button:hover {
  background: #FF9800;
  color: #000;
}

.order-summary {
  margin: 20px 0;
  padding: 15px;
  background: #2D2D2D;
  border-radius: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #AAA;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.total-amount {
  font-weight: 700;
  color: #00F0FF;
}

.order-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Space Grotesk', sans-serif;
  position: relative;
  overflow: hidden;
}

.order-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.order-btn:hover::before {
  width: 300px;
  height: 300px;
}

.order-btn.buy {
  background: linear-gradient(135deg, #26a69a, #1e8a7a);
  color: white;
}

.order-btn.sell {
  background: linear-gradient(135deg, #ef5350, #d32f2f);
  color: white;
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(38, 166, 154, 0.3);
}

.order-btn.sell:hover {
  box-shadow: 0 10px 20px rgba(239, 83, 80, 0.3);
}

/* Bottom Section */
.bottom-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.order-book, .recent-trades, .open-orders {
  background: #1E1E1E;
  border-radius: 16px;
  border: 1px solid #333;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.order-book h3, .recent-trades h3, .open-orders h3 {
  color: #00F0FF;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.order-book-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 0;
  color: #888;
  font-size: 0.85rem;
  border-bottom: 1px solid #333;
}

.order-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 6px 0;
  font-size: 0.9rem;
  position: relative;
}

.order-row.ask .price {
  color: #ef5350;
}

.order-row.bid .price {
  color: #26a69a;
}

.depth-bar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background: rgba(239, 83, 80, 0.1);
  z-index: 0;
}

.bid .depth-bar {
  background: rgba(38, 166, 154, 0.1);
}

.order-row span {
  position: relative;
  z-index: 1;
}

.spread {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: #FF9800;
  font-weight: 600;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
  margin: 10px 0;
}

.trades-list {
  max-height: 300px;
  overflow-y: auto;
}

.trade-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 0;
  border-bottom: 1px solid #333;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.trade-price.buy {
  color: #26a69a;
}

.trade-price.sell {
  color: #ef5350;
}

.trade-time {
  color: #888;
  text-align: right;
}

.no-orders {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.no-orders .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.no-orders p {
  margin: 10px 0;
  color: white;
}

.no-orders .sub-text {
  font-size: 0.85rem;
}

/* Scrollbar Styling */
.trades-list::-webkit-scrollbar {
  width: 4px;
}

.trades-list::-webkit-scrollbar-track {
  background: #2D2D2D;
}

.trades-list::-webkit-scrollbar-thumb {
  background: #FF9800;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 1200px) {
  .trading-area {
    grid-template-columns: 1fr;
  }
  
  .bottom-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .trade-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .market-stats {
    width: 100%;
    justify-content: space-around;
  }
  
  .stat-item {
    align-items: center;
  }
}
.wallet-container {
  padding: 20px;
  color: white;
  animation: fadeIn 0.5s ease;
}

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

/* CONNECT SCREEN */
.wallet-connect-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.wallet-connect-card {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 24px;
  padding: 50px 60px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.wallet-connect-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00F0FF, #FF9800);
}

.wallet-connect-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.wallet-connect-card h2 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.wallet-connect-card p {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 35px;
  line-height: 1.6;
}

.connect-wallet-btn {
  background: linear-gradient(135deg, #00F0FF, #0096a8);
  color: #000;
  border: none;
  padding: 14px 40px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.connect-wallet-btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.connect-wallet-btn:hover::before {
  width: 400px;
  height: 400px;
}

.connect-wallet-btn:hover {
  box-shadow: 0 0 30px rgba(0,240,255,0.5);
  transform: translateY(-2px);
}

.wallet-options-hint {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 25px;
  flex-wrap: wrap;
}

.wallet-chip {
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #AAA;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MODAL */
.wallet-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

.wallet-modal {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 20px;
  padding: 30px;
  width: 420px;
  max-width: 95vw;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.wallet-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00F0FF, #FF9800);
  border-radius: 20px 20px 0 0;
}

.wallet-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.wallet-modal-header h3 {
  color: #00F0FF;
  font-size: 1.2rem;
  margin: 0;
}

.modal-close-btn {
  background: #2D2D2D;
  border: 1px solid #333;
  color: #AAA;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #FF3B3B;
  color: white;
  border-color: #FF3B3B;
}

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

.wallet-option-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.wallet-option-btn:hover {
  border-color: #FF9800;
  background: rgba(255,152,0,0.08);
  transform: translateX(4px);
}

.wallet-option-btn.connecting {
  border-color: #00F0FF;
  background: rgba(0,240,255,0.08);
}

.wallet-option-icon {
  font-size: 1.6rem;
  width: 36px;
  text-align: center;
}

.wallet-option-info { flex: 1 1; }

.wallet-option-name {
  font-weight: 600;
  color: white;
}

.wallet-option-desc {
  font-size: 0.78rem;
  color: #888;
  margin-top: 2px;
}

.wallet-option-arrow {
  color: #555;
  transition: all 0.2s;
}

.wallet-option-btn:hover .wallet-option-arrow {
  color: #FF9800;
  transform: translateX(3px);
}

/* CONNECTED HEADER */
.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  background: #1E1E1E;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid #333;
}

.wallet-header h1 {
  color: #00F0FF;
  margin: 0;
  font-size: 1.8rem;
}

.wallet-address-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 8px 14px;
}

.wallet-address-badge .dot {
  width: 8px;
  height: 8px;
  background: #26a69a;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.wallet-address-badge span {
  color: #AAA;
  font-size: 0.85rem;
  font-family: monospace;
}

.disconnect-btn {
  background: transparent;
  border: 1px solid #FF3B3B;
  color: #FF3B3B;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.disconnect-btn:hover {
  background: #FF3B3B;
  color: white;
}

/* BALANCE CARDS */
.balance-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 25px;
}

.balance-main-card {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 25px;
  position: relative;
  overflow: hidden;
}

.balance-main-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00F0FF, #FF9800);
}

.balance-label {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.balance-change {
  font-size: 0.9rem;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.balance-change.positive {
  background: rgba(38,166,154,0.15);
  color: #26a69a;
}

.balance-change.negative {
  background: rgba(239,83,80,0.15);
  color: #ef5350;
}

.balance-stat-card {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.balance-stat-card .stat-icon { font-size: 1.8rem; margin-bottom: 10px; }
.balance-stat-card .stat-label { color: #888; font-size: 0.82rem; }
.balance-stat-card .stat-value { font-size: 1.5rem; font-weight: 700; }
.balance-stat-card .stat-value.green { color: #26a69a; }
.balance-stat-card .stat-value.red { color: #ef5350; }

/* ACTION BUTTONS */
.wallet-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.action-btn {
  flex: 1 1;
  padding: 13px;
  border-radius: 12px;
  border: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-btn.deposit {
  background: linear-gradient(135deg, #26a69a, #1e8a7a);
  color: white;
}

.action-btn.withdraw {
  background: transparent;
  border: 1px solid #FF9800;
  color: #FF9800;
}

.action-btn.swap {
  background: transparent;
  border: 1px solid #00F0FF;
  color: #00F0FF;
}

.action-btn:hover { transform: translateY(-2px); }
.action-btn.deposit:hover { box-shadow: 0 8px 20px rgba(38,166,154,0.3); }
.action-btn.withdraw:hover { background: rgba(255,152,0,0.1); }
.action-btn.swap:hover { background: rgba(0,240,255,0.1); }

/* HOLDINGS + HISTORY */
.wallet-bottom {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.holdings-section, .history-section {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.section-header h3 { color: #00F0FF; margin: 0; font-size: 1.05rem; }
.section-header span { color: #888; font-size: 0.8rem; }

.holdings-list { display: flex; flex-direction: column; gap: 4px; }

.holding-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
}

.holding-item:hover { background: rgba(255,152,0,0.07); }

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

.holding-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(255,152,0,0.15));
  border: 1px solid #333;
}

.holding-name { font-weight: 600; color: white; font-size: 0.95rem; }
.holding-symbol { color: #888; font-size: 0.78rem; }
.holding-right { text-align: right; }
.holding-value { font-weight: 600; color: white; font-size: 0.95rem; }
.holding-amount { color: #888; font-size: 0.78rem; }
.holding-change { font-size: 0.8rem; font-weight: 500; }
.holding-change.positive { color: #26a69a; }
.holding-change.negative { color: #ef5350; }

/* HISTORY */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 340px;
  overflow-y: auto;
}

.history-list::-webkit-scrollbar { width: 4px; }
.history-list::-webkit-scrollbar-track { background: #2D2D2D; }
.history-list::-webkit-scrollbar-thumb { background: #FF9800; border-radius: 4px; }

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 10px;
  transition: all 0.2s;
}

.history-item:hover { background: #2D2D2D; }

.history-left { display: flex; align-items: center; gap: 10px; }

.history-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.history-icon.received { background: rgba(38,166,154,0.15); }
.history-icon.sent { background: rgba(239,83,80,0.15); }
.history-icon.swap { background: rgba(0,240,255,0.15); }

.history-type { font-weight: 500; color: white; font-size: 0.88rem; }
.history-date { color: #888; font-size: 0.75rem; }
.history-right { text-align: right; }

.history-amount { font-weight: 600; font-size: 0.9rem; }
.history-amount.positive { color: #26a69a; }
.history-amount.negative { color: #ef5350; }
.history-amount.neutral { color: #00F0FF; }

.history-usd { color: #888; font-size: 0.75rem; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .balance-grid { grid-template-columns: 1fr 1fr; }
  .wallet-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .balance-grid { grid-template-columns: 1fr; }
  .wallet-actions { flex-wrap: wrap; }
  .wallet-header { flex-direction: column; gap: 12px; }
}
.pos-container {
  padding: 20px;
  color: white;
  animation: fadeIn 0.5s ease;
}

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

/* TOP BAR */
.pos-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 16px 24px;
  margin-bottom: 20px;
  position: relative;
}

.pos-topbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00F0FF, #FF9800);
  border-radius: 16px 16px 0 0;
}

.pos-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pos-topbar-left h1 {
  color: #00F0FF;
  margin: 0;
  font-size: 1.8rem;
}

.network-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid;
  font-size: 0.82rem;
  font-weight: 500;
}

.network-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* FIAT SELECTOR */
.fiat-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.fiat-selector:hover { border-color: #FF9800; }

.dropdown-arrow { color: #888; font-size: 0.8rem; }

.fiat-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #2D2D2D;
  border: 1px solid #333;
  border-radius: 12px;
  width: 160px;
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.fiat-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #AAA;
  transition: all 0.2s;
  border-bottom: 1px solid #333;
}

.fiat-option:last-child { border-bottom: none; }
.fiat-option:hover { background: rgba(255,152,0,0.1); color: #FF9800; }
.fiat-option.active { color: #00F0FF; background: rgba(0,240,255,0.08); }

/* SUMMARY CARDS */
.pos-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 20px;
}

.summary-card {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.summary-card:hover {
  border-color: #FF9800;
  box-shadow: 0 0 15px rgba(255,152,0,0.1);
}

.summary-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,240,255,0.08);
  border-radius: 12px;
  border: 1px solid #333;
}

.summary-label { color: #888; font-size: 0.8rem; margin-bottom: 6px; }
.summary-value { color: white; font-size: 1.4rem; font-weight: 700; }

/* LAST PAYMENT */
.pos-last-payment {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.pos-last-payment::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FF9800, #00F0FF);
}

.last-payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.last-payment-header h3 { color: #00F0FF; margin: 0; font-size: 1.1rem; }

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.last-payment-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-gap: 20px;
  gap: 20px;
  align-items: center;
}

.last-payment-fiat {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.last-payment-crypto {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-deducted { color: #ef5350; font-size: 1rem; font-weight: 600; }

.crypto-currency {
  background: rgba(0,240,255,0.1);
  color: #00F0FF;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.last-payment-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #2D2D2D;
  border-radius: 12px;
  padding: 16px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}

.detail-label { color: #888; }
.detail-value { color: white; font-weight: 500; }

/* HISTORY */
.pos-history {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.history-header h3 { color: #00F0FF; margin: 0; font-size: 1.1rem; }

.filter-tabs { display: flex; gap: 8px; }

.filter-tab {
  background: #2D2D2D;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  color: #AAA;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.filter-tab:hover { background: rgba(255,152,0,0.15); color: #FF9800; }
.filter-tab.active { background: #FF9800; color: #000; font-weight: 600; }

.history-table { width: 100%; }

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr 1fr 0.8fr;
  padding: 10px 12px;
  background: #2D2D2D;
  border-radius: 10px;
  color: #00F0FF;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr 1fr 0.8fr;
  padding: 12px;
  border-bottom: 1px solid #2D2D2D;
  font-size: 0.88rem;
  transition: all 0.2s;
  align-items: center;
}

.table-row:hover { background: rgba(255,152,0,0.05); border-radius: 8px; }
.table-row:last-child { border-bottom: none; }

.txn-id { color: #00F0FF; font-weight: 500; font-size: 0.82rem; }
.txn-fiat { color: white; font-weight: 600; }
.txn-crypto { color: #AAA; font-size: 0.85rem; }
.txn-time { color: #888; font-size: 0.82rem; }

.no-txns { text-align: center; padding: 40px; color: #888; }

/* RECEIPT BUTTON */
.receipt-btn {
  background: transparent;
  border: 1px solid #00F0FF;
  color: #00F0FF;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}

.receipt-btn:hover {
  background: rgba(0,240,255,0.1);
  box-shadow: 0 0 10px rgba(0,240,255,0.2);
}

.no-receipt { color: #555; font-size: 0.9rem; }

/* FAILED ALERT */
.failed-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(239,83,80,0.1);
  border: 1px solid rgba(239,83,80,0.4);
  border-radius: 12px;
  padding: 14px 20px;
  color: #ef5350;
  font-weight: 500;
  font-size: 0.92rem;
  animation: fadeIn 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .pos-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .last-payment-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pos-summary {
    grid-template-columns: 1fr;
  }
  .history-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .table-header,
  .table-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .table-header span:nth-child(4),
  .table-header span:nth-child(5),
  .table-row span:nth-child(4),
  .table-row span:nth-child(5) {
    display: none;
  }
}
.portfolio-container {
  padding: 20px;
  color: white;
  animation: fadeIn 0.5s ease;
}

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

/* OVERVIEW */
.portfolio-overview {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-gap: 20px;
  gap: 20px;
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.portfolio-overview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00F0FF, #FF9800);
}

.overview-label {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.overview-value {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.overview-pl {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.overview-pl.positive { color: #26a69a; }
.overview-pl.negative { color: #ef5350; }

.timeframe-tabs {
  display: flex;
  gap: 8px;
}

.timeframe-tab {
  background: #2D2D2D;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  color: #AAA;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.timeframe-tab:hover { background: rgba(255,152,0,0.15); color: #FF9800; }
.timeframe-tab.active { background: #FF9800; color: #000; font-weight: 600; }

.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  align-content: center;
}

.overview-stat {
  background: #2D2D2D;
  border-radius: 12px;
  padding: 14px;
}

.stat-label { color: #888; font-size: 0.78rem; margin-bottom: 6px; }
.stat-value { font-size: 1.2rem; font-weight: 700; color: white; }
.stat-value.positive { color: #26a69a; }
.stat-value.red { color: #ef5350; }
.stat-value.cyan { color: #00F0FF; }

/* ALLOCATION */
.portfolio-allocation {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.section-header h3 { color: #00F0FF; margin: 0; font-size: 1.05rem; }
.section-header span { color: #888; font-size: 0.8rem; }

.allocation-bar {
  display: flex;
  height: 12px;
  border-radius: 20px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 16px;
}

.allocation-segment {
  height: 100%;
  border-radius: 4px;
  transition: all 0.3s;
}

.allocation-segment:nth-child(1) { background: #00F0FF; }
.allocation-segment:nth-child(2) { background: #FF9800; }
.allocation-segment:nth-child(3) { background: #26a69a; }
.allocation-segment:nth-child(4) { background: #ef5350; }
.allocation-segment:nth-child(5) { background: #888; }

.allocation-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-symbol { color: white; font-weight: 500; }
.legend-pct { color: #888; }

/* HOLDINGS TABLE */
.portfolio-holdings {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
}

.holdings-table { width: 100%; }

.holdings-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  padding: 10px 12px;
  background: #2D2D2D;
  border-radius: 10px;
  color: #00F0FF;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.holdings-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  padding: 14px 12px;
  border-bottom: 1px solid #2D2D2D;
  align-items: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.holdings-row:hover { background: rgba(255,152,0,0.05); border-radius: 8px; }
.holdings-row:last-child { border-bottom: none; }

.asset-info { display: flex; align-items: center; gap: 12px; }

.asset-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(255,152,0,0.15));
  border: 1px solid #333;
}

.asset-name { color: white; font-weight: 600; font-size: 0.9rem; }
.asset-symbol { color: #888; font-size: 0.75rem; }
.holding-amount { color: #AAA; }
.holding-avg { color: #888; }
.holding-current { color: white; font-weight: 500; }
.holding-value { color: white; font-weight: 600; }
.holding-pl { font-weight: 600; }
.holding-pl.positive { color: #26a69a; }
.holding-pl.negative { color: #ef5350; }

/* BOTTOM SECTION */
.portfolio-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 20px;
  gap: 20px;
}

.trade-history, .portfolio-watchlist {
  background: #1E1E1E;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 22px;
}

.filter-tabs { display: flex; gap: 8px; }

.filter-tab {
  background: #2D2D2D;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  color: #AAA;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  transition: all 0.2s;
}

.filter-tab:hover { background: rgba(255,152,0,0.15); color: #FF9800; }
.filter-tab.active { background: #FF9800; color: #000; font-weight: 600; }

.trade-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 380px;
  overflow-y: auto;
}

.trade-list::-webkit-scrollbar { width: 4px; }
.trade-list::-webkit-scrollbar-track { background: #2D2D2D; }
.trade-list::-webkit-scrollbar-thumb { background: #FF9800; border-radius: 4px; }

.trade-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 10px;
  transition: all 0.2s;
}

.trade-item:hover { background: #2D2D2D; }

.trade-left { display: flex; align-items: center; gap: 10px; flex: 1 1; }

.trade-type {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 40px;
  text-align: center;
}

.trade-type.buy { background: rgba(38,166,154,0.15); color: #26a69a; }
.trade-type.sell { background: rgba(239,83,80,0.15); color: #ef5350; }

.trade-coin { color: white; font-weight: 600; font-size: 0.88rem; }
.trade-date { color: #888; font-size: 0.75rem; }

.trade-right { text-align: right; margin-right: 16px; }
.trade-amount { color: #AAA; font-size: 0.85rem; }
.trade-price { color: #888; font-size: 0.75rem; }

.trade-total { font-weight: 700; font-size: 0.9rem; }
.trade-total.positive { color: #26a69a; }
.trade-total.negative { color: #ef5350; }

/* WATCHLIST */
.watchlist-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 380px;
  overflow-y: auto;
}

.watchlist-list::-webkit-scrollbar { width: 4px; }
.watchlist-list::-webkit-scrollbar-track { background: #2D2D2D; }
.watchlist-list::-webkit-scrollbar-thumb { background: #FF9800; border-radius: 4px; }

.watchlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 10px;
  border-radius: 10px;
  transition: all 0.2s;
}

.watchlist-item:hover { background: #2D2D2D; }

.watchlist-left { display: flex; align-items: center; gap: 10px; flex: 1 1; }

.watchlist-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(135deg, rgba(0,240,255,0.15), rgba(255,152,0,0.15));
  border: 1px solid #333;
}

.watchlist-name { color: white; font-weight: 600; font-size: 0.88rem; }
.watchlist-symbol { color: #888; font-size: 0.75rem; }
.watchlist-right { text-align: right; margin-right: 12px; }
.watchlist-price { color: white; font-weight: 600; font-size: 0.9rem; }
.watchlist-change { font-size: 0.8rem; font-weight: 500; }
.watchlist-change.positive { color: #26a69a; }
.watchlist-change.negative { color: #ef5350; }

.watchlist-remove {
  background: transparent;
  border: 1px solid #333;
  color: #555;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.watchlist-remove:hover { background: #ef5350; color: white; border-color: #ef5350; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .portfolio-overview { grid-template-columns: 1fr; }
  .portfolio-bottom { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .holdings-header,
  .holdings-row { grid-template-columns: 2fr 1fr 1fr; }
  .holdings-header span:nth-child(3),
  .holdings-header span:nth-child(4),
  .holdings-row span:nth-child(3),
  .holdings-row span:nth-child(4) { display: none; }
}
.dashboard-container {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: #0A0A0A;
  color: white;
}

.main-content {
  flex: 1 1;
  overflow-y: auto;
  padding: 20px;
}

.right-sidebar {
  width: 300px;
  background: #121212;
  padding: 20px;
  border-left: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: hidden;
}

.prices-section, .news-section {
  background: #1E1E1E;
  padding: 15px;
  border-radius: 8px;
}

.prices-section h3, .news-section h3 {
  margin: 0 0 15px 0;
  color: #00F0FF;
  font-size: 1rem;
  border-bottom: 1px solid #333;
  padding-bottom: 8px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #333;
}

.price-item:last-child {
  border-bottom: none;
}

.news-item {
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item p {
  margin: 0 0 5px 0;
  font-size: 0.9rem;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #0A0A0A;
  padding: 10px 0 20px 0;
  z-index: 1000;
  width: 100%;
}

.content-header h1 {
  margin: 0;
  font-size: 1.8rem;
  color: white;
}

.connect-btn {
  background: #00F0FF;
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.connect-btn:hover {
  background: #00c4d4;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, rgba(0,240,255,0.1) 0%, rgba(255,152,0,0.1) 100%);
  border-radius: 16px;
  margin-bottom: 40px;
}

.hero-section h1 {
  font-size: 2.5rem;
  color: #FF9800;
  margin-bottom: 15px;
}

.hero-section p {
  font-size: 1.1rem;
  color: #AAA;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: #FF9800;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

/* How It Works */
.how-it-works {
  margin-bottom: 40px;
}

.how-it-works h2 {
  color: #00F0FF;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.how-it-works h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #FF9800;
}

.steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.step {
  flex: 1 1;
  text-align: center;
  padding: 30px 20px;
  background: #1E1E1E;
  border-radius: 12px;
  transition: transform 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.step h3 {
  color: #FF9800;
  margin-bottom: 10px;
}

.step p {
  color: #AAA;
  font-size: 0.9rem;
}

/* Features Grid (Why Choose VPX) */
.features {
  margin-bottom: 40px;
}

.features h2 {
  color: #FF9800;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.features h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #00F0FF;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
}

.feature-card {
  background: #1E1E1E;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  border: 1px solid #00F0FF;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: #FF9800;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feature-card p {
  color: #AAA;
  font-size: 0.9rem;
}

/* Supported Coins (Supported Currencies) */
.supported-coins {
  margin-bottom: 40px;
}

.supported-coins h2 {
  color: #00F0FF;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.supported-coins h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #FF9800;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 15px;
  gap: 15px;
}

.coin-card {
  background: #1E1E1E;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  color: white;
  font-weight: 500;
  transition: all 0.3s;
}

.coin-card:hover {
  background: rgba(255, 152, 0, 0.2);
  color: #FF9800;
}

/* Testimonials (What Our Users Say) */
.testimonials {
  margin-bottom: 40px;
}

.testimonials h2 {
  color: #FF9800;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
  position: relative;
}

.testimonials h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #00F0FF;
}

.testimonial-cards {
  display: flex;
  gap: 20px;
}

.testimonial {
  flex: 1 1;
  background: #1E1E1E;
  padding: 25px;
  border-radius: 12px;
  border-left: 3px solid #FF9800;
}

.testimonial p {
  color: white;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial h4 {
  color: #00F0FF;
  text-align: right;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, rgba(255,152,0,0.1) 0%, rgba(0,240,255,0.1) 100%);
  border-radius: 16px;
  margin-bottom: 40px;
}

.cta-section h2 {
  color: #FF9800;
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: #AAA;
  margin-bottom: 25px;
}

.cta-btn {
  background: #00F0FF;
  color: #000;
  border: none;
  padding: 12px 40px;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cta-btn:hover {
  background: #00c4d4;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transform: scale(1.05);
}

/* Custom Scrollbar */
.main-content::-webkit-scrollbar {
  width: 6px; /* Thin scrollbar */
}

.main-content::-webkit-scrollbar-track {
  background: #1E1E1E; /* Dark track */
  border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb {
  background: #FF9800; /* Orange thumb */
  border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb:hover {
  background: #00F0FF; /* Neon blue on hover */
}


.main-content {
  scrollbar-width: thin;
  scrollbar-color: #FF9800 #1E1E1E;
}
