
/* R19 - Design exclusivo do modulo Provedores */

#bp-provedores-dialog-r12,
#bp-provedores-dialog-r12 * {
  box-sizing:border-box!important
}

#bp-provedores-dialog-r12 {
  width:min(1280px,calc(100vw - 28px))!important;
  max-width:1280px!important;
  min-width:0!important;
  max-height:calc(100dvh - 30px)!important;
  border:1px solid #dee7f0!important;
  border-radius:18px!important;
  padding:0!important;
  margin:auto!important;
  overflow:hidden!important;
  background:#f4f8fd!important;
  color:#24364e!important;
  box-shadow:0 24px 80px #061c3955!important;
  font:14px/1.5 system-ui,"Segoe UI",Arial,sans-serif!important
}

#bp-provedores-dialog-r12::backdrop {
  background:#07172bb8!important
}

#bp-provedores-dialog-r12 .h {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  padding:21px 26px!important;
  background:linear-gradient(100deg,#f8fbff,#eaf3ff)!important;
  border-bottom:1px solid #dbe5f1!important;
  color:#10375e!important
}

#bp-provedores-dialog-r12 .h strong {
  font-size:23px!important;
  line-height:1.25!important;
  font-weight:750!important;
  color:#12375f!important
}

#bp-provedores-dialog-r12 .small {
  font-size:12px!important;
  color:#62758c!important
}

#bp-provedores-dialog-r12 .main {
  display:block!important;
  overflow:auto!important;
  max-height:calc(100dvh - 126px)!important;
  padding:24px 26px!important;
  background:#f4f8fd!important;
  color:#24364e!important
}

#bp-provedores-dialog-r12 .main>div:has(#bp-prov-branch-r12) {
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  padding:14px 18px!important;
  margin:0 0 20px!important;
  border:1px solid #dfe8f2!important;
  border-radius:12px!important;
  background:white!important
}

#bp-provedores-dialog-r12 .main>div:has(#bp-prov-branch-r12) label {
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  font-weight:650!important;
  color:#304c6a!important
}

#bp-provedores-dialog-r12 .forms {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:start!important;
  margin:0 0 22px!important;
  padding:0!important;
  background:transparent!important
}

#bp-provedores-dialog-r12 .forms>form[data-create] {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:12px!important;
  align-content:start!important;
  min-width:0!important;
  padding:22px!important;
  border:1px solid #dce5f0!important;
  border-top:4px solid #2085db!important;
  border-radius:14px!important;
  background:white!important;
  color:#213953!important;
  box-shadow:0 3px 16px #1026400c!important
}

#bp-provedores-dialog-r12 form[data-create="plan.create"] {
  border-top-color:#0d9cce!important
}

#bp-provedores-dialog-r12 form[data-create="subscriber.create"] {
  border-top-color:#05a994!important
}

#bp-provedores-dialog-r12 .forms strong {
  display:block!important;
  padding:0 0 12px!important;
  margin-bottom:2px!important;
  border-bottom:1px solid #e8edf4!important;
  font-size:18px!important;
  font-weight:750!important;
  color:#13395e!important
}

#bp-provedores-dialog-r12 input,
#bp-provedores-dialog-r12 select {
  display:block!important;
  min-width:0!important;
  width:100%!important;
  height:44px!important;
  min-height:44px!important;
  padding:10px 12px!important;
  border:1px solid #c8d6e7!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#233b59!important;
  font:500 14px system-ui,"Segoe UI",Arial,sans-serif!important;
  box-shadow:none!important
}

#bp-provedores-dialog-r12 input::placeholder {
  color:#7388a0!important;
  opacity:1!important
}

#bp-provedores-dialog-r12 input:focus,
#bp-provedores-dialog-r12 select:focus {
  outline:0!important;
  border-color:#128be1!important;
  box-shadow:0 0 0 3px #168df425!important
}

#bp-provedores-dialog-r12 button {
  min-height:40px!important;
  padding:9px 14px!important;
  border-radius:8px!important;
  border:1px solid #cad9e8!important;
  background:#fff!important;
  color:#234568!important;
  font:650 13px system-ui,"Segoe UI",Arial,sans-serif!important;
  cursor:pointer!important
}

#bp-provedores-dialog-r12 button:disabled {
  opacity:.5!important;
  cursor:not-allowed!important
}

#bp-provedores-dialog-r12 button:focus-visible {
  outline:3px solid #72beff!important;
  outline-offset:2px!important
}

#bp-provedores-dialog-r12 .forms button {
  min-height:44px!important;
  background:#156bd0!important;
  border-color:#156bd0!important;
  color:#fff!important;
  font-size:14px!important
}

