/* /Components/ProductVariantHtmlSearch.razor.rz.scp.css */
/* Shell only: inner layout lives in StockeaInlineSearch.razor.css */
.product-variant-html-search[b-ljnv2963pc] {
    position: relative;
    min-width: 0;
    flex: 1;
}
/* /Components/StockeaInlineSearch.razor.rz.scp.css */
/*
 * Densidad (raíz .stockea-inline-search o parámetro RootStyle del componente):
 *   --sis-label-mb, --sis-field-height
 *   Preset: .stockea-inline-search--density-form
 *
 * Panel desplegable (.stockea-inline-search__panel), mismas fuentes:
 *   --sis-panel-margin-top   (default 2px)
 *   --sis-panel-margin-left  (default 0; ej. -200px para desplazar respecto al input)
 *   --sis-panel-min-width    (default 100%; con ancho fijo pequeño suele hacer falta 0)
 *   --sis-panel-width        (default: ancho fluido actual)
 *   --sis-panel-max-width    (default min(96vw, 56rem))
 * Ejemplo RootStyle:
 *   --sis-panel-margin-left: -200px; --sis-panel-width: 300px; --sis-panel-min-width: 0;
 * Preset panel: .stockea-inline-search--panel-narrow-offset (desplazamiento en escritorio; en viewport estrecho se anula el offset y el ancho respeta 100vw).
 * Valores negativos / anchos fijos pueden salir del viewport o recortarse si un padre tiene overflow:hidden; z-index del panel ya es alto.
 *
 * Modo tabla: el <table> incluye la clase global .stockea-table (cabecera/celdas en stockea-compact-table.css).
 */
.stockea-inline-search[b-fa2m5tgfd8] {
  position: relative;
  min-width: 0;
  flex: 1;
}

.stockea-inline-search__label[b-fa2m5tgfd8] {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mud-palette-text-primary, rgba(0, 0, 0, 0.87));
  margin-bottom: var(--sis-label-mb, 6px);
}

.stockea-inline-search__trigger[b-fa2m5tgfd8] {
  width: 100%;
  min-width: 0;
}

.stockea-inline-search__field[b-fa2m5tgfd8] {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  height: var(--sis-field-height, auto);
}

.stockea-inline-search__input[b-fa2m5tgfd8] {
  width: 100%;
  cursor: text !important;
}

