/* Estilos especÃ­ficos del formulario de registro.
 * Puedes extender o sobreescribir clases de Bootstrap aquÃ­.
 */

.layout-container {
  margin: 0 !important;
}

/* ============================================================================
   USER EDIT FORM - MODERN & SIMPLE STYLES
   ============================================================================ */

.bmc-user-edit-form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0;
}

.bmc-user-edit-form .row {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Section Headers */
.bmc-user-edit-form h3.h5 {
  color: #1a1a1a;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

/* Form Labels */
.bmc-user-edit-form .form-label {
  color: #4a4a4a;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* Input Fields */
.bmc-user-edit-form input[type="text"],
.bmc-user-edit-form input[type="email"],
.bmc-user-edit-form input[type="tel"],
.bmc-user-edit-form input[type="number"],
.bmc-user-edit-form select,
.bmc-user-edit-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.bmc-user-edit-form input[type="text"]:focus,
.bmc-user-edit-form input[type="email"]:focus,
.bmc-user-edit-form input[type="tel"]:focus,
.bmc-user-edit-form input[type="number"]:focus,
.bmc-user-edit-form select:focus,
.bmc-user-edit-form textarea:focus {
  background-color: #ffffff;
  border-color: #0d6efd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* Disabled Fields */
.bmc-user-edit-form input:disabled,
.bmc-user-edit-form select:disabled,
.bmc-user-edit-form textarea:disabled {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  border-color: #e0e0e0;
}

/* Field Descriptions */
.bmc-user-edit-form .description {
  font-size: 0.85rem;
  color: #6c757d;
  margin-top: 0.25rem;
  font-style: italic;
}

/* Section Spacing */
.bmc-user-edit-form .col-12 {
  margin-bottom: 1.25rem;
}

.bmc-user-edit-form .col-12:last-child {
  margin-bottom: 0;
}

/* Section Dividers */
.bmc-user-edit-form .col-12.mt-4 {
  margin-top: 2.5rem !important;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}

.bmc-user-edit-form .col-12.mt-4:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* Buttons Container */
.bmc-user-edit-form .col-12.d-flex {
  margin-top: 2rem !important;
  padding-top: 2rem;
  border-top: 2px solid #f0f0f0;
}

/* Submit Button */
.bmc-user-edit-form .bmc-submit-btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

.bmc-user-edit-form .bmc-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.bmc-user-edit-form .bmc-submit-btn:active {
  transform: translateY(0);
}

/* Cancel Button */
.bmc-user-edit-form .btn-outline-secondary {
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  border-width: 2px;
  transition: all 0.2s ease;
}

.bmc-user-edit-form .btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .bmc-user-edit-form {
    margin: 1rem;
  }

  .bmc-user-edit-form .row {
    padding: 1.5rem;
  }

  .bmc-user-edit-form h3.h5 {
    font-size: 1.1rem;
  }
}


.bmc-registration-accept-terms {
  margin-top: 0.75rem;
}

.bmc-registration-accept-terms .description {
  font-size: 0.875rem;
}

/* BotÃ³n tipo "go-back" (estilo personalizado) */
.bmc-btn-go-back {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #0d3356;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: none;
  text-decoration: none;
}

.bmc-btn-go-back:hover,
.bmc-btn-go-back:focus {
  background: #e6f0fa;
  color: #0d3356;
  border-color: #0d3356;
  text-decoration: none;
}

.bmc-btn-go-back .bmc-btn-icon {
  font-size: 1.5em;
  display: inline-flex;
  align-items: center;
}

/*Forms*/
.user-login-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bmc-register-form .form-item label,
.user-login-form .form-item label {
  font-weight: bold;
  margin-bottom: .3rem;
}

.bmc-register-form .form-item input:not(input[type="checkbox"]),
.user-login-form .form-item input {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.3;
  color: #212529;
  background-color: #f4f4f4;
  background-clip: padding-box;
  border: 1px solid #d7d7d7;
  appearance: none;
  border-radius: .25rem;
  margin: 0;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.bmc-register-form .form-item input:focus,
.user-login-form .form-item input:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.bmc-register-form .form-item input:hover,
.user-login-form .form-item input:hover {
  pointer-events: fill !important;
}

.user-login-form .form-item input::placeholder {
  font-size: .8rem;
}

.user-login-form .form-actions {
  width: 100%;
  max-width: 80%;
}

.user-login-form .form-actions input[type="submit"] {
  width: 100%;
  max-width: 100%;
}

/**/
.separator-line {
  width: 80%;
  height: 1px;
  background-color: #d7d7d7;
  margin-bottom: 3rem;
  margin-top: 3rem;
}

.forms-link {
  font-weight: bold;
  color: #333333;
  text-decoration: none;
  cursor: pointer !important;
}

.forms-link:hover {
  text-decoration: underline;
}

/*forgot password*/
.bmc-stepper-circles {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bmc-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bmc-step-circle.active {
  background: #0d3b66;
  /* azul oscuro similar a la imagen */
  color: #ffffff;
}

.bmc-step-line {
  width: 40px;
  height: 2px;
  background: #e9ecef;
  margin: 0 0;
}

.bmc-step-circle.active+.bmc-step-line {
  background: #0d3b66;
}

/* Modal de mensajes */
.bmc-reset-modal[hidden] {
  display: none;
}

.bmc-reset-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: grid;
  place-items: center;
  margin: 0;
}

.bmc-reset-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.bmc-reset-modal__dialog {
  position: relative;
  max-width: 460px;
  width: 92vw;
  background: #ffffff;
  color: #0f172a;
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.04);
  border: 1px solid #e5e7eb;
}

.bmc-reset-modal__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.bmc-reset-modal__body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 20px;
}

.bmc-reset-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.bmc-reset-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 1.1rem;
  cursor: pointer;
}

.bmc-reset-modal__close:hover {
  color: #0f172a;
}

/* Eye toggle */
.bmc-eye-icon {
  width: 18px;
  height: 18px;
  fill: #6c757d;
}

.bmc-eye-open {
  display: none;
}

.bmc-password-toggle.is-open .bmc-eye-open {
  display: inline;
}

.bmc-password-toggle.is-open .bmc-eye-closed {
  display: none;
}

/* Password strength meter */
.bmc-password-meter {
  margin-top: 8px;
}

.bmc-password-meter__bar {
  height: 6px;
  width: 0;
  background: #e5e7eb;
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.bmc-password-meter__text {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 6px;
}

.bmc-password-checklist {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  font-size: 0.95rem;
  color: #6b7280;
  word-break: break-word;
}

.bmc-password-checklist li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  min-width: 0;
  white-space: normal;
  font-size: 12px;
}

.bmc-password-checklist .bmc-req-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #9ca3af;

}

