/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* General body styles */
body {
  font-family: "Inter", sans-serif;
  height: 100vh;
  margin: 0;
}

.container {
  position: relative;
  text-align: center;
  color: white;
}

.bottom-left,
.top-left,
.top-right,
.bottom-right {
  position: absolute;
}

.centered {
  display: flex;
  gap: 8px;
  position: absolute;
  width: 83%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  flex-direction: row; /* Default left-to-right */
}

/* RTL (Arabic) */
[dir="rtl"] .centered {
  /* flex-direction: row-reverse;  */
  direction: rtl;
}

.box {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 73px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(to bottom, #cfa984, #a27c56);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.title,
.title_y {
  height: 12px;
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.09;
  letter-spacing: -0.43px;
  color: #000;
}

.title_y {
  margin: 0 0 6px;
  letter-spacing: -0.27px;
}

.number {
  text-shadow: 0 7px 4px rgba(186, 186, 186, 0.5);
  font-size: 42px;
  font-weight: 900;
  line-height: 0.29;
  letter-spacing: 0.99px;
  color: #b37b38;
}

.number_y {
  margin-top: 12px;
}

.currency {
  width: 23px;
  height: 20px;
  text-shadow: 0 7px 4px rgba(169, 159, 159, 0.5);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.39px;
  color: #794d1f;
}

.bottom-svg {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
}

.top-center {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  font-family: Inter;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.36;
  letter-spacing: -0.34px;
  color: #000;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }
}

@media (max-width: 350px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.875rem;
  }

  .number {
    font-size: 32px;
  }

  .top-center {
    font-size: 12px;
    top: 7%;
  }

  .bottom-svg {
    width: 200px;
    bottom: 7%;
  }

  [dir="rtl"] .bottom-svg {
    width: 180px;
    bottom: 3%;
  }

  .box {
    height: 63px;
  }

  .title_y {
    margin-bottom: 6px;
  }

  .number_y {
    margin: 12px 0 0 0;
  }

  .title {
    margin-top: 4px;
  }
}

@media (max-width: 270px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.875rem;
  }

  .number {
    font-size: 22px;
  }

  .top-center {
    font-size: 10px;
    top: 7%;
  }

  .bottom-svg {
    width: 168px;
    bottom: 4%;
  }
  [dir="rtl"] .bottom-svg {
    width: 148px;
    bottom: 3%;
  }

  .box {
    height: 53px;
  }

  .title_y {
    margin-bottom: 6px;
    font-size: 8px;
  }

  #amount {
    gap: 0px;
  }

  .content {
    gap: 6px;
  }

  .number_y {
    margin: 12px 0 0 0;
  }

  .title {
    margin-top: 4px;
    font-size: 8px;
  }
}
