/* body{
 margin:0; 
 font-family:sans-serif;
 background-color: #343A42;
} */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&amp;display=swap");

body {
  min-height: 100vh;
}

* {
  font-family: "Poppins", serif;
  font-weight: 400;
  font-style: normal;
}

a {
  text-decoration: none;
}

input[type="number"] {
  /* Hide the spinner buttons */
  -moz-appearance: textfield; /* For Firefox */
  -webkit-appearance: none; /* For Chrome, Safari, Edge */
  appearance: none;
}

/* Remove spinner button margin in Chrome, Safari, Edge */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.login_page {
  background-color: #ffffff;
  color: #000000;
  padding: 3rem 1rem;
  min-height: 100vh;
  margin: 0;
  font-family: sans-serif;
}

.login_create_btn_container {
  width: 100%;
  display: flex;
  border: 2px solid #673de6;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background-color: white;
}

.login_create_btn_container > a {
  padding: 1rem;
  width: 50%;
  /* border-radius: 1rem; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
}

.login_page .logo {
  justify-self: center;
  align-self: center;
  width: 50%;
  margin-bottom: 3rem;
  background: #f6f6f6;
  padding: 1rem;
  border-radius: 100%;
  display: block;
}

.login_page > h2 {
  width: 95%;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-align: center;
}

.login_form {
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
}

.login_form > label {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.login_form > input {
  width: 100%;
  background-color: transparent;
  color: #000000;
  border-color: #673de6;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

#forgot {
  margin-left: auto;
  color: #ff0018;
  text-align: right;
  cursor: pointer;
}

.verify {
  width: 100px;
  height: 35px;
  border-radius: 10px;
}

.login_form .form-check-label {
  font-size: 0.9rem;
}

.login_form > button[type="submit"],
#create_btn {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    font-size: 1.3rem;
    background-color: #673de6;
    font-weight: bold;
    color: white;
}

.login_page .modal-content {
  color: black;
  margin-top: 3rem;
  background-color: white;
  border-radius: 35px;
}

.login_page .modal-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0.3rem;
}

.login_page .modal-body > i {
  font-size: 5rem;
  color: #4169e2;
}

.login_page .modal-body > h3 {
  text-align: center;
  font-size: 1.65rem;
  color: #4169e2;
  font-weight: 600;
}

.btn-with-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Prefix added to isolate OTP styling */
.otp-container {
  width: 100%;
  text-align: center;
  z-index: 10; /* Ensures it's placed above other content if needed */
}

.otp-container > h3 {
  color: #4169e2;
  font-size: 1.5rem;
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.otp-input {
  width: 30px;
  height: 30px;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid #aaaaaa;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.otp-input:focus {
  border-color: #007bff;
}

.otp-verify-button {
  width: 100%;
  margin-top: 0.7rem;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  background-color: #343a42;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

/* .modal-body #phone {
  font-size: 0.8rem;
  text-align: center;
  border: 1px solid #aaaaaa;
}

.modal-body #phone::placeholder {
  color: #aaaaaa;
}

.modal-body #phone,
.modal-body #send-otp {
  border-radius: 10px;
  padding: 0.5rem 0;
}

#send-otp {
  font-size: 0.9rem;
} */

#reset {
  background-color: #343a42;
  color: white;
  padding: 0.6rem 0.1rem;
}

/* ----------------------------- Create page ----------  */
.phone_input {
  display: flex;
  align-items: center;
  height: 50px;
  width: 80vw;
  border-radius: 10px;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  overflow: hidden;
}

.phone_input > input {
  height: 80%;
  width: 70%;
  flex-grow: 1;
  background-color: transparent;
  color: white;
  border: none;
  font-size: 1.2rem;
  text-indent: 20px;
}

.phone_input > p {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 120px;
  background-color: rgb(217, 217, 217);
  color: black;
  height: 100%;
  cursor: pointer;
}

/* ---------------------- profile container page -------  */

main {
  padding: 0 !important;
}

.profile_container {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.5rem 1.2rem;
  font-family: sans-serif;
}

.profile_container > h3 {
  width: 100%;
  margin: 1rem 0 0 0;
  color: #000000;
}

.profile_banner {
  width: 100%;
  background-color: #ebebeb;
  color: white;
  border: 1px solid white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem;
  border-radius: 0.5rem;
}

.profile_banner > h1 {
  padding: 1rem;
  border-radius: 50%;
  background-color: #673de6;
  aspect-ratio: 1/1;
  text-align: center;
  margin: 0.2rem;
}

.profile_banner > h5 {
  margin: 0.2rem;
  margin-top: 0.4rem;
  color: black;
}

.profile_banner > p {
  margin: 0.2rem;
  color: gray;
  font-size: 0.8rem;
}

.balance_container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 2%;
}

.balance_container > div {
  width: 49%;
  flex-shrink: 0;
  padding: 1rem 0.3rem;
  background-color: #fbd55a;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.balance_container > div > i {
  font-size: 3rem;
}

.balance_container > div > h3 {
  margin: 0;
  margin-top: 1rem;
  margin-bottom: 0.2rem;
}

.balance_container > div > p {
  font-size: 0.7rem;
  margin: 0.2rem;
  font-weight: 600;
}

.add_withdrawal {
  width: 100%;
  display: flex;
  gap: 2%;
}

.add_withdrawal > button {
  width: 49%;
  color: white;
  padding: 1rem;
  border: none;
  height: 50px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.90rem;
}

.add_withdrawal i {
  font-size: 0.9rem;
}

.add_withdrawal > button:nth-child(1) {
  background-color: #0bb108;
  color: #ffffff;
}

.add_withdrawal > button:nth-child(2) {
  background-color: #f50021;
}

.long-btns {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.long-btns i {
  font-size: 1rem;
}

.long-btns > .btns {
  width: 100%;
  padding: 1rem;
  border-radius: 10px;
  border: none;
}

.btn_flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* ---------------withdraw page -----------  */

.amount-banner {
  position: relative;
  background-color: #3c63d889; /* Fallback background */
  overflow: hidden;
}

.amount-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/rb_912.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  z-index: 0;
}

.amount-banner > * {
  position: relative;
  z-index: 1; /* Ensure content is above the blur */
}

/* windows fix */
@media screen and (min-width: 1024px) {
  .login_page .logo {
    width: 20%;
  }
}