/* Panel contenedor (lista o tabla + pie); ancla bajo el campo, dimensiones vía --sis-panel-* */
.stockea-inline-search__panel[b-fa2m5tgfd8] {
  position: absolute;
  left: 0;
  right: auto;
  top: 100%;
  box-sizing: border-box;
  min-width: var(--sis-panel-min-width, 100%);
  width: min(
    var(--sis-panel-width, max(100%, min(48rem, calc(100vw - 1.5rem)))),
    calc(100vw - 1.25rem)
  );
  max-width: min(
    var(--sis-panel-max-width, min(96vw, 56rem)),
    calc(100vw - 1.25rem)
  );
  /* Por encima de filas de tabla y la mayoría de controles Mud en la misma vista */
  z-index: 1300;
  margin: var(--sis-panel-margin-top, 2px) 0 0 var(--sis-panel-margin-left, 0);
  padding: 0;
  max-height: min(72vh, 32rem);
  display: flex;
  flex-direction: column;
  background: var(--mud-palette-surface, #fff);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Viewport estrecho: no permitir margin-left negativo (panel fuera de pantalla) */
@media (max-width: 720px) {
  .stockea-inline-search__panel[b-fa2m5tgfd8] {
    margin-left: max(0px, var(--sis-panel-margin-left, 0px));
  }
}

.stockea-inline-search__panel--table .stockea-inline-search__table-scroll[b-fa2m5tgfd8] {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: min(60vh, 26rem);
}

.stockea-inline-search__list[b-fa2m5tgfd8] {
  margin: 0;
  padding: 4px 0;
  list-style: none;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: min(60vh, 26rem);
}

.stockea-inline-search__vermas[b-fa2m5tgfd8] {
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 10px;
  text-align: center;
  background: var(--mud-palette-surface, #fff);
}

.stockea-inline-search__vermas-btn[b-fa2m5tgfd8] {
  background: transparent;
  border: none;
  padding: 4px 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mud-palette-primary, #594ae2);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stockea-inline-search__vermas-btn:hover[b-fa2m5tgfd8] {
  filter: brightness(1.1);
}

.stockea-inline-search__option[b-fa2m5tgfd8] {
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stockea-inline-search__option:hover[b-fa2m5tgfd8] {
  background: rgba(0, 0, 0, 0.06);
}

/* Modo tabla: estilos de cabecera/celdas vía clase .stockea-table en el markup (stockea-compact-table.css); aquí no duplicar para no pisar la herencia. */

.stockea-inline-search__panel-footer[b-fa2m5tgfd8] {
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--mud-palette-primary, #594ae2);
  color: var(--mud-palette-primary-text, #fff);
}

.stockea-inline-search__panel-footer[b-fa2m5tgfd8] (a),
.stockea-inline-search__panel-footer[b-fa2m5tgfd8] (.mud-link) {
  color: inherit !important;
}

.stockea-inline-search__panel-footer[b-fa2m5tgfd8]
  (.stockea-inline-search__footer-btn) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

.stockea-inline-search__panel-footer[b-fa2m5tgfd8]
  (.stockea-inline-search__footer-btn:hover) {
  filter: brightness(1.08);
}

/* Utilidades de texto (modo lista o celdas) */
.stockea-inline-search__code[b-fa2m5tgfd8] {
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.75rem;
  color: #64748b;
}

.stockea-inline-search__name[b-fa2m5tgfd8] {
  color: #0f172a;
  word-break: break-word;
}

.stockea-inline-search__meta[b-fa2m5tgfd8] {
  font-size: 0.7rem;
  color: #64748b;
  word-break: break-word;
}

/* Preset: cabeceras de formulario (p. ej. cliente en factura de venta) */
.stockea-inline-search.stockea-inline-search--density-form[b-fa2m5tgfd8] {
  --sis-label-mb: 10px;
  --sis-field-height: 38px;
}

/*
 * Preset: panel desplazado a la izquierda en escritorio; ancho acotado pero nunca mayor que el viewport.
 * En ≤720px el margin negativo se anula vía regla global del panel; aquí el ancho pasa a ancho fluido.
 */
.stockea-inline-search.stockea-inline-search--panel-narrow-offset[b-fa2m5tgfd8] {
  --sis-panel-min-width: 0;
  --sis-panel-margin-left: 0;
  --sis-panel-width: min(560px, calc(100vw - 1.5rem));
  --sis-panel-max-width: min(600px, calc(100vw - 1.5rem));
  --sis-panel-padding: 10px;
}

@media (max-width: 720px) {
  .stockea-inline-search.stockea-inline-search--panel-narrow-offset[b-fa2m5tgfd8] {
    --sis-panel-margin-left: 0;
    --sis-panel-width: min(100%, calc(100vw - 1.25rem));
    --sis-panel-max-width: min(96vw, calc(100vw - 1.25rem));
  }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-18gt1670h4] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-18gt1670h4] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-18gt1670h4] {
    font-size: 1.1rem;
}

.bi[b-18gt1670h4] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-18gt1670h4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-18gt1670h4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-18gt1670h4] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-18gt1670h4] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-18gt1670h4] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-18gt1670h4] {
        padding-bottom: 1rem;
    }

    .nav-item[b-18gt1670h4]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-18gt1670h4]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-18gt1670h4]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-18gt1670h4] {
        display: none;
    }

    .collapse[b-18gt1670h4] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-18gt1670h4] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* Hover Effects */