.bmc-password-checklist li.is-ok {
  color: #6b7280;

}

.bmc-password-checklist li.is-ok .bmc-req-icon {
  border-color: #9ca3af;
  color: #9ca3af;
}

.bmc-password-match {
  font-size: 0.9rem;
  margin-top: 6px;
}

.bmc-password-match.is-ok {
  color: #16a34a;
}

.bmc-password-match.is-bad {
  color: #dc2626;
}


.bmc-form-title {
  font-size: 1rem;
  max-width: 80%;
  text-align: center;
  line-height: normal;
  font-weight: bold;
  margin: 2rem auto;
}

.bmc-form-text {
  font-size: 1rem;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  line-height: normal;
}

.bmc-form-group {
  max-width: 80% !important;
  width: 100% !important;
  padding: 0 0 2rem 0 !important;
  margin: 0 auto !important;
}

.bmc-form-group label {
  font-weight: bold;
  margin-bottom: .3rem;
}

.bmc-form-group:has(input[type="checkbox"]):not(input[type="radio"]) label {
  font-weight: normal;
}

.bmc-form-group input:not(input[type="checkbox"]):not(input[type="radio"]) {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.3;
  color: #212529;
  background-color: #f4f4f4;
  background-clip: padding-box;
  border: 1px solid #d7d7d7;
  appearance: none;
  border-radius: .25rem;
  margin: 0;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.bmc-form-group .otp-input-group input {
  aspect-ratio: 1;
}

.bmc-form-group input:not(input[type="checkbox"]):not(input[type="radio"]):hover {
  pointer-events: fill !important;
}

.bmc-form-group input:not(input[type="checkbox"]):not(input[type="radio"]):focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.bmc-form-cta {
  max-width: 100%;
  padding: 15px 40px;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  background: #6297ce;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: .3s all ease;
}


.bmc-register-form #edit-mail--description {
  display: none;
}

/* ============================================================================
   LOGIN FORM SUBMIT BUTTON
   ============================================================================ */

.bmc-submit-btn {
  /* Custom styling for login submit button */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 12px 24px;
}

.bmc-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bmc-submit-btn:active {
  transform: translateY(0);
}

.bmc-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

/* Loading state (optional) */
.bmc-submit-btn.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.bmc-submit-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}


