/* Kasheer login — design-only theme (Authentication/index) */

.kasheer-login-page {
  --kasheer-navy: #0c1f4a;
  --kasheer-navy-soft: #1a3270;
  --kasheer-gold: #E1B400;
  --kasheer-gold-dark: #C59D00;
  --kasheer-gold-hover: #C59D00;
  --kasheer-gold-gradient: linear-gradient(180deg, #E1B400 0%, #C59D00 100%);
  --kasheer-gold-gradient-hover: linear-gradient(180deg, #C59D00 0%, #B08A00 100%);
  --kasheer-text: #0c1f4a;
  --kasheer-muted: #6b7280;
  --kasheer-border: #e4e8f0;
  --kasheer-white: #ffffff;
  --kasheer-input-bg: #e8f0fe;
  margin: 0;
  min-height: 100vh;
  background: var(--kasheer-white);
  color: var(--kasheer-text);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.kasheer-login-page * {
  box-sizing: border-box;
}

.kasheer-login-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Left hero */
.kasheer-login-hero {
  flex: 1 1 50%;
  position: relative;
  min-height: 320px;
  background: #111 center / cover no-repeat;
  overflow: hidden;
}

.kasheer-login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.72) 100%);
}

.kasheer-login-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 48px 56px 56px;
  color: #fff;
  max-width: 640px;
}

.kasheer-login-hero__title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.kasheer-login-hero__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}

/* Right panel */
.kasheer-login-main {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 24px;
  background: var(--kasheer-white);
}

.kasheer-login-panel {
  width: min(100%, 420px);
}

.kasheer-login-logo {
  display: block;
  width: min(100%, 220px);
  height: auto;
  margin: 0 auto 32px;
}

.kasheer-login-page .btn_login_pin_table {
  width: 100%;
  margin: 0 0 28px;
  border-collapse: separate;
  border-spacing: 0;
}

.kasheer-login-page .btn_login_pin_table td {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid var(--kasheer-border);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.kasheer-login-page .btn_login_pin_type {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--kasheer-navy) !important;
  background: transparent !important;
  text-decoration: none !important;
  box-sizing: border-box;
}

.kasheer-login-page .btn_login_pin_type.active_login_btn,
.kasheer-login-page .btn_login_pin_type.active_login_btn:hover,
.kasheer-login-page .btn_login_pin_type.active_login_btn:focus {
  background: var(--kasheer-navy) !important;
  color: #fff !important;
}

.kasheer-login-page > .container,
.kasheer-login-panel > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: static;
}

.kasheer-login-page .card:first-child,
.kasheer-login-page .card.alt {
  display: none !important;
}

.kasheer-login-page .card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin: 0;
}

.kasheer-login-page .card .title {
  border: 0;
  margin: 0 0 24px;
  padding: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--kasheer-navy);
  text-transform: none;
  text-align: left;
}

.kasheer-login-page .red_error,
.kasheer-login-page .green_error {
  margin: 0 0 16px;
  font-size: 14px;
  border-radius: 8px;
  padding: 10px 12px;
}

.kasheer-login-page .red_error {
  background: #fef2f2;
}

.kasheer-login-page .green_error {
  background: #ecfdf5;
}

.kasheer-login-page .card .input-container {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--kasheer-border);
  border-radius: 10px;
  background: var(--kasheer-input-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kasheer-login-page .card .input-container:focus-within {
  border-color: var(--kasheer-navy-soft);
  box-shadow: 0 0 0 3px rgba(12, 31, 74, 0.08);
}

.kasheer-login-page .kasheer-login-field__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

.kasheer-login-page .card .input-container input {
  flex: 1;
  min-width: 0;
  height: 50px;
  font-size: 15px;
  font-weight: 400;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--kasheer-text);
}

