html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
  BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans,
  sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', Segoe UI Symbol,
  'Noto Color Emoji';
  font-feature-settings: normal;
  font-variation-settings: normal;
}

.containers {
  background-image: url(../assets/background-pattern.avif);
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

body {
  margin: 0rem;
}

.modal-box {
  width: 70%;
  padding: 4rem;
  background-color: rgb(255 255 255 / 1);
  border-width: 1px;
  border-radius: 0.25rem;
  height: fit-content;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000,
  0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.modal-box h1 {
  margin: 1.25rem 0;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.modal-box form {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.modal-box form p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.modal-box form button {
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: #4986ff;
  border-radius: 0.375rem;
  height: 3rem;
  margin-top: 4rem;
  cursor: pointer;
  color: white;
  width: 100%;
  border-color: transparent;
}

.app-button {
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: #4986ff !important;
  border-radius: 0.375rem;
  height: 3rem;
  /* margin-top: 4rem; */
  cursor: pointer;
  color: white;
  width: 100%;
  border-color: transparent;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.logo-container img {
  height: 6rem;
}

.custom_input {
  display: flex;
  width: 100%;
}

.custom_input label {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  border-width: 1px;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  border: 1px solid #f5f7f9;
}

.custom_input label span {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #7d8494;
}

.custom_input label input {
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 100%;
  display: block;
  color: rgb(17 24 39 / 1);
  font-weight: 600;
  border: 0px;
  appearance: none;
}

#addFunds:disabled {
  opacity: 0.6;
}

.custom_input label input:focus-visible,
.custom_input select:focus-visible {
  outline: 0;
}

.custom_input select {
  font-size: 1.25rem;
  line-height: 1.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  width: 130px;
  height: 86px;
  color: white;
  border: 0px;
  background-color: rgb(255 126 0 / 1);
}

input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.payment_method {
  display: none;
}

.payment_method > div:nth-child(1) {
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  padding: 1.25rem;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000,
  0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.payment_method > div:nth-child(2) {
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
  padding: 1.25rem;
  margin-top: 1.25rem;
}

.payment_method > div > div {
  /* display: flex; */
}

.payment_method > div > div > div:nth-child(1) {
  /* background-color: #f9fafb;
  border-radius: 9999px;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  margin-right: 1rem; */
}

.payment_method > div > div > div:nth-child(2) > h4 {
  /* margin: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600; */
}

.payment_method > div > div > div:nth-child(2) > p {
  /* font-size: 0.75rem;
  line-height: 1rem;
  color: #6b7280;
  margin: 0; */
}

.payment_method_button {
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 0.375rem;
  border: 1px solid rgb(73 134 255 / 1);
  height: 3rem;
  margin-top: 4rem;
  background-color: white;
  cursor: pointer;
}

/*modal popup*/

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.modal-content {
  background: #fff;
  max-width: 28rem;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  border-radius: 0.375rem;
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.modal-content > div:nth-child(1) {
  display: flex;
  justify-content: end;
  align-items: center;
}

.modal-content > div:nth-child(1) > button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.modal-content > div:nth-child(2) {
  display: flex;
  justify-content: space-between;
}

.modal-content > div:nth-child(2) > img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.modal-content > div:nth-child(2) > p {
  font-weight: 500;
  text-align: center;
  align-self: center;
  font-size: 16px;
}

.modal-content > div:nth-child(2) > p > span {
  color: #4986ff;
}

.modal-content > form > p {
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-weight: 500;
  font-size: 16px;
}

.modal-content > form > div {
  margin-bottom: 1.5rem;
}

.modal-content > form > div > label {
  padding: 0.5rem 1rem;
  border: 1px solid rgb(209 213 219 / 1);
  border-radius: 0.375rem;
  display: block;
  position: relative;
}

.modal-content > form > div > label > span {
  font-size: 0.75rem;
  line-height: 1rem;
  align-items: center;
  display: flex;
  color: #7d8494;
}

.modal-content > form > div > label > input {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(17 24 39 / 1);
  background-color: transparent;
  width: 100%;
  display: block;
  padding: 0.5rem 0;
  border: none;
}

.modal-content > form > div > label > input:focus-visible {
  outline: none;
}

.modal-content > form > div > label > span > button {
  cursor: pointer;
  background-color: white;
  border: none;
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position the tooltip above the text */
  left: 50%;
  margin-left: -60px; /* Center the tooltip above the text */
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-content > form > div > label > span > button:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.modal-content > form > div > label > span > button > svg {
  height: 1rem;
  width: 1rem;
}

.modal-content > form > div > label > span > button > svg > path {
  fill: #7d8494;
}

.modal-content > form > button {
  font-size: 0.875rem;
  line-height: 1.25rem;
  background-color: #4986ff;
  border-radius: 0.375rem;
  height: 3rem;
  margin-top: 4rem;
  cursor: pointer;
  color: white;
  width: 100%;
  border-color: transparent;
}

.hidden {
  display: none !important;
}

#toast {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 500px) {
  .modal-box {
    width: 80%;
  }

  .modal-content {
    width: 80%;
  }
}
