/* 1KG Vendor UI polish 1.0.0. Presentation only; does not change forms, links, requests or WP account logic. */
.kg-root{--kg-ui-ink:#12354b;--kg-ui-green:#08633e;--kg-ui-blue:#1368c8;--kg-ui-line:#d9e5ec;--kg-ui-surface:#f5f9fb}
/* Login: two modes, and all stages including OTP request and verification */
.kg-root .kg-auth-layout{min-height:min(100dvh,850px)!important;max-width:100%!important;overflow-x:clip!important}
.kg-root .kg-auth-main{min-width:0!important;padding:clamp(18px,3.2vw,55px)!important;display:flex!important;justify-content:center!important;align-items:center!important}
.kg-root .kg-auth-main .kg-auth-card{width:min(100%,610px)!important;max-width:610px!important;min-width:0!important;border-radius:22px!important;box-sizing:border-box!important;padding:clamp(20px,2.7vw,36px)!important;background:#fff!important;border:1px solid #dce5ee!important;box-shadow:0 18px 55px rgba(11,46,80,.08)!important}
.kg-root .kg-auth-card h2{font-weight:750!important;letter-spacing:-.5px!important;color:#0d2f4c!important;font-size:clamp(25px,2.1vw,32px)!important;line-height:1.2!important;margin:0 0 22px!important}
.kg-root .kg-login-methods{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:7px!important;background:#f2f6fc!important;border:1px solid #e0e9f3!important;border-radius:14px!important;margin-bottom:18px!important}
.kg-root .kg-login-method{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;min-height:68px!important;padding:12px!important;border-radius:11px!important;border:1px solid transparent!important;text-decoration:none!important;color:#244867!important;background:transparent!important}
.kg-root .kg-login-method.is-active,.kg-root .kg-login-method[aria-current="page"]{border:1px solid #b6d6fa!important;background:#fff!important;color:#085bb5!important;box-shadow:0 2px 9px rgba(19,105,202,.07)!important}
.kg-root .kg-login-method-icon{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:10px!important;background:#e9f1fa!important;flex:0 0 42px!important;font-size:20px!important}
.kg-root .kg-login-method strong{font-weight:750!important;font-size:14px!important;display:block!important}
.kg-root .kg-login-method small{font-size:11px!important;line-height:1.35!important;display:block!important;color:#7186a1!important}
.kg-root .kg-auth-card form{max-width:100%!important;min-width:0!important;box-sizing:border-box!important;gap:11px!important}
.kg-root .kg-auth-card form label{display:block!important;max-width:100%!important;min-width:0!important;line-height:1.45!important;color:#23435c!important;font-size:12px!important;font-weight:650!important}
.kg-root .kg-auth-card form input:not([type="hidden"]):not([type="checkbox"]),
.kg-root .kg-auth-card form select{
 box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:45px!important;border:1px solid #cbd9e8!important;border-radius:10px!important;padding:11px 13px!important;background:#fbfdff!important;color:#163650!important;font:500 13px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;box-shadow:none!important;outline:none!important;
}
.kg-root .kg-auth-card form input:focus-visible,.kg-root .kg-auth-card form select:focus-visible{border-color:#2582de!important;outline:3px solid #d5eaff!important;outline-offset:0!important}
.kg-root .kg-auth-card form button,.kg-root .kg-auth-card form input[type="submit"]{box-sizing:border-box!important;min-height:43px!important;padding:10px 15px!important;font:700 12px/1.25 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;border-radius:9px!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;cursor:pointer!important;transition:background .16s ease,border-color .16s ease!important}
.kg-root .kg-auth-card form button[type="submit"],.kg-root .kg-auth-card form .kg-primary,.kg-root .kg-auth-card form input[type="submit"]{background:#086440!important;border:1px solid #086440!important;color:#fff!important}
.kg-root .kg-auth-card form button[type="submit"]:hover,.kg-root .kg-auth-card form .kg-primary:hover{background:#064c31!important}
.kg-root .kg-auth-card form button:not([type="submit"]):not(.kg-primary),.kg-root .kg-auth-card form a{background:#f5f9fc!important;color:#245575!important;border:1px solid #d6e2ec!important;border-radius:9px!important;padding:10px 13px!important;text-decoration:none!important}
.kg-root .kg-auth-card form button:disabled{cursor:not-allowed!important;opacity:.55!important}
.kg-root .kg-auth-card .kg-auth-actions{display:grid!important;gap:8px!important;margin-top:17px!important}
.kg-root .kg-auth-card .kg-auth-action{display:flex!important;gap:10px!important;align-items:center!important;justify-content:flex-start!important;min-height:47px!important;padding:11px 14px!important;border:1px solid #d9e6f4!important;background:#f7faff!important;border-radius:11px!important;color:#165693!important;font-size:13px!important;font-weight:650!important;text-decoration:none!important}
.kg-root .kg-auth-card .kg-auth-action:hover{border-color:#8bbfea!important;background:#eef6ff!important}
.kg-root .kg-auth-card .kg-muted{color:#627c92!important;font-size:11px!important;line-height:1.6!important}
.kg-root .kg-auth-card p,.kg-root .kg-auth-card small{overflow-wrap:anywhere}
/* Dashboard: icon tiles and active nav consistency. JS adds exact-scoped hooks only when sidebar is recognized. */
.kg-vendor-nav-ui a[data-kg-vendor-icon],.kg-vendor-nav-ui button[data-kg-vendor-icon]{display:flex!important;gap:11px!important;align-items:center!important;min-width:0!important;line-height:1.35!important}
.kg-vendor-ui-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 19px!important;width:19px!important;height:19px!important;color:#2d6d60!important}
.kg-vendor-ui-icon svg{display:block;width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.kg-vendor-ui-icon svg path,.kg-vendor-ui-icon svg circle,.kg-vendor-ui-icon svg rect,.kg-vendor-ui-icon svg line,.kg-vendor-ui-icon svg polyline{vector-effect:non-scaling-stroke}
.kg-vendor-nav-ui [data-kg-vendor-icon]:hover .kg-vendor-ui-icon,.kg-vendor-nav-ui [aria-current="page"] .kg-vendor-ui-icon{color:#075e44!important}
.kg-vendor-stat-icon{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;background:#eef7f3;border-radius:9px;color:#176b54;flex:0 0 31px}
.kg-vendor-stat-icon svg{display:block;width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
@media(max-width:760px){
 .kg-root .kg-auth-layout{display:flex!important;flex-direction:column!important;min-height:100dvh!important}
 .kg-root .kg-auth-hero{min-height:0!important;padding:18px!important}
 .kg-root .kg-hero-content h1{font-size:clamp(22px,6vw,31px)!important}
 .kg-root .kg-auth-main{padding:12px!important;align-items:flex-start!important}
 .kg-root .kg-auth-main .kg-auth-card{padding:18px!important;border-radius:16px!important}
 .kg-root .kg-login-method{min-height:63px!important;padding:8px!important;gap:7px!important}
 .kg-root .kg-login-method-icon{width:32px!important;height:32px!important;flex-basis:32px!important}
 .kg-root .kg-login-method strong{font-size:12px!important}
 .kg-root .kg-login-method small{font-size:10px!important}
}
@media(max-width:380px){.kg-root .kg-auth-card form button{width:100%!important}.kg-root .kg-login-method small{display:none!important}}
@media(prefers-reduced-motion:reduce){.kg-root .kg-auth-card form button{transition:none!important}}