/*Tableros*/
/* Layout general */
.bmc-analytics {
  display: flex;
  min-height: 100vh;
  background: #f4f6f9;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Sidebar */
.bmc-analytics__sidebar {
  width: 280px;
  background: #036;
  color: #fff;
  padding: 20px 16px;
  overflow-y: auto;
}

.bmc-analytics__sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Categorías */
.bmc-analytics__category {
  margin-bottom: 18px;
}

.bmc-analytics__category-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  opacity: 0.7;
}

.bmc-analytics__category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Links */
.bmc-analytics__link {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #e6eef8;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.875rem;
  cursor: pointer;
}

.bmc-analytics__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.bmc-analytics__link.is-active {
  background: #ffffff;
  color: #036;
  font-weight: 600;
}

/* Contenido */
.bmc-analytics__content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Header */
.bmc-analytics__header {
  background: #ffffff;
  border-radius: 6px;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
}

.bmc-analytics__header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.bmc-analytics__header p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Frame Power BI */
.bmc-analytics__frame {
  flex: 1;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  padding: 12px;
  display: flex;
}

/* Placeholder */
.bmc-analytics__placeholder {
  margin: auto;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Tabla usuarios */
.bmc-analytics__card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px;
}

.bmc-analytics__table-wrapper {
  overflow-x: auto;
}

.bmc-analytics__table {
  width: 100%;
  border-collapse: collapse;
}

.bmc-analytics__table th,
.bmc-analytics__table td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.9rem;
}

.bmc-analytics__table th {
  background: #f8fafc;
  font-weight: 600;
}

.bmc-analytics__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #0ea5e9;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.bmc-analytics__sidebar-note {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Responsive básico */
@media (max-width: 1024px) {
  .bmc-analytics__sidebar {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .bmc-analytics {
    flex-direction: column;
  }

  .bmc-analytics__sidebar {
    width: 100%;
  }
}

body:has(header.bmc-header.no-hero-banner) header.bmc-header.no-hero-banner {
  margin: 0px;
}

/* =========================
   MOBILE MODE
========================= */
@media (max-width: 768px) {

  .bmc-analytics {
    flex-direction: column;
  }

  /* Sidebar pasa a header */
  .bmc-analytics__sidebar {
    width: 100%;
    padding: 0;
    background: #003b73;
  }

  /* Header mobile */
  .bmc-analytics__sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
  }

  /* Icono (opcional) */
  .bmc-analytics__sidebar-title::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") center/contain no-repeat;
    margin-right: 8px;
  }

  /* Categorías como cards */
  .bmc-analytics__category {
    background: #ffffff;
    margin: 12px;
    border-radius: 6px;
    padding: 14px;
  }

  .bmc-analytics__category-title {
    text-align: center;
    font-size: 0.85rem;
    color: #003b73;
    margin-bottom: 12px;
  }

  .bmc-analytics__category ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Botones tipo bloque */
  .bmc-analytics__link {
    background: #f1f6fb;
    color: #003b73;
    text-align: center;
    padding: 12px;
    font-weight: 500;
  }

  .bmc-analytics__link.is-active {
    background: #003b73;
    color: #ffffff;
  }

  /* Contenido */
  .bmc-analytics__content {
    padding: 12px;
  }

  .bmc-analytics__header {
    border-radius: 4px;
  }
}

/* ===============================
   Error Pages Base
================================ */

.bmc-error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f4f6f9;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  padding: 20px;
}

.bmc-error-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  max-width: 420px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
}

.bmc-error-icon {
  color: #003b73;
  margin-bottom: 12px;
}

.bmc-error-card h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #003b73;
}

.bmc-error-card h2 {
  margin: 8px 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
}

.bmc-error-card p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ===============================
   Actions
================================ */

.bmc-error-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bmc-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
}

.bmc-btn-primary {
  background: #003b73;
  color: #ffffff;
}

.bmc-btn-primary:hover {
  background: #002f5c;
}

.bmc-btn-secondary {
  background: #ffffff;
  color: #003b73;
  border-color: #003b73;
}

.bmc-btn-secondary:hover {
  background: #f1f6fb;
}

/* ===============================
   Mobile error page
================================ */

@media (max-width: 480px) {
  .bmc-error-card {
    padding: 22px 18px;
  }

  .bmc-error-card h1 {
    font-size: 2.1rem;
  }
}

/* ===============================
   Usuarios - acciones y modal
================================ */

.bmc-analytics__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
}

.bmc-analytics__search input {
  width: 240px;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.9rem;
}

.bmc-analytics__actions-buttons {
  display: flex;
  gap: 8px;
}

.bmc-analytics__filters,
.bmc-analytics__download {
  position: relative;
}

