:root{
  --dbz-bg:#FCF6EF;
  --dbz-bg-2:#FFF7F0;
  --dbz-card:#ffffff;
  --dbz-text:#2A2520;
  --dbz-muted:#8C8078;
  --dbz-border:rgba(120,80,50,.12);
  --dbz-border-strong:#E2D3C4;
  --dbz-accent:#FF6F61;
  --dbz-accent-2:#2A2520;
  --dbz-shadow:0 24px 70px rgba(74,52,40,.12);
  --dbz-radius:28px;
  --dbz-radius-sm:18px;
  --dbz-max:1280px;
  --dbz-field-h:60px;
}

html,body{
  min-height:100%;
  -webkit-text-size-adjust:100%;
}

body.dbz-auth-screen{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(255,111,97,.10), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(255,111,97,.10), transparent 32%),linear-gradient(180deg, var(--dbz-bg), var(--dbz-bg-2));
  color:var(--dbz-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.dbz-auth-screen #wpadminbar,
body.dbz-auth-screen .screen-reader-shortcut,
body.dbz-auth-screen .skip-link,
body.dbz-auth-screen .skip-link.screen-reader-text{
  display:none !important;
}

.dbz-auth-field select,
.dbz-auth-field textarea,
.dbz-auth-field input{
  font-size:16px !important;
}

.dbz-auth-field select{
  width:100%;
  min-height:var(--dbz-field-h);
  border-radius:20px;
  border:1px solid var(--dbz-border-strong);
  background:#fff;
  color:var(--dbz-text);
  padding:0 18px;
  outline:none;
  box-sizing:border-box;
  appearance:none;
  background-image:linear-gradient(45deg, transparent 50%, #64748b 50%),linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:calc(100% - 24px) calc(50% - 3px), calc(100% - 18px) calc(50% - 3px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
}

.dbz-auth-field select:focus,
.dbz-auth-field textarea:focus{
  border-color:rgba(255,111,97,.55);
  box-shadow:0 0 0 4px rgba(255,111,97,.14);
}
.dbz-auth-page{
  min-height:calc(100svh - 32px);
}

@media (max-width:782px){
  body.dbz-auth-screen.admin-bar .dbz-auth-page{
    min-height:calc(100svh - 46px);
  }
}

.dbz-auth-page{
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 18px;
  box-sizing:border-box;
}

.dbz-auth-shell-inner{
  width:100%;
  max-width:var(--dbz-max);
  margin:0 auto;
}

.dbz-auth-layout{
  display:grid;
  grid-template-columns:minmax(320px, 1fr) minmax(420px, 560px);
  gap:36px;
  align-items:center;
}

.dbz-auth-layout__brand,
.dbz-auth-layout__card{
  min-width:0;
}

.dbz-auth-brand-panel{
  padding:10px 8px 10px 8px;
}

.dbz-auth-brand__logo{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  margin-bottom:20px;
}

.dbz-auth-brand__logo img{
  display:block;
  width:auto;
  height:78px;
  object-fit:contain;
}

.dbz-auth-badge{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  background:rgba(22,181,214,.12);
  color:#118ca5;
  font-weight:800;
  font-size:14px;
  margin-bottom:22px;
}

.dbz-auth-hero{
  margin:0 0 18px;
  font-size:clamp(42px, 6vw, 72px);
  line-height:.98;
  letter-spacing:-.05em;
  font-weight:900;
  max-width:12ch;
}

.dbz-auth-copy{
  margin:0;
  max-width:620px;
  color:var(--dbz-muted);
  font-size:18px;
  line-height:1.55;
}

.dbz-auth-points{
  list-style:none;
  margin:28px 0 0;
  padding:0;
  display:grid;
  gap:14px;
}

.dbz-auth-points li{
  position:relative;
  padding-left:34px;
  font-size:18px;
  line-height:1.45;
  font-weight:700;
}

.dbz-auth-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.35em;
  width:12px;
  height:12px;
  border-radius:999px;
  background:var(--dbz-accent);
  box-shadow:0 0 0 6px rgba(22,181,214,.15);
}

.dbz-auth-card-wrap{
  display:flex;
  justify-content:center;
}

.dbz-auth-card{
  width:100%;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.65);
  border-radius:36px;
  box-shadow:var(--dbz-shadow);
  padding:38px;
  box-sizing:border-box;
  backdrop-filter:blur(12px);
}

.dbz-auth-card--compact{
  max-width:520px;
}

