:root {
  --dgaa-ink: #07162b;
  --dgaa-navy: #061529;
  --dgaa-blue: #0878ff;
  --dgaa-blue-dark: #055bd2;
  --dgaa-yellow: #ffbf19;
  --dgaa-yellow-2: #ff9f0a;
  --dgaa-line: #dce6f3;
  --dgaa-muted: #607089;
  --dgaa-bg: #f3f7fd;
  --dgaa-radius: 22px;
}

.dgaa-shell,
.dgaa-shell * { box-sizing: border-box; }

.dgaa-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 7vw, 90px) 0;
  color: var(--dgaa-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dgaa-shell h1,
.dgaa-shell h2,
.dgaa-shell h3,
.dgaa-shell p { margin-top: 0; }

.dgaa-shell h1 { font-size: clamp(38px, 5vw, 70px); line-height: .98; letter-spacing: -.055em; }
.dgaa-shell h2 { font-size: clamp(27px, 3vw, 39px); line-height: 1.05; letter-spacing: -.04em; }
.dgaa-shell a { color: var(--dgaa-blue); }

.dgaa-kicker {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--dgaa-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.dgaa-card {
  background: #fff;
  border: 1px solid var(--dgaa-line);
  border-radius: var(--dgaa-radius);
  box-shadow: 0 24px 60px rgba(7, 22, 43, .10);
}

.dgaa-card--center { max-width: 680px; margin: auto; padding: 46px; text-align: center; }

.dgaa-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr);
  min-height: 650px;
  padding: 0;
  margin-top: clamp(28px, 5vw, 64px);
  margin-bottom: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #031124 0%, #062851 100%);
  box-shadow: 0 35px 80px rgba(2, 18, 38, .22);
}

.dgaa-auth-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(44px, 7vw, 86px);
  color: #fff;
}

.dgaa-auth-promo::before,
.dgaa-auth-promo::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(30, 132, 255, .38);
  border-radius: 50%;
}

