.modal-body {
  background: #202d3e;
  color: white;
  text-align: center;
}

.modal-header {
  background: #202d3e;
  color: white;
}

.modal-body button {
 /* background-color: transparent;*/
  color: #fff;
  /*border: 1px solid #3cc195;*/
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: bold;
  justify-content: space-between;
}

.modal-body button:hover {
  /* background-color: #3cc195; 
  color: #263749;*/
}

.popup {
  display: none;
  position: fixed;
  padding: 10px;
  width: 420px;
  left: 50%;
  margin-left: -150px;
  height: 50%;
  top: 50%;
  margin-top: -100px;
  background: #263749;
  border: 3px solid #3cc195;
  z-index: 20;
  color: white;
  text-align: center;
}

#popup:after {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -2;
}

#popup:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #202a38;
  z-index: -1;
}

.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-striped-bg: transparent !important;
}

/* The rest of your CSS */

.btn-buy,
.btn-sell {
  border: none;
  padding: 10px;
  color: white;
  transition: background 0.3s ease;
}

.btn-buy {
  width: 45%;
  border-radius: 6px 2px 2px 6px !important;
  border-color: #3cc195;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
  text-transform: uppercase;
  font-size: 0.875rem;
  background: #354759;
  text-align: left;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.141),
    0 1px 5px rgba(0, 0, 0, 0.122);
  border: 1px solid #3cc195;
}

.btn-sell {
  text-align: right;
  width: 45%;
  border-radius: 2px 6px 6px 2px !important;
  font-size: 1rem;
  font-weight: 500;
  font-family: "Rubik", sans-serif;
  text-transform: uppercase;
  font-size: 0.875rem;
  background: #354759;

  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.141),
    0 1px 5px rgba(0, 0, 0, 0.122);
  border: 1px solid #f94c4c;
}

.btn-buy.active {
  background: #3cc195;
}

.btn-sell.active {
  background: #f94c4c;
}

.btn-buy:hover {
  background: #3cc195;
  border: 1px solid #3cc195;
}

.btn-sell:hover {
  background: #f94c4c;
  border: 1px solid #f94c4c;
}

.btn-buy:hover,
.btn-sell:hover {
  opacity: 0.8;
}

/* Nested Tabs CSS */

.nested-tablinks {
  border: none;
  padding: 5px;
  color: white;
  background: #354759;
  transition: background 0.3s ease;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.141),
    0 1px 5px rgba(0, 0, 0, 0.122);
}

.nested-tablinks.active {
  background: #08aed7;
}

.nested-tablinks:hover {
  opacity: 0.8;
}

#Buy,
#Sell {
  margin-top: 5%;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.tabcontent {
  background-color: #202a38;
}

.newbutton {
  background: transparent;
  border: none;
  color: #08aed7;
}

.nested-tabcontent {
  display: none;
}

.form-row {
  margin-bottom: 10px;
}

.value-spinner {
  background: transparent;
  border-color: transparent;
  -webkit-box-shadow: inset 0 0 0 2px #354759;
  box-shadow: inset 0 0 0 2px #354759;
  /* -webkit-box-shadow: inset 0 0 0 2px var(--brand53); */
  /* box-shadow: inset 0 0 0 2px var(--brand53); */
  /* width: 150px; */
  /* min-height: 30px; */
  /* border-radius: 4px; */
  /* -webkit-transition: -webkit-box-shadow .25s; */
  transition: -webkit-box-shadow 0.25s;
  /* transition: box-shadow .25s; */
  /* transition: box-shadow .25s,-webkit-box-shadow .25s; */
  align-items: center;
}

#marketUnits,
#pendingUnits,
#marketUnits2,
#pendingUnits2 {
  width: 75%;
  background: transparent;
  border-color: transparent;
  font-weight: 400;
  /* font-size: .875rem;*/
  font-family: "Rubik", sans-serif;
  text-align: center;
  /* line-height: .875rem;*/
  color: #eee;
}

.value-spinner__btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.value-spinner__btn i {
  color: #08aed7;
}

.value-spinner input {
  text-align: center;
}

.take-profit-field {
  display: flex;
  align-items: center;
}

.take-profit-field select {
  margin-left: 10px;
}

.container2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5%;
}

.container2 span:first-child {
  margin-right: auto;
}

.dostupnost {
  color: #08aed7;
  /* color: var(--brand46); */
  font-size: 0.75rem;
  cursor: pointer;
}

.container3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5%;
  color: rgba(166, 186, 200, 0.502);
  padding-left: 5%;
  padding-right: 5%;
}

.container3 span:first-child {
  margin-right: auto;
}

.container4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3%;
  color: rgba(166, 186, 200, 0.502);
  padding-left: 5%;
  padding-right: 5%;
}

.container4 span:first-child {
  margin-right: auto;
}
.container5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5%;
  color: #c6d2db;
}

.container5 span:first-child {
  margin-right: auto;
}
.container6 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(166, 186, 200, 0.502);
}

.container6 span:first-child {
  margin-right: auto;
}

.requiredm {
  color: #3cc195;
  opacity: 0.5;
}

.nestedmarket {
  border-radius: 2px 6px 6px 2px;
  width: 45%;
}

.nestedpending {
  border-radius: 2px 6px 6px 2px;
  width: 45%;
}

