:root{
  --coab-bg:#eaf6fc;
  --coab-bg-2:#f8fcff;
  --coab-card:#ffffff;
  --coab-text:#0b1220;
  --coab-muted:#62748c;
  --coab-border:rgba(10,24,48,.10);
  --coab-border-strong:rgba(10,24,48,.14);
  --coab-accent:#16b5d6;
  --coab-accent-2:#0b1220;
  --coab-shadow:0 24px 70px rgba(8,24,48,.10);
  --coab-radius:28px;
  --coab-radius-sm:18px;
  --coab-max:1280px;
  --coab-field-h:60px;
}

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

body.coab-auth-screen{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(22,181,214,.08), transparent 30%),
    linear-gradient(180deg, var(--coab-bg), var(--coab-bg-2));
  color:var(--coab-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

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

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

.coab-auth-field select{
  width:100%;
  min-height:var(--coab-field-h);
  border-radius:20px;
  border:1px solid var(--coab-border-strong);
  background:#fff;
  color:var(--coab-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;
}

.coab-auth-field select:focus,
.coab-auth-field textarea:focus{
  border-color:rgba(22,181,214,.55);
  box-shadow:0 0 0 4px rgba(22,181,214,.14);
}
.coab-auth-page{
  min-height:calc(100svh - 32px);
}

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

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

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

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

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

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

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

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

.coab-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.coab-auth-field input{
  width:100%;
  height:var(--coab-field-h);
  border-radius:20px;
  border:1px solid var(--coab-border-strong);
  background:#fff;
  color:var(--coab-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;
}

.coab-auth-field input:focus{
  border-color:rgba(22,181,214,.55);
  box-shadow:0 0 0 4px rgba(22,181,214,.14);
}

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

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

.coab-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;
}

.coab-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


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

/* XpressBoost Auth v1.0.2 - simple Google visibility + brand polish */
.coab-google-btn{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;border-radius:16px;border:1px solid rgba(15,23,42,.12);background:#fff;color:#0f172a!important;font-weight:850;text-decoration:none;box-shadow:0 12px 30px rgba(15,23,42,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.coab-google-btn:hover{transform:translateY(-1px);border-color:rgba(37,99,235,.28);box-shadow:0 18px 42px rgba(37,99,235,.12)}
.coab-google-btn.is-pending-config{opacity:.96;cursor:pointer;background:linear-gradient(180deg,#fff,#f8fbff)}
.coab-google-btn__icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px}
.coab-auth-sep{display:flex;align-items:center;gap:12px;margin:18px 0;color:#64748b;font-size:13px;font-weight:800;text-transform:lowercase}
.coab-auth-sep:before,.coab-auth-sep:after{content:"";height:1px;flex:1;background:rgba(148,163,184,.35)}
.coab-auth-errors,.coab-auth-success{border-radius:16px;padding:13px 14px;margin:0 0 16px;font-weight:750;line-height:1.45}
.coab-auth-errors{background:#fff1f2;color:#9f1239;border:1px solid #fecdd3}.coab-auth-success{background:#ecfdf5;color:#065f46;border:1px solid #bbf7d0}
