body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  height: 100vh;
  background-color: #f4f4f4;
  overflow-x: hidden;
}

.sidebar {
  width: 210px;
  background-color: rgb(244, 244, 244);
  color: black;
  padding: 12px;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgb(218, 218, 218);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  overflow-y: auto;
}

.logo {
  font-size: 1.2em;
  font-weight: 700;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;

  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: black;
}

.logo-img {
  width: 28px;
  height: 28px;
  position: relative;
  left: 4px;
  bottom: 2px;
}

.logo-img2 {
  width: 28px;
  height: 27px;
  position: relative;
  left: 10px;
}

#network,
#search-bar,
#network-list {
  transition: all 0.3s ease;
}

#network.hidden,
#search-bar.hidden,
#network-list.hidden {
  display: none;
}

#toggle-icon {
  font-size: 20px;
  margin-left: 10px;
}

.logos-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

#toggle-icon {
  transition: transform 0.3s ease;
}

#toggle-icon.bx-chevron-up {
  transform: rotate(180deg);
}

.logo-text {
  font-size: 1.4em;
}

.logo i {
  font-size: 0.9em;
  color: #333;
}

h4 {
  font-size: 13px;
  padding-left: 2px;
  font-weight: normal;
  color: gray;
  margin-bottom: 0px;
}

.search-bar {
  display: flex;
  margin-top: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.search-bar i {
  font-size: 1.2em;
  padding-left: 2px;
  color: gray;
  margin-top: 2px;
}

.search-input {
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  border: none;
  background-color: rgb(244, 244, 244);
  color: gray;
  font-size: 1em;
  outline: none;
}

.search-input:focus {
  outline: none;
  box-shadow: none;
  color: black;
}

.network-list {
  flex-grow: 1;
  overflow-y: auto;
}

.network-item {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 10px 0;
  cursor: pointer;
  padding: 5px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: background-color 0.3s;
  color: black;
}

.network-item:hover {
  background-color: #e4e4e4;
}

.network-item.hidden {
  display: none;
}

#network-item-active {
  background-color: rgb(235, 235, 235);
}
.network-icon {
  width: 29px;
  height: 28px;
}

.network-name {
  font-size: 1em;
}

.new-badge {
  font-size: 0.7em;
  background: linear-gradient(to right, #245bdb, #f3449e);
  color: white;
  font-style: italic;
  border-radius: 15px;
  padding: 3px 5px;
  margin-left: 3px;
  font-weight: bold;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1000px;
  height: 40px;
  padding: 5px 5px 5px 0;
  border-bottom: 1px solid rgb(218, 218, 218);
  font-weight: 500;
  z-index: 100;
  position: fixed;
  background-color: #f4f4f4;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.navbar-left i {
  font-size: 1em;
  color: black;
  margin-right: 10px;
}

.navbar-links span {
  margin: 0 15px;
  cursor: pointer;
  font-size: 1em;
  padding: 2px 7px;
  transition: background-color 0.3s ease;
}

.navbar-links span:hover {
  background-color: #dbdbdb;
  border-radius: 5px;
  padding: 7px 15px;
}

.connect-wallet {
  padding: 12px 22px;
  background-color: rgb(231, 231, 231);
  color: black;
  border: none;
  border-radius: 10px;
  margin-right: 40px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.connect-wallet:hover {
  background-color: rgb(217, 217, 217);
}

.main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-left: 250px;
  overflow-x: hidden;
}

.trade-section {
  padding: 70px 170px 0 170px;
  border-radius: 10px;

  width: 450px;
}

.trade-container h1 {
  margin-bottom: 0;
  font-size: 48px;
}

.trade-info p {
  font-size: 16px;
  color: rgb(5, 145, 220);
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 0px;
}
#exchange-rate-link {
  font-size: 16px;
  color: rgb(5, 145, 220);
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 0px;
  text-decoration: none;
}
.trade-info p i {
  font-size: 20px;
  position: relative;
  top: 3px;
}

#sell-row input {
  border: none;
}

