
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:     #4F46E5;
  --brand-d:   #3730A3;
  --brand-l:   #6366F1;
  --green:     #059669;
  --red:       #DC2626;
  --amber:     #D97706;
  --txt:       #0F172A;
  --sub:       #1E293B;
  --muted:     #64748B;
  --border:    #E2E8F0;
  --bg:        #F8FAFC;
  --surface:   #FFFFFF;
  --font:      'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
  --r:         10px;
  --r-sm:      8px;
}

html, body { min-height: 100vh; }

body.dka-body {
  font-family: var(--font);
  background: #F1F5F9;
  -webkit-font-smoothing: antialiased;
  color: var(--txt);
}

.dka-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.dka-nav {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.dka-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--txt);
}
.dka-nav-logo {
  width: 36px;
  height: 36px;
  background: var(--brand);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dka-nav-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.dka-nav-logo svg { color: #fff; }
.dka-nav-name { font-size: 17px; font-weight: 800; color: var(--txt); letter-spacing: -.3px; }
.dka-nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .15s;
}
.dka-nav-link:hover { color: var(--brand); }
.dka-nav-link svg { width: 15px; height: 15px; }

.dka-card {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15,23,42,.1), 0 1px 4px rgba(15,23,42,.06);
  overflow: hidden;
  border: 1px solid var(--border);
}

.dka-form-section {
  padding: 40px 44px;
  border-right: 1px solid var(--border);
}

.dka-info-panel {
  background: linear-gradient(160deg, #4338CA 0%, #4F46E5 50%, #6366F1 100%);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.dka-info-panel::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.dka-info-panel::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.dka-info-head { position: relative; z-index: 1; }
.dka-info-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.dka-info-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -.4px;
  margin-bottom: 10px;
}
.dka-info-title em { font-style: italic; color: #A5B4FC; }
.dka-info-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

.dka-info-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.dka-info-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r);
  padding: 12px 14px;
  backdrop-filter: blur(4px);
}
.dka-info-stat-val {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.4px;
  line-height: 1;
  margin-bottom: 3px;
}
.dka-info-stat-lbl { font-size: 10px; color: rgba(255,255,255,.55); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }

.dka-info-feats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.dka-info-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.dka-info-feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dka-info-feat-icon svg { width: 14px; height: 14px; color: #fff; }
.dka-info-feat-body { padding-top: 2px; }
.dka-info-feat-title { font-size: 12.5px; font-weight: 700; color: #fff; margin-bottom: 1px; }
.dka-info-feat-desc  { font-size: 11px; color: rgba(255,255,255,.55); line-height: 1.4; }

.dka-info-quote {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.08);
  border-left: 2px solid rgba(165,180,252,.6);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  font-style: italic;
  line-height: 1.6;
}
.dka-info-quote-author { font-style: normal; font-weight: 700; font-size: 11px; color: rgba(255,255,255,.45); margin-top: 7px; }

.dka-form-head { margin-bottom: 24px; }
.dka-form-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}
.dka-form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--txt);
  letter-spacing: -.5px;
  margin-bottom: 4px;
}
.dka-form-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

.dka-tabs {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 24px;
  gap: 3px;
}
.dka-tab {
  flex: 1; padding: 9px 14px;
  border-radius: 7px;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--muted); text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .18s; cursor: pointer; border: none; background: none;
}
.dka-tab svg { width: 14px; height: 14px; flex-shrink: 0; }
.dka-tab.active { background: var(--surface); color: var(--brand); box-shadow: 0 1px 4px rgba(15,23,42,.1); }
.dka-tab:hover:not(.active) { color: var(--sub); }