.dbz-auth-mobile-logo{
  display:none;
  align-items:center;
  justify-content:center;
  margin:0 0 16px;
  text-decoration:none;
}

.dbz-auth-mobile-logo img{
  display:block;
  width:auto;
  height:56px;
  object-fit:contain;
}

.dbz-auth-card h2{
  margin:0 0 10px;
  font-size:clamp(34px, 4vw, 48px);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-.04em;
}

.dbz-auth-subtitle{
  margin:0 0 24px;
  color:var(--dbz-muted);
  font-size:16px;
  line-height:1.55;
}

.dbz-auth-form{
  display:grid;
  gap:18px;
}

.dbz-auth-field label{
  display:block;
  margin:0 0 10px;
  font-size:14px;
  line-height:1.2;
  font-weight:800;
  color:var(--dbz-text);
}

.dbz-auth-field input{
  width:100%;
  height:var(--dbz-field-h);
  border-radius:20px;
  border:1px solid var(--dbz-border-strong);
  background:#fff;
  color:var(--dbz-text);
  padding:0 18px;
  font-size:16px;
  outline:none;
  box-sizing:border-box;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.dbz-auth-field input:focus{
  border-color:rgba(255,111,97,.55);
  box-shadow:0 0 0 4px rgba(255,111,97,.14);
}

.dbz-auth-password-wrap{
  position:relative;
}

.dbz-auth-password-wrap input{
  padding-right:64px;
}

.dbz-auth-toggle{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:transparent;
  cursor:pointer;
  font-size:18px;
  color:#526171;
}

.dbz-auth-submit{
  width:100%;
  height:62px;
  border:0;
  border-radius:20px;
  background:linear-gradient(135deg, #07112a 0%, #03133b 100%);
  color:#fff;
  font-size:18px;
  font-weight:900;
  letter-spacing:-.02em;
  cursor:pointer;
  box-shadow:0 16px 28px rgba(2,12,32,.14);
  transition:transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.dbz-auth-submit:hover{
  transform:translateY(-1px);
  filter:brightness(1.02);
}

.dbz-auth-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.dbz-auth-row a,
.dbz-auth-links a{
  color:#0d96b2;
  font-weight:800;
  text-decoration:none;
}

.dbz-auth-row a:hover,
.dbz-auth-links a:hover{
  text-decoration:underline;
}

.dbz-auth-check{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--dbz-muted);
  font-size:15px;
}

.dbz-auth-check input{
  width:20px;
  height:20px;
  accent-color:var(--dbz-accent);
}

.dbz-auth-links{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:22px;
  flex-wrap:wrap;
}

.dbz-auth-links--split{
  justify-content:space-between;
}

.dbz-auth-sep{
  display:flex;
  align-items:center;
  gap:14px;
  margin:18px 0 8px;
  color:#7d8a9c;
  font-size:15px;
  font-weight:800;
}

.dbz-auth-sep::before,
.dbz-auth-sep::after{
  content:"";
  flex:1 1 auto;
  height:1px;
  background:var(--dbz-border);
}

.dbz-google-btn{
  width:100%;
  min-height:62px;
  border-radius:999px;
  border:1px solid var(--dbz-border-strong);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-decoration:none;
  color:var(--dbz-text);
  font-size:17px;
  font-weight:900;
  box-sizing:border-box;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.dbz-google-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(22,181,214,.35);
  box-shadow:0 10px 24px rgba(12,28,54,.08);
}

.dbz-google-btn__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.dbz-auth-errors,
.dbz-auth-success{
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:16px;
  font-size:14px;
  line-height:1.5;
  font-weight:700;
}

.dbz-auth-errors{
  background:#fff3f3;
  color:#9f1d1d;
  border:1px solid rgba(159,29,29,.16);
}

.dbz-auth-success{
  background:#eefbf4;
  color:#116b3b;
  border:1px solid rgba(17,107,59,.16);
}

@media (max-width:1080px){
  .dbz-auth-layout{
    grid-template-columns:minmax(280px, 1fr) minmax(390px, 520px);
    gap:28px;
  }

  .dbz-auth-card{
    padding:30px;
  }

  .dbz-auth-hero{
    font-size:clamp(36px, 5vw, 58px);
  }

  .dbz-auth-copy,
  .dbz-auth-points li{
    font-size:17px;
  }
}

@media (max-width:820px){
  .dbz-auth-page{
    padding:16px;
    align-items:flex-start;
  }

  .dbz-auth-layout{
    grid-template-columns:1fr;
    gap:16px;
  }

  .dbz-auth-layout__brand{
    display:none;
  }

  .dbz-auth-mobile-logo{
    display:flex;
  }

  .dbz-auth-card-wrap{
    width:100%;
  }

  .dbz-auth-card,
  .dbz-auth-card--compact{
    width:100%;
    max-width:100%;
    border-radius:28px;
    padding:24px 18px;
    backdrop-filter:none;
  }

  .dbz-auth-card h2{
    font-size:24px;
    margin-bottom:8px;
  }

  .dbz-auth-subtitle{
    font-size:14px;
    margin-bottom:18px;
  }

  .dbz-google-btn,
  .dbz-auth-submit,
  .dbz-auth-field input,
  .dbz-auth-field select{
    min-height:56px;
    height:56px;
    border-radius:18px;
  }

  .dbz-google-btn{
    font-size:16px;
  }

  .dbz-auth-links,
  .dbz-auth-links--split{
    justify-content:center;
    gap:14px 18px;
  }

  .dbz-auth-row{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
}

@media (max-width:420px){
  .dbz-auth-page{
    padding:12px;
  }

  .dbz-auth-card{
    padding:20px 14px;
    border-radius:24px;
  }

  .dbz-google-btn,
  .dbz-auth-submit,
  .dbz-auth-field input,
  .dbz-auth-field select{
    min-height:54px;
    height:54px;
  }

  .dbz-google-btn{
    gap:10px;
    font-size:15px;
  }

  .dbz-auth-check{
    font-size:14px;
  }
}


.dbz-auth-layout--single{grid-template-columns:minmax(320px,560px);justify-content:center;gap:0;}
.dbz-auth-layout--single .dbz-auth-layout__card{display:flex;justify-content:center;}
.dbz-auth-layout__brand,.dbz-auth-mobile-logo{display:none !important;}
.dbz-auth-card{max-width:560px;padding:32px;border-radius:32px;background:#fff;border:1px solid rgba(10,24,48,.08);backdrop-filter:none;}
.dbz-auth-card h2{margin:0 0 8px;font-size:clamp(34px,4vw,44px);}
.dbz-auth-subtitle{margin:0 0 22px;font-size:15px;color:#6b7a90;}
.dbz-auth-links{margin-top:18px;text-align:center;}
.dbz-auth-links a{font-weight:800;color:#139dc0;text-decoration:none;}
.dbz-auth-form--wizard{gap:20px;}
.dbz-auth-step-panel{display:grid;gap:18px;}
.dbz-auth-step-panel[hidden]{display:none !important;}
.dbz-auth-actions{display:flex;align-items:center;gap:12px;}
.dbz-auth-actions--wizard{margin-top:2px;}
.dbz-auth-actions--split > *{flex:1;}
.dbz-auth-submit--secondary{background:#0b1220;}
.dbz-auth-ghost{min-height:56px;border-radius:18px;border:1px solid var(--dbz-border-strong);background:#fff;color:#0b1220;font-size:16px;font-weight:800;padding:0 18px;cursor:pointer;box-sizing:border-box;}
.dbz-auth-ghost:hover{border-color:rgba(22,181,214,.45);}
@media (max-width: 782px){.dbz-auth-page{padding:18px 14px;align-items:flex-start;}.dbz-auth-card{padding:24px;border-radius:28px;}.dbz-auth-card h2{font-size:clamp(28px,7vw,38px);}.dbz-auth-actions,.dbz-auth-actions--split{flex-direction:column;}.dbz-auth-actions--split > *{width:100%;}}


.dbz-auth-help{margin:10px 2px 0;color:var(--dbz-muted);font-size:14px;line-height:1.5;}
.dbz-password-rules{margin-top:14px;padding:16px 18px;border-radius:18px;background:#f4f7fb;border:1px solid #e6edf5;display:grid;gap:10px;}
.dbz-password-rules__item{position:relative;padding-left:28px;font-size:15px;line-height:1.4;color:#334155;font-weight:600;}
.dbz-password-rules__item::before{content:"•";position:absolute;left:8px;top:0;color:#94a3b8;font-size:18px;line-height:1.2;}
.dbz-password-rules__item.is-valid{color:#0f5132;}
.dbz-password-rules__item.is-valid::before{content:"✓";color:#10b981;font-size:16px;top:1px;}
.dbz-password-rules__item.is-invalid{color:#334155;}
.dbz-auth-submit.is-loading{opacity:.82;pointer-events:none;}
.dbz-auth-step-panel[hidden]{display:none !important;}