.nestedtabular {
  border-radius: 2px 2px 2px 2px;
  width: 90%;
  margin-top: 3px;
  margin-bottom: 3px;
}

#symbolName {
  font-size: 18px;
}

.popup {
  text-align: center;
}

.popup h2 {
  margin-top: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup h2 i {
  margin-right: 10px;
}

.popup .form-row {
  margin-bottom: 10px;
}

.popup .value-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup .value-spinner__btn {
  padding: 5px;
  cursor: pointer;
}

.popup .value-spinner__btn i {
  pointer-events: none;
}

.popup .value-spinner input {
  width: 40px;
  text-align: center;
  margin: 0 5px;
}

.popup .take-profit-field {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup .take-profit-field input,
.popup .take-profit-field select {
  margin: 0 5px;
}

.popup .nested-tabcontent {
  display: none;
}

.nord {
  font-size: 18px;
  margin-left: 10px;
}

.nord2 {
  font-size: 18px;
  margin-right: 10px;
}

.simage {
  height: 25px;
  border-radius: 50%;
}

#popup {
  top: 30%;
}

/* Details header */
.details-header {
  background-color: #f2f2f2;
  padding: 10px;
}

/* Toggle button */
.details-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: #08aed7;
  font-size: 15px;
}

/* Submit button */
.popup button.submit-button {
  background-color: #08aed7;
  color: #fff;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.popup button.submit-button:hover {
  background-color: #1c8fc9;
}

.popup {
  /* Other styles */
  /*padding-bottom: 2%;*/

  height: fit-content;
}

.details-header {
  min-height: 32px;
  padding: 0.5625rem 0.625rem;
  margin-bottom: 0.3125rem;
  border-radius: 4px;
  color: #eee;
  color: var(--brand1);
  background: #2e4053;
  -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.251);
  text-align: right;
}

.popup button.submit-button {
  /* Other styles */
  margin-top: 5%; /* Add some top margin */
}

.popup-content {
  /* Other styles */
  max-height: 85%; /* Set maximum height for the content */
  overflow-y: auto; /* Enable vertical scrolling if content overflows */
}

.close-button {
  display: none;
}

.details-section.show-details .close-button {
  display: inline-block;
}

.take-profit-field {
  background: transparent;
  border-color: transparent;
  -webkit-box-shadow: inset 0 0 0 2px #354759;
  box-shadow: inset 0 0 0 2px #354759;
  /* -webkit-box-shadow: inset 0 0 0 2px var(--brand53); */
  /* box-shadow: inset 0 0 0 2px var(--brand53); */
  /* width: 150px; */
  /* min-height: 30px; */
  /* border-radius: 4px; */
  /* -webkit-transition: -webkit-box-shadow .25s; */
  transition: -webkit-box-shadow 0.25s;
  /* transition: box-shadow .25s; */
  /* transition: box-shadow .25s,-webkit-box-shadow .25s; */
  align-items: center;
}

.stop-loss-field {
  background: transparent;
  border-color: transparent;
  -webkit-box-shadow: inset 0 0 0 2px #354759;
  box-shadow: inset 0 0 0 2px #354759;
  /* -webkit-box-shadow: inset 0 0 0 2px var(--brand53); */
  /* box-shadow: inset 0 0 0 2px var(--brand53); */
  /* width: 150px; */
  /* min-height: 30px; */
  /* border-radius: 4px; */
  /* -webkit-transition: -webkit-box-shadow .25s; */
  transition: -webkit-box-shadow 0.25s;
  /* transition: box-shadow .25s; */
  /* transition: box-shadow .25s,-webkit-box-shadow .25s; */
  align-items: center;
}

#takeProfit {
  width: 75%;
  background: transparent;
  border-color: transparent;
  font-weight: 400;
  /* font-size: .875rem; */
  font-family: "Rubik", sans-serif;
  text-align: center;
  /* line-height: .875rem; */
  color: #eee;
  text-align: left;
}

#stopLoss {
  width: 75%;
  background: transparent;
  border-color: transparent;
  font-weight: 400;
  /* font-size: .875rem; */
  font-family: "Rubik", sans-serif;
  text-align: center;
  /* line-height: .875rem; */
  color: #eee;
  text-align: left;
}

#stopLossType {
  background: none;
  border: none;
  color: #08aed7;
}

#takeProfitType {
  background: none;
  border: none;
  color: #08aed7;
}

.collapse-toggle {
  background: none;
  border: none;
  color: #08aed7;
}

.tdesno {
  text-align: right;
}

.labelpozicija {
  position: absolute;
  left: 35px;
  color: #eee;
}

.nodugme {
  color: #eee;
  border: none;
  background-color: #08aed7;
  margin-top: 3%;
  width: 70%;
  transition: background 0.3s ease;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.141),
    0 1px 5px rgba(0, 0, 0, 0.122);
  border-radius: 4px;
  height: 40px;
  font-size: 20px;
}

.linija {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 4px;
  border: 1px solid #2e4053;
  height: 3px;
  width: 100%;
  overflow: hidden;
  background-color: #08aed7;
  margin-bottom: 10px;
  margin-top: 10px;
}

.submitk {
  background-color: transparent;
  color: #fff;
  border: 1px solid #3cc195;
  border-radius: 0px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
}

.submitk:hover {
  background-color: #3cc195;
  color: #263749;
  border-color: var(--bs-btn-hover-border-color);
}
