/* Network Segment Styles */
.network-option {
  flex: 1 1 calc(50% - 10px); /* Adjusts the button width for two per row */
  text-align: center; /* Centers the text inside the button */
  padding: 10px; /* Adjust padding as needed */
  margin: 5px 0; /* Adds margin for spacing */
  max-width: 150px; /* Optional: Limit button width */
  border: none;
  background: none;
  border-radius: 20px;
  font-size: 12px;    /* Reduced from 13px to 12px */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.network-segment {
  display: flex;
  flex-wrap: wrap; /* Allows the buttons to wrap into a new line */
  background: white;
  padding: 3px;      /* Reduced from 4px to 3px */
  border-radius: 24px;
  justify-content: center; /* Centers the buttons horizontally */
  width: fit-content;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 1.5em;   /* Reduced from 2em to 1.5em */
  gap: 10px;          /* Reduced from 4px to 3px */
}

/* BRZ Styles */
.network-option[data-network="BRZ-POL"].network-selected {
  background-color: #7047eb;
  color: white;
}

.network-option[data-network="BRZ-BASE"].network-selected {
  background-color: #0052ff;
  color: white;
}

.network-option[data-network="BRZ-AVALANCHE"].network-selected {
  background-color: #e84142;
  color: white;
}

/* BTC Styles */
.network-option[data-network="BTC"].network-selected {
  background-color: #f17f17;
  color: white;
}

.invest-avax {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.bg-red-shadow {
  background: radial-gradient(151.81% 98.44% at 93.21% 12.41%, #FFF 0%, #ffcccb 100%);
}

/* Common Investment Box Styles */
.invest-brz, .invest-btc, .invest-avax, .invest-base {
  display: none;
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.invest-avax .detail-btn {
  background: #e84142;
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.invest-avax .detail-btn:hover {
  background: #d13a3b;
}

.invest-base .detail-btn:hover {
  background: #0052ff;
}

/* Network-specific content backgrounds */
.content-brz .stake-brz {
  background: radial-gradient(151.81% 98.44% at 93.21% 12.41%, #FFF 0%, #8ED8C1 100%);
}

.content-btc .stake-brz {
  background: radial-gradient(94.71% 192.58% at 96.86% 4.48%, #FBD5B1 0%, #F7BA81 28.03%, #F17F16 100%)
}

.content-avax .stake-brz {
  background: radial-gradient(151.81% 98.44% at 93.21% 12.41%, #FFF 0%, #e84142 100%);
}

.content-base .stake-brz {
  background: radial-gradient(151.81% 98.44% at 93.21% 12.41%, #FFF 0%, #0052ff 100%);
}