/* ========================================= BUSHIROAD RETAILER LOGIN ========================================= */
.retailer-login-page {
  background: #f5f5f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  box-sizing: border-box;
}
/* Login Card */
.retailer-login-card {
  width: 100%;
  max-width: 47%;
  background: #ffffff;
  border-radius: 28px;
  padding: 38px 60px 48px;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
/* Logo */
.retailer-logo {
  text-align: center;
  margin-bottom: 20px;
}
.retailer-logo img {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
/* Heading */
.retailer-login-card h1 {
  margin: 0 0 20px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #840c16;
}
/* Form */
.retailer-login-form {
  width: 100%;
  max-width: 324px;
  margin: 0 auto;
}
/* Form Group */
.retailer-login-form .retailer-form-group {
  margin-bottom: 25px;
}
/* Labels */
.retailer-login-form .retailer-form-group label {
  display: block;
  margin-bottom: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #111111;
}
/* Inputs */
.retailer-login-form .retailer-form-group input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  background: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #222222;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Input focus */
.retailer-login-form .retailer-form-group input:focus {
  border-color: #999999;
  box-shadow: 0 0 0 2px rgba(141, 16, 23, 0.08);
}
/* Placeholder */
.retailer-login-form .retailer-form-group input::placeholder {
  color: #999999;
  opacity: 1;
}
/* Password */
.retailer-password-wrapper {
  position: relative;
}
.retailer-password-wrapper input {
  padding-right: 45px;
}
/* Password eye */
.retailer-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b7b7b7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Forgot Password */
.retailer-forgot-password {
  text-align: right;
  margin-top: 5px;
}
.retailer-forgot-password a {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: #111111;
  text-decoration: none;
}
.retailer-forgot-password a:hover {
  text-decoration: underline;
}
/* Login Button */
.retailer-login-button {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 28px;
  background: #e60012;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 #840c16;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
/* Button hover */
.retailer-login-button:hover {
  background: #d90014;
}
/* Button click */
.retailer-login-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #a5000d;
}
/* Operational Notice */
.retailer-operational-notice {
  margin-top: 30px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  color: #777777;
  font-size: 13px;
  line-height: 1.25;
}
.retailer-operational-notice strong {
  display: block;
  margin-bottom: 3px;
  color: #333333;
  font-size: 13px;
}
.retailer-operational-notice p {
  margin: 0;
}
.retailer-operational-notice a {
  color: #a41b20;
  text-decoration: none;
}
.retailer-operational-notice a:hover {
  text-decoration: underline;
}
/* Error */
.retailer-login-error {
  max-width: 324px;
  margin: -15px auto 20px;
  padding: 10px 14px;
  box-sizing: border-box;
  border-radius: 7px;
  background: #fff0f0;
  border: 1px solid #efb0b0;
  color: #a00000;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  text-align: center;
}
/* Already logged in */
.retailer-login-already {
  max-width: 500px;
  margin: 80px auto;
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.retailer-login-already a {
  display: inline-block;
  margin-top: 15px;
  color: #a00000;
}
/* Copyright */
.retailer-copyright {
  margin-top: 24px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  color: #222222;
}
/* ========================================= MOBILE ========================================= */
@media (max-width: 1024px) {
  .retailer-login-card {
    max-width: 65%;
  }
}
@media (max-width: 767.98px) {
  .retailer-login-page {
    padding: 50px 20px 30px;
  }
  .retailer-login-card {
    max-width: 100% !important;
  }
  .retailer-logo img {
    width: 155px;
  }
  .retailer-login-card h1 {
    font-size: 25px;
  }
  .retailer-login-form {
    max-width: 100%;
  }
}
@media (max-width: 480px) {
  .retailer-login-card {
    padding: 38px 30px 48px !important;
  }
  .retailer-login-card h1 {
    font-size: 22px;
  }
}