#input-row {
  margin-top: 8px;
}

#input-row:focus {
  border: none;
  outline: none;
}
.option-btn {
  background-color: #f4f4f4;
  border: none;
  padding: 7px 8px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.option-btn:hover {
  background-color: #e4e4e4;
}

.option-btn.active {
  background-color: #e4e4e4;
  color: black;
}

.cross-chain {
  background-color: transparent;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: background-color 0.3s ease;
  border: 1px solid transparent;
}

.gradient-text {
  background-image: linear-gradient(to right, #3d98f3, #f93f9f);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
}

.cross-chain i {
  font-size: 18px;
  font-weight: bold;
  padding-right: 4px;
}

.cross-chain:hover {
  background-color: #e4e4e4;
}

.settings {
  background-color: #e4e4e4;
  border-radius: 35px;

  align-items: center;
  padding: 10px;
  position: relative;
  left: 75px;
}

.settings i {
  font-size: 20px;
}

.trade-form {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 15px;
  width: 100%;
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgb(223, 223, 223);
}

.input-container label {
  font-size: 16px;
  color: gray;
  margin-bottom: 0px;
}

.input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-row input {
  font-size: 38px;
  margin-top: 0px;
  border: none;
  border-radius: 5px;
  width: 70%;
  color: gray;
  font-weight: 500;

  text-align: left;
}

.input-row input:focus {
  border: none;
  outline: none;
  color: black;
}

/* General Styling for Currency Selector */
.currency-selector {
  display: flex;
  align-items: center;
  padding: 10px;
  border: none;
  border-radius: 15px;
  background-color: #e6e6e6;
  cursor: pointer;
  width: 100px;
  margin: 10px 0;
}

.currency-selector img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.currency-selector span {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  flex-grow: 1;
}

.currency-selector select {
  display: none;
}

.currency-selector:hover {
  background-color: #dedede;
}

/* Modal Styling */
.currency-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.currency-modal-content {
  background-color: #fff;
  border-radius: 8px;
  width: 70%;
  max-width: 500px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.currency-modal-content h2 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.currency-modal-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.currency-modal .search {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.currency-modal .search input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-left: 5px;
  font-size: 14px;
}

.currency-modal .buttons-Display {
  display: flex;
  flex-wrap: wrap;
}

.currency-modal .buttons-Display button {
  display: flex;
  align-items: center;
  padding: 5px;
  border: none;
  border-radius: 25px;
  background-color: #fff;
  cursor: pointer;
  width: 100px;
  text-align: center;
}

.currency-modal .buttons-Display button img {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}

.currency-modal .buttons-Display button span {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  position: relative;
  top: 1px;
}

.currency-modal .token-list {
  display: flex;
  flex-direction: column;
}

.currency-modal .token-item {
  display: flex;
  align-items: center;
  padding: 6px;
  margin-bottom: 5px;
  background-color: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
}

.currency-modal .token-item img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.currency-modal .token-item h3 {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.currency-modal .token-item p {
  font-size: 12px;
  color: #666;
}

.currency-modal .token-item:hover {
  background-color: #eaeaea;
}

/* Close Button Styling */
.currency-modal-content .closes {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 16px;
  cursor: pointer;
  color: #333;
}

.currency-modal-content .closes:hover {
  color: red;
}

/* Styling for the Modal when open */
.currency-modal.show {
  display: flex;
}

.wallet-icon {
  display: flex;
  align-items: center;
  padding-top: 15px;
  gap: 5px;
}

.wallet-icon i {
  font-size: 25px;
  color: rgb(0, 106, 255);
}

.wallet-icon span {
  font-size: 17px;
  color: rgb(0, 106, 255);
  font-weight: bold;
}

.shuffle-icon {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.shuffle-icon i {
  font-size: 26px;
  background-color: rgb(222, 222, 222);
  border-radius: 20px;
  color: blue;
  cursor: pointer;
}

#buy-section {
  margin-top: 0px;
}

#buy-currency {
  background-color: #ebebeb;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 20px;
}

.input-row label {
  font-size: 20px;
  font-weight: 600;
}

.row {
  font-weight: 10px;
}

#buy-value {
  font-size: 24px;
  padding-top: 5px;
  position: relative;
  right: 15px;
}

.wallet-icon-buy {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wallet-icon-buy i {
  font-size: 25px;
  color: gray;
}

.wallet-icon-buy span {
  font-size: 15px;
  color: gray;
  font-weight: bold;
}

.shuffle-icon {
  display: flex;
  justify-content: center;
  margin: 0px;
}

.shuffle-icon i {
  font-size: 24px;
  color: #1a73e8;
  cursor: pointer;
}

select {
  padding: 10px;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.swap-btn {
  padding: 16px 20px;
  background-color: #2882f8;
  width: 470px;
  margin-top: 10px;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.swap-btn:hover {
  background-color: #1668c2;
}

.banner-section {
  position: relative;
  margin-top: 20px;
  padding-bottom: 100px;
}

.banner-image {
  width: 470px;
  border-radius: 10px;
}

.close-icon {
  position: absolute;
  top: 1px;
  right: -20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;

  border-radius: 50%;
  padding: 5px;
}

.close-icon:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.limit-section {
  padding: 2px 170px 0px 170px;
  border-radius: 10px;

  width: 450px;
}

#img-1 {
  width: 22px;
  height: 22px;
  position: relative;
  top: 7px;
}

.eth-options {
  display: flex;
  gap: 15px;
}

.eth-option {
  margin-top: 15px;
  padding: 7px 10px;
  background-color: rgb(223, 223, 223);
  color: black;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
}

.eth-option:hover {
  background-color: #0078ff;
  color: white;
}
.eth-option.active {
  background-color: #0078ff;
}

.expiry-container {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

.expiry-label {
  font-size: 16px;
  font-weight: 600;
  margin-right: 20px;
}

.expiry-label i {
  margin-right: 5px;
  font-size: 20px;
  position: relative;
  top: 4px;
}

.expiry-options {
  display: flex;
  gap: 4px;
  justify-content: end;
  margin-left: 80px;
}

.expiry-option {
  padding: 6px 12px;
  background-color: #e0e0e0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.expiry-option.active {
  background-color: #0078ff;
  color: white;
}

.expiry-option:hover {
  background-color: #0078ff;
  color: white;
}

.warning-container {
  padding: 10px;
  border-radius: 8px;
  background-color: white;
  position: relative;
  top: 15px;
  border: 1px solid rgb(193, 193, 193);
  width: 450px;
  margin: 0 auto;
}

.warning-message {
  display: flex;

  align-items: center;
  font-size: 15px;
}

.warning-message i {
  color: gray;
  font-size: 24px;
  margin-right: 10px;
  margin-bottom: 30px;
}

.warning-message span {
  color: #6c6c6c;
}

.learn-more {
  color: rgb(220, 106, 125);
  text-decoration: none;
}

.learn-more:hover {
  text-decoration: underline;
}

.powered-by {
  display: flex;
  align-items: center;
  margin-left: 170px;
  font-size: 16px;
  color: black;
  margin-top: 40px;
  margin-bottom: 100px;
}

.orbs-icon {
  width: 30px;
  height: 30px;
  margin-left: 10px;
}

.dca-section {
  padding: 5px 170px 10px 170px;
  border-radius: 10px;
  width: 450px;
}

#every-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.label-container2 {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  padding-top: 20px;
  padding-right: 380px;
}

#every-label {
  font-size: 17px;
  font-weight: 500;
  margin-right: 5px;
}

#circle {
  font-size: 18px;
  color: black;
  position: relative;
  top: 2px;
}

.input-container2 {
  display: flex;
  gap: 10px;
  width: 100%;
}

.input-field {
  flex: 1;
  padding: 6px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #8c8a8a;
  width: 50%;
}

.input-field2 {
  background-color: rgb(244, 244, 244);
}

.select-field {
  flex: 1;
  padding: 6px;
  font-size: 16px;
  border-radius: 10px;
  position: relative;
  left: 17px;
  border: 1px solid #ddd;
  background-color: #fff;
  width: 50%;
}

.error-message.visible {
  display: block;
}

.input-field.error {
  border: 1px solid red;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: none;
  font-weight: bold;
}

.input-container3 {
  position: relative;
  display: flex;
  align-items: center;
  background-color: white;
  border: none;
  border-radius: 10px;
  width: 470px;
  left: 10px;
  padding-top: 4px 10px;
}

.input-field3 {
  width: 100px;
  padding-right: 40px;
  font-size: 16px;
  text-align: left;
  border: none;
  padding-left: 10px;
}

.unit-text {
  position: absolute;
  right: 10px;
  font-size: 18px;
  color: #333;
  pointer-events: none;
}

.cross-chain-section {
  padding: 2px 170px 150px 170px;
  border-radius: 10px;

  width: 450px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #ececec;
  color: #333;
  width: 400px;
  padding: 0 45px 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 25px;
  background-color: rgb(211, 211, 211);
  border-radius: 50%;
  padding: 1px 10px 2px 10px;
  cursor: pointer;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 2px;
}

p {
  font-size: 14px;
  margin-bottom: 15px;
  margin-top: 0;
  color: #555;
}

.body-items {
  background-color: white;
  width: 100%;

  padding: 15px 1px 20px 15px;
  border-radius: 10px;
}

.setting-item {
  margin-bottom: 20px;
}

.setting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  margin-bottom: 5px;
}

.setting-header span {
  font-weight: 500;
}

hr {
  border: 1px solid rgb(228, 228, 228);
  width: 95%;
  margin-bottom: 15px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: -2px;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  margin-right: 4px;
  transition: 0.4s;
  border-radius: 50px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  border-radius: 50%;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #bababa;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

#slipageHead {
  font-weight: 500;
}
#slipageHead i {
  font-size: 14px;
  margin-left: 2px;
  margin-top: 4px;
}