.dgaa-auth-promo::before { width: 560px; height: 560px; right: -340px; bottom: -330px; }
.dgaa-auth-promo::after { width: 210px; height: 210px; right: 34px; top: -130px; border-color: rgba(255, 191, 25, .28); }
.dgaa-auth-promo .dgaa-kicker { color: var(--dgaa-yellow); }
.dgaa-auth-promo h1 { max-width: 650px; margin-bottom: 24px; color: #fff; }
.dgaa-auth-promo p { max-width: 560px; color: #bfd0e9; font-size: 18px; line-height: 1.65; }
.dgaa-auth-promo ul { display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.dgaa-auth-promo li { position: relative; padding-left: 28px; font-weight: 700; }
.dgaa-auth-promo li::before { content: "✓"; position: absolute; left: 0; color: var(--dgaa-yellow); }

.dgaa-login-card {
  align-self: center;
  margin: 34px;
  padding: clamp(30px, 4vw, 48px);
  box-shadow: none;
}

.dgaa-form { display: grid; gap: 20px; }
.dgaa-form label { display: grid; gap: 8px; color: var(--dgaa-ink); font-size: 14px; font-weight: 800; }
.dgaa-form input[type="text"],
.dgaa-form input[type="email"],
.dgaa-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid #cbd9ea;
  border-radius: 12px;
  background: #fff;
  color: var(--dgaa-ink);
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.dgaa-form input:focus { border-color: var(--dgaa-blue); box-shadow: 0 0 0 4px rgba(8, 120, 255, .13); }
.dgaa-form small { color: var(--dgaa-muted); font-size: 12px; font-weight: 500; }
.dgaa-password { position: relative; display: block; }
.dgaa-password input { padding-right: 84px !important; }
.dgaa-password-toggle { position: absolute; right: 8px; top: 8px; height: 38px; border: 0; background: transparent; color: var(--dgaa-blue); font-weight: 800; cursor: pointer; }

.dgaa-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 11px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.dgaa-btn:hover { transform: translateY(-2px); }
.dgaa-btn--full { width: 100%; }
.dgaa-btn--primary,
.dgaa-btn--blue { background: linear-gradient(135deg, var(--dgaa-blue), var(--dgaa-blue-dark)); box-shadow: 0 13px 24px rgba(8, 120, 255, .24); }
.dgaa-btn--yellow { color: var(--dgaa-navy) !important; background: linear-gradient(135deg, var(--dgaa-yellow), var(--dgaa-yellow-2)); box-shadow: 0 13px 24px rgba(255, 170, 12, .25); }

.dgaa-form-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 14px; font-weight: 800; }
.dgaa-check { display: flex !important; grid-template-columns: 22px 1fr; align-items: flex-start; gap: 11px !important; padding: 15px 18px; border-top: 1px solid var(--dgaa-line); background: #f8fbff; cursor: pointer; }
.dgaa-check input { width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--dgaa-blue); }
.dgaa-check--simple { grid-template-columns: 20px 1fr; padding: 0; border: 0; background: transparent; }

.dgaa-page-heading { max-width: 830px; margin: 0 auto 42px; text-align: center; }
.dgaa-page-heading h1 { margin-bottom: 18px; }
.dgaa-page-heading p { color: var(--dgaa-muted); font-size: 18px; line-height: 1.65; }
.dgaa-page-heading--left { margin-left: 0; text-align: left; }

.dgaa-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dgaa-role-card { position: relative; overflow: hidden; padding: clamp(30px, 4vw, 50px); border-radius: 25px; }
.dgaa-role-card::after { content: ""; position: absolute; width: 280px; height: 280px; right: -160px; top: -150px; border: 1px solid currentColor; border-radius: 50%; opacity: .16; }
.dgaa-role-card h2 { margin-bottom: 16px; }
.dgaa-role-card p { min-height: 56px; color: #42536b; font-size: 17px; line-height: 1.6; }
.dgaa-role-card ul { min-height: 120px; display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.dgaa-role-card li::before { content: "✓"; margin-right: 10px; font-weight: 900; }
.dgaa-role-card--reseller { background: #eaf4ff; border: 1px solid #bedcff; color: var(--dgaa-blue); }
.dgaa-role-card--supplier { background: #fff5d8; border: 1px solid #ffe099; color: #b56d00; }
.dgaa-role-card h2,
.dgaa-role-card p,
.dgaa-role-card li { color: var(--dgaa-ink); }
.dgaa-role-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 27px; border-radius: 17px; background: #fff; color: currentColor; font-size: 28px; font-weight: 900; box-shadow: 0 12px 28px rgba(7, 22, 43, .09); }
.dgaa-already { margin: 30px 0 0; text-align: center; font-weight: 700; }

.dgaa-register-shell { max-width: 1040px; }
.dgaa-register-form { padding: clamp(24px, 5vw, 52px); }
.dgaa-form-section { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; margin: 4px 0 2px; }
.dgaa-form-section h2 { margin-bottom: 7px; font-size: 27px; }
.dgaa-form-section p { color: var(--dgaa-muted); }
.dgaa-step { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--dgaa-navy); color: var(--dgaa-yellow); font-size: 13px; font-weight: 900; }
.dgaa-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 8px 0 28px 72px; }
.dgaa-field--wide { grid-column: 1 / -1; }
.dgaa-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.dgaa-documents { display: grid; gap: 13px; padding-left: 72px; }
.dgaa-document { overflow: hidden; border: 1px solid var(--dgaa-line); border-radius: 15px; background: #fff; }
.dgaa-document__toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 0; background: #fff; color: var(--dgaa-ink); text-align: left; cursor: pointer; }
.dgaa-document__toggle strong { display: block; font-size: 16px; }
.dgaa-document__toggle small { display: block; margin-top: 4px; color: var(--dgaa-muted); }
.dgaa-document__toggle > span:last-child { color: var(--dgaa-blue); font-size: 23px; }
.dgaa-document__content { max-height: 420px; overflow: auto; padding: 4px 20px 20px; border-top: 1px solid var(--dgaa-line); }
.dgaa-legal-text { padding-top: 18px; color: #34455d; font-size: 14px; line-height: 1.75; }
.dgaa-legal-text h2,
.dgaa-legal-text h3 { font-size: 20px; letter-spacing: -.02em; }
.dgaa-pdf-link { display: inline-flex; padding: 10px 14px; border-radius: 9px; background: #eaf4ff; font-weight: 800; text-decoration: none !important; }
.dgaa-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 18px; padding: 28px 0 0 72px; border-top: 1px solid var(--dgaa-line); }
.dgaa-submit-row p { max-width: 560px; margin: 0; color: var(--dgaa-muted); font-size: 13px; line-height: 1.55; }

.dgaa-notice { width: min(1040px, 100%); margin: 0 auto 24px; padding: 16px 19px; border-radius: 12px; font-weight: 800; }
.dgaa-notice--success { color: #05623f; background: #e8fff5; border: 1px solid #9fe4c8; }
.dgaa-notice--error { color: #a22b21; background: #fff1ef; border: 1px solid #ffc4ba; }

@media (max-width: 900px) {
  .dgaa-auth-layout { grid-template-columns: 1fr; }
  .dgaa-auth-promo { min-height: 420px; }
  .dgaa-login-card { margin: 20px; }
  .dgaa-role-grid { grid-template-columns: 1fr; }
  .dgaa-role-card p,
  .dgaa-role-card ul { min-height: 0; }
}

@media (max-width: 640px) {
  .dgaa-shell { width: min(100% - 24px, 1180px); padding: 34px 0; }
  .dgaa-shell h1 { font-size: clamp(36px, 12vw, 50px); }
  .dgaa-auth-layout { width: 100%; margin: 12px auto 28px; border-radius: 20px; }
  .dgaa-auth-promo { min-height: 350px; padding: 34px 24px; }
  .dgaa-login-card { margin: 12px; padding: 26px 20px; }
  .dgaa-form-links { flex-direction: column; }
  .dgaa-card--center { padding: 28px 20px; }
  .dgaa-fields { grid-template-columns: 1fr; padding-left: 0; }
  .dgaa-form-section { grid-template-columns: 44px 1fr; }
  .dgaa-step { width: 42px; height: 42px; }
  .dgaa-documents,
  .dgaa-submit-row { padding-left: 0; }
  .dgaa-submit-row { align-items: stretch; flex-direction: column; }
  .dgaa-submit-row .dgaa-btn { width: 100%; }
  .dgaa-register-form { padding: 22px 16px; }
  .dgaa-check { padding: 14px; }
  .dgaa-document__toggle { padding: 16px 14px; }
}

