/* Стили хедеров */
.header1, .header2 {
  width: 100%;
  padding: 15px;
  background-color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.header1 {
  border-bottom: 2px solid #1a1a1a;
  height: 60px;
  padding: 0 20px;
  justify-content: space-between;
}

.header1 .logo {
  width: 120px;
  height: 40px;
  background-color: transparent;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: white;
}

.header1 .nav-buttons {
  display: flex;
  gap: 15px;
  height: 100%;
  align-items: center;
  flex-grow: 1;
}

.header1 .nav-button {
  padding: 8px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
  white-space: nowrap;
  font-size: 14px;
}

.header1 .nav-button:hover {
  background-color: #333;
}

.header1 .user-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header1 .user-action-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
  white-space: nowrap;
}

.header1 .user-action-button {
  padding: 8px 10px;
  border-radius: 4px;
}

.header1 .user-action-button:hover {
  background-color: #333;
}

.header1 .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.header1 .icon:hover {
  background-color: #333;
}

.header2 {
  overflow-x: auto;
  padding: 10px;
  height: auto;
  min-height: unset;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Информация о криптовалюте */
.crypto-info {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.pair-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-icon {
  width: 32px;
  height: 32px;
  background-color: #f90;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #000;
  font-weight: bold;
}

.pair-name {
  font-size: 16px;
  font-weight: bold;
}

.price {
  font-size: 18px;
  font-weight: bold;
}

/* Smaller fonts for header2 */
.header2 .pair-name {
  font-size: 14px;
}

.header2 .price {
  font-size: 16px;
}

/* Статистика в шапке */
.stats-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  color: #999;
  font-weight: normal;
}

.stat-value {
  font-size: 14px;
  font-weight: bold;
}

/* Smaller fonts for header2 stats */
.header2 .stat-label {
  font-size: 10px;
}

.header2 .stat-value {
  font-size: 12px;
}

/* Стили для кнопки Trading AI */
.trading-ai-button {
  background: linear-gradient(135deg, #7b4397 0%, #3b42a8 50%, #2196f3 100%);
  border-radius: 4px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(123, 67, 151, 0.3);
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  overflow: hidden;
}

/* Removing the hover animation */
.trading-ai-button:hover {
  /* No effects on hover */
}

.ai-icon {
  font-weight: bold;
  background: -webkit-linear-gradient(#fff, #c9d6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
}

.ai-text {
  color: white;
  font-weight: bold;
  font-size: 14px;
}

/* Smaller fonts for Trading AI button */
.header2 .ai-icon {
  font-size: 14px;
}

.header2 .ai-text {
  font-size: 18px;
} 