.slippage-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  margin-top: 10px;
  border: 1px solid rgb(225, 225, 225);
  padding: 0px 6px 0px 6px;
  gap: 5px;
  border-radius: 10px;
  margin-right: 20px;
}

.slippage-btn {
  padding: 0px 5px;
  font-size: 14px;
  border: none;
  background-color: #f7f7f7;
  cursor: pointer;
  border-radius: 5px;
  width: 100px;
  transition: background-color 0.3s ease;
}

.slippage-btn:hover {
  background-color: #e7e7e7;
}

.slippage-btn.active {
  background-color: rgb(215, 215, 215);
  color: black;
}

#slippage {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;

  height: 100%;
  text-align: center;
  background-color: rgb(215, 215, 215);
  color: black;
  border: none;
}

#modal {
  display: none;
}

.trade-modal-container {
  display: none;
  position: absolute;
  top: 53px;
  left: 260px;
  width: 340px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  border-radius: 8px;
  padding: 10px;
}

.trade-modal-container.show {
  display: block;
}

.trade-modal {
  padding: 5px;
  width: 100%;
}

.trade-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}
.options-btn {
  display: block;
  padding: 10px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.options-btn:hover {
  background-color: #f1f1f1;
}

.options-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.options-description {
  font-size: 14px;
  color: #888;
  margin-top: 4px;
}

.sushi-modal-container {
  display: none;
  position: absolute;
  top: 50px;
  left: 0;
  width: 190px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(8, 7, 7, 0.1);
  z-index: 9999;
  border-radius: 12px;
  padding: 15px;
}

.sushi-modal-container.show {
  display: block;
}

.sushi-modal {
  padding: 10px;
  width: 100%;
}

.sushi-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.sushi-heading {
  margin-bottom: 20px;
}

.sushi-options-btn {
  display: block;
  padding: 8px 15px;
  padding-left: 0px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  margin-top: 6px;
  cursor: pointer;
  border-radius: 8px;
  margin-right: 10px;
}

.sushi-options-btn:hover {
  background-color: #f1f1f1;
  padding: 10px;
  margin-right: 10px;
}

.sushi-options-title {
  font-weight: bold;
  font-size: 18px;
  color: #333;
  margin-bottom: 4px;
}

.sushi-options-description {
  font-size: 15px;
  color: #5a5a5a;
  margin-top: 20px;
}

.icon-container {
  display: flex;
  gap: 20px;
  padding: 0;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.icon-container i {
  font-size: 30px;
  color: #555;
  cursor: pointer;
}

.icon-container i:hover {
  background-color: rgb(219, 219, 219);
  border-radius: 40%;
}

#exp {
  display: none;
}

/* Modal styling */
.modal-connect {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  z-index: 1000;

  justify-content: center;
  align-items: center;
}

/* Modal content */
.modal-connect-content {
  background-color: #fff;
  color: #333;
  width: 360px;
  padding: 10px 20px 10px 20px;
  height: 480px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Close button */
.close-modal-connect {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 25px;
  background-color: rgb(211, 211, 211);
  border-radius: 50%;
  padding: 1px 10px 0 10px;
  cursor: pointer;
}

#question {
  background-color: rgb(232, 232, 232);
  border-radius: 50%;
  padding: 2px;
}
/* Title */
h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}
h2 span {
  text-align: center;
  padding-left: 75px;
}

