* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0c0c15;
  color: white;
  height: 100%;
}

.header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0c0c15;
  z-index: 10;
  position: relative;
}

.header .logo {
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}

.icons {
  display: flex;
  gap: 16px;
  font-size: 20px;
}

.loan-banner {
  position: relative;
  padding: 56px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(0deg, #161923, #161923), #020226;
  overflow: auto;
  height: calc(100vh - 54px);
}

.loan-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 256px;
  height: 212px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("img/dot.png");
  z-index: 0;
}

.loan-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 256px;
  height: 212px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("img/dot.png");
  transform: rotate(180deg);
  z-index: 0;
}

.loan-banner * {
  z-index: 1;
  position: relative;
}

.illustration {
  margin-bottom: 24px;
}

.loan-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.loan-description {
  font-size: 16px;
  text-align: center;
  max-width: 360px;
  margin-bottom: 42px;
  line-height: 1.5;
  color: #adb1b8;
}

.features {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 12px;
  margin-bottom: 32px;
  width: 100%;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100px;
}

.feature img {
  height: 30px;
  margin-bottom: 8px;
}

.cta-button {
  background: #f5a623;
  color: #000;
  width: 90%;
  padding: 14px 44px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.cta-button:hover {
  background: #d88f1e;
}
#error {
  font-size: 12px;
  color: #ef454a;
  text-align: left;
  width: 88%;
  margin: 0 0 10px 0;
  visibility: hidden;
}

.approve-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(0deg, #161923, #161923), #020226;
  min-height: 80vh;
  overflow: hidden;
}

.back_items {
  background: #16171c;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  justify-content: space-between;
}

.pay_info {
  width: 100%;
  background: #100f15;
  height: 90vh;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  margin: 0 0 5px 0;
  width: 87%;
  font-size: 14px;
  font-weight: bold;
}

.top_input {
  width: 95%;
  margin: 0;
  border: 0;
  padding: 10px 0;
  display: flex;
}

#bnb {
  flex-direction: column;
  height: auto;
  max-height: 75px;
}

.bnb_help {
  width: 100%;
  display: flex;
  align-items: center;
}

.top_input p {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

input {
  background-color: transparent;
  border: none;
  outline: none;
  height: 20px;
  color: white;
  font-size: 16px;
  flex: 1 1 0%;
}

.network {
  width: 85%;
  background-color: #25282d;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 10px;
  height: 50px;
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.select {
  border-color: #f5a623;
}

.network img {
  height: 30px;
  margin: 0 20px 0 10px;
}

.network p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.network span {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
  color: #9fa2a7;
}

button {
  background: #f5a623;
  color: #000;
  width: 90%;
  padding: 14px 44px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin: 20px 0;
}

input[type="checkbox"] {
  appearance: none;
  width: 12px;
  height: 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin: 0 10px 0 0;
}

input[type="checkbox"]:checked {
  background-color: #f5a623;
  border-color: #f5a623;
}

input[type="checkbox"]:checked::after {
  content: "✔";
  color: black;
  position: absolute;
  font-size: 6px;
}

a {
  color: #f5a623;
}

.policy {
  width: 85%;
  text-align: left;
  color: #bcbbc1;
  margin: 15vh 0 0 0;
  font-size: 14px;
}

.small {
  width: 80%;
  font-size: 12px;
  text-align: center;
  color: #717076;
}
.result,
.load {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #161824;
  height: calc(100% - 54px);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  justify-content: space-between;
  position: absolute;
  width: 100%;
}

.center {
  justify-content: center;
}

.result img {
  height: 50px;
  margin-top: 30px;
}

.result p {
  font-size: 14px;
  color: #8c8b91;
}

.loader {
  width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #f5a623;
  animation: l20-1 0.8s infinite linear alternate, l20-2 1.6s infinite linear;
}

@keyframes l20-1 {
  0% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
  }

  12.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      100% 0%
    );
  }

  25% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      100% 100%,
      100% 100%
    );
  }

  50% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }

  62.5% {
    clip-path: polygon(
      50% 50%,
      100% 0,
      100% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }

  75% {
    clip-path: polygon(
      50% 50%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }

  100% {
    clip-path: polygon(
      50% 50%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      0% 100%
    );
  }
}

@keyframes l20-2 {
  0% {
    transform: scaleY(1) rotate(0deg);
  }

  49.99% {
    transform: scaleY(1) rotate(135deg);
  }

  50% {
    transform: scaleY(-1) rotate(0deg);
  }

  100% {
    transform: scaleY(-1) rotate(-135deg);
  }
}

#wallet-check-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: #161824;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
