/* Burever · Portal corporativo v4. Solo estilos de portada y consultas. */
.bv-portal-root {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.bv-portal-root #loginBox { width: min(100%, 380px); }

body.bv-dashboard-active { background: #f6f7f9 !important; }
body.bv-dashboard-active .bv-portal-root {
  display: block;
  padding: calc(var(--bv-navbar-height) + 33px) 20px 32px;
}
.bv-dashboard-layout { width: min(100%, 680px); margin: 0 auto; text-align: left; }
.bv-page-heading { margin: 0 0 22px; }
.bv-page-heading h1 {
  margin: 0;
  font-size: clamp(23px, 5vw, 27px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
  color: #182230;
}
.bv-page-description {
  margin: 7px 0 0;
  color: #667085;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}
.bv-app-list {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 1px solid #e2e6eb;
  border-radius: 10px;
  background: #fff;
}
.bv-app-item {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-width: 0;
  min-height: 82px;
  padding: 14px 19px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #182230;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease;
}
.bv-app-item + .bv-app-item { border-top: 1px solid #ecedf0; }
.bv-app-item[hidden] { display: none !important; }
.bv-app-item:hover { background: #fafbfc; }
.bv-app-item:active { background: #f2f4f7; }
.bv-app-item:focus-visible,
.bv-back-link:focus-visible {
  outline: 2px solid #2563eb !important;
  outline-offset: -3px !important;
  position: relative;
  z-index: 1;
}
.bv-list-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: #f1f3f5;
  color: #3d4959;
  border-radius: 7px;
  font-size: 19px;
}
.bv-list-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bv-list-copy strong {
  font-size: 14.5px;
  font-weight: 660;
  letter-spacing: -.012em;
  line-height: 1.3;
}
.bv-list-copy small {
  font-size: 12px;
  line-height: 1.4;
  color: #737f8e;
  font-weight: 400;
}
.bv-list-arrow {
  flex: 0 0 auto;
  color: #98a2b3;
  font-size: 13px;
  margin-left: 4px;
  transition: transform .15s ease, color .15s ease;
}
.bv-app-item:hover .bv-list-arrow { color: #475467; transform: translateX(2px); }
.bv-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  margin: 0 0 20px;
  background: transparent;
  border: 0;
  color: #475467;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
}
.bv-back-link:hover { color: #182230; }
.bv-back-link .bi { font-size: 15px; }
@media (min-width: 768px) {
  body.bv-dashboard-active .bv-portal-root {
    padding-top: calc(var(--bv-navbar-height) + 66px);
    padding-bottom: 48px;
  }
  .bv-page-heading { margin-bottom: 26px; }
  .bv-app-item { min-height: 90px; padding: 17px 24px; }
  .bv-list-copy strong { font-size: 15px; }
  .bv-list-copy small { font-size: 12.5px; }
}
@media (max-width: 359px) {
  body.bv-dashboard-active .bv-portal-root {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: calc(var(--bv-navbar-height) + 23px);
  }
  .bv-page-heading { margin-bottom: 18px; }
  .bv-app-item { gap: 12px; min-height: 76px; padding: 12px 13px; }
  .bv-list-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 17px; }
  .bv-list-copy strong { font-size: 13.5px; }
  .bv-list-copy small { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .bv-app-item, .bv-list-arrow { transition: none; }
}

#btnRegistroValidadores[hidden] { display: none !important; }

/* Menú corporativo: respetar el permiso del acceso AFID. */
.bv-menu-item[hidden] { display: none !important; }