/* Wallet section styling */
.wallet-section {
  margin-bottom: 10px;
}

.wallet-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #7b7b7b;
  margin-bottom: 4px;
  padding-left: 6px;
}

/* Wallet list styling */
.wallet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wallet-list li {
  display: flex;
  align-items: center;
  padding: 5px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.wallet-list li:hover {
  background-color: #f0f0f0;
}

.wallet-list li i {
  font-size: 25px;
  margin-right: 10px;
}

#mask {
  color: orangered;
}
#coin {
  color: rgb(12, 12, 121);
}
#trust {
  color: rgb(51, 51, 211);
}
#wallet {
  color: rgb(12, 12, 121);
}
#connect {
  color: rgb(51, 51, 211);
}
#argent {
  color: orangered;
}

/* Connect Wallet Button */
#connect-modal-btn {
  background-color: #2882f8;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

#connect-modal-btn:hover {
  background-color: #1668c2;
}

/* Terms Section */
.terms {
  font-size: 14px;
  margin-bottom: 3px;
  width: 100%;
}
.terms p {
  text-align: center;
}

.terms a {
  color: #2882f8;
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* Cookie Banner Styling */
.cookie-banner {
  position: fixed;
  display: flex;
  bottom: 20px;
  left: 70%;
  right: 0;
  transform: translateX(-50%);
  background-color: white; /* Semi-transparent black background */
  color: black;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-align: justify;
}

.cookie-banner p {
  font-size: 14px;
  margin-bottom: 15px;
  max-width: 100%;
  line-height: 1.5;
  color: black;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cookie-btn {
  background-color: #2079ec;
  color: white;
  padding: 10px 8px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.cookie-btn:hover {
  background-color: #1668c2;
}

#manage-cookies,
#reject-cookies {
  color: black;
  background-color: rgb(212, 211, 211);
}

#manage-cookies:hover {
  background-color: #1668c2;
  color: white;
}

#reject-cookies:hover {
  background-color: #1668c2;
  color: white;
}

