@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');

:root{--k-bg:#f6f7fb;--k-text:#111827;--k-muted:#505050;--k-border:#e5e7eb;--k-border2:#d1d5db;--k-focus:#6366f1;--k-radius:16px;--k-shadow:0 18px 50px rgba(17,24,39,.10);}
*{box-sizing:border-box;}
html,body{height:100%;}
body{margin:0;}
.k-oauth { margin-top: 16px; }
.k-or { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: #6b7280; font-size: 13px; }
.k-or::before { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.k-or::after { content: ""; flex: 1; height: 1px; background: #e5e7eb; }
.k-google-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border: 1px solid #d7dbe2; border-radius: 14px; background: #ffffff; color: #111827; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 4px 14px rgba(17,24,39,.06); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.k-google-btn:hover { background: #f9fafb; border-color: #c7ced9; box-shadow: 0 8px 22px rgba(17,24,39,.10); transform: translateY(-1px); }
.k-google-btn:active { transform: translateY(0); box-shadow: 0 4px 14px rgba(17,24,39,.06); }
.k-google-btn:focus-visible { outline: none; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.k-google-btn__icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; }
.k-google-btn__icon img { display: block; width: 18px; height: 18px; }
.k-google-btn__text { line-height: 1; }



.k-layout{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;font-family:'Inter',sans-serif;font-weight:700;background:var(--k-bg);color:var(--k-text);}
.k-layout--auth{    background: linear-gradient(135deg, #003b95 0%, #0057d8 58%, #0a7aff 100%);}

.k-container{width:100%;max-width:560px;}
.k-auth{max-width:500px;}
.logoi { background: linear-gradient(135deg, #003b95 0%, #0057d8 58%, #0a7aff 100%); padding: 10px 20px 6px 20px; border-radius: 12px; width: min-content;margin: 0 auto; }
.k-card{background: #fff;border:1px solid rgba(229,231,235,.85);border-radius:var(--k-radius);box-shadow:var(--k-shadow);padding:24px;backdrop-filter:blur(8px);}
.k-card--auth{position:relative;overflow:hidden;}
.k-card__inner{position:relative;}

.k-auth__intro{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;}
.k-badge{width:max-content;padding:6px 10px;border-radius:999px;border:1px solid rgba(229,231,235,.9);background:rgba(255,255,255,.75);font-size:12px;color:#374151;backdrop-filter:blur(6px);}
.k-title{font-size:22px;letter-spacing:-.2px;font-weight:700;margin:0;}
.k-subtitle{font-size:13px;color:var(--k-muted);line-height:1.45;}
.k-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(17,24,39,.14),transparent);margin:14px 0;}
.k-text-muted{font-size:12px;color:var(--k-muted);font-weight:700;}

.k-form{display:flex;flex-direction:column;gap:12px;}
.k-grid{display:grid;gap:12px;}
.k-grid--2{grid-template-columns:1fr 1fr;}

.k-field{display:flex;flex-direction:column;gap:6px;}
.k-label{font-size:13px;font-weight:700;color:#374151;}

.k-input{height:48px;padding:0 14px;border:1px solid rgba(209,213,219,.92);border-radius:14px;outline:none;font-size:14px;background:rgba(255,255,255,.92);font-family:'Inter',sans-serif;font-weight:500;transition:box-shadow .15s,border-color .15s,transform .05s;}
.k-input:hover{border-color:rgba(99,102,241,.42);}
.k-input:focus{border-color:var(--k-focus);box-shadow:0 0 0 4px rgba(99,102,241,.15);}
.k-input:active{transform:translateY(1px);}


.k-inputwrap{position:relative !important;display:block !important;width:100% !important;}
.k-inputwrap .k-input{width:100% !important;}
.k-inputwrap .k-input.k-input--withicon{padding-right:58px !important;}
.k-inputwrap .k-eye{position:absolute !important;top:50% !important;right:8px !important;left:auto !important;bottom:auto !important;transform:translateY(-50%) !important;width:40px !important;height:40px !important;border:none !important;background:transparent !important;border-radius:12px !important;cursor:pointer !important;display:flex !important;align-items:center !important;justify-content:center !important;z-index:5 !important;margin:0 !important;padding:0 !important;}
.k-inputwrap .k-eye:hover{background:rgba(17,24,39,.06) !important;}

.hero-bg-orb{position:absolute;border-radius:999px;filter:blur(12px);opacity:.18;pointer-events:none;animation:hero-orb-fade 8s ease-in-out infinite;}
.hero-bg-orb--one{width:320px;height:320px;top:80px;right:-60px;background:#8bc8ff;animation-delay:0s;}
.hero-bg-orb--two{width:240px;height:240px;left:-40px;bottom:10px;background:#7db7ff;animation-delay:2.6s;}
@keyframes hero-orb-fade{0%{opacity:.08;}50%{opacity:.26;}100%{opacity:.08;}}
.k-inputwrap{position:relative;}
.k-input--withicon{padding-right:58px;}
.k-eye{position:absolute;top:6px;right:6px;bottom:6px;width:46px;border:none;background:transparent;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:rgba(55,65,81,.85);z-index:2;}
.k-eye:hover{background:rgba(17,24,39,.06);color:#111827;}
.k-eye:active{transform:scale(.98);}
.k-eye__icon{width:20px;height:20px;display:block;}
.k-eye__icon--hide{display:none;}
.k-eye[aria-pressed="true"] .k-eye__icon--show{display:none;}
.k-eye[aria-pressed="true"] .k-eye__icon--hide{display:block;}
.k-layout--auth{position:relative;overflow:hidden;}
.k-help{font-size:12px;color:var(--k-muted);line-height:1.4;}
.k-help--error{color:#b91c1c;}

.k-btn{height:48px;border:none;border-radius:14px;font-weight:700;cursor:pointer;padding:0 14px;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:'Inter',sans-serif;transition:filter .15s,transform .05s,box-shadow .15s;}
.k-btn--primary{background:#febb02;color:#fff;}
.k-btn--primary:hover{filter:brightness(1.06);}
.k-btn--primary:active{transform:translateY(1px);}
.k-btn--block{width:100%;}

.k-alert{border-radius:14px;padding:10px 12px;font-size:13px;font-weight:700;}
.k-alert--success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;}
.k-alert--error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;}

.k-link{color:#0048b5;text-decoration:none;font-weight:700;}
.k-link:hover{text-decoration:underline;}

.k-actions{margin-top:2px;}
.k-under{text-align:center;}

.k-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#374151;cursor:pointer;user-select:none;}
.k-check__box{margin-top:3px;width:16px;height:16px;accent-color:var(--k-focus);}
.k-check__text{line-height:1.4;}

.k-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;z-index:9999;padding:18px;}
.k-modal.is-open{display:flex;}
.k-modal__backdrop{position:absolute;inset:0;background:rgba(17,24,39,.55);}
.k-modal__dialog{position:relative;z-index:1;width:min(720px,92vw);max-height:82vh;overflow:auto;background:#fff;border:1px solid var(--k-border);border-radius:18px;box-shadow:0 18px 60px rgba(17,24,39,.22);padding:16px;}
.k-modal__header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.k-modal__title{font-size:16px;font-weight:700;margin:0;}
.k-modal__close{width:36px;height:36px;border-radius:12px;border:1px solid var(--k-border2);background:#fff;cursor:pointer;font-size:22px;line-height:1;font-weight:700;transition:filter .15s,transform .05s;}
.k-modal__close:hover{filter:brightness(.97);}
.k-modal__close:active{transform:translateY(1px);}
.k-modal__body{font-size:13px;line-height:1.55;color:var(--k-text);}
.k-modal__footer{margin-top:14px;display:flex;justify-content:flex-end;}

@media (max-width:640px){
.k-layout{padding:16px;}
.k-grid--2{grid-template-columns:1fr;}
.k-card{padding:18px;}
}