*{box-sizing:border-box}
:root{
  --dp-navy:#0b2f63;
  --dp-navy-deep:#071f43;
  --dp-blue:#1768c5;
  --dp-blue-bright:#287ee0;
  --dp-gold:#e6a33a;
  --dp-ink:#10233e;
  --dp-muted:#6d7d91;
  --dp-line:#dce6f2;
  --dp-soft:#f5f8fc;
  --dp-white:#fff;
  --dp-danger:#b84040;
  --dp-shadow:0 28px 80px rgba(19,48,87,.18);
}
html,body{min-height:100%;margin:0}
body.dp-login-page{
  min-height:100vh;
  padding:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow-x:hidden;
  color:var(--dp-ink);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 10% 10%,rgba(35,116,207,.13),transparent 28%),
    radial-gradient(circle at 88% 82%,rgba(230,163,58,.12),transparent 25%),
    #eef4fb;
}
body.dp-login-page:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:linear-gradient(rgba(14,56,110,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(14,56,110,.045) 1px,transparent 1px);
  background-size:42px 42px;
  -webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 86%);
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 86%);
}
.dp-login-shell{
  position:relative;
  z-index:1;
  width:min(1120px,100%);
  min-height:690px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
  overflow:hidden;
  border:1px solid rgba(213,226,241,.9);
  border-radius:30px;
  background:#fff;
  box-shadow:var(--dp-shadow);
}
.dp-brand-panel{
  position:relative;
  overflow:hidden;
  padding:46px 48px 38px;
  display:flex;
  flex-direction:column;
  color:#fff;
  background:
    linear-gradient(145deg,rgba(10,47,99,.98),rgba(18,92,174,.97)),
    var(--dp-navy);
}
.dp-brand-panel:after{
  content:"";
  position:absolute;
  inset:auto -12% -18% 30%;
  height:52%;
  border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0));
  transform:rotate(-12deg);
  pointer-events:none;
}
.dp-brand-orb{position:absolute;border-radius:50%;border:28px solid rgba(255,255,255,.055);pointer-events:none}
.dp-brand-orb-one{width:300px;height:300px;right:-118px;top:-96px}
.dp-brand-orb-two{width:190px;height:190px;left:-94px;bottom:72px;border-width:20px;opacity:.72}
.dp-brand-top{position:relative;z-index:2;display:flex;align-items:center;gap:14px}
.dp-brand-logo-wrap{width:64px;height:64px;display:grid;place-items:center;padding:6px;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 8px 22px rgba(3,26,58,.18)}
.dp-brand-logo{width:100%;height:100%;object-fit:contain}
.dp-brand-name{font-size:18px;font-weight:780;letter-spacing:-.015em}
.dp-brand-label{margin-top:3px;color:rgba(255,255,255,.72);font-size:11px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
.dp-brand-copy{position:relative;z-index:2;margin:auto 0 28px;max-width:540px;padding-top:42px}
.dp-kicker{margin-bottom:12px;color:#ffd486;font-size:11px;font-weight:850;letter-spacing:.16em}
.dp-brand-copy h1{margin:0;max-width:520px;color:#fff;font-size:48px;line-height:1.06;letter-spacing:-.045em;font-weight:800}
.dp-brand-copy p{margin:18px 0 0;max-width:500px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.75}
.dp-feature-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dp-feature-card{min-height:142px;padding:17px 16px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.075);backdrop-filter:blur(8px)}
.dp-feature-icon{width:34px;height:34px;margin-bottom:14px;display:grid;place-items:center;border-radius:10px;background:rgba(255,255,255,.12);color:#fff}
.dp-feature-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dp-feature-card strong{display:block;color:#fff;font-size:13px;font-weight:780}
.dp-feature-card small{display:block;margin-top:6px;color:rgba(255,255,255,.65);font-size:11px;line-height:1.5}
.dp-brand-footer{position:relative;z-index:2;margin-top:22px;display:flex;align-items:center;gap:8px;color:rgba(255,255,255,.58);font-size:10.5px;line-height:1.45}
.dp-status-dot{width:8px;height:8px;border-radius:50%;background:#58d48d;box-shadow:0 0 0 4px rgba(88,212,141,.12)}
.dp-form-panel{padding:52px 50px;display:flex;align-items:center;background:#fff}
.dp-form-wrap{width:100%;max-width:430px;margin:auto}
.dp-mobile-brand{display:none}
.dp-form-heading{margin-bottom:22px}
.dp-eyebrow{display:inline-block;margin-bottom:8px;color:var(--dp-blue);font-size:10.5px;font-weight:850;letter-spacing:.16em}
.dp-form-heading h2{margin:0;color:var(--dp-ink);font-size:31px;line-height:1.14;letter-spacing:-.035em;font-weight:800}
.dp-form-heading p{margin:9px 0 0;color:var(--dp-muted);font-size:13px;line-height:1.55}
.dp-alert{margin:0 0 17px;padding:11px 13px;display:flex;align-items:flex-start;gap:9px;border:1px solid #f0cccc;border-radius:12px;background:#fff5f4;color:#9d3434;font-size:11.5px;font-weight:650;line-height:1.45}
.dp-alert svg{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dp-login-form{margin:0}
.dp-field-group{margin-bottom:14px}
.dp-field-group label,.dp-role-group legend{display:block;margin:0 0 7px;color:#34465e;font-size:11.5px;font-weight:760}
.dp-input-wrap{position:relative}
.dp-input-wrap>svg{position:absolute;left:14px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#7790ad;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.dp-input-wrap input{width:100%;height:48px;margin:0;padding:0 44px;border:1px solid #d5e0ec;border-radius:12px;background:#fff;color:var(--dp-ink);font:600 13px/1 inherit;outline:none;transition:border-color .2s,box-shadow .2s,background .2s}
.dp-input-wrap input::placeholder{color:#9aa8b9;font-weight:500}
.dp-input-wrap input:focus{border-color:#79a8dc;box-shadow:0 0 0 4px rgba(28,105,194,.09);background:#fbfdff}
.dp-password-wrap input{padding-right:48px}
.dp-password-toggle{position:absolute;right:7px;top:50%;width:36px;height:36px;margin:0;padding:0;display:grid;place-items:center;transform:translateY(-50%);border:0;border-radius:9px;background:transparent;color:#6e8198;box-shadow:none;cursor:pointer}
.dp-password-toggle:hover{background:#f1f5fa;transform:translateY(-50%)}
.dp-password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dp-password-toggle .dp-eye-closed{display:none}
.dp-password-toggle[aria-pressed="true"] .dp-eye-open{display:none}
.dp-password-toggle[aria-pressed="true"] .dp-eye-closed{display:block}
.dp-role-group{margin:16px 0 0;padding:0;border:0}
.dp-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.dp-role-option{display:block;cursor:pointer}
.dp-role-option>input{position:absolute;opacity:0;pointer-events:none}
.dp-role-card{position:relative;min-height:66px;padding:10px 33px 10px 10px;display:flex;align-items:center;gap:10px;border:1px solid #dbe5ef;border-radius:13px;background:#fff;transition:border-color .18s,box-shadow .18s,background .18s,transform .18s}
.dp-role-option:hover .dp-role-card{transform:translateY(-1px);border-color:#b9cde4;box-shadow:0 6px 16px rgba(29,66,110,.07)}
.dp-role-icon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border-radius:10px;background:#eff5fc;color:var(--dp-blue)}
.dp-role-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.dp-role-card strong{display:block;color:#21354e;font-size:11.5px;font-weight:790}
.dp-role-card small{display:block;margin-top:2px;color:#8a99aa;font-size:9.5px;line-height:1.25}
.dp-role-check{position:absolute;right:11px;top:50%;width:19px;height:19px;display:grid;place-items:center;transform:translateY(-50%) scale(.8);border-radius:50%;background:var(--dp-blue);color:#fff;font-size:10px;font-weight:900;opacity:0;transition:opacity .15s,transform .15s}
.dp-role-option>input:checked+.dp-role-card{border-color:#5f97d5;background:#f4f8fd;box-shadow:0 0 0 3px rgba(23,104,197,.08)}
.dp-role-option>input:checked+.dp-role-card .dp-role-check{opacity:1;transform:translateY(-50%) scale(1)}
.dp-role-option>input:focus-visible+.dp-role-card{outline:3px solid rgba(23,104,197,.16);outline-offset:2px}
.dp-submit{width:100%;height:49px;margin:18px 0 0;padding:0 17px;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--dp-navy),var(--dp-blue));color:#fff;font-size:12.5px;font-weight:820;letter-spacing:.025em;box-shadow:0 12px 24px rgba(13,78,157,.18);cursor:pointer;transition:transform .16s,box-shadow .16s,filter .16s}
.dp-submit:hover{transform:translateY(-1px);box-shadow:0 15px 30px rgba(13,78,157,.24);filter:saturate(1.05)}
.dp-submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dp-help-box{margin-top:18px;padding:12px 13px;display:flex;align-items:flex-start;gap:10px;border-radius:12px;background:var(--dp-soft);color:#677a91}
.dp-help-box svg{width:17px;height:17px;flex:0 0 auto;margin-top:1px;fill:none;stroke:#55789e;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dp-help-box p{margin:0;font-size:10.5px;line-height:1.5}
.dp-help-box strong{color:#314860;font-weight:780}
.dp-form-footer{margin-top:16px;color:#9aa8b7;font-size:9.5px;text-align:center}
@media(max-width:950px){
  body.dp-login-page{padding:20px}
  .dp-login-shell{grid-template-columns:1fr;max-width:640px;min-height:auto}
  .dp-brand-panel{padding:28px 30px 30px}
  .dp-brand-copy{margin:34px 0 20px;padding-top:0}
  .dp-brand-copy h1{font-size:35px;max-width:480px}
  .dp-brand-copy p{font-size:12.5px}
  .dp-feature-card{min-height:118px;padding:14px}
  .dp-brand-footer{margin-top:16px}
  .dp-form-panel{padding:36px 34px 40px}
}
@media(max-width:640px){
  body.dp-login-page{padding:0;background:#fff;align-items:flex-start}
  body.dp-login-page:before{display:none}
  .dp-login-shell{width:100%;max-width:none;border:0;border-radius:0;box-shadow:none}
  .dp-brand-panel{display:none}
  .dp-form-panel{min-height:100vh;padding:28px 20px 34px;align-items:flex-start}
  .dp-form-wrap{max-width:460px}
  .dp-mobile-brand{margin-bottom:42px;display:flex;align-items:center;gap:11px}
  .dp-mobile-brand img{width:50px;height:50px;object-fit:contain}
  .dp-mobile-brand strong{display:block;color:var(--dp-ink);font-size:14px;font-weight:800}
  .dp-mobile-brand span{display:block;margin-top:2px;color:#8190a1;font-size:9.5px;font-weight:780;letter-spacing:.12em;text-transform:uppercase}
  .dp-form-heading h2{font-size:29px}
  .dp-role-card{min-height:64px}
}
@media(max-width:390px){
  .dp-form-panel{padding-left:16px;padding-right:16px}
  .dp-role-grid{grid-template-columns:1fr}
  .dp-role-card{min-height:58px}
  .dp-mobile-brand{margin-bottom:32px}
}


/* STAGE 2.11 - use the orange from the Discovery crest as a real accent. */
:root{--dp-orange:#ef5b0c;--dp-orange-2:#f47a21;--dp-orange-soft:#fff2e9;}
body.dp-login-page{
  background:
    radial-gradient(circle at 9% 12%,rgba(239,91,12,.14),transparent 26%),
    radial-gradient(circle at 88% 82%,rgba(23,104,197,.14),transparent 28%),
    #eef4fb;
}
.dp-brand-panel{
  background:
    radial-gradient(circle at 96% 8%,rgba(239,91,12,.24),transparent 22%),
    linear-gradient(145deg,rgba(8,43,91,.99),rgba(18,92,174,.98));
}
.dp-kicker{color:#ffb274;}
.dp-brand-logo-wrap{box-shadow:0 8px 22px rgba(3,26,58,.18),0 0 0 2px rgba(239,91,12,.18);}
.dp-eyebrow{color:var(--dp-orange);}
.dp-role-option>input:checked+.dp-role-card{border-color:#f2a16e;background:#fff7f1;box-shadow:0 0 0 3px rgba(239,91,12,.08);}
.dp-role-option>input:checked+.dp-role-card .dp-role-icon{background:var(--dp-orange-soft);color:var(--dp-orange);}
.dp-role-check{background:linear-gradient(135deg,var(--dp-orange),var(--dp-orange-2));}
.dp-input-wrap input:focus{border-color:#f0a070;box-shadow:0 0 0 4px rgba(239,91,12,.09);}
.dp-submit{background:linear-gradient(110deg,var(--dp-navy) 0%,var(--dp-blue) 68%,var(--dp-orange) 145%);}
