@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Padauk:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito Sans";
}

body {
  background: #c7d6bd;
}

/* MAIN WRAPPER */
.vendorLoginPage {
  background: white;
  width: 100%;
  height: 100vh;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
}

/* LEFT PANEL */
.vendorLoginLeft {
  width: 40%;
  background: #ffffff;
  position: relative;
}

.vendorLoginHeader {
  width: 100%;
  height: 100px;
  background-image: url("../Assist/login/vendorRBg.png");
  background-color: rgba(255, 0, 0, 0.06);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  text-align: center;
  padding-top: 30px;
}

.vendorLoginTitle {
  color: #a10404;
  font-size: 35px;
  font-weight: 700;
}

.vendorLoginSubtitle {
  margin-top: 25px;
  padding: 0 80px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #3f3f3f;
  line-height: 1.4;
}

.vendorLoginForm {
  margin-top: 50px;
  padding: 0 80px;
}

.vendorLoginGroup {
  margin-bottom: 20px;
  position: relative;
}

.vendorLoginLabel {
  font-size: 14px;
  font-weight: 600;
  color: #3f3f3f;
  margin-bottom: 5px;
  display: block;
}

.vendorLoginInput {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #dee1e6;
  border-radius: 4px;
  font-size: 15px;
  background: white;
}

.vendorLoginInput:focus {
  border-color: #a10404;
  outline: none;
}

.vendorLoginForgot {
  font-size: 11px;
  color: #0250d9;
  position: absolute;
  top: 70px;
  right: 0;
  margin-top: 5px;
  cursor: pointer;
  text-decoration: none;
}

.vendorLoginButton {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: #a10404;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.RegisterBtn {
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  background: #a10404;
  border-radius: 5px;
  border: none;
  font-size: 16px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  display: none;
}

/* SUCCESS BOX */
.vendorLoginSuccessMsg {
  background: #f8d8d8;
  color: #b71c1c;
  margin: 40px 20px;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  position: relative;
}

.vendorLoginCloseSuccess {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

/* ERROR TEXT */
.vendorLoginError {
  font-size: 12px;
  color: #fa0a0a;
  margin-top: 4px;
  display: none;
}

/* RIGHT PANEL */
.vendorLoginRight {
    width: 60%;
    background-image: url("../Assist/login/loginbackground.svg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 40px;
}

.vendorLoginHeroCard {
  background: #bca4a41d;
  border-radius: 8px;
  padding: 40px 60px;
  width: 430px;
  text-align: center;
}

.vendorLoginHeroTitle {
  font-size: 65px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffca24;
}

.vendorLoginHeroSubtitle {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-top: 20px;
}

.vendorLoginHeroTagline {
  color: #fff;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
}

.vendorRegisterRightBtn {
  width: 430px;
  margin-top: 20px;
  padding: 14px;
  background: rgba(183, 18, 34, 0.508);
  border-radius: 8px;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: block;
  text-align: center;
}

/* RESET PASSWORD PAGE */
.vendorResetPage {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background-image: url("../Assist/login/loginbackground.svg");
    background-size: cover;
    background-position: center;
    z-index: 50;
}
#vendorLoginResetSuccess {
  margin: 40px 80px;
}

/* white card in center */
.vendorResetCard {
  width: 480px;
  max-width: 95%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  padding: 40px 50px 10px;
  text-align: center;
}

.vendorResetTitle {
  font-size: 28px;
  font-weight: 700;
  color: #3f3f3f;
  margin-bottom: 8px;
}

.vendorResetText {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
  margin-bottom: 30px;
}

.vendorResetGroup {
  text-align: left;
  margin-bottom: 20px;
}

.vendorResetLabel {
  font-size: 13px;
  font-weight: 600;
  color: #3f3f3f;
  margin-bottom: 6px;
  display: block;
}

.vendorResetInput {
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #dee1e6;
  font-size: 14px;
}

.vendorResetInput:focus {
  outline: none;
  border-color: #a10404;
}

.vendorResetButton {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #a10404;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 15px;
}

.vendorResetBack {
  display: inline-block;
  font-size: 11px;
  color: #0250d9;
  text-decoration: none;
  margin-top: 40px;
  margin-bottom: 26px;
}
@media (max-width:966px) {
  .vendorLoginSubtitle{
    padding: 0px 30px;
  }
  .vendorLoginForm{
    padding: 0px 30px;
  }
}

/* RESPONSIVE */
@media (min-width: 595px) and (max-width: 745px) {
    body {
        background-image: url("../Assist/login/loginbackground.svg");
        background-size: cover;
    }

  .vendorLoginPage {
    width: 100%;
    height: auto;
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 20px;
  }

  .vendorLoginLeft {
    width: 90%;
    max-width: 550px;
    background: white;
    border-radius: 12px;
    padding-bottom: 40px;
    margin: auto;
  }

  .vendorLoginRight {
    display: none;
  }

  .vendorLoginHeader {
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .vendorLoginForm {
    padding: 0 25px;
  }

  .vendorLoginSubtitle {
    padding: 0 25px;
    margin-bottom: 20px;
  }

  .vendorLoginSuccessMsg {
    margin: 25px;
  }
  .RegisterBtn {
    display: block;
    background-color: unset;
    color: #3f3f3f;
  }
}

@media (max-width: 595px) {
  .vendorLoginPage {
    flex-direction: column;
    height: auto;
    width: 100%;
  }
  .vendorLoginHeader {
    padding-top: 40px;
  }

  .RegisterBtn {
    display: block;
    background-color: unset;
    color: #3f3f3f;
  }

  .vendorLoginLeft {
    width: 100%;
  }

  .vendorLoginSubtitle {
    padding: 0 20px;
    font-size: 15px;
  }

  .vendorLoginForm {
    padding: 0 10px;
    margin-top: 25px;
  }

  .vendorLoginGroup {
    margin-bottom: 15px;
  }

  .vendorLoginInput {
    width: 100%;
    font-size: 14px;
    padding: 10px 12px;
  }

  .vendorLoginButton {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 15px;
  }

  .vendorLoginForgot {
    font-size: 10px;
    right: 5px;
    top: 70px;
  }

  .vendorLoginSuccessMsg {
    margin: 20px 10px !important;
    font-size: 13px;
  }

  .vendorLoginRight {
    display: none;
  }

  .vendorLoginPage {
    min-height: 100vh !important;
    height: auto !important;
    display: block;
  }
}