.cookie-btn:focus {
  outline: none;
}

/* Links in cookie message */
.cookie-banner a {
  color: #246ed0;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: none;
  font-weight: bold;
}

/* Slippage Info Modal (Initially Hidden) */
#slippage-info-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
  z-index: 1000; /* Ensure it's above other content */
  justify-content: center;
  align-items: center;
}

#slippage-info-modal .modal-content {
  background-color: white;
  color: black;
  padding: 15px;
  border-radius: 10px;
  width: 300px;
  position: relative;
  right: 150px;
  top: 150px;
  text-align: justify;
}

#slippage-info-modal .modal-content a {
  color: rgb(31, 152, 227);
}
.close-slippage-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

#slipageHead i {
  cursor: pointer;
}

#content-wrapper {
  transition: filter 0.5s ease;
}

/* When cookie banner is visible, the content is blurred */
#content-wrapper.blurred {
  filter: blur(5px);
}

.blurred {
  filter: blur(5px);
  pointer-events: none; /* Disable interaction with blurred content */
}

.trade-information {
  margin-top: 5px;
  padding: 0px;
}
.info-text {
  display: none;
  font-size: 15px;
  color: #282828;
}
#amount1 {
  font-size: 16px;
  font-weight: bold;
  text-align: right !important;
  margin-left: 300px;
}
#amount2 {
  font-size: 16px;
  font-weight: bold;
  text-align: right !important;
  margin-left: 240px;
}
#amount3 {
  font-size: 16px;
  font-weight: bold;
  text-align: right !important;
  margin-left: 242px;
}
#amount4 {
  font-size: 16px;
  font-weight: bold;
  text-align: right !important;
  margin-left: 370px;
}
#amount5 {
  font-size: 16px;
  font-weight: bold;
  text-align: right !important;
  margin-left: 130px;
}
#amount6 {
  font-size: 16px;
  font-weight: bold;
  text-align: right !important;
  margin-left: 225px;
}

