/* Стили для футера */
.footer {
  display: flex;
  gap: 3px;
  min-height: 200px;
  height: 450px; /* Decreased from 600px to 450px */
}

/* Блок ордеров в футере */
.block4 {
  flex: 7;
  background-color: #000;
  display: flex;
  flex-direction: column;
  padding: 0;
  font-size: 1rem;
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
}

.orders-tab-container {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #222;
}

.orders-tabs {
  display: flex;
}

.orders-tab {
  padding: 15px;
  cursor: pointer;
  position: relative;
  color: #999;
  font-weight: bold;
  font-size: 1rem;
}

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

.orders-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f90;
}

.hide-pairs {
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-size: 0.9rem;
  color: #999;
}

.hide-pairs input {
  margin-right: 8px;
}

.order-type-filter-container {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #222;
  font-size: 0.9rem;
}

.order-type-filters {
  display: flex;
}

.order-type-filter {
  color: #999;
  font-weight: bold;
  margin-right: 20px;
  cursor: pointer;
  font-size: 1rem;
}

.order-type-filter.active {
  color: white;
}

.view-all-link {
  color: #f90;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
}

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

.orders-table-header {
  border-bottom: 1px solid #222;
}

.orders-table-header th {
  padding: 10px 15px;
  text-align: left;
  font-size: 0.9rem;
  color: #999;
  font-weight: normal;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px 0;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  background-color: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.empty-state-icon::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 50px;
  background-color: #333;
  border-radius: 5px;
}

.empty-state-icon::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #444;
  border-radius: 50%;
  top: 10px;
  right: 15px;
}

.empty-state-text {
  font-size: 0.9rem;
  color: #999;
}

.orders-footer {
  padding: 15px;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #999;
  text-align: left;
}

.orders-footer a {
  color: #f90;
  text-decoration: none;
}

/* Блок с активами в футере */
.block5 {
  flex: 2;
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  font-size: 1rem;
  border-radius: 2px;
  height: 450px; /* Decreased from 600px to 450px */
  overflow: auto;
}

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

.assets-title {
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.assets-subtitle {
  font-size: 0.9rem;
  color: #999;
  margin-left: 8px;
}

.assets-menu-button {
  font-size: 1.2rem;
  cursor: pointer;
}

.assets-list {
  padding: 15px;
}

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

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

.asset-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-weight: bold;
  font-size: 1.2rem;
}

.btc-icon {
  background-color: #f90;
  color: #000;
}

.usdt-icon {
  background-color: #6eda89;
  color: #000;
}

.asset-name {
  font-weight: bold;
  font-size: 1rem;
}

.asset-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.balance-amount {
  font-weight: bold;
  font-size: 1rem;
}

.balance-value {
  color: #999;
  font-size: 0.9rem;
}

.assets-actions {
  display: flex;
  gap: 10px;
  padding: 0 15px 15px 15px;
}

.assets-action-button {
  flex: 1;
  padding: 12px;
  background-color: #1a1a1a;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

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