.bmc-analytics__filters-dropdown,
.bmc-analytics__download-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 12px;
  z-index: 5;
}

.bmc-analytics__filters-dropdown label {
  display: block;
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 6px;
}

.bmc-analytics__filters-title {
  font-weight: 600;
  margin-bottom: 8px;
  color: #111827;
}

.bmc-analytics__download-dropdown button {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
}

.bmc-analytics__download-dropdown button:hover {
  background: #f3f4f6;
}

.bmc-analytics__th-actions,
.bmc-analytics__td-actions {
  text-align: right;
  white-space: nowrap;
}

.bmc-analytics__action-btn {
  background: #003b73;
  color: #ffffff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
}

.bmc-analytics__action-btn:hover {
  background: #002f5c;
}

.bmc-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2000;
}

.bmc-modal[hidden] {
  display: none;
}

.bmc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
}

.bmc-modal__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 18px 20px;
  width: min(520px, 90vw);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.bmc-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #6b7280;
}

.bmc-modal__dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.bmc-modal__dl dt {
  font-weight: 600;
  color: #111827;
  font-size: 0.9rem;
}

.bmc-modal__dl dd {
  margin: 2px 0 0;
  color: #4b5563;
  font-size: 0.9rem;
  word-break: break-word;
}

.bmc-modal__dl input[type="text"],
.bmc-modal__dl input[type="email"],
.bmc-modal__dl select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #111827;
  background: #ffffff;
}

.bmc-modal__dl input:focus,
.bmc-modal__dl select:focus {
  outline: 2px solid #003b73;
  outline-offset: 1px;
}

.bmc-modal__footer {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.bmc-analytics--overview {
  display: flex;
  min-height: 100vh;
  background: #f4f6f9;
}

.bmc-analytics--overview .bmc-analytics__sidebar {
  width: 280px;
  background: #036;
  color: #fff;
  padding: 20px 16px;
}

.bmc-analytics__sidebar-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.bmc-analytics__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bmc-analytics__nav a {
  display: block;
  padding: 8px 10px;
  color: #e6eef8;
  text-decoration: none;
  border-radius: 4px;
}

.bmc-analytics__nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.bmc-analytics__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.bmc-analytics__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
}

.bmc-analytics__card--accent {
  background: linear-gradient(135deg, #004b93, #0070c9);
  color: #fff;
}

.bmc-analytics__card-label {
  font-size: 0.85rem;
  color: #6b7280;
}

.bmc-analytics__card--accent .bmc-analytics__card-label {
  color: rgba(255, 255, 255, 0.8);
}

.bmc-analytics__card-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 6px;
  color: #0f172a;
}

.bmc-analytics__card--accent .bmc-analytics__card-value {
  color: #fff;
}

.bmc-analytics__card--full {
  margin-top: 16px;
}

.bmc-analytics__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bmc-analytics__card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
}

.bmc-analytics__card-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
}

.bmc-analytics__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bmc-analytics__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}

.bmc-analytics__panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px;
}

.bmc-analytics__panel-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.bmc-analytics__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bmc-analytics__list li {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f9fafb;
}

.bmc-analytics__muted {
  color: #6b7280;
  font-size: 0.85rem;
}

.bmc-analytics__links .bmc-btn {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .bmc-analytics--overview .bmc-analytics__sidebar {
    width: 220px;
  }

  .bmc-analytics__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bmc-analytics--overview {
    flex-direction: column;
  }

  .bmc-analytics--overview .bmc-analytics__sidebar {
    width: 100%;
  }

  .bmc-analytics__card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .bmc-analytics__links {
    width: 100%;
  }
}
.bmc-analytics__check-cell {
  width: 40px;
  text-align: center;
}

.bmc-analytics__check-cell input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.bmc-analytics__pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0 0;
  flex-wrap: wrap;
}

.bmc-analytics__pager-left,
.bmc-analytics__pager-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bmc-btn-compact {
  padding: 6px 10px;
}

.bmc-analytics__pager-page,
.bmc-analytics__pager-range {
  font-size: 0.9rem;
  color: #4b5563;
}

.bmc-analytics__per-page select {
  margin-left: 6px;
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

.bmc-user-actions-name,
.bmc-btn-text {
  display: none;
}

@media (max-width: 640px) {
  .bmc-analytics__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bmc-analytics__actions-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  .bmc-modal__dl {
    grid-template-columns: 1fr;
  }

  .bmc-analytics__pagination {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .bmc-user-actions-name {
    display: inline-block;
  }
  .bmc-btn-text {
    display: inline-block;
  }
}

.col-search-wrapper .user-actions {
  gap: 16px;
}