.navbar-mobile {
  display: none;
}

/* Styles for the unique currency modal */
.currency-modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black background with transparency */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.currency-modal-content {
  background-color: rgb(243, 243, 243);
  padding: 20px;
  width: 45%;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}
.currency-modal-content h2 {
  font-size: 22px;
  margin-bottom: 1px;
}
.currency-modal-content p {
  font-size: 15px;
  margin-top: 0;
}

.search {
  padding: 10px;
  width: 90%;
  border-radius: 10px;
  border: none;
  background-color: rgb(231, 231, 231);
}

#search-token {
  background-color: rgb(231, 231, 231);
  border: none;
  font-size: 17px;
}

#search-token input:focus {
  border: none;
}

.buttons-Display {
  width: 100%;
  margin-top: 20px;
  height: 100%;
  gap: 10;
  height: 10px;
  margin-bottom: 60px;
}
#btn {
  border-radius: 10px;
  border: none;
  padding: 5px 10px 5px 10px;
  background-color: rgb(215, 215, 215);
  margin-right: 10px;
  margin-bottom: 5px;
}

#btn #text {
  position: relative;
  bottom: 8px;
  font-size: 16px;
}

#Pic {
  width: 30px;
  height: 30px;
  padding-right: 4px;
}

#trend {
  position: relative;
  top: 40px;
  font-size: 16px;
  color: black;
  margin-bottom: 50px;
}
.closes {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  padding: 1px 5px 1px 5px;
  cursor: pointer;
  background-color: rgb(207, 207, 207);
  border-radius: 50%;
}

.token-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: white;
  border-radius: 15px;
  padding: 10px;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 10px;
}

.token-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.token-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.token-info {
  flex: 1;
}

.token-info h3 {
  margin: 0;
  font-size: 16px;
}

