/* Login polish: framed rounded card with margin around it, bolder language/theme pill, deeper-orange Sign in. Visual only. */
/* The auth screen centers its card with place-items:center, which eats the top of the frame when the card is taller than the viewport; safe centering keeps the whole frame visible. */
.kp-auth-screen{padding:clamp(18px,4.5vh,48px) clamp(16px,4vw,48px)!important;place-items:safe center!important}
.kp-auth-card{margin:auto!important}
@media(max-width:720px){.kp-auth-screen{padding:14px!important;place-items:safe center!important;align-items:center!important}}
.kp-auth-screen .kp-login-tools{top:18px;inset-inline-end:20px}
.kp-login-tools{padding:4px 5px;border:1.5px solid #e2e7f1;box-shadow:0 3px 12px #1a24421c}
.kp-login-tools .kp-pill-btn{height:32px;min-width:34px;padding:0 14px;font-size:13px;font-weight:800}
.kp-login-tools .kp-pill-btn.kp-pill-icon{width:32px;min-width:32px;padding:0}
.kp-pill-btn.is-on{background:#ec6413!important;color:#fff!important;box-shadow:0 3px 10px #e8641352!important}
.kp-pill-btn:hover:not(.is-on){color:#e86413!important}

/* Sign in: same deeper orange as the Rgeeb login */
.kp-auth-screen .kp-auth-submit{background:linear-gradient(100deg,#e85d10,#f2701d)!important;color:#fff!important;font-weight:800;box-shadow:0 10px 24px #ec6a1550,inset 0 1px 0 #ffffff38}
.kp-auth-screen .kp-auth-submit:hover{box-shadow:0 14px 30px #ec6a156e,inset 0 1px 0 #ffffff38}

/* Labels and placeholders a touch clearer */
.kp-auth-screen .kp-auth-form label{color:#34436a;font-weight:700}
.kp-auth-screen .kp-auth-form input::placeholder{color:#5d6b80;opacity:1}
html[data-kp-theme=dark] .kp-auth-screen .kp-auth-form label{color:#c3cfdf}
html[data-kp-theme=dark] .kp-auth-screen .kp-auth-form input::placeholder{color:#8497b3}
html[data-kp-theme=dark] .kp-login-tools{background:#14233b;border-color:#2a4062}
/* Mobile: the pill sits over the form column, so give the form room below it */
@media(max-width:720px){.kp-auth-screen .kp-auth-main{padding-top:78px!important}}

/* v2: Rgeeb-style remember-me box — rounded square, white check */
.kp-auth-remember input{appearance:none;-webkit-appearance:none;width:18px!important;height:18px!important;min-height:18px!important;margin:0;border:1.5px solid #c9d2de;border-radius:5px;background:#fff;cursor:pointer;position:relative;flex:0 0 auto}
.kp-auth-remember input:checked{background:#ec6413;border-color:#ec6413}
.kp-auth-remember input:checked::after{content:"";position:absolute;left:5px;top:2px;width:4px;height:9px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
html[data-kp-theme=dark] .kp-auth-remember input{background:#14233b;border-color:#3a5070}
html[data-kp-theme=dark] .kp-auth-remember input:checked{background:#ec6413;border-color:#ec6413}

/* v2: compact login so the whole card fits one viewport without scrolling */
.kp-auth-card{min-height:0!important}
.kp-auth-hero{padding:26px 30px!important}
.kp-auth-hero-copy{margin-top:20px!important}
.kp-auth-hero-copy h2{font-size:27px!important;margin-bottom:9px!important}
.kp-auth-hero-copy p{font-size:12px!important;line-height:1.65!important}
.kp-auth-visual{height:118px!important;margin:2px -12px 6px!important}
.kp-kitchen-art{height:118px!important;max-width:280px!important}
.kp-auth-pill{padding:6px 10px!important}
.kp-auth-stats{margin-top:14px!important;gap:20px!important}
.kp-auth-stats b{font-size:16px!important}
.kp-auth-main{padding-top:26px!important;padding-bottom:20px!important}
.kp-auth-heading{font-size:25px!important;margin-bottom:4px!important}
.kp-auth-copy{margin-bottom:13px!important;line-height:1.6!important}
.kp-auth-tabs{margin-bottom:13px!important}
.kp-auth-tabs button{padding:8px 9px!important}
.kp-auth-form{grid-template-columns:1fr 1fr;gap:10px 12px!important}
.kp-auth-form>label,.kp-auth-form>.kp-auth-submit,.kp-auth-form>.kp-auth-back{grid-column:1/-1}
.kp-auth-form input,.kp-auth-form select{min-height:42px!important;padding:10px 13px!important}
.kp-auth-submit{padding:11px!important;margin-top:2px!important}
#kpForgotLink{text-align:start}
#kpResendLink{text-align:end}
.kp-auth-message{margin-top:9px!important;min-height:16px!important}
.kp-auth-footer{margin-top:8px!important}
/* short laptop viewports: drop the illustration like Rgeeb's compact card */
@media(max-width:720px){
  .kp-auth-hero{padding:18px 22px 14px!important;min-height:0!important}
  .kp-auth-hero-copy{margin-top:14px!important}
  .kp-auth-hero-copy h2{font-size:20px!important;margin-bottom:6px!important}
  .kp-auth-pills{margin-top:10px!important}
  .kp-auth-main{padding-top:70px!important;padding-bottom:18px!important}
  .kp-auth-heading{font-size:21px!important}
  .kp-auth-copy{margin-bottom:10px!important;font-size:11px!important}
  .kp-auth-tabs{margin-bottom:10px!important}
}

/* v3: remember-me — exact Rgeeb box, white SVG tick perfectly centered */
.kp-auth-remember input{border-radius:6px!important}
.kp-auth-remember input:checked{background:#ec6413 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat!important;border-color:#ec6413!important}
.kp-auth-remember input:checked::after{content:none!important}
html[data-kp-theme=dark] .kp-auth-remember input:checked{background:#ec6413 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/12px no-repeat!important;border-color:#ec6413!important}

/* v3: new compact hero art, always visible at laptop heights */
.kp-auth-visual{height:140px!important;margin:4px -8px 8px!important}
.kp-kitchen-art{height:140px!important;max-width:320px!important}