.hover\:elevation-10:hover[b-sqyb95ft79] {
    box-shadow: 0px 6px 6px -3px rgba(0,0,0,0.2), 0px 10px 14px 1px rgba(0,0,0,0.14), 0px 4px 18px 3px rgba(0,0,0,0.12) !important;
    transform: translateY(-5px);
}

.transition-all[b-sqyb95ft79] {
    transition: all 0.3s ease;
}

/* Animations */
.bounce-animation[b-sqyb95ft79] {
    animation: bounce-b-sqyb95ft79 3s infinite ease-in-out;
}

@keyframes bounce-b-sqyb95ft79 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Float Animation for Background Elements */
@keyframes float-b-sqyb95ft79 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(-10px) translateX(-10px);
    }
}

/* Fade In Animation */
@keyframes fadeIn-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation for CTA */
@keyframes pulse-b-sqyb95ft79 {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Gradient Animation */
@keyframes gradientShift-b-sqyb95ft79 {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Smooth Scroll */
html[b-sqyb95ft79] {
    scroll-behavior: smooth;
}

/* Button Hover Effects */
[b-sqyb95ft79] .mud-button-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

[b-sqyb95ft79] .mud-button-outlined:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Feature Card Hover */
[b-sqyb95ft79] .mud-paper.transition-all:hover {
    border-color: #6366F1 !important;
}

/* Avatar Group Animation */
[b-sqyb95ft79] .mud-avatar-group .mud-avatar {
    transition: transform 0.3s ease;
}

[b-sqyb95ft79] .mud-avatar-group:hover .mud-avatar {
    transform: scale(1.1);
}

/* Chart Animation */
[b-sqyb95ft79] .mud-chart {
    animation: fadeIn-b-sqyb95ft79 1s ease-out;
}

/* Stats Counter Animation */
@keyframes countUp-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Testimonial Card Hover */
[b-sqyb95ft79] .mud-paper:hover {
    transition: all 0.3s ease;
}

/* Rating Stars Animation */
[b-sqyb95ft79] .mud-rating-item {
    transition: transform 0.2s ease;
}

[b-sqyb95ft79] .mud-rating-item:hover {
    transform: scale(1.2);
}

/* Hero Section Animations */
.hero-title[b-sqyb95ft79] {
    animation: fadeInUp-b-sqyb95ft79 0.8s ease-out;
}

.hero-button[b-sqyb95ft79] {
    animation: fadeInUp-b-sqyb95ft79 1s ease-out;
}

@keyframes fadeInUp-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chart Container Animation */
.chart-container[b-sqyb95ft79] {
    animation: scaleIn-b-sqyb95ft79 0.8s ease-out;
}

@keyframes scaleIn-b-sqyb95ft79 {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Font Sizes */
@media (max-width: 960px) {
    .hero-title[b-sqyb95ft79] {
        font-size: 2rem !important;
    }
}
/* /Pages/SuperAdmin/EmailTemplates.razor.rz.scp.css */
/* Centro de Mensajería - diseño según referencia 1.png */

.msg-center[b-5zcf5zuw47] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #f5f7fa;
}

/* ----- Header ----- */
.msg-header[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.msg-header-left[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.msg-header-icon[b-5zcf5zuw47] {
    font-size: 1.5rem;
    color: #1976d2;
}

.msg-title[b-5zcf5zuw47] {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #212121;
}

.msg-subtitle[b-5zcf5zuw47] {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    color: #757575;
}

.msg-header-right[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.msg-btn[b-5zcf5zuw47] {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.msg-btn:disabled[b-5zcf5zuw47] {
    opacity: 0.6;
    cursor: not-allowed;
}

.msg-btn-outline[b-5zcf5zuw47] {
    border-color: #bdbdbd;
    background: #fff;
    color: #424242;
}

.msg-btn-outline:hover:not(:disabled)[b-5zcf5zuw47] {
    background: #f5f5f5;
}

.msg-btn-primary[b-5zcf5zuw47] {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
}

.msg-btn-primary:hover:not(:disabled)[b-5zcf5zuw47] {
    background: #1565c0;
}

.msg-btn-full[b-5zcf5zuw47] {
    width: 100%;
}

.msg-autosave[b-5zcf5zuw47] {
    font-size: 0.75rem;
    color: #757575;
}

.msg-spinner[b-5zcf5zuw47] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #e0e0e0;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: msg-spin-b-5zcf5zuw47 0.6s linear infinite;
    margin-right: 0.35rem;
    vertical-align: middle;
}

@keyframes msg-spin-b-5zcf5zuw47 {
    to { transform: rotate(360deg); }
}

/* ----- Body ----- */
.msg-body[b-5zcf5zuw47] {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* ----- Sidebar ----- */
.msg-sidebar[b-5zcf5zuw47] {
    width: 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e0e0e0;
    padding: 1rem;
}

.msg-search-box[b-5zcf5zuw47] {
    margin-bottom: 0.75rem;
}

.msg-search-input[b-5zcf5zuw47] {
    width: 100%;
    height: 40px;
    padding: 0 0.75rem 0 2.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%239e9e9e'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat 0.6rem center;
    outline: none;
    box-sizing: border-box;
}

.msg-search-input[b-5zcf5zuw47]::placeholder {
    color: #9e9e9e;
}

.msg-search-input:focus[b-5zcf5zuw47] {
    border-color: #1976d2;
    background-color: #fff;
}

.msg-cat-title[b-5zcf5zuw47] {
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #757575;
}

.msg-cat-list[b-5zcf5zuw47] {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.msg-cat-item[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.msg-cat-item:hover[b-5zcf5zuw47] {
    background: #f5f5f5;
}

.msg-cat-item--sel[b-5zcf5zuw47] {
    background: #e3f2fd;
    border-left-color: #1976d2;
    padding-left: calc(0.75rem - 3px);
}

.msg-cat-item-icon[b-5zcf5zuw47] {
    flex-shrink: 0;
    font-size: 1rem;
}

.msg-cat-item-text[b-5zcf5zuw47] {
    flex: 1;
    min-width: 0;
}

.msg-cat-item-name[b-5zcf5zuw47] {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #212121;
}

.msg-cat-item-desc[b-5zcf5zuw47] {
    display: block;
    font-size: 0.72rem;
    color: #757575;
    margin-top: 0.1rem;
}

.msg-cat-arrow[b-5zcf5zuw47] {
    flex-shrink: 0;
    color: #1976d2;
    font-size: 1rem;
}

.msg-empty-cat[b-5zcf5zuw47] {
    text-align: center;
    padding: 1.5rem 0.5rem;
    color: #757575;
    font-size: 0.875rem;
}

.msg-empty-cat .msg-btn[b-5zcf5zuw47] {
    margin-top: 0.75rem;
}

.msg-sidebar-foot[b-5zcf5zuw47] {
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

/* ----- Main ----- */
.msg-main[b-5zcf5zuw47] {
    flex: 1;
    overflow: auto;
    padding: 1.25rem 1.5rem;
}

.msg-main-empty[b-5zcf5zuw47] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    color: #757575;
    text-align: center;
}

.msg-empty-icon[b-5zcf5zuw47] {
    font-size: 2.5rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.msg-empty-title[b-5zcf5zuw47] {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.msg-empty-desc[b-5zcf5zuw47] {
    font-size: 0.875rem;
    margin: 0.5rem 0 0;
}

.msg-panel[b-5zcf5zuw47] {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.msg-tabs[b-5zcf5zuw47] {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 1rem 0 0;
}

.msg-tab[b-5zcf5zuw47] {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #757575;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
}

.msg-tab:hover[b-5zcf5zuw47] {
    color: #424242;
}

.msg-tab--active[b-5zcf5zuw47] {
    color: #1976d2;
    border-bottom-color: #1976d2;
}

.msg-tab-panel[b-5zcf5zuw47] {
    padding: 1.5rem 1.75rem;
    min-height: 420px;
}

/* Editor */
.msg-editor[b-5zcf5zuw47] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.msg-block[b-5zcf5zuw47] {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
}

.msg-block--body[b-5zcf5zuw47] {
    min-height: 280px;
}

.msg-label[b-5zcf5zuw47] {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #616161;
    margin-bottom: 0.5rem;
}

.msg-label-mt[b-5zcf5zuw47] {
    margin-top: 1rem;
}

.msg-input[b-5zcf5zuw47] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.msg-input:focus[b-5zcf5zuw47] {
    outline: none;
    border-color: #1976d2;
}

.msg-pills[b-5zcf5zuw47] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.msg-pill[b-5zcf5zuw47] {
    border: none;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-family: 'Consolas', 'Monaco', monospace;
    cursor: pointer;
    transition: opacity 0.15s;
    color: #fff;
}

.msg-pill:hover[b-5zcf5zuw47] {
    opacity: 0.9;
}

.msg-pill--blue[b-5zcf5zuw47] { background: #2196f3; }
.msg-pill--green[b-5zcf5zuw47] { background: #4caf50; }
.msg-pill--yellow[b-5zcf5zuw47] { background: #ff9800; }
.msg-pill--purple[b-5zcf5zuw47] { background: #7c3aed; }
.msg-pill--lightblue[b-5zcf5zuw47] { background: #0ea5e9; }

/* Código HTML - fondo oscuro como en la imagen */
.msg-code-wrap[b-5zcf5zuw47] {
    border-radius: 8px;
    overflow: hidden;
    background: #1e293b;
    border: 1px solid #334155;
    margin-top: 0.25rem;
}

.msg-code-input[b-5zcf5zuw47] {
    display: block;
    width: 100%;
    min-height: 320px;
    padding: 0.75rem 1rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fff;
    background: #1e293b;
    border: none;
    resize: vertical;
    box-sizing: border-box;
}

.msg-code-input:focus[b-5zcf5zuw47] {
    outline: none;
}

.msg-code-input--split[b-5zcf5zuw47] {
    min-height: 280px;
    background: #fafafa;
    color: #212121;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.msg-code-foot[b-5zcf5zuw47] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
    color: #64748b;
    background: #0f172a;
    border-top: 1px solid #334155;
    font-family: 'Consolas', monospace;
}

/* Vista dividida */
.msg-split[b-5zcf5zuw47] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    min-height: 380px;
}

@media (max-width: 768px) {
    .msg-split[b-5zcf5zuw47] {
        grid-template-columns: 1fr;
    }
}

.msg-split-preview[b-5zcf5zuw47] {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.msg-iframe[b-5zcf5zuw47] {
    display: block;
    width: 100%;
    height: 360px;
    border: none;
}

.msg-iframe--full[b-5zcf5zuw47] {
    height: 500px;
    margin-top: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.msg-preview-wrap[b-5zcf5zuw47] {
    padding: 0.5rem 0;
}

.msg-tabs-bar[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: #fafafa;
    border-top: 1px solid #eee;
    font-size: 0.75rem;
    color: #757575;
}

.msg-autosave-bar[b-5zcf5zuw47] {
    margin-right: auto;
}

.msg-alert[b-5zcf5zuw47] {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 6px;
    color: #e65100;
    font-size: 0.875rem;
}

/* Footer */
.msg-footer[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    color: #757575;
    background: #fff;
    border-top: 1px solid #e0e0e0;
}

.msg-footer-left[b-5zcf5zuw47],
.msg-footer-right[b-5zcf5zuw47] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.msg-footer-status[b-5zcf5zuw47] {
    color: #4caf50;
}

.msg-footer-mode[b-5zcf5zuw47] {
    font-weight: 600;
}

.msg-footer-id[b-5zcf5zuw47] {
    font-family: 'Consolas', monospace;
    font-size: 0.7rem;
    color: #9e9e9e;
}