.token-info p {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.info-icon {
  font-size: 20px;
  cursor: pointer;
  color: #888;
}

.sushi-modal-container-mobile {
  display: none;
}

.trade-modal-container-mobile {
  display: none;
}
.search-network-container {
  display: none;
}

.modal-mobile {
  display: none;
}
.unique-modal-mobile {
  display: none;
}

/* Media Query for screens less than 600px (mobile devices) */
@media only screen and (max-width: 600px) {
  .sidebar {
    display: none;
  }

  body {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-mobile {
    display: flex;
    width: 100%;
    /* padding: 15px 10px; */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    background-color: #f4f4f4;
  }

  .navbar {
    display: none;
  }

  .sidebar {
    display: none;
  }

  .sushi-modal-container-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
  }

  .sushi-modal-mobile {
    background-color: white;
    padding: 4px 10px 2px 15px;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 70px;
    border-radius: 8px;
    width: 30%;
    margin-left: 20px;
    max-width: 400px;
    overflow-y: auto;
  }

  #sushi-modal-mobile .sushi-heading {
    margin-bottom: 0px;
  }
  #close-modal-btn {
    position: relative;
    left: 120px;
    background-color: rgb(218, 218, 218);
    border: none;
    border-radius: 50%;
    cursor: pointer;
  }
  .sushi-modal-mobile .icon-container {
    margin-top: 0px;
  }

  #btn1 {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
  }

  #sushi-btn i {
    font-size: 24px;
  }

  .trade-modal-container-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .trade-modal-mobile {
    background-color: white;
    padding: 10px;
    position: fixed;
    top: 70px;
    left: 70px;
    border-radius: 8px;
    width: 50%;
    max-width: 400px;
    overflow-y: auto;
  }
  .trade-modal-mobile .options-item {
    margin-bottom: 0px;
  }

  .trade-close-btn-mobile {
    position: absolute;
    top: 10px;
    color: black;
    background-color: rgb(197, 194, 194);
    border-radius: 50%;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  .sidebar.show-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background-color: white;
    padding: 15px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .navbar-left,
  .navbar-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .navbar-left i,
  .navbar-links span {
    margin: 5px;
    font-size: 1em;
  }

  .navbar-links {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .navbar-links span {
    padding: 8px 12px;
    cursor: pointer;
  }

  .logos {
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }

  #img1 {
    width: 30px;
    height: 30px;
    cursor: pointer;
  }

  #img2 {
    width: 30px;
    height: 30px;
    cursor: pointer;
  }

  .logos-text {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .logos-text i {
    font-size: 10px;
  }

  .navbar-links span:not(#explore-btn) {
    display: none;
  }

  /* .connect-wallet {
    padding: 8px;
    width: 30%;

    margin-bottom: 20px;
    position: relative;
    right: 10px;
    top: 2px;
  } */

  hr {
    width: 90%;
    margin-left: 0;
  }

  #slippage-info-modal .modal-content {
    background-color: white;
    color: black;
    padding: 15px;
    border-radius: 10px;
    width: 300px;
    position: relative;
    right: 0;
    top: 0;
    text-align: justify;
  }

  #exp {
    display: inline-block;
  }

  #explore-Btn {
    top: 4px;
    position: relative;
    font-size: 14px;
  }

  .limit-section {
    padding: 10px;
    width: 85%;
  }

  .search-network-container {
    display: none;
    position: fixed;
    top: 65px;
    left: 60px;
    width: 50%;
    background-color: white;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: 10px;
  }

  .search-Bar {
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
  }

  .search-Bar i {
    margin-right: 8px;
    font-size: 20px;
  }

  .search-Bar input {
    width: 100%;
    padding: 8px;
    border: none;
    outline: none;
    background-color: #f5f5f5;
  }
  .network-List {
    margin-top: 10px;
    padding: 10px;
    overflow-y: auto;
    max-height: 60vh;
  }

  .network-Item {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .network-Item:hover {
    background-color: #f0f0f0;
  }

  .network-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  #btn2 {
    background: none;
    border: none;
    cursor: pointer;
  }

  #toggle-icon {
    font-size: 24px;
  }

  .main-content {
    width: 100%;
    margin: 0;
    margin-top: 70px;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
  }

  .trade-section {
    width: 90%;
    padding: 10px;
    box-sizing: border-box;
  }

  #settings-btn {
    position: relative;
    left: 20px;
  }
  .banner-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .swap-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 20px;
  }

  .warning-container {
    width: 90%;
  }

  .warning-container span {
    position: relative;
  }

  .modal-content {
    width: 90%;
    padding: 15px;
  }

  .dca-section {
    padding: 10px;
    width: 85%;
  }

  #every-label {
    padding-left: 20px;
  }

  #every-label i {
    display: none;
  }
  #container {
    width: 430px;
  }

  .cross-chain-section {
    padding: 10px;
    width: 65%;
  }

  .slippage-btn {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
  }

  .icon-container {
    width: 100%;
    gap: 5px;
    justify-content: center;
    padding: 10px 0;
  }

  #explore-Btn i {
    font-size: 24px;
  }

  #explore-Btn {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 8px;
  }

  #explore-Btn i {
    font-size: 18px;
  }

  .icon-container i {
    font-size: 24px;
    color: #555;
    cursor: pointer;
  }

  .icon-container i:hover {
    background-color: #e0e0e0;
    border-radius: 50%;
  }

  .cookie-banner {
    width: 80%;
    position: absolute;
    align-items: center;
    bottom: 10px;
    left: 250px;
    right: 20px;
    margin-right: 30px;
    justify-items: center;
  }

  .cookie-banner p {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .cookie-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 20px;
  }
  #amount1 {
    margin-left: 0px;
  }
  #amount2 {
    margin-left: 0px;
  }
  #amount3 {
    margin-left: 0px;
  }
  #amount4 {
    margin-left: 0px;
  }
  #amount5 {
    margin-left: 0px;
  }
  #amount6 {
    margin-left: 0px;
  }

  .currency-modal-content {
    width: 85%;
  }

  .unique-modal-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .unique-modal-content {
    background-color: rgb(230, 230, 230);
    border-radius: 16px;
    align-items: end;
    width: 100%;
    max-width: 480px;
    margin-top: 0px;
    padding: 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .unique-close-modal-connect-mobile {
    position: absolute;
    font-size: 24px;
    background: none;
    border: none;
    color: #000;
    background-color: rgb(198, 198, 198);
    border-radius: 50%;
    position: relative;
    left: 180px;
    bottom: 40px;
    cursor: pointer;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .unique-wallet-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    gap: 50px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 20px 0 20px;
  }

  .options {
    width: 100%;
  }
  .unique-wallet-options::-webkit-scrollbar {
    display: none;
  }

  .unique-wallet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .unique-wallet-option img {
    height:76px;
    width: 76px;
    cursor: pointer;
    border-radius: 10px;
  }

  .unique-wallet-option p {
    font-size: 14px;
    margin-top: 5px;
  }

  .unique-wallet-info {
    margin-top: 20px;
    background-color: white;
  }

  .unique-wallet-info h3 {
    padding-top: 10px;
    margin-bottom: 4px;
  }

  .unique-wallet-info p {
    padding: 0px 10px 0 10px;
  }
  .unique-wallet-actions {
    margin-top: 20px;
  }

  .unique-wallet-actions button {
    background-color: white;
    color: rgb(1, 110, 199);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid rgb(205, 205, 205);
    margin: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
  }
  .unique-wallet-actions button:hover {
    background-color: rgb(8, 86, 150);
    color: white;
  }

  footer {
    font-size: 12px;
    color: #363636;
    padding: 0 15px 5px 15px;
    margin-top: 10px;
    background-color: white;
    margin-top: 0;
    margin-bottom: 0;
  }
  footer a {
    text-decoration: none;
    color: rgb(1, 110, 199);
  }
}

@media only screen and (max-width: 1024px) and (min-width: 601px) {
  .sidebar {
    width: 150px;
    padding: 10px;
  }

  .main-content {
    margin-left: 150px;
    padding: 15px;
  }

  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .search-network-container {
    display: none;
  }

  .navbar-left,
  .navbar-links {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .navbar-left i,
  .navbar-links span {
    margin: 0 10px;
    font-size: 1.1em;
  }

  .connect-wallet {
    width: auto;
    padding: 12px;
  }

  .trade-section {
    width: 80%;
    margin: 0 auto;
  }

  .input-row input {
    width: 75%;
  }

  .swap-btn {
    width: auto;
    padding: 12px 16px;
  }

  .icon-container {
    gap: 20px;
  }

  .icon-container i {
    font-size: 26px;
  }
}
