/* V18: distinguish the license + advertising section with Saken brand identity. */
#formView .brand-license-ad-section{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px 10px;
  padding:12px 14px 14px;
  margin:2px 0 4px;
  border:1px solid rgba(21,100,107,.30);
  border-top:4px solid #15646B;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(21,100,107,.12) 0%,rgba(25,141,154,.10) 52%,rgba(68,184,175,.08) 100%);
  box-shadow:0 8px 22px rgba(21,100,107,.08);
}
#formView .brand-license-ad-section .brand-section-title{
  grid-column:1/-1;
  margin:0 0 2px!important;
  padding:8px 11px!important;
  border:0!important;
  border-radius:10px;
  background:linear-gradient(135deg,#15646B,#198D9A);
  color:#fff!important;
  font-size:12px!important;
  font-weight:900!important;
  box-shadow:0 5px 14px rgba(21,100,107,.14);
}
#formView .brand-license-ad-section .field label{
  color:#135C63;
  font-weight:900;
}
#formView .brand-license-ad-section input,
#formView .brand-license-ad-section select,
#formView .brand-license-ad-section textarea{
  background:rgba(255,255,255,.97);
  border-color:rgba(21,100,107,.28);
}
#formView .brand-license-ad-section input:focus,
#formView .brand-license-ad-section select:focus,
#formView .brand-license-ad-section textarea:focus{
  border-color:#198D9A;
  box-shadow:0 0 0 3px rgba(68,184,175,.16);
}
#formView .brand-license-ad-section .auto-inspection-box{
  background:rgba(255,255,255,.90);
  border-width:1px;
}
#formView .brand-license-ad-section .auto-inspection-box.needs-inspection{
  background:#FFF0F0;
}

#formView .expired-contract-import{
  grid-column:1/-1;
  padding:13px 14px;
  border:1px solid rgba(21,100,107,.28);
  border-radius:14px;
  background:#f8fbfb;
}
#formView .expired-contract-import[hidden]{display:none!important;}
#formView .expired-contract-import-title{
  color:#135C63;
  font-size:14px;
  font-weight:900;
  margin-bottom:4px;
}
#formView .expired-contract-import-hint{
  color:#5f6b72;
  font-size:12px;
  line-height:1.7;
  margin-bottom:9px;
}
#formView .expired-contract-import-controls{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
}
#formView .expired-contract-import-controls select{
  width:100%;
  min-width:0;
}
#formView .expired-contract-import-msg{
  min-height:18px;
  margin-top:7px;
  font-size:12px;
  font-weight:800;
}
#formView .expired-contract-import-msg[data-state="success"]{color:#137047;}
#formView .expired-contract-import-msg[data-state="error"]{color:#b91c1c;}

@media(max-width:1060px){
  #formView .brand-license-ad-section{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  #formView .brand-license-ad-section{
    grid-template-columns:1fr;
    gap:9px;
    padding:10px;
    border-radius:13px;
  }
  #formView .expired-contract-import-controls{grid-template-columns:1fr;}
  #formView .expired-contract-import-controls .btn{width:100%;}
}
