@keyframes glow {
  0% {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #ff00de,
      0 0 35px #ff00de, 0 0 40px #ff00de, 0 0 50px #ff00de, 0 0 75px #ff00de;
  }
  100% {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de,
      0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
  }
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

header {
  background-color: #16213e;
  color: white;
  text-align: center;
  padding: 1rem;
}

.glow {
  animation: glow 1s ease-in-out infinite alternate;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 1rem;
}

.panel {
  background-color: #0f3460;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 1rem;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

#chart-container {
  width: 100%;
  height: 400px;
  background-color: #0f3460;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

#priceChart {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#current-price {
  font-size: 1.5em;
  color: #4caf50;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background-color: rgba(15, 52, 96, 0.8);
  padding: 5px 10px;
  border-radius: 4px;
}

form {
  display: flex;
  flex-direction: column;
}

input,
button {
  margin-top: 0.5rem;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
}

input {
  background-color: #ffffff;
  color: #000000;
}

button {
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s;
}

button:hover {
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
}

.buy {
  background-color: #4caf50;
  color: white;
}

.buy:hover {
  background-color: #45a049;
}

.sell {
  background-color: #f44336;
  color: white;
}

.sell:hover {
  background-color: #da190b;
}

#holdings {
  margin-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 0.5s ease-in;
}

#trade-history {
  max-height: 300px;
  overflow-y: auto;
}

#history-list {
  list-style-type: none;
  padding: 0;
}

#history-list li {
  padding: 5px 0;
  border-bottom: 1px solid #2a5298;
}

/* Grafikni responsive qilish uchun */
@media (max-width: 768px) {
  #chart-container {
    height: 300px;
  }
}
