@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap");

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0px;
  margin: 0px;
}

*:focus,
*:focus-visible {
  outline: none;
}

body {
  font-family: "Manrope", sans-serif;
}

ul,
ol {
  margin: 0%;
  padding: 0%;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style: none;
}

/*============================ Login Page CSS Start ==============================*/
.login-container {
  background-color: #e41b14;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loginForm {
  --ehw-box: 32rem;
  max-width: var(--ehw-box);
  /* min-height: var(--ehw-box); */
  width: 100%;
  background: #fff;
  padding: 2.5rem 1.4rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.formLogo {
  --ehw-img: 120px;
  width: var(--ehw-img);
  height: var(--ehw-img);
}

.formLogo img {
  --ehw-img: 100%;
  width: var(--ehw-img);
  height: var(--ehw-img);
  object-fit: contain;
}

.form-input-field {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1rem;
}

.formHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 1.4rem;
}

.formLogo {
  margin-bottom: 1.4rem;
}

.formHeader h5 {
  color: #e41b14;
  font-size: 1.13rem;
  font-weight: 600;
}

.formHeader span {
  color: #e41b14;
  font-size: 0.95rem;
  font-weight: 300;
}

.form-input-field label {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: #8d8c8c;
}

.form-input-field input {
  padding: 0.3rem 0.75rem;
  border-radius: 0.3rem;
  border: 1px solid #d9d9d9;
  font-size: 0.95rem;
}

.form-input-field input:focus {
  border-color: #e41b14;
}

.submit-btn {
  background-color: #e41b14;
  padding: 0.25rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
  /* width: 100%; */
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-input-field.otp-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.otp-wrapper .otp-inputs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.otp-wrapper .otp-inputs .otp-input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 18px;
}

.home-wrapper {
  background: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 40px 20px;
}

.home-wrapper h5 {
  font-size: 42px;
  font-weight: 600;
  color: #1f1f1f;
}

.home-wrapper p {
  font-size: 20px;
  font-weight: 400;
  color: #1f1f1f;
}

.home-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 50%;
  margin: 20px 0px;
}

.options-box {
  width: 100%;
  /* height: 150px; */
  padding: 20px;
  background: rgba(228, 27, 20, 0.3);
  /* border: 1px solid #E41B14; */
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
}

.options-box img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transform: scale(0.9);
  transition: all ease-in-out 0.5s;
}

.options-box h5 {
  font-size: 18px;
  font-weight: 600;
  color: #000;
  margin-top: 20px;
}

.options-box:nth-child(1) {
  background: rgba(172, 216, 167, 0.5);
}

.options-box:hover img {
  transform: scale(1.1);
}

/*============================ Login Page CSS End ================================*/

.toast {
  visibility: hidden;
  min-width: 260px;
  background: #4caf50;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 14px 18px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s, top 0.5s;
}

/* Visible state */
.toast.show {
  visibility: visible;
  opacity: 1;
  top: 40px; /* Slight slide-down animation */
}
.btn-loader {
  width: 20px;
  height: 20px;
  border: 3px solid #ffffff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.9s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.submit-btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.25rem 1.5rem;
}

#customer-info {
    margin-top: 5px;
    color: #004aad;
    font-weight: 600;
    font-size: 16px;
}
