.form-container {
  background-color: rgb(8, 82, 74);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  max-width: 50%;
  width: 100%;
  margin-top: 30px;
}
.favicon {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-container h4 {
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
  margin-top: 20px;
}
form {
  width: 100%;
}
.form-group {
  margin-bottom: 15px;
  position: relative;
  color: rgb(8, 82, 74);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group #cardType {
  padding: 20px;
  width: 100%;
}

.form-group #currency {
  width: 30%;
  padding: 20px;
  margin-left: -10%;
}

.form-group #amount {
  padding: 15px;
  width: 90%;
}

.form-group-inline {
  display: flex;
  align-items: center;
  /* gap: 10px; Add space between the currency and amount inputs */
}

.form-group-inline select,
.form-group-inline input[type="number"] {
  /* width: calc(30% - 15px); Adjust width to fit both inputs inline */
  padding-left: 35px; /* Adjust padding to account for icons */
  margin: 0;
}

.form-group-inline i {
  position: absolute;
  left: 15px; /* Adjust to align with the input fields */
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="month"] {
  /* width: 100%; */

  /* padding-left: 40px; */
  border: 1px solid #ccc;
  border-radius: 9px;
  font-size: 1em;
  font-weight: bold;
}

#redemptionCode,
#pincode,
#cardNumber,
#cvv,
#expiryDate {
  padding: 15px;
  width: 100%;
}

.form-group i {
  position: absolute;
  left: 570px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #666;
}

.form-group button {
  width: 20%;
  padding: 10px;
  background-color: rgb(244, 67, 54);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 15px;
  font-weight: bold;
}

.form-group button:hover {
  background-color: #45a049;
}

/* @media (max-width: 480px) {
  .form-container {
    padding: 15px;
    width: 90%;
  }

  .form-group label,
  .form-group small {
    font-size: 0.9em;
  }

  .form-group button {
    font-size: 1em;
  }
} */

/* Add styles for the pincode input */
#pincodeGroup {
  margin-bottom: 15px; /* Add margin to separate from other inputs */
}

#pincodeGroup i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

@media (max-width: 768px) {
  .form-container {
    padding: 10px;
    max-width: 80%;
  }

  form {
    width: 100%;
  }
  .form-group #currency {
    width: 40%;
    margin-left: -15%;
  }

  .form-group #amount {
    padding: 15px;
    width: 90%;
  }

  .form-group button {
    width: 50%;
  }
}

.error-message {
  color: red;
  font-size: 0.875em;
  margin-top: 5px;
}