.dka-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500; margin-bottom: 18px; line-height: 1.5;
}
.dka-alert svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.dka-alert-error   { background: #FEF2F2; color: var(--red);   border: 1px solid #FECACA; }
.dka-alert-success { background: #F0FDF4; color: #065F46; border: 1px solid #BBF7D0; }
.dka-alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.dka-alert-info    { background: #EEF2FF; color: var(--brand); border: 1px solid #C7D2FE; }

.dka-form { display: flex; flex-direction: column; gap: 16px; }
.dka-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.dka-field { display: flex; flex-direction: column; gap: 5px; }
.dka-field label {
  font-size: 12.5px; font-weight: 600; color: var(--sub);
  display: flex; align-items: center; justify-content: space-between;
}
.dka-req { color: var(--red); margin-left: 2px; }
.dka-field-opt { font-size: 11px; color: var(--muted); font-weight: 500; background: var(--bg); padding: 2px 7px; border-radius: 20px; border: 1px solid var(--border); }

.dka-iw { position: relative; }
.dka-ico {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: #94A3B8; pointer-events: none;
}
.dka-iw input, .dka-iw select { padding-left: 38px !important; }

.dka-field input,
.dka-field select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font); font-size: 13.5px; color: var(--txt);
  background: var(--surface); transition: border-color .18s, box-shadow .18s;
  outline: none; appearance: none;
}
.dka-field input::placeholder { color: #CBD5E1; }
.dka-field input:focus, .dka-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79,70,229,.1);
}

.dka-eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #94A3B8;
  padding: 4px; display: flex; border-radius: 5px; transition: color .15s;
}
.dka-eye:hover { color: var(--brand); }
.dka-eye svg { width: 15px; height: 15px; }

.dka-check {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; color: var(--muted); cursor: pointer; line-height: 1.5;
}
.dka-check input[type=checkbox] {
  width: 15px; height: 15px; border-radius: 4px;
  accent-color: var(--brand); cursor: pointer; flex-shrink: 0; margin-top: 2px;
}
.dka-check a { color: var(--brand); text-decoration: none; font-weight: 600; }

.dka-forgot { font-size: 12px; font-weight: 600; color: var(--brand); text-decoration: none; }
.dka-forgot:hover { text-decoration: underline; }

.dka-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px;
  border: none; border-radius: var(--r-sm);
  font-family: var(--font); font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .2s; letter-spacing: -.1px;
}
.dka-btn svg { width: 15px; height: 15px; }
.dka-btn-login {
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 10px rgba(79,70,229,.3);
}
.dka-btn-login:hover { background: var(--brand-d); box-shadow: 0 4px 16px rgba(79,70,229,.4); transform: translateY(-1px); }
.dka-btn-register {
  background: var(--green); color: #fff;
  box-shadow: 0 2px 10px rgba(5,150,105,.25);
}
.dka-btn-register:hover { background: #047857; box-shadow: 0 4px 14px rgba(5,150,105,.35); transform: translateY(-1px); }
.dka-btn-reset {
  background: var(--brand); color: #fff;
  box-shadow: 0 2px 10px rgba(79,70,229,.25);
}
.dka-btn-reset:hover { background: var(--brand-d); transform: translateY(-1px); }
.dka-btn:active { transform: translateY(0) !important; }
.dka-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

.dka-switch {
  text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px;
}
.dka-sw { color: var(--brand); font-weight: 700; text-decoration: none; }
.dka-sw:hover { text-decoration: underline; }

.dka-strength { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.dka-str-bars { display: flex; gap: 3px; flex: 1; }
.dka-str-bar { flex: 1; height: 3px; border-radius: 2px; background: var(--border); transition: background .3s; }
.dka-str-lbl { font-size: 10.5px; font-weight: 700; min-width: 38px; text-align: right; }

.dka-trust {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.dka-trust-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #94A3B8; font-weight: 500; }
.dka-trust-item svg { width: 12px; height: 12px; color: var(--green); }

.dka-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  text-decoration: none; margin-bottom: 22px; transition: color .15s;
}
.dka-back:hover { color: var(--brand); }
.dka-back svg { width: 15px; height: 15px; }

@media (max-width: 820px) {
  .dka-card {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .dka-form-section { order: 1; border-right: none; }
  .dka-info-panel   { display: none; }   
}

@media (max-width: 560px) {
  .dka-page { padding: 0; background: var(--surface); }
  body.dka-body { background: var(--surface); }
  .dka-nav { padding: 16px 20px; margin-bottom: 0; max-width: 100%; }
  .dka-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    max-width: 100%;
    grid-template-columns: 1fr;
  }
  .dka-form-section { padding: 24px 20px; order: 1; }
  .dka-info-panel   { display: none; }  
  .dka-row          { grid-template-columns: 1fr; gap: 12px; }
  .dka-form-title   { font-size: 22px; }
}

@media (max-width: 380px) {
  .dka-form-section { padding: 20px 16px; }
  .dka-info-stats   { grid-template-columns: 1fr 1fr; }
}
