/* Become Distributor - Modern Frontend UI */
.bd-modern{
  --bd-brand:#3B82F6;
  padding:30px 16px;
}

.bd-card{
  max-width:920px;
  margin:0 auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
  overflow:hidden;
}

.bd-card-head{
  padding:26px 28px 10px;
  text-align:center;
}

.bd-title{
  margin:0;
  font-size:34px;
  line-height:1.15;
  letter-spacing:-0.02em;
}

.bd-subtitle{
  margin:10px 0 0;
  color:rgba(0,0,0,.6);
  font-size:15px;
}

.bd-toast{
  margin:14px 20px 0;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  font-weight:600;
}

.bd-success{background:rgba(34,197,94,.08);border-color:rgba(34,197,94,.22);}
.bd-error{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.22);}

.bd-form-modern{
  padding:18px 28px 28px;
}

.bd-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 26px;
}

.bd-span-2{grid-column:span 2;}

.bd-field label{
  display:flex;
  gap:6px;
  align-items:center;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(0,0,0,.55);
  margin-bottom:8px;
}

.bd-field label span{
  color:#ef4444;
  font-weight:800;
}

/* Underline inputs */
.bd-field input,
.bd-field textarea{
  width:100%;
  border:none;
  border-bottom:2px solid rgba(0,0,0,.12);
  border-radius:0;
  padding:10px 4px 10px;
  background:transparent;
  outline:none;
  font-size:15px;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.bd-field input:focus{
  border-bottom-color:var(--bd-brand);
  box-shadow:0 6px 0 -4px rgba(59,130,246,.35);
}

.bd-field textarea{
  border:2px solid rgba(0,0,0,.10);
  border-radius:12px;
  padding:12px;
  resize:vertical;
  min-height:110px;
}

.bd-field textarea:focus{
  border-color:var(--bd-brand);
  box-shadow:0 0 0 4px rgba(59,130,246,.14);
}

.bd-file{
  border:2px dashed rgba(0,0,0,.14) !important;
  border-radius:12px !important;
  padding:14px !important;
  background:rgba(0,0,0,.02);
}

.bd-recaptcha{
  margin-top:4px;
}

.bd-actions{
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  text-align:center;
}

.bd-btn-modern{
  background:var(--bd-brand);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:12px 26px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 14px 24px rgba(59,130,246,.25);
  transition:transform .15s ease, filter .15s ease;
}

.bd-btn-modern:hover{filter:brightness(.98);transform:translateY(-1px);}
.bd-btn-modern:active{transform:translateY(0px);}

.bd-hint{
  color:rgba(0,0,0,.55);
  font-size:13px;
}

/* Mobile */
@media (max-width:780px){
  .bd-grid{grid-template-columns:1fr;}
  .bd-span-2{grid-column:span 1;}
  .bd-title{font-size:28px;}
  .bd-form-modern{padding:16px 18px 22px;}
}
