.deposit-container {
  display: flex;
  flex-direction: column;
  background-color: #17181f;
  color: #fff;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  padding: 20px;
}

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

.deposit-header .back-button {
  color: #007bff;
  cursor: pointer;
}

.deposit-header h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
}

.deposit-steps-container {
  background-color: #1d1e22;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  width: 1200px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.deposit-steps-container img {
  content: url('src/assets/deposit.png');
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.3);
}

.deposit-content-container {
  background-color: #1d1e22;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.deposit-content {
  display: flex;
  align-items: flex-start;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 15px;
}

.circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
}

.circle.active {
  background-color: #56a8ff;
}

.icon-check {
  color: white;
  font-size: 12px;
  width: 14px;
  height: 14px;
  color: white;
  display: block;
}

.line {
  width: 2px;
  height: 85px;
  background-color: #444;
  margin-bottom: 10px;
  margin-top: 7px;
}

.line.active {
  background-color: #56a8ff;
}

.line-container .line.first-line {
  margin-top: 0;
}

.line-container .line.last-line {
  margin-bottom: 0;
}

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

.crypto-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.crypto-item:hover {
  background-color: #4281ff;
  color: #fff;
}

.crypto-icon {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  border-radius: 100%;
}

.crypto-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.crypto-list .crypto-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;                             
  min-width: 80px;
}

.crypto-name {
  font-weight: normal;
  font-size: 14px;
  margin-right: 10px;
}

.crypto-balance {
  font-size: 14px;
  color: #999;
  text-align: right;
}

.crypto-description {
  font-size: 11px;
  color: #616773;
  margin-left: 5px;
  margin-left: 0;
}

.crypto-selection {
  width: 100%;
  margin-right: 20px;
}

.crypto-selection h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.crypto-selection .select-box {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #292b31;
  border-radius: 8px;
  border: 1px solid #1f2128;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.crypto-selection .select-box:hover {
  background-color: #2a2c32;
  border-color: #4281ff;
}

.crypto-selection .select-box span {
  font-weight: bold;
}

.crypto-selection .select-box .icon {
  color: #87909f;
  font-size: 12px;
}

.deposit-address-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start; 
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  max-width: 600px; 
  margin: 0 auto;
  box-sizing: border-box; 
  flex-wrap: wrap;
  align-items: center;
  padding-right: 20px;
}

.qr-code {
  width: 250px;
  height: 250px;
  margin-right: 0; 
  margin-bottom: 10px; 
}

.qr-code img {
  width: 150%;
  height: 150%;
  display: block;
}

.crypto-address {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  word-break: break-all;
  flex-wrap: wrap;
  position: relative;
  flex-grow: 0;
  margin-right: 0;
  margin-left: 50px;
  max-width: 250px;
}

.crypto-address .copy-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 50px;
}

.crypto-address .copy-button svg {
  width: 16px;
  height: 16px;
  fill: white; 
}

.deposit-info {
  margin-top: 20px;
  width: 100%;
  flex-grow: 1;
  order: 1
}

.copy-button {
  padding: 10px 20px;
  background-color: #4281ff;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.copy-button:hover {
  background-color: #3069d0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  width: 100%;
}

.info-row span {
  color: #999;
}

.info-row span:last-child {
  color: #fff;
}

.verify-link {
  color: #4281ff;
  display: block;
  margin-bottom: 20px;
  text-align: center;
}


.modal-content {
  padding: 20px;
}

.ant-modal-content {
  background-color: #1c1d21 !important;
  border-radius: 8px;
}

.ant-modal-header {
  background-color: #1c1d21 !important;
  border-bottom: none;
}

.ant-modal-body {
  background-color: #1c1d21 !important;
}

.ant-modal-footer {
  background-color: #1c1d21 !important;
  border-top: none;
}

.ant-modal-mask {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.ant-modal-title {
  color: #fff !important;
  font-size: 18px;
  font-weight: bold;
}

.search-input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  background-color: #2f3037;
  color: #fff;
}

.crypto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.crypto-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.crypto-list li:hover {
  background-color: #4281ff;
  color: #fff;
}

.crypto-list .crypto-info {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.crypto-list .crypto-icon {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  border-radius: 100%;
}

.crypto-list .crypto-name {
  font-size: 16px;
  color: #fff;
}

.crypto-list .crypto-description {
  font-size: 12px;
  color: #888;
  text-align: right;
}

.crypto-list .crypto-balance {
  font-size: 14px;
  color: #999;
  flex-grow: 1;
}

.crypto-list::-webkit-scrollbar {
  width: 8px;
}

.crypto-list::-webkit-scrollbar-track {
  background: #2d2f36;
}

.crypto-list::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.crypto-list::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.faq-links {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.faq-links p {
  color: #007bff;
  text-decoration: none;
}

.faq-questions h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.faq-questions p {
  margin-bottom: 10px;
}

.faq-questions a {
  color: #007bff;
  text-decoration: none;
}

.faq-questions img {
  content: url('src/assets/depositfaq.png');
  height: auto;
  right: 0;
  filter: brightness(1.3);
}

.selected-network {
  color: #616773;
  font-weight: normal;
}

.network-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 250px;
  overflow-y: auto;
}

.network-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.network-item:hover {
  background-color: #4281ff;
  color: #fff;
}

.network-details {
  display: flex;
  flex-direction: column;
}

.network-name {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.network-description {
  font-size: 12px;
  color: #888;
}

.network-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.network-info-time {
  font-size: 12px;
  color: #888;
  display: flex;
  justify-content: flex-end;
}

.network-info-time span {
  color: #fff;
  margin-left: 5px;
}

.network-info-confirm {
  font-size: 12px;
  color: #888;
  display: flex;
  justify-content: flex-end;
}

.network-info-confirm span {
  color: #fff;
  margin-left: 5px;
}

.network-list::-webkit-scrollbar {
  width: 8px;
}

.network-list::-webkit-scrollbar-track {
  background: #2d2f36;
}

.network-list::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

.network-list::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

@media (max-width: 768px) {
  .deposit-steps-container {
    width: 100%;
    height: auto;
  }

  .deposit-steps-container img {
    content: url('src/assets/deposit_mobile.png');
    width: 100%;
    height: auto;
    object-fit: fill;
  }

  .faq-questions img {
    content: url('src/assets/depositfaq_mobile.png');
    display: block;
    max-width: 100%;
    height: 50%;
  }

  .deposit-content-container {
    width: 100%;
    height: auto;
  }

  .deposit-content {
    flex-direction: column;
  }

  .crypto-selection {
    margin-bottom: 20px;
  }

  .circle, .line {
    display: none;
  }

  .crypto-address {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-break: break-all;
    flex-wrap: wrap;
    position: relative;
    flex-grow: 0;
    margin-right: 0;
    margin-left: 100px;
    margin-top: -40px;
    max-width: 250px;
  }
  
  .crypto-address .copy-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .crypto-address .copy-button svg {
    width: 16px;
    height: 16px;
    fill: white; 
  }
}