#bp-provedores-dialog-r12 #bp-prov-branch-r12 {
  width:auto!important;
  min-width:190px!important
}

#bp-provedores-dialog-r12 #bp-prov-export-r12 {
  background:#e9f4ff!important;
  border-color:#b5d9fa!important;
  color:#075fa8!important
}

#bp-provedores-dialog-r12 #bp-prov-count-r12 {
  border-radius:20px!important;
  padding:5px 12px!important;
  background:#e6f7f0!important;
  color:#058568!important;
  font-size:12px!important;
  font-weight:750!important
}

#bp-provedores-dialog-r12 #bp-prov-version-r12 {
  margin-left:auto!important
}

#bp-provedores-dialog-r12 .main>h3 {
  font-size:21px!important;
  color:#153b64!important;
  margin:14px 0!important;
  font-weight:750!important
}

#bp-provedores-dialog-r12 .main>div:has(>table#bp-prov-list-r12) {
  overflow:auto!important;
  width:100%!important;
  border:1px solid #dce6f0!important;
  border-radius:12px!important;
  background:white!important
}

#bp-provedores-dialog-r12 #bp-prov-list-r12 {
  min-width:740px!important;
  width:100%!important;
  border-collapse:collapse!important;
  background:white!important;
  color:#273c56!important
}

#bp-provedores-dialog-r12 #bp-prov-list-r12 th {
  background:#eaf3fc!important;
  color:#1e476d!important;
  font-weight:750!important;
  text-align:left!important;
  padding:13px!important;
  border-bottom:1px solid #d9e4ef!important
}

#bp-provedores-dialog-r12 #bp-prov-list-r12 td {
  padding:11px!important;
  border-bottom:1px solid #e8eef5!important;
  background:white!important;
  color:#233c58!important
}

#bp-provedores-dialog-r12 #bp-prov-list-r12 tr:nth-child(2n+1) td {
  background:#f9fbfd!important
}

#bp-provedores-dialog-r12 #bp-prov-list-r12 td:last-child {
  white-space:nowrap!important
}

#bp-provedores-dialog-r12 #bp-prov-list-r12 td button {
  min-height:33px!important;
  margin:2px!important;
  padding:7px 9px!important;
  background:#e9f3ff!important;
  color:#165e9d!important
}

#bp-provedores-dialog-r12 .main>p.small {
  margin-top:16px!important;
  padding:12px 15px!important;
  border-left:3px solid #5ba9e6!important;
  background:#eef5fc!important;
  border-radius:7px!important
}

#bp-provedores-dialog-r12 #bp-prov-notice-r12:not(:empty) {
  padding:11px!important;
  background:#e8f3ff!important;
  border-radius:8px!important;
  color:#165185!important
}

/* Oculta blocos alheios fora da estrutura conhecida do modulo */

#bp-provedores-dialog-r12 .main>div:not(.forms):not(:has(#bp-prov-branch-r12)):not(:has(#bp-prov-list-r12)),
#bp-provedores-dialog-r12 .forms> :not(form[data-create]),
#bp-provedores-dialog-r12 .main form:not([data-create]) {
  display:none!important
}

@media(min-width:1110px) {
  #bp-provedores-dialog-r12 .forms {
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }
}

@media(max-width:780px) {
  #bp-provedores-dialog-r12 {
    width:calc(100vw - 14px)!important;
    border-radius:12px!important
  }
  #bp-provedores-dialog-r12 .h {
    padding:16px!important
  }
  #bp-provedores-dialog-r12 .h strong {
    font-size:18px!important
  }
  #bp-provedores-dialog-r12 .main {
    padding:16px!important;
    max-height:calc(100dvh - 108px)!important
  }
  #bp-provedores-dialog-r12 .forms {
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important
  }
  #bp-provedores-dialog-r12 .forms>form[data-create] {
    padding:17px!important
  }
  #bp-provedores-dialog-r12 #bp-prov-version-r12 {
    margin-left:0!important
  }
}

@media(max-width:450px) {
  #bp-provedores-dialog-r12 .h {
    align-items:flex-start!important;
    gap:8px!important
  }
  #bp-provedores-dialog-r12 #bp-prov-close-r12 {
    padding:7px 10px!important
  }
  #bp-provedores-dialog-r12 .main>div:has(#bp-prov-branch-r12) label {
    width:100%!important;
    justify-content:space-between!important
  }
  #bp-provedores-dialog-r12 #bp-prov-branch-r12 {
    min-width:0!important;
    width:68%!important
  }
  #bp-provedores-dialog-r12 #bp-prov-export-r12 {
    width:100%!important
  }
}
