
/* D2W Tabs v4.8 — clean registration UI */
.d2w-tabs-wrap{
  --d2w-forest:#075b37;
  --d2w-deep:#073c29;
  --d2w-leaf:#23834d;
  --d2w-pale:#eff7f1;
  --d2w-line:#d6e5dc;
  max-width:1080px;margin:24px auto;padding:16px;
  font-family:"Open Sans",sans-serif;color:#26352e;
  background:#f5faf6;border:1px solid #e2eee6;border-radius:22px;
  box-shadow:0 8px 28px rgba(17,66,40,.08);
  position:relative;overflow:hidden;
}
.d2w-tabs-wrap:before{
  content:"";position:absolute;left:0;right:0;top:0;height:5px;
  background:linear-gradient(90deg,var(--d2w-deep),var(--d2w-leaf),#a5a947);
}
.d2w-tabs-nav{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;
  background:#edf5ef;padding:5px;border:1px solid #d3e4d9;border-radius:12px;
  margin:14px 10px 20px;
}
.d2w-tab-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid transparent;background:transparent;padding:13px 12px;
  border-radius:9px;color:#52665a;font-family:"Lato",sans-serif;
  font-size:14px;font-weight:700;line-height:1.35;cursor:pointer;
  transition:background .18s ease,color .18s ease,box-shadow .18s ease;
}
.d2w-tab-btn:hover{background:#e2efe6;color:var(--d2w-deep)}
.d2w-tab-btn.active{
  background:var(--d2w-forest);color:#fff;box-shadow:0 3px 9px rgba(6,75,43,.18);
}
.d2w-tab-icon{margin:0;font-size:15px;line-height:1}
.d2w-tab-panel{
  display:none;background:#fff;border:1px solid #dce9e0;border-radius:16px;
  padding:24px 24px 28px;box-shadow:0 5px 18px rgba(15,63,37,.055);
}
.d2w-tab-panel.active{display:block}
.d2w-form-heading{display:flex;gap:13px;align-items:center;margin:2px 0 22px}
.d2w-title-icon{
  width:42px;height:42px;flex:0 0 42px;border:1px solid #a8cdb5;
  border-radius:11px;background:#e7f2ea;display:flex;align-items:center;
  justify-content:center;font-size:19px;color:var(--d2w-forest);
}
.d2w-form-heading h2{
  margin:0 0 5px;font-family:"Lato",sans-serif;font-size:25px;
  line-height:1.2;font-weight:800;color:#183629;
}
.d2w-form-heading p{margin:0;color:#738178;font-size:12px;line-height:1.5}
.d2w-progress{
  display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:5px;
  background:#eff6f1;border:1px solid #d8e8dd;border-radius:11px;
  padding:5px;margin:0 0 24px;
}
.d2w-progress-item{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 8px;text-align:center;border-radius:8px;color:#839188;
  font-family:"Open Sans",sans-serif;font-size:12px;font-weight:600;
}
.d2w-progress-item.active{
  background:#fff;color:#203b2c;box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.d2w-progress-item span{
  display:inline-flex;width:21px;height:21px;flex:0 0 21px;border-radius:50%;
  background:#dfeae3;align-items:center;justify-content:center;
  margin:0;font-size:11px;font-weight:700;
}
.d2w-progress-item.active span{background:var(--d2w-deep);color:#fff}
.d2w-step-panel{display:none}.d2w-step-panel.active{display:block}
.d2w-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}
.d2w-field{min-width:0}
.d2w-field.full{grid-column:1/-1}
.d2w-field label{
  display:block;font-family:"Open Sans",sans-serif;font-size:11px;
  letter-spacing:.055em;text-transform:uppercase;font-weight:700;
  color:#3e5146;margin:0 0 7px;
}
.d2w-field label span{color:#c34b4b;margin-left:2px}
.d2w-field input,.d2w-field select,.d2w-field textarea{
  width:100%;min-height:43px;box-sizing:border-box;border:1px solid #d2e1d8;
  background:#f2f8f4;border-radius:8px;padding:11px 13px;color:#273c30;
  outline:none;font-family:"Open Sans",sans-serif;font-size:13px;line-height:1.45;
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.d2w-field input::placeholder,.d2w-field textarea::placeholder{color:#87938c;opacity:1}
.d2w-field input:focus,.d2w-field select:focus,.d2w-field textarea:focus{
  border-color:#2b8151;background:#fff;box-shadow:0 0 0 3px rgba(43,129,81,.10)
}
.d2w-field textarea{min-height:92px;resize:vertical}
.d2w-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.d2w-option{
  display:flex!important;align-items:center;gap:8px;background:#f6faf7;
  border:1px solid #d8e6dd;border-radius:8px;padding:10px 11px!important;
  text-transform:none!important;letter-spacing:0!important;font-size:12px!important;
  line-height:1.4;font-weight:500!important;color:#3d5146!important;cursor:pointer;
}
.d2w-option input{width:15px!important;height:15px!important;min-height:0!important;
  margin:0;accent-color:var(--d2w-forest);flex:0 0 auto}
.d2w-step-actions{margin-top:23px;display:flex;justify-content:flex-end;gap:10px}
.d2w-btn{
  border:0;border-radius:9px;padding:13px 22px;
  background:linear-gradient(105deg,var(--d2w-deep),var(--d2w-leaf));
  color:#fff;font-family:"Lato",sans-serif;font-size:14px;font-weight:800;
  cursor:pointer;min-width:190px;box-shadow:0 4px 12px rgba(7,75,42,.15);
  transition:filter .15s ease,transform .15s ease;
}
.d2w-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.d2w-btn:disabled{opacity:.65;cursor:wait;transform:none}
.d2w-prev{background:#eaf3ed;color:#28553b;box-shadow:none}
.d2w-prev:hover{background:#dcebe1;color:#17442c}
.d2w-success{
  padding:24px;background:#edf8ef;border:1px solid #cfe6d3;border-radius:12px;
  text-align:center;font-family:"Open Sans",sans-serif;font-weight:700;color:#205536;
}
@media(max-width:700px){
  .d2w-tabs-wrap{margin:12px auto;padding:10px;border-radius:15px}
  .d2w-tabs-nav{grid-template-columns:1fr;margin:12px 2px 14px}
  .d2w-tab-btn{padding:11px}
  .d2w-tab-panel{padding:18px 14px 20px}
  .d2w-form-heading h2{font-size:21px}
  .d2w-fields-grid{grid-template-columns:1fr;gap:14px}
  .d2w-field.full{grid-column:auto}
  .d2w-progress{grid-auto-flow:row}
  .d2w-progress-item{justify-content:flex-start}
  .d2w-step-actions{flex-direction:column}
  .d2w-btn{width:100%;min-width:0}
  .d2w-options{grid-template-columns:1fr}
}