.kasheer-login-page .card .input-container input:-webkit-autofill,
.kasheer-login-page .card .input-container input:-webkit-autofill:hover,
.kasheer-login-page .card .input-container input:-webkit-autofill:focus,
.kasheer-login-page .card .input-container input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--kasheer-input-bg) inset;
  box-shadow: 0 0 0 1000px var(--kasheer-input-bg) inset;
  -webkit-text-fill-color: var(--kasheer-text);
  caret-color: var(--kasheer-text);
  transition: background-color 5000s ease-in-out 0s;
}

.kasheer-login-page .card .input-container label {
  display: none;
}

.kasheer-login-page .card .input-container .bar {
  display: none;
}

.kasheer-login-page .error_txt {
  margin: -8px 0 12px;
  font-size: 13px;
}

.kasheer-login-page .card .button-container {
  margin: 8px 0 0;
}

.kasheer-login-page .card .button-container button,
.kasheer-login-page .card .button-container .submit_login {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  border: 0;
  border-radius: 10px;
  background: var(--kasheer-gold-gradient) !important;
  box-shadow: none;
}

.kasheer-login-page .card .button-container button span {
  color: #fff !important;
  font-weight: 700;
}

.kasheer-login-page .card .button-container button:hover,
.kasheer-login-page .card .button-container button:focus,
.kasheer-login-page .card .button-container button:active {
  background: var(--kasheer-gold-gradient-hover) !important;
  border-color: transparent !important;
}

.kasheer-login-page .card .button-container button:before {
  display: none;
}

.kasheer-login-page .card .footer {
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.kasheer-login-page .card .footer a {
  color: var(--kasheer-navy-soft);
  text-decoration: none;
}

.kasheer-login-page .card .footer a:hover {
  color: var(--kasheer-navy);
  text-decoration: underline;
}

.kasheer-login-page .div_signup_link {
  font-size: 14px;
  margin-top: 12px;
}

.kasheer-login-page .div_signup_link_a {
  color: var(--kasheer-navy-soft) !important;
}

.kasheer-login-page .text_center.div_1 {
  margin: 0 0 16px;
}

.kasheer-login-page #loginpin.pinlogin {
  justify-content: center;
}

.kasheer-login-page .pinlogin-field input {
  border: 1px solid var(--kasheer-border) !important;
  border-radius: 10px !important;
  color: var(--kasheer-navy) !important;
  font-weight: 600;
}

.kasheer-login-page .pinlogin-field input:focus {
  border-color: var(--kasheer-navy-soft) !important;
  box-shadow: 0 0 0 3px rgba(12, 31, 74, 0.08);
}

.kasheer-login-page .pull-right {
  float: none;
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--kasheer-muted);
}

.kasheer-login-page .btn_demo {
  background: var(--kasheer-navy) !important;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 6px;
}

.kasheer-login-page .cta-default-whatsapp {
  margin-top: 12px !important;
}

.kasheer-login-page .custom_shadow {
  position: static;
  display: inline-block;
  margin-top: 8px;
}

.kasheer-login-copyright {
  margin-top: auto;
  padding-top: 32px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  width: min(100%, 420px);
}

.kasheer-login-page > .container > .row {
  margin: 0;
  width: 100%;
}

.kasheer-login-page > .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Hide legacy top logo block */
.kasheer-login-page .pen-title {
  display: none;
}

@media (max-width: 991px) {
  .kasheer-login-shell {
    flex-direction: column;
  }

  .kasheer-login-hero {
    flex-basis: auto;
    min-height: 280px;
  }

  .kasheer-login-hero__content {
    padding: 28px 24px 32px;
  }

  .kasheer-login-main {
    flex: 1;
    padding: 32px 20px 24px;
  }
}

@media (max-width: 480px) {
  .kasheer-login-page .btn_login_pin_type {
    font-size: 12px;
    padding: 11px 8px;
  }

  .kasheer-login-logo {
    width: min(100%, 180px);
    margin-bottom: 24px;
  }
}
