/* style.css — sign-in page only (shared styles in base.css) */

body { font-family: "29lbukra", sans-serif; }

.site-scale-wrapper {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.form-container {
  width: 100%;
  max-width: 400px;
  margin: 60px auto;
}

.form-container .lab1,
.form-container .lab2 { width: 100%; }

.form-container .form-control {
  width: 100%;
  height: 48px;
  border: 1px solid #ced4da;
  border-radius: 10px;
  box-shadow: none;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
}

.form-container .form-control:focus {
  border-color: #46348B;
  box-shadow: 0 0 0 0.2rem rgba(70, 52, 139, 0.15);
}

.login {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.login .lab1,
.login .lab2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.butt1 {
  width: 262px;
  height: 65px;
  border: none;
  background-color: #46348B;
  border-radius: 11px;
  color: white;
  font-family: "29lbukra";
  font-weight: 400;
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
  margin-bottom: 46px;
}

.element1 {
  font-family: "29lbukra";
  font-size: 21px;
  line-height: 40px;
  text-align: center;
  font-weight: 300;
  color: #000;
}

.element2 {
  font-family: "29lbukra";
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #000;
  text-align: right;
}

.element3 {
  font-family: "29lbukra";
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #000;
  text-align: right;
}

#mail {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border-width: 1px;
  border-color: #000;
  padding: 0 5px;
}

#pass {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border-width: 1px;
  border-color: #000;
}

.element4 {
  font-family: "29lbukra";
  font-weight: 400;
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
  color: #000;
}

.element4 a { color: #000; }

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #000;
  font-family: "29lbukra";
  font-weight: 400;
  font-size: 21px;
  line-height: 40px;
  letter-spacing: 0%;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #999;
}

.divider::before { margin-right: 10px; width: 336px; height: 0; border-width: 1px; }
.divider::after  { margin-left: 10px;  width: 336px; height: 0; border-width: 1px; }

input {
  background: transparent;
  font-size: x-large;
  font-family: "29lbukra";
}

/* ── Password toggle ── */
.password-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.lab2 .password-wrapper { margin-bottom: 20px; }

.password-wrapper input { padding-right: 42px !important; }

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #46348b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ── OTP / account verification card ── */
.auth-verify-card {
  width: 100%;
  max-width: 420px;
  margin: 48px auto 32px;
  padding: 28px 24px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e4f0;
  box-shadow: 0 8px 28px rgba(70, 52, 139, 0.08);
  text-align: center;
}

.auth-verify-title {
  margin: 0 0 20px;
  font-family: "29lbukra", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: #1a1a1a;
  text-align: center;
}

.auth-verify-meta {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eeeaf5;
}

.auth-verify-meta__line,
.auth-verify-meta__hint {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  text-align: center;
}

.auth-verify-meta__email {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #46348b;
  word-break: break-all;
  text-align: center;
}

.auth-verify-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.auth-verify-otp-wrap {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 16px;
  text-align: center;
}

.auth-verify-label {
  display: block;
  margin-bottom: 8px;
  font-family: "29lbukra", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  text-align: center;
}

.auth-verify-otp-input {
  width: 100% !important;
  height: 52px !important;
  text-align: center !important;
  letter-spacing: 0.4em;
  font-size: 1.25rem !important;
  font-weight: 600;
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.auth-verify-otp-input::placeholder {
  letter-spacing: 0.15em;
  font-weight: 400;
  color: #aaa;
}

.auth-verify-submit {
  width: 100%;
  max-width: 280px;
  height: 52px;
  margin-bottom: 12px !important;
  font-size: 18px;
  line-height: 1.2;
}

.auth-verify-resend-form {
  margin: 0 0 16px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.auth-verify-resend {
  border: none;
  background: transparent;
  color: #46348b;
  font-family: "29lbukra", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 12px;
}

.auth-verify-resend:hover {
  color: #352a6e;
}

.auth-verify-footer {
  font-family: "29lbukra", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  color: #444;
}

.auth-verify-footer a {
  color: #46348b;
  text-decoration: none;
}

.auth-verify-footer a:hover {
  text-decoration: underline;
}

.auth-verify-footer__sep {
  margin: 0 8px;
  color: #999;
}

.auth-verify-otp-wrap .field-error {
  text-align: center;
}

.auth-verify-field-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 16px;
  text-align: center;
}

.auth-verify-field-input {
  width: 100% !important;
  height: 48px !important;
  text-align: left !important;
  letter-spacing: normal;
  font-size: 1rem !important;
  font-weight: 400;
  direction: ltr;
}

.auth-verify-password-wrap {
  width: 100%;
}

.auth-verify-password-wrap .auth-verify-field-input {
  padding-right: 42px !important;
  text-align: right !important;
  direction: rtl;
}

.auth-verify-field-wrap .field-error {
  text-align: center;
}

@media (max-width: 767px) {
  .auth-verify-card {
    margin: 24px 16px;
    padding: 22px 18px;
  }

  .auth-verify-submit {
    max-width: 100%;
  }

  .auth-verify-field-wrap {
    max-width: 100%;
  }
}

/* ── Validation ── */
.field-error {
  display: block;
  width: 100%;
  margin-top: 6px;
  color: #dc3545;
  font-size: 13px;
  line-height: 1.4;
  font-family: "29lbukra", sans-serif;
  text-align: right;
}

.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12) !important;
}

#toast-container > .toast {
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(31, 22, 53, 0.2) !important;
  font-family: "29lbukra", sans-serif !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) and (min-width: 768px) {
  #mail, #pass { width: 380px; left: auto; top: auto; }
  .butt1 { width: 220px; }
  .divider::before, .divider::after { width: 160px; }
}

@media (max-width: 767px) {
  .login { padding: 20px 16px; box-sizing: border-box; width: 100%; }
  .form1 { width: 100%; gap: 8px; }
  #mail, #pass { width: 100%; max-width: 100%; height: 52px; left: auto; top: auto; box-sizing: border-box; }
  .butt1 { width: 100%; max-width: 100%; height: 52px; top: auto; left: auto; font-size: 18px; margin-bottom: 24px; }
  .element1, .element2, .element3 { width: auto; height: auto; font-size: 18px; line-height: 32px; }
  .element4 { font-size: 16px; line-height: 32px; text-align: center; }
  .divider { font-size: 16px; width: 100%; }
  .divider::before, .divider::after { width: auto; flex: 1; }
  .login .lab1, .login .lab2 { width: 100%; }
}
