/* /Presentation/Components/Layout/Shared/Footer.razor.rz.scp.css */
/* Estilos aislados para Footer */

/* Card compacta del footer */
.footer-card[b-i2hsb830ay] {
  padding: 6px 8px;
}

/* Ítems dentro de la card compacta */
.footer-items[b-i2hsb830ay] {
  gap: 8px;
}

/* Alert del footer en modo mensaje simple */
.footer-alert[b-i2hsb830ay] {
  margin: 0px 20px !important;
}

/* Contenedor de copyright */
.copyright-container[b-i2hsb830ay] {
  margin-top: 3rem;
  text-align: center;
}
/* /Presentation/Components/Pages/Agenda/Wizard/AppointmentSuccess.razor.rz.scp.css */
/* Estilos aislados para el componente AppointmentSuccess (mecanismo OTP) */

/* Contenedor principal */
.success-container[b-yqptkyetu2] {
  margin: 0 auto;
}

.success-container-div[b-yqptkyetu2] {
  width: 100%;
}

.otp-section[b-yqptkyetu2] {
  margin: 20px auto !important;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
}

.otp-actions[b-yqptkyetu2] {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.otp-actions .btn[b-yqptkyetu2] {
  min-width: 140px;
}

.otp-actions span[b-yqptkyetu2] {
  color: #666;
}

.otp-display[b-yqptkyetu2] {
  margin-top: 12px;
}

.otp-title[b-yqptkyetu2] {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.otp-expiration[b-yqptkyetu2] {
  margin-left: 12px;
  color: #888;
}

.otp-info[b-yqptkyetu2] {
  font-size: 1.1rem;
}

.evidence-form[b-yqptkyetu2] {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-hint[b-yqptkyetu2] {
  color: #666;
}

.evidence-actions[b-yqptkyetu2] {
  display: flex;
  gap: 10px;
  align-items: center;
}

.message-success[b-yqptkyetu2] {
  color: #28a745;
}

.message-error[b-yqptkyetu2] {
  color: #dc3545;
}

.otp-section .form-select[b-yqptkyetu2] {
  max-width: 280px;
}

.otp-section .form-control[b-yqptkyetu2] {
  max-width: 100%;
}

@media (max-width: 576px) {
  .otp-actions[b-yqptkyetu2] {
    flex-direction: column;
    align-items: stretch;
  }

  .otp-actions .btn[b-yqptkyetu2] {
    width: 100%;
  }

  .otp-display .otp-info[b-yqptkyetu2] {
    font-size: 1rem;
  }
}
/* /Presentation/Components/Pages/Agenda/Wizard/NewDoctorComponent.razor.rz.scp.css */
.disabled-input-container[b-dkackjmcfm] {
    pointer-events: none;
    opacity: 0.4;
}
.overlay-spinner[b-dkackjmcfm] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 8px;
}
/* Asegurar que el contenedor padre tenga posición relativa para que el overlay funcione */
#ordenMedicaPanelDoctor .medical-order-label + label.file-upload-button + div[b-dkackjmcfm] {
    position: relative;
}

/* Estilos para la cámara en vivo */
.camera-overlay[b-dkackjmcfm] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999; /* Por encima de todo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#cameraFeed[b-dkackjmcfm] {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ajustar para ver todo el cuadro */
    background: #000;
}
.camera-controls[b-dkackjmcfm] {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
}
.btn-capture[b-dkackjmcfm] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
}
.btn-capture:active[b-dkackjmcfm] {
    transform: scale(0.95);
    background-color: #eee;
}
.btn-capture i[b-dkackjmcfm] {
    font-size: 24px;
    color: #333;
}

/* Estilos para Dropdown de Doctores con Badges */
.doctor-dropdown-container[b-dkackjmcfm] {
    position: relative;
    width: 100%;
}
.doctor-dropdown-trigger[b-dkackjmcfm] {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    min-height: 38px;
}
.doctor-dropdown-menu[b-dkackjmcfm] {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    z-index: 1050;
    margin-top: 2px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.doctor-dropdown-item[b-dkackjmcfm] {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}
.doctor-dropdown-item:hover[b-dkackjmcfm] {
    background-color: #f8f9fa;
}
.doctor-dropdown-item.selected[b-dkackjmcfm] {
    background-color: #e9ecef;
    font-weight: 600;
    color: #0d6efd;
}
.day-badge[b-dkackjmcfm] {
    font-size: 0.8rem;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d1fae5 !important;
    color: #064e3b;
    font-weight: bold;
}
.dropdown-backdrop[b-dkackjmcfm] {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    z-index: 1040;
    cursor: default;
}
/* /Presentation/Components/Pages/Agenda/Wizard/SummaryComponent.razor.rz.scp.css */
.summary-appointment-sidebar[b-j77ffo9254] {
    padding: 1.25rem;
    background-color: white;
    border-radius: 0.5rem;
}

.appointment-title[b-j77ffo9254] {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb; /* Línea separadora sutil */
    padding-bottom: 0.5rem;
    margin-top: 1rem; /* Espacio antes del título */
}

/* El primer título no necesita margen superior */
.appointment-title:first-child[b-j77ffo9254], .appointment-title:first-of-type[b-j77ffo9254] {
    margin-top: 0;
}

.summary-paragraph[b-j77ffo9254] {
    display: flex;
    align-items: baseline; /* Alinear texto con iconos si son de diferente tamaño */
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #4b5563; /* Gris oscuro suave */
    line-height: 1.4;
}

.summary-label[b-j77ffo9254] {
    font-weight: 700; /* Negrita SOLO para etiquetas */
    margin-right: 0.4rem;
    color: #1f2937; /* Casi negro */
    min-width: fit-content;
}

.summary-value[b-j77ffo9254] {
    font-weight: 400; /* Peso normal/delgado para el valor */
    color: #4b5563; /* Gris oscuro suave */
}

/* Borde separador para cada sección principal */
#resumenCitaPanelSummary[b-j77ffo9254],
#resumenCalendarioPanelSummary[b-j77ffo9254],
#resumenProcedimientoPanelSummary[b-j77ffo9254],
#resumenOrdenMedicaPanelSummary[b-j77ffo9254] {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* El último panel no necesita borde inferior */
.summary-appointment-sidebar > div:last-of-type[b-j77ffo9254] {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-icon[b-j77ffo9254] {
    margin-right: 8px;
    min-width: 20px;
    text-align: center;
    color: #0d6efd; /* Color primario para iconos */
}

.summary-attachment-thumb-cell[b-j77ffo9254] {
    width: 42px;
    padding-left: 12px;
    padding-right: 6px;
    vertical-align: middle;
}

.summary-attachment-thumb[b-j77ffo9254] {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
}

.summary-attachment-thumb-cell-right[b-j77ffo9254] {
    width: 56px;
    padding-right: 12px;
    text-align: right;
    vertical-align: middle;
}

.summary-attachment-thumb-img[b-j77ffo9254] {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.summary-attachment-thumb-default[b-j77ffo9254] {
    background-color: #6c757d;
}

.summary-attachment-thumb-image[b-j77ffo9254] {
    background-color: #198754;
}

.summary-attachment-thumb-pdf[b-j77ffo9254] {
    background-color: #dc3545;
}

.summary-attachment-thumb-word[b-j77ffo9254] {
    background-color: #0d6efd;
}

.summary-attachment-thumb-excel[b-j77ffo9254] {
    background-color: #20c997;
}

/* Ajuste para el contenedor verde */
.footer-message.footer-card[b-j77ffo9254] {
    padding: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #d1fae5;
    border: none;
    border-left: 4px solid #10b981;
    border-radius: 4px;
    color: #064e3b;
}
/* /Presentation/Components/Pages/Analytics/AppointmentsStats.razor.rz.scp.css */
:root[b-vxux4sj3uo] {}

.stats-card-body[b-vxux4sj3uo] {
    height: 420px;
}

@media (min-width: 992px) {
    .stats-card-body[b-vxux4sj3uo] {
        height: 70vh;
    }
}

#statsChart[b-vxux4sj3uo] {
    width: 100%;
    height: 100%;
}

.spin-animation[b-vxux4sj3uo] {
    animation: spin-b-vxux4sj3uo 1s linear infinite;
}

@keyframes spin-b-vxux4sj3uo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gradient-primary[b-vxux4sj3uo] {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Custom Scrollbar for inner lists */
[b-vxux4sj3uo]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

[b-vxux4sj3uo]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

[b-vxux4sj3uo]::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

[b-vxux4sj3uo]::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}
/* /Presentation/Components/Pages/Dashboard/Dashboard.razor.rz.scp.css */
/* ════════════════════════════════════════════
   DASHBOARD — CSS MÍNIMO
   Bootstrap maneja cards, grids, tipografía y colores.
   Este archivo solo cubre lo que Bootstrap NO tiene.
   ════════════════════════════════════════════ */

.dashboard-layout[b-actek3q4ru] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── KPI Grid (8 columnas fijas para que todos los indicadores quepan en una fila) ── */
.kpi-grid[b-actek3q4ru] {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.85rem;
}

/* En pantallas < 1400px: 4 columnas; < 992px: 2 columnas; < 576px: 1 columna */
@media (max-width: 1399.98px) { .kpi-grid[b-actek3q4ru] { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991.98px) { .kpi-grid[b-actek3q4ru] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .kpi-grid[b-actek3q4ru] { grid-template-columns: repeat(1, 1fr); } }

/* ── Skeleton loading ── */
.kpi-card-skeleton[b-actek3q4ru] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kpi-card-skeleton > div[b-actek3q4ru] {
    background: #f1f3f5;
    border-radius: 4px;
    animation: dash-skel-b-actek3q4ru 1.5s ease-in-out infinite;
}

.skeleton-icon[b-actek3q4ru] { width: 28px; height: 28px; border-radius: 8px; }
.skeleton-text[b-actek3q4ru] { width: 55%; height: 10px; }
.skeleton-value[b-actek3q4ru] { width: 35%; height: 26px; }
.skeleton-bar[b-actek3q4ru] { width: 100%; height: 6px; margin-top: auto; border-radius: 4px; }

@keyframes dash-skel-b-actek3q4ru {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ── Pulse Bar (100% custom) ── */
.pulse-bar[b-actek3q4ru] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pulse-bar.pulse-warning[b-actek3q4ru] {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fde68a;
}

.pulse-bar.pulse-critical[b-actek3q4ru] {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border-color: #fca5a5;
}

.pulse-dot[b-actek3q4ru] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pulse-dot.pulse-normal[b-actek3q4ru] { background: #10B981; box-shadow: 0 0 8px rgba(16,185,129,0.5); }
.pulse-dot.pulse-warning[b-actek3q4ru] { background: #F59E0B; box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.pulse-dot.pulse-critical[b-actek3q4ru] { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }

/* ── KPI Card hover ── */
.kpi-card[b-actek3q4ru] {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover[b-actek3q4ru] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ── Live Feed max-height ── */
.feed-list[b-actek3q4ru] {
    max-height: 340px;
    overflow-y: auto;
}

.notifications-list[b-actek3q4ru] {
    max-height: 300px;
    overflow-y: auto;
}

.live-feed-item:hover[b-actek3q4ru] {
    background: #f8f9fa;
    border-radius: 6px;
}

/* ── Priority list spacing ── */
.priority-list[b-actek3q4ru] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* ── Logo del header del Dashboard ── */
.dashboard-header-logo[b-actek3q4ru] {
    height: 55px !important;
    max-width: 100px !important;
    border: 2px solid #EAEAEA;
}

/* ── Status dot para badges de integraciones ── */
.status-dot[b-actek3q4ru] {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 0.3rem;
    vertical-align: middle;
    animation: dot-pulse-b-actek3q4ru 2s ease-in-out infinite;
}

@keyframes dot-pulse-b-actek3q4ru {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes dash-pulse-dot-b-actek3q4ru {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.min-h-chart[b-actek3q4ru] { min-height: 220px; }
/* /Presentation/Components/Pages/Home.razor.rz.scp.css */
.suros-footer-cta[b-bulv0zksqx] {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    letter-spacing: 0.8px;
    border: none;
    background: linear-gradient(135deg, #278b4c, #16a34a);
    color: #f9fafb;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 35px rgba(56, 219, 116, 0.4);
    position: relative;
    overflow: hidden;
    transition:
        transform 160ms ease-out,
        box-shadow 160ms ease-out,
        filter 160ms ease-out;
}

.suros-footer-cta:hover[b-bulv0zksqx] {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 22px 45px rgba(22, 163, 74, 0.6);
}

.suros-footer-cta--agendar[b-bulv0zksqx] {
    background: linear-gradient(135deg, #e0e4e1, #dee2e0);
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
    color: rgb(26, 25, 25);
}

.suros-footer-cta--agendar:hover[b-bulv0zksqx] {
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
}

.suros-footer-cta--consultar[b-bulv0zksqx] {
    
    background: linear-gradient(135deg, #e0e4e1, #dee2e0);
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
    color: rgb(26, 25, 25);
}

.suros-footer-cta--consultar:hover[b-bulv0zksqx] {
     box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
}

.suros-footer-cta--cancelar[b-bulv0zksqx] {
    
    background: linear-gradient(135deg, #e0e4e1, #dee2e0);
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
    color: rgb(26, 25, 25);
}

.suros-footer-cta--cancelar:hover[b-bulv0zksqx] {
    box-shadow: 0 18px 35px rgba(203, 209, 205, 0.35);
}
/* /Presentation/Components/Pages/Inicio.razor.rz.scp.css */
.inicio-layout[b-mk3habwms5] {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar Styles moved to Menu.razor.css */

/* Main Content Styles */
.main-content[b-mk3habwms5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
}

/* App Header */
.app-header[b-mk3habwms5] {
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e0e0e0;
}

.app-title[b-mk3habwms5] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.header-right[b-mk3habwms5] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.current-date[b-mk3habwms5] {
    font-size: 0.85rem;
    color: #666;
    margin-right: 5px;
}

.connection-icon[b-mk3habwms5] {
    font-size: 1.2rem;
    color: #000;
    cursor: help;
}

.search-box[b-mk3habwms5] {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    background-color: #fff;
    position: relative;
}

.search-results-dropdown[b-mk3habwms5] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 250px; /* Wider than the input */
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 4px;
}

.search-result-item[b-mk3habwms5] {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
    color: #333;
}

.search-result-item:hover[b-mk3habwms5] {
    background-color: #f0f4f8;
    color: #007bff;
}

.search-icon[b-mk3habwms5] {
    margin-right: 10px;
    color: #666;
    width: 20px;
    text-align: center;
}

.search-label[b-mk3habwms5] {
    font-size: 0.85rem;
    color: #666;
    margin-right: 8px;
}

.search-box input[b-mk3habwms5] {
    border: none;
    outline: none;
    font-size: 0.85rem;
    width: 150px;
}

.btn-notifications[b-mk3habwms5] {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn-tour[b-mk3habwms5] {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.btn-tour:hover[b-mk3habwms5] {
    background-color: #0b5ed7;
}

.user-avatar[b-mk3habwms5] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user-avatar img[b-mk3habwms5] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tabs Container */
.tabs-container[b-mk3habwms5] {
    height: 48px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 5px;
    gap: 5px;
}

.tab-scroll-btn[b-mk3habwms5] {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color 0.2s;
}

.tab-scroll-btn:hover[b-mk3habwms5] {
    color: #666;
}

.tabs-scroll-area[b-mk3habwms5] {
    flex: 1;
    display: flex;
    align-items: center; 
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    gap: 10px;
    padding: 0 10px;
}

.tabs-scroll-area[b-mk3habwms5]::-webkit-scrollbar {
    display: none;
}

.tab-item[b-mk3habwms5] {
    height: 44px !important;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    min-width: fit-content;
    white-space: nowrap;
    transition: all 0.2s;
    user-select: none;
}

.tab-item:hover[b-mk3habwms5] {
    background-color: #ced4da;
}

.tab-item.active[b-mk3habwms5] {
    min-height: 46px !important;
    padding: 4px 25px !important;
    background-color: #e3f2fd;
    color: #1976d2;
    border-bottom: 2px solid #1976d2;
    font-weight: 500;
}

.tab-close[b-mk3habwms5] {
    margin-left: 8px;
    font-size: 0.8rem;
    opacity: 0.6;
    color: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.tab-close:hover[b-mk3habwms5] {
    opacity: 1;
    background-color: #fadbd8;
}

/* Tab Content */
.tab-content-area[b-mk3habwms5] {
    flex: 1;
    overflow: auto;
    padding: 20px;
    position: relative;
    background-color: #fff;
}

.tab-pane[b-mk3habwms5] {
    display: none;
    height: 100%;
    width: 100%;
}

.tab-pane.active[b-mk3habwms5] {
    display: block;
    animation: fadeIn-b-mk3habwms5 0.2s ease;
}

@keyframes fadeIn-b-mk3habwms5 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Access Denied */
.access-denied[b-mk3habwms5] {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #2d3436;
}

.access-denied a[b-mk3habwms5] {
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 600;
}
.modal-title[b-mk3habwms5] {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529 !important;
}

/* Estrella de favoritos en tabs */
.tab-fav-star[b-mk3habwms5] {
    cursor: pointer;
    padding: 0 3px;
    display: inline-flex;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.15s;
    font-size: 0.7rem;
}
.tab-fav-star:hover[b-mk3habwms5] {
    opacity: 1;
}
.tab-item:hover .tab-fav-star[b-mk3habwms5] {
    opacity: 0.8;
}
/* /Presentation/Components/Pages/Login/Login.razor.rz.scp.css */
@font-face {
    font-family: Raleway-Bold;
    src: url('/fonts/raleway/phylactere.ttf');
}

.login-container[b-7kpvvw98of] {
    background: radial-gradient(ellipse at 50% 50%, #001a33 0%, #000714 45%, #000 80%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    transition: background 1s ease-in-out;
    
    /* CSS Variables moved from :root for scoped isolation */
    --hex-stroke: rgba(255,255,255,0.8);
    --hex-fill: rgba(255,255,255,0.28);
    --hex-fill-strong: rgba(255,255,255,0.38);
    --icon-primary: #79c8ff;
    --icon-secondary: rgba(121,200,255,0.92);
    --glow: rgba(46,168,255,0.55);
}

.login-container.show-background[b-7kpvvw98of] {
    background: url('/images/fondologin.jpeg') center center / cover no-repeat fixed !important;
}

.header-caption[b-7kpvvw98of] {
    position: fixed; /* Added to position it relative to viewport */
    top: 10%;
    left: 20%;
    color: #eaf2f9;
    font-size: clamp(20px, 2.2vw + 8px, 32px);
    line-height: 1.25;
    letter-spacing: 0.3px;
    max-width: min(760px, 46vw);
    z-index: 10;
    padding: 12px 20px;
    border-radius: 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
    background: linear-gradient(90deg, rgba(46,168,255,.5), rgba(0,43,77,.18));
    font-family: 'Raleway', sans-serif; /* Ensuring font matches */
}

.bg-watermark[b-7kpvvw98of] {
    position: fixed;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.60;
    pointer-events: none;
    width: 60vw;
    max-width: 600px;
}

.bg-watermark-clinica[b-7kpvvw98of] {
    position: fixed;
    top: 81%;
    left: 61%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.40;
    pointer-events: none;
    width: 20vw;
    max-width: 200px;
}

.login-card[b-7kpvvw98of] {
    background: #FAFAFA;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 30px 40px;
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    left: 6%;
    top: 30%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.logo-container[b-7kpvvw98of] {
    text-align: center;
    margin-bottom: 10px;
}

.login-logo[b-7kpvvw98of] {
    max-width: 180px;
    height: auto;
}

.login-title[b-7kpvvw98of] {
    text-align: center;
    font-size: 1.3rem;
    color: #2d3436;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    position: relative;
    padding-bottom: 8px;
    width: 100%;
}

.login-title[b-7kpvvw98of]:after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background: #3498db;
    margin: 5px auto 0;
    border-radius: 2px;
}

.input-group-text[b-7kpvvw98of] {
    background-color: #f8f9fa;
    border-right: none;
    color: #b2bec3;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

/* Make icon blue on focus/hover */
.input-group:focus-within .input-group-text[b-7kpvvw98of],
.input-group:hover .input-group-text[b-7kpvvw98of] {
    color: #3498db;
    background-color: #fff;
    border-color: #3498db;
}

.form-control[b-7kpvvw98of] {
    border-left: none;
    box-shadow: none;
    background-color: #f8f9fa;
    height: 45px;
    font-size: 15px;
}

.form-control:focus[b-7kpvvw98of] {
    border-color: #3498db;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    background-color: #fff;
}

.login-btn[b-7kpvvw98of] {
    background-image: linear-gradient(to right, #3498db 0%, #2980b9 51%, #3498db 100%);
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
    color: white;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 0;
}

.login-btn:hover[b-7kpvvw98of] {
    background-position: right center;
}

.forgot-password[b-7kpvvw98of] {
    color: #636e72;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover[b-7kpvvw98of] {
    color: #3498db;
    text-decoration: underline;
}

/* Hero & Animation Styles */
.hero-suros[b-7kpvvw98of] {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, #001a33 0%, #000714 45%, #000 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 9999;
    opacity: 1;
    transition: opacity 700ms ease;
}

.hero-suros.hidden[b-7kpvvw98of] {
    opacity: 0;
    pointer-events: none;
}

.hero-stage[b-7kpvvw98of] {
    position: relative;
    width: min(1100px, 92vw);
    height: min(500px, 52vh);
}

.signal-svg[b-7kpvvw98of] {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    filter: drop-shadow(0 0 6px #2ea8ff) drop-shadow(0 0 16px rgba(46, 168, 255, .35));
}

.signal-svg svg[b-7kpvvw98of] {
    width: 100%;
    height: 120px;
}

.text-and-check[b-7kpvvw98of] {
    position: absolute;
    left: 45%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: min(24px, 3vw);
    z-index: 2;
}

.suros-text[b-7kpvvw98of] {
    color: #fff;
    font-weight: 600;
    letter-spacing: .5px;
    font-size: 13em;
    display: inline-flex;
    align-items: start;
    margin-top: -20px;
    font-family: 'Raleway-Bold' !important;
}

.suros-text .sur[b-7kpvvw98of],
.suros-text .su[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 700ms ease forwards;
    animation-delay: 2.7s;
    margin-left: 0px !important;
}

.suros-text .u[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 700ms ease forwards;
    animation-delay: 3.1s;
    margin-left: 0px !important;
}

.suros-text .r[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 500ms ease forwards;
    animation-delay: 3.3s;
    margin-left: 0px !important;
}

.suros-text .s[b-7kpvvw98of] {
    opacity: 0;
    animation: fadeIn-b-7kpvvw98of 700ms ease forwards;
    animation-delay: 3.5s;
    margin-left: 0px !important;
}

.o-wrap[b-7kpvvw98of] {
    position: relative;
    display: inline-block;
}

.o[b-7kpvvw98of] {
    margin-top: -18px !important;
    display: inline-block;
    font-size: 1.1em;
    transform: translateY(-260%) scale(1.12);
    opacity: 0;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    animation: dropImpact-b-7kpvvw98of 1400ms cubic-bezier(.22, .8, .25, 1) 0.6s forwards, shockGlow-b-7kpvvw98of 900ms ease-out 1s both;
    will-change: transform, filter;
}

.tilde[b-7kpvvw98of] {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -0.10em;
    opacity: 0;
    color: #ffffff;
    font-size: 1em;
    animation: accentImpact-b-7kpvvw98of 700ms cubic-bezier(.22, .8, .25, 1) 1.9s forwards;
    color: #ff2e2e;
}

/* Background Hexagons */
.medical-bg[b-7kpvvw98of] {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* Removed :root to fix scope issue */

.hex[b-7kpvvw98of] {
    position: absolute;
    width: clamp(88px, 10vw, 180px);
    height: clamp(88px, 10vw, 180px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0)), var(--hex-fill);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25), 0 0 28px var(--glow);
    border: 2px solid var(--hex-stroke);
    clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    backdrop-filter: blur(3px);
    will-change: transform, opacity;
}

.hex.strong[b-7kpvvw98of] {
    background: var(--hex-fill-strong);
}

.hex .icon[b-7kpvvw98of] {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--icon-secondary);
    font-size: clamp(40px, 4.5vw, 65px);
    opacity: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    will-change: transform, opacity;
}

.hex.main .icon[b-7kpvvw98of] {
    color: var(--icon-primary);
    opacity: 0.95;
}

.hex.lg[b-7kpvvw98of] {
    width: clamp(120px, 12vw, 220px);
    height: clamp(120px, 12vw, 220px);
}

.hex.sm[b-7kpvvw98of] {
    width: clamp(64px, 7vw, 120px);
    height: clamp(64px, 7vw, 120px);
}

.hex.xs[b-7kpvvw98of] {
    width: clamp(48px, 5.4vw, 96px);
    height: clamp(48px, 5.4vw, 96px);
}

.hex .icon.sm[b-7kpvvw98of] {
    font-size: clamp(24px, 2.8vw, 36px);
}

.hex .icon.xs[b-7kpvvw98of] {
    font-size: clamp(18px, 2.2vw, 28px);
}

/* Positions */
.p1[b-7kpvvw98of] {
    left: 66%;
    top: 14%;
}

.p2[b-7kpvvw98of] {
    left: 76%;
    top: 24%;
}

.p3[b-7kpvvw98of] {
    left: 84%;
    top: 40%;
}

.p4[b-7kpvvw98of] {
    left: 70%;
    top: 46%;
}

.p5[b-7kpvvw98of] {
    left: 80%;
    top: 60%;
}

.p6[b-7kpvvw98of] {
    left: 66%;
    top: 64%;
}

.p7[b-7kpvvw98of] {
    left: 58%;
    top: 24%;
}

.p8[b-7kpvvw98of] {
    left: 60%;
    top: 36%;
}

.p9[b-7kpvvw98of] {
    left: 64%;
    top: 52%;
}

.p10[b-7kpvvw98of] {
    left: 86%;
    top: 70%;
}

.p11[b-7kpvvw98of] {
    left: 72%;
    top: 42%;
}

.p12[b-7kpvvw98of] {
    left: 68%;
    top: 28%;
}

/* Keyframes */
@keyframes dropImpact-b-7kpvvw98of {
    0% {
        transform: translateY(-260%) scale(1.12);
        filter: blur(6px) drop-shadow(0 22px 44px rgba(0, 0, 0, .45));
        opacity: 0;
    }

    20% {
        transform: translateY(-80%) scale(1.06);
        filter: blur(2px) drop-shadow(0 18px 36px rgba(0, 0, 0, .4));
        opacity: 1;
    }

    60% {
        transform: translateY(10%) scale(0.95);
        filter: blur(0) drop-shadow(0 30px 45px rgba(0, 0, 0, .35));
    }

    78% {
        transform: translateY(-6%) scale(1.02);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: blur(0) drop-shadow(0 8px 16px rgba(0, 0, 0, .28));
        opacity: 1;
    }
}

@keyframes accentImpact-b-7kpvvw98of {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-40%) rotate(-25deg) scale(0.85);
        filter: blur(4px);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(-8%) rotate(6deg) scale(1.1);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes shockGlow-b-7kpvvw98of {
    0% {
        text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }

    35% {
        text-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 24px rgba(46, 168, 255, .5);
    }

    100% {
        text-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    }
}

@keyframes fadeIn-b-7kpvvw98of {
    from {
        opacity: 0;
        filter: blur(2px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes pulse-b-7kpvvw98of {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        filter: drop-shadow(0 0 15px rgba(121, 200, 255, 0.8));
    }
}

@keyframes floatY-b-7kpvvw98of {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes fadeSoft-b-7kpvvw98of {
    0% {
        opacity: .65;
    }

    50% {
        opacity: .35;
    }

    100% {
        opacity: .65;
    }
}

.hex.float[b-7kpvvw98of] {
    animation: floatY-b-7kpvvw98of 6s ease-in-out infinite;
}

.hex.soft[b-7kpvvw98of] {
    animation: fadeSoft-b-7kpvvw98of 8s ease-in-out infinite;
}

.hex .icon.pulse[b-7kpvvw98of] {
    animation: pulse-b-7kpvvw98of 2.6s ease-in-out infinite;
}

.animate__animated[b-7kpvvw98of] {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInLeft[b-7kpvvw98of] {
    animation-name: fadeInLeft-b-7kpvvw98of;
}

@keyframes fadeInLeft-b-7kpvvw98of {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
/* /Presentation/Components/Pages/Mensajeria/Dashboard.razor.rz.scp.css */
/* Estilos del Dashboard de Mensajería */

/* Botones de filtro rápido: fuerzan altura fija de 30px sin importar el estado (activo/inactivo).
   Esto evita que el botón "salte" verticalmente al cambiar de btn-outline-primary a btn-primary
   (que en Bootstrap añade border y box-shadow que cambian el tamaño del contenido). */
.btn-quick-filter[b-nsz7xx1v4e] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

.btn-quick-filter.btn-primary:focus[b-nsz7xx1v4e],
.btn-quick-filter.btn-outline-primary:focus[b-nsz7xx1v4e],
.btn-quick-filter.btn-primary:active[b-nsz7xx1v4e],
.btn-quick-filter.btn-outline-primary:active[b-nsz7xx1v4e] {
    box-shadow: none !important;
    transform: none !important;
}
/* /Presentation/Components/Pages/Mensajeria/Mensajes.razor.rz.scp.css */
/* Estilos del panel de Mensajes */

/* Botones de filtro rápido: fuerzan altura fija de 30px sin importar el estado (activo/inactivo).
   Esto evita que el botón "salte" verticalmente al cambiar de btn-outline-primary a btn-primary
   (que en Bootstrap añade border y box-shadow que cambian el tamaño del contenido). */
.btn-quick-filter[b-0ekbhvrky0] {
    box-sizing: border-box !important;
    border-width: 1px !important;
    box-shadow: none !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
    overflow: hidden;
    white-space: nowrap;
}

/* Asegura que el botón de búsqueda (lupa) tenga exactamente la misma altura que el input */
.btn-quick-filter.btn-primary:focus[b-0ekbhvrky0],
.btn-quick-filter.btn-outline-primary:focus[b-0ekbhvrky0],
.btn-quick-filter.btn-primary:active[b-0ekbhvrky0],
.btn-quick-filter.btn-outline-primary:active[b-0ekbhvrky0] {
    box-shadow: none !important;
    transform: none !important;
}

/* Alinear inputs de fecha a 30px exactos con font-size consistente */
.form-control[b-0ekbhvrky0],
.form-select[b-0ekbhvrky0] {
    box-sizing: border-box;
}

/* Estilo del input-group cuando hay botón de búsqueda (sin usar .input-group de Bootstrap) */
.search-input-wrapper input.form-control[b-0ekbhvrky0] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.search-input-wrapper button.btn[b-0ekbhvrky0] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Fix para el icono del calendario nativo de inputs date en webkit (Chrome/Edge) */
input[type="date"][b-0ekbhvrky0]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

input[type="date"][b-0ekbhvrky0]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ===========================
   MODAL DE DETALLE - ESTILOS
   =========================== */

/* Card de información compacta (Contacto, Estado, Campaña, Plantilla) */
.modal-info-card[b-0ekbhvrky0] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.modal-info-card:hover[b-0ekbhvrky0] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.modal-info-label[b-0ekbhvrky0] {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-info-label i[b-0ekbhvrky0] {
    font-size: 0.7rem;
    color: #0d6efd;
}

.modal-info-value[b-0ekbhvrky0] {
    font-size: 0.9rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.modal-info-sub[b-0ekbhvrky0] {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Línea de tiempo con timeline visual */
.modal-timeline[b-0ekbhvrky0] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-timeline-header[b-0ekbhvrky0] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-timeline-header i[b-0ekbhvrky0] {
    color: #0d6efd;
}

.modal-timeline-body[b-0ekbhvrky0] {
    padding: 12px 14px;
}

.timeline-item[b-0ekbhvrky0] {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 12px;
}

.timeline-item:not(:last-child)[b-0ekbhvrky0]::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-item:last-child[b-0ekbhvrky0] {
    padding-bottom: 0;
}

.timeline-dot[b-0ekbhvrky0] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 4px #e9ecef;
    position: relative;
    z-index: 1;
}

.timeline-content[b-0ekbhvrky0] {
    margin-left: 12px;
    flex: 1;
    min-width: 0;
}

.timeline-label[b-0ekbhvrky0] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
}

.timeline-time[b-0ekbhvrky0] {
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 1px;
}

/* Contenido del mensaje */
.modal-content-box[b-0ekbhvrky0] {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.modal-content-header[b-0ekbhvrky0] {
    background-color: #f8f9fa;
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-content-header i[b-0ekbhvrky0] {
    color: #0d6efd;
}

.modal-content-text[b-0ekbhvrky0] {
    padding: 12px 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #212529;
    white-space: pre-wrap;
    max-height: 160px;
    overflow-y: auto;
    word-break: break-word;
}

/* Scrollbar sutil para el contenido del mensaje */
.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar {
    width: 6px;
}

.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 3px;
}

.modal-content-text[b-0ekbhvrky0]::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* ===========================
   HIGHLIGHT DE BÚSQUEDA
   =========================== */
mark.search-highlight[b-0ekbhvrky0] {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* ===========================
   BADGE "ACTIVO" EN FILTRO
   =========================== */
.filter-active-badge[b-0ekbhvrky0] {
    display: inline-flex;
    align-items: center;
    background-color: #0d6efd;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    animation: pulse-active-b-0ekbhvrky0 1.5s ease-in-out infinite;
}

@keyframes pulse-active-b-0ekbhvrky0 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* /Presentation/Components/Pages/Menu.razor.rz.scp.css */
.sidebar[b-6xi1ypfhlv] {
    width: 260px;
    background: var(--sidebar-gradient);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 100;
    transition: width 0.3s ease;
    height: 100%;
    overflow-y: auto;
    font-family: 'Roboto', 'Segoe UI', sans-serif;
}

/* Scrollbar styles for webkit */
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar {
    width: 6px;
}
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar-thumb {
    background: var(--sidebar-hover);
    border-radius: 3px;
}
.sidebar[b-6xi1ypfhlv]::-webkit-scrollbar-thumb:hover {
    background: var(--sidebar-hover);
}

.sidebar-header[b-6xi1ypfhlv] {
    background-color: var(--sidebar-bg-overlay);
    padding: 10px 15px;
    border-bottom: 1px solid var(--sidebar-border);
}

.nav-system-title[b-6xi1ypfhlv] {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sidebar-header-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -3px;
}

.soft-project-logo[b-6xi1ypfhlv] {
    display: block;
    max-width: 160px;
    margin: 10px auto;
    height: auto;
    opacity: 0.9;
}

/* User Info Section */
.user-info-panel[b-6xi1ypfhlv] {
    padding: 15px;
    background-color: var(--sidebar-bg-overlay);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--sidebar-border);
}

.info-academic-title[b-6xi1ypfhlv] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sidebar-sub-header-color);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--sidebar-border);
    padding-bottom: 4px;
}

.user-details-container[b-6xi1ypfhlv] {
    display: flex;
    gap: 10px;
}

.user-data[b-6xi1ypfhlv] {
    flex: 1;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--sidebar-user-label);
}

.user-data strong[b-6xi1ypfhlv] {
    color: var(--sidebar-user-value);
    font-weight: 600;
}

.user-photo-container[b-6xi1ypfhlv] {
    margin: 0 auto;
    width: 70px;
    height: 80px;
    border: 2px solid var(--sidebar-border);
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.user-photo[b-6xi1ypfhlv] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-general-info[b-6xi1ypfhlv] {
    padding: 10px 15px;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--sidebar-border);
}

.info-row[b-6xi1ypfhlv] {
    margin-bottom: 6px;
    color: var(--sidebar-user-label);
}

.info-row strong[b-6xi1ypfhlv] {
    color: var(--sidebar-user-value);
    margin-right: 5px;
}

.welcome-badge[b-6xi1ypfhlv] {
    background-color: var(--sidebar-bg-overlay);
    color: var(--sidebar-text);
    text-align: center;
    padding: 6px;
    border-radius: 4px;
    margin: 10px 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--sidebar-border);
}

.sede-selector[b-6xi1ypfhlv] {
    padding: 0 15px 15px;
}

.sede-label[b-6xi1ypfhlv] {
    display: block;
    font-size: 0.75rem;
    color: var(--sidebar-user-label);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.form-select-sm-custom[b-6xi1ypfhlv] {
    width: 100%;
    background-color: var(--sidebar-bg-overlay);
    border: 1px solid var(--sidebar-border);
    color: var(--sidebar-text);
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
}

.form-select-sm-custom:focus[b-6xi1ypfhlv] {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.3);
}

.logout-container[b-6xi1ypfhlv] {
    padding: 0 15px 15px;
    text-align: right;
}

.btn-logout-custom[b-6xi1ypfhlv] {
    background: linear-gradient(to bottom, #e74c3c, #c0392b);
    border: 1px solid #a93226;
    color: white;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s;
}

.btn-logout-custom:hover[b-6xi1ypfhlv] {
    background: linear-gradient(to bottom, #ec7063, #e74c3c);
    transform: translateY(-1px);
}

/* Modules Section */
.modules-header[b-6xi1ypfhlv] {
    background-color: var(--sidebar-bg-overlay);
    padding: 8px 15px;
    color: var(--sidebar-header-color);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--sidebar-border);
    border-bottom: 1px solid var(--sidebar-border);
}

.modules-tree[b-6xi1ypfhlv] {
    padding: 10px 0;
}

.tree-item[b-6xi1ypfhlv] {
    cursor: pointer;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--sidebar-text);
    transition: background-color 0.15s;
    user-select: none;
}

.tree-item:hover[b-6xi1ypfhlv] {
    background-color: var(--sidebar-hover);
    color: var(--sidebar-text);
}

.tree-icon[b-6xi1ypfhlv] {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    color: #f1c40f; /* Folder color */
}

.tree-toggle[b-6xi1ypfhlv] {
    width: 14px;
    margin-right: 4px;
    font-size: 0.7rem;
    color: var(--sidebar-user-label);
    transition: transform 0.2s;
}

.tree-toggle.expanded[b-6xi1ypfhlv] {
    transform: rotate(90deg);
}

.tree-text[b-6xi1ypfhlv] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tree-children[b-6xi1ypfhlv] {
    padding-left: 20px;
    display: none;
    background-color: var(--sidebar-bg-overlay);
}

.tree-children.expanded[b-6xi1ypfhlv] {
    display: block;
}

.tree-item.leaf .tree-icon[b-6xi1ypfhlv] {
    color: #2ecc71; /* Item color */
}

.suros-watermark-bottom[b-6xi1ypfhlv] {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    opacity: 0.3;
}

.watermark-img[b-6xi1ypfhlv] {
    width: 80px;
    filter: grayscale(100%);
}

.tab-title[b-6xi1ypfhlv] {
    font-size: 0.9rem;
    font-weight: 500;
    color: #212529;
    height: 36px !important;
}

/* Estrella de favoritos en items del menu */
.fav-star[b-6xi1ypfhlv] {
    cursor: pointer;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.fav-star:hover[b-6xi1ypfhlv] {
    opacity: 1;
}
.fav-star.active[b-6xi1ypfhlv] {
    opacity: 1;
}
/* /Presentation/Components/Pages/Monitoreo/AgendaMonitor.razor.rz.scp.css */
.detail-sections[b-i2o6tvkta5] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.detail-section h6[b-i2o6tvkta5] {
    font-weight: 700;
    margin-bottom: 8px;
}

.agenda-table td[b-i2o6tvkta5] {
    vertical-align: middle;
}

.agenda-table .cell-date[b-i2o6tvkta5] {
    font-weight: 600;
    font-size: 0.95rem;
}

.agenda-table .cell-doctor[b-i2o6tvkta5],
.agenda-table .cell-specialty[b-i2o6tvkta5] {
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.agenda-table .cell-time-mins[b-i2o6tvkta5] {
    font-size: 0.9rem;
}

.agenda-table .cell-description[b-i2o6tvkta5] {
    white-space: normal;
}
/* /Presentation/Components/Pages/Monitoreo/TrazabilidadDashboard.razor.rz.scp.css */
.message-cell[b-2ycp8i0qu4] {
    position: relative;
    max-width: 500px;
    min-width: 300px;
}

.message-content[b-2ycp8i0qu4] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
}

.message-popover[b-2ycp8i0qu4] {
    display: none;
    position: absolute;
    bottom: 80%;
    left: 0;
    width: max-content;
    max-width: 600px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    white-space: normal;
    color: #212529;
    font-size: 0.9rem;
}

.message-cell:hover .message-popover[b-2ycp8i0qu4] {
    display: block;
}

.badge-op[b-2ycp8i0qu4] {
    font-weight: 600;
    border: 1px solid rgba(17, 24, 39, 0.12);
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
}

.badge-op-blue[b-2ycp8i0qu4] { background: #dbeafe; color: #1e3a8a; }
.badge-op-green[b-2ycp8i0qu4] { background: #dcfce7; color: #166534; }
.badge-op-red[b-2ycp8i0qu4] { background: #fee2e2; color: #991b1b; }
.badge-op-amber[b-2ycp8i0qu4] { background: #fef3c7; color: #92400e; }
.badge-op-cyan[b-2ycp8i0qu4] { background: #cffafe; color: #155e75; }
.badge-op-purple[b-2ycp8i0qu4] { background: #ede9fe; color: #5b21b6; }
.badge-op-gray[b-2ycp8i0qu4] { background: #f3f4f6; color: #374151; }
.badge-op-pink[b-2ycp8i0qu4] { background: #fce7f3; color: #9d174d; }

.tipo-op-filter-btn[b-2ycp8i0qu4] {
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.tipo-op-card[b-2ycp8i0qu4] {
    cursor: pointer;
    border: 1px solid rgba(17, 24, 39, 0.06);
    transition: transform 80ms ease, box-shadow 80ms ease;
}

.tipo-op-card:hover[b-2ycp8i0qu4] {
    transform: translateY(-1px);
    box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.08);
}

.tipo-op-card.selected[b-2ycp8i0qu4] {
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 0 0.15rem rgba(16, 185, 129, 0.18);
}
/* /Presentation/Components/Pages/Paciente/NewPatientComponent.razor.rz.scp.css */
.disabled-input-container[b-3quvkzukyh] {
    pointer-events: none;
    opacity: 0.4;
}

.camera-overlay[b-3quvkzukyh] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#patientCameraFeed[b-3quvkzukyh] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.camera-controls[b-3quvkzukyh] {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
}

.btn-capture[b-3quvkzukyh] {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-capture:active[b-3quvkzukyh] {
    transform: scale(0.95);
    background-color: #eee;
}

.btn-capture i[b-3quvkzukyh] {
    font-size: 24px;
    color: #333;
}

.step-content[b-3quvkzukyh] {
    max-height: 68vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .step-content[b-3quvkzukyh] {
        max-height: 72vh;
    }
}

@media (max-width: 480px) {
    .step-content[b-3quvkzukyh] {
        max-height: 74vh;
    }
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileActivityTimeline.razor.rz.scp.css */
/* ProfileActivityTimeline (per-001) — Estilos aislados */
.profile-timeline[b-1mfetmmu83] {
    position: relative;
    padding-left: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-border-color, #d1d5db) transparent;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar {
    width: 5px;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar-track {
    background: transparent;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar-thumb {
    background: var(--bs-border-color, #d1d5db);
    border-radius: 10px;
}

.profile-timeline[b-1mfetmmu83]::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary-color, #9ca3af);
}

.profile-timeline[b-1mfetmmu83]::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-border-color, #e5e7eb);
}

.timeline-item[b-1mfetmmu83] {
    position: relative;
    padding-bottom: 1.25rem;
}

.timeline-item:last-child[b-1mfetmmu83] {
    padding-bottom: 0;
}

.timeline-dot[b-1mfetmmu83] {
    position: absolute;
    left: -1.5rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}

.timeline-dot.dot-success[b-1mfetmmu83] { background: #10B981; }
.timeline-dot.dot-primary[b-1mfetmmu83] { background: #3B82F6; }
.timeline-dot.dot-danger[b-1mfetmmu83]  { background: #EF4444; }
.timeline-dot.dot-info[b-1mfetmmu83]    { background: #06B6D4; }
.timeline-dot.dot-warning[b-1mfetmmu83] { background: #F59E0B; }
.timeline-dot.dot-secondary[b-1mfetmmu83] { background: #6B7280; }

.timeline-content[b-1mfetmmu83] {
    padding-left: 0.5rem;
}

.profile-empty-section[b-1mfetmmu83] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileGeneralInfo.razor.rz.scp.css */
/* ProfileGeneralInfo (per-001) — Estilos aislados */
.info-field[b-5mvyul716o] {
    margin-bottom: 0.5rem;
}

.info-field small[b-5mvyul716o] {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.15rem;
}

.info-field .info-value[b-5mvyul716o] {
    font-size: 0.925rem;
    color: var(--bs-body-color, #111827);
    word-break: break-word;
}

.profile-empty-section[b-5mvyul716o] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileKPIs.razor.rz.scp.css */
/* ProfileKPIs (per-001) — Estilos aislados para KPI Cards + Skeleton Loader */

/* KPI Cards base */
.kpi-card[b-qwe88nyvn2] {
    background: var(--bs-card-bg, #fff);
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 10px;
    padding: 1rem 1rem 1rem 1.25rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card:hover[b-qwe88nyvn2] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kpi-header[b-qwe88nyvn2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.kpi-header i[b-qwe88nyvn2] {
    font-size: 1.1rem;
    min-width: 18px;
    text-align: center;
}

.kpi-label[b-qwe88nyvn2] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #6b7280);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.kpi-value[b-qwe88nyvn2] {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--bs-body-color, #111827);
    line-height: 1.2;
    padding-left: calc(18px + 0.75rem);
}

.kpi-trend[b-qwe88nyvn2] {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    padding-left: calc(18px + 0.75rem);
}

.kpi-trend.trend-up[b-qwe88nyvn2] {
    color: #10B981;
}

.kpi-trend.trend-down[b-qwe88nyvn2] {
    color: #EF4444;
}

/* Small unidad */
.kpi-card small[b-qwe88nyvn2] {
    display: block;
    margin-top: 0.15rem;
    padding-left: calc(18px + 0.75rem);
}

/* Skeleton Loader */
.kpi-skeleton[b-qwe88nyvn2] {
    pointer-events: none;
}

.skeleton-icon[b-qwe88nyvn2] {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite;
}

.skeleton-label[b-qwe88nyvn2] {
    width: 60%;
    height: 12px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite;
}

.skeleton-value[b-qwe88nyvn2] {
    width: 40%;
    height: 28px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    margin: 0.5rem 0;
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite 0.1s;
}

.skeleton-trend[b-qwe88nyvn2] {
    width: 30%;
    height: 12px;
    border-radius: 4px;
    background: var(--bs-tertiary-bg, #e5e7eb);
    animation: skeleton-pulse-b-qwe88nyvn2 1.5s ease-in-out infinite 0.2s;
}

@keyframes skeleton-pulse-b-qwe88nyvn2 {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* KPI Tooltip */
.kpi-card[b-qwe88nyvn2] {
    position: relative;
}

.kpi-tooltip[b-qwe88nyvn2] {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-dark, #1f2937);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kpi-tooltip[b-qwe88nyvn2]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bs-dark, #1f2937);
}

.kpi-card:hover .kpi-tooltip[b-qwe88nyvn2] {
    display: block;
}

/* Empty section */
.profile-empty-section[b-qwe88nyvn2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}

/* Responsive: móvil */
@media (max-width: 767.98px) {
    .kpi-card[b-qwe88nyvn2] {
        padding: 0.75rem 0.75rem 0.75rem 1rem;
    }

    .kpi-value[b-qwe88nyvn2] {
        font-size: 1.25rem;
        padding-left: calc(18px + 0.5rem);
    }

    .kpi-trend[b-qwe88nyvn2] {
        padding-left: calc(18px + 0.5rem);
    }

    .kpi-card small[b-qwe88nyvn2] {
        padding-left: calc(18px + 0.5rem);
    }
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileProductivity.razor.rz.scp.css */
/* ProfileProductivity (per-001) — Estilos aislados */
.prod-card[b-hi0y861o5r] {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-card-bg, #fff);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.prod-card:hover[b-hi0y861o5r] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prod-card-success[b-hi0y861o5r] { border-left: 4px solid #10B981; }
.prod-card-primary[b-hi0y861o5r] { border-left: 4px solid #3B82F6; }
.prod-card-info[b-hi0y861o5r]    { border-left: 4px solid #06B6D4; }
.prod-card-danger[b-hi0y861o5r]  { border-left: 4px solid #EF4444; }

.profile-empty-section[b-hi0y861o5r] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileRoles.razor.rz.scp.css */
/* ProfileRoles (per-001) — Estilos aislados para badges de roles */

.role-badge[b-mu3psetacc] {
    position: relative;
    cursor: default;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.role-badge:hover[b-mu3psetacc] {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.role-tooltip[b-mu3psetacc] {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-dark, #1f2937);
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.role-tooltip[b-mu3psetacc]::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--bs-dark, #1f2937);
}

.role-badge:hover .role-tooltip[b-mu3psetacc] {
    display: block;
}

.profile-empty-section[b-mu3psetacc] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileSecurity.razor.rz.scp.css */
/* ProfileSecurity (per-001) — Estilos aislados */
.profile-empty-section[b-8rfg5c1xjl] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileSettings.razor.rz.scp.css */
/* ProfileSettings (per-001) — Estilos aislados */
.fw-medium[b-xzcc3egul2] {
    font-weight: 500;
}

.profile-empty-section[b-xzcc3egul2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bs-tertiary-bg, #f9fafb);
    border-radius: 8px;
    color: var(--bs-secondary-color, #6b7280);
    font-size: 0.9rem;
}
/* /Presentation/Components/Pages/Perfil/Components/ProfileSidebar.razor.rz.scp.css */
/* Profile Sidebar - per-001 Enterprise User Profile Dashboard */
.profile-sidebar[b-1k3qf2w5s0] {
    position: sticky;
    top: 1rem;
    background: var(--bs-card-bg, #fff);
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease;
}

.profile-sidebar:hover[b-1k3qf2w5s0] {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Avatar */
.profile-avatar-container[b-1k3qf2w5s0] {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bs-border-color, #e5e7eb);
    background: var(--bs-light, #f8f9fa);
}

.profile-avatar[b-1k3qf2w5s0] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nombre */
.profile-name[b-1k3qf2w5s0] {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--bs-body-color, #111827);
    line-height: 1.3;
}

/* Rol */
.profile-role[b-1k3qf2w5s0] {
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #6b7280);
}

/* Empresa */
.profile-company[b-1k3qf2w5s0] {
    font-size: 0.8rem;
    color: var(--bs-secondary-color, #9ca3af);
}

/* Estadísticas */
.profile-stats[b-1k3qf2w5s0] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item[b-1k3qf2w5s0] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.stat-icon[b-1k3qf2w5s0] {
    width: 18px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--bs-secondary-color, #9ca3af);
    flex-shrink: 0;
}

.stat-info[b-1k3qf2w5s0] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.stat-label[b-1k3qf2w5s0] {
    color: var(--bs-secondary-color, #9ca3af);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.stat-value[b-1k3qf2w5s0] {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-body-color, #111827);
}

/* bg-purple personalizado (Invitado) */
.bg-purple[b-1k3qf2w5s0] {
    background-color: #8B5CF6 !important;
    color: #fff !important;
}
/* /Presentation/Components/Pages/Perfil/UserProfile.razor.rz.scp.css */
/* Enterprise User Profile Dashboard (per-001) — Estilos principales */

/* Layout: Content 75% + Sidebar 25% */
.profile-dashboard[b-z1o8hx8zf3] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0;
}

.profile-layout[b-z1o8hx8zf3] {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 1199.98px) {
    .profile-layout[b-z1o8hx8zf3] {
        grid-template-columns: 1fr;
    }

    .profile-sidebar-col[b-z1o8hx8zf3] {
        order: -1;
    }
}

/* Breadcrumb */
.profile-breadcrumb .breadcrumb[b-z1o8hx8zf3] {
    background: transparent;
    padding: 0;
}

/* Cards */
.profile-card[b-z1o8hx8zf3] {
    border: 1px solid var(--bs-border-color, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.profile-card:hover[b-z1o8hx8zf3] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.profile-section-header[b-z1o8hx8zf3] {
    background: transparent;
    font-weight: 600;
    font-size: 0.925rem;
    border-bottom: 1px solid var(--bs-border-color, #e5e7eb);
    padding: 0.75rem 1rem;
}

/* Quick Actions */
.profile-quick-actions[b-z1o8hx8zf3] {
    margin-bottom: 1rem;
}

.qa-btn[b-z1o8hx8zf3] {
    border-radius: 8px;
    transition: all 0.15s ease;
}

.qa-btn:hover[b-z1o8hx8zf3] {
    transform: translateY(-1px);
}

/* Avatar con iniciales en el header */
.profile-initials-avatar[b-z1o8hx8zf3] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D8ABC, #0A6E94);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid var(--bs-border-color, #e5e7eb);
}

.profile-initials-avatar span[b-z1o8hx8zf3] {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Loading state */
.profile-loading[b-z1o8hx8zf3] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

/* Responsive: móvil */
@media (max-width: 767.98px) {
    .profile-layout[b-z1o8hx8zf3] {
        gap: 1rem;
    }

    .profile-dashboard[b-z1o8hx8zf3] {
        padding: 0.5rem;
    }
}
/* /Presentation/Components/Shared/CaptchaOverlay.razor.rz.scp.css */
.captcha-inline[b-pwveqjs091] {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 6px 0;
}

.captcha-prompt[b-pwveqjs091] {
  font-weight: 700;
  font-size: 1.05rem;
  background: #f6f8ff;
  padding: 8px 12px;
  border-radius: 8px;
  color: #3d3d3d;
  min-width: 120px;
  text-align: center;
}

.captcha-input[b-pwveqjs091] {
  max-width: 110px;
}

.captcha-actions[b-pwveqjs091] {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.captcha-actions .btn[b-pwveqjs091] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  line-height: 1;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 600;
  border-width: 1px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}

.captcha-actions .btn:hover[b-pwveqjs091] {
  filter: brightness(0.98);
}

.captcha-actions .btn:focus-visible[b-pwveqjs091] {
  outline: 3px solid rgba(102,126,234,.35);
  outline-offset: 2px;
}

.captcha-btn i[b-pwveqjs091] {
  font-size: 16px;
  color:white !important; 
  margin-left:8px;
}

.captcha-btn.compact[b-pwveqjs091] {
    height: 36px;
    padding: 0 12px;
    color: white !important;
    text-align:center;
}

@media (max-width: 420px) {
  .captcha-actions[b-pwveqjs091] { gap: 10px; }
  .captcha-actions .btn[b-pwveqjs091] { height: 36px; padding: 0 12px; }
  .captcha-input[b-pwveqjs091] { max-width: 100px; }
}
/* /Presentation/Components/Shared/Editor/EditorCanvas/EditorCanvas.razor.rz.scp.css */
/* EditorCanvas.razor.css — Estilos del lienzo de edición */

.editor-canvas-container[b-6ijyhtx3uq] {
    flex-grow: 1;
    overflow-y: auto;
    padding: 12px;
    background: #fff;
}

/* --- Estado vacío --- */
.canvas-empty-state[b-6ijyhtx3uq] {
    min-height: 250px;
    cursor: pointer;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 40px 20px;
    color: #6b7280 !important;
}

.canvas-empty-state *[b-6ijyhtx3uq] {
    color: #6b7280 !important;
}

.canvas-empty-state:hover[b-6ijyhtx3uq] {
    border-color: #2563eb;
    background: #f0f4ff;
}

/* --- Lista de bloques --- */
.canvas-blocks[b-6ijyhtx3uq] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* --- Bloque individual --- */
.canvas-block[b-6ijyhtx3uq] {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.15s ease;
    position: relative;
    background: #fff;
}

.canvas-block:hover[b-6ijyhtx3uq] {
    border-color: #e2e4e9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.canvas-block.selected[b-6ijyhtx3uq] {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

.canvas-block.drag-over[b-6ijyhtx3uq] {
    border-color: #2563eb;
    background: #f0f4ff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
    transform: scale(1.01);
}

/* --- Barra de acciones del bloque --- */
.block-actions-bar[b-6ijyhtx3uq] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.canvas-block:hover .block-actions-bar[b-6ijyhtx3uq],
.canvas-block.selected .block-actions-bar[b-6ijyhtx3uq] {
    opacity: 1;
}

.block-drag-handle[b-6ijyhtx3uq] {
    cursor: grab;
    color: #9ca3af;
    font-size: 16px;
    letter-spacing: -2px;
    user-select: none;
}

.block-drag-handle:active[b-6ijyhtx3uq] {
    cursor: grabbing;
}

.block-type-badge[b-6ijyhtx3uq] {
    font-size: 10px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.block-actions-right[b-6ijyhtx3uq] {
    margin-left: auto;
    display: flex;
    gap: 4px;
}

.block-actions-right .btn-link[b-6ijyhtx3uq] {
    font-size: 14px;
    text-decoration: none;
}

/* --- Contenido del bloque: Texto --- */
.block-content[b-6ijyhtx3uq] {
    min-height: 24px;
    outline: none;
    color: #1a1d23 !important;
}

.block-content *[b-6ijyhtx3uq] {
    color: #1a1d23 !important;
}

.block-text[b-6ijyhtx3uq] {
    font-size: 14px;
    line-height: 1.6;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fafafa;
    color: #1a1d23 !important;
}

.block-text:focus[b-6ijyhtx3uq] {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

/* --- Separador --- */
.block-separator[b-6ijyhtx3uq] {
    text-align: center;
    padding: 4px 0;
}

.block-separator hr[b-6ijyhtx3uq] {
    margin: 4px 0;
    border-color: #d1d5db;
}

/* --- Salto --- */
.block-salto[b-6ijyhtx3uq] {
    text-align: center;
    padding: 8px;
    color: #9ca3af;
    font-size: 12px;
}

/* --- Lista --- */
.block-lista[b-6ijyhtx3uq] {
    font-size: 14px;
    line-height: 1.6;
    padding: 4px 8px;
    border-radius: 4px;
    background: #fffbeb;
    font-family: 'Courier New', monospace;
    color: #1a1d23 !important;
}

.block-lista:focus[b-6ijyhtx3uq] {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(245,158,11,0.15);
}

/* --- Condicional --- */
.block-condicional[b-6ijyhtx3uq] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px;
}

.condicional-header[b-6ijyhtx3uq],
.condicional-footer[b-6ijyhtx3uq] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.condicional-footer[b-6ijyhtx3uq] {
    margin-bottom: 0;
    margin-top: 8px;
}

.condicional-tag[b-6ijyhtx3uq] {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.condicional-tag.abierto[b-6ijyhtx3uq] {
    color: #16a34a;
    background: #dcfce7;
}

.condicional-tag.cerrado[b-6ijyhtx3uq] {
    color: #dc2626;
    background: #fef2f2;
}

.condicional-var-input[b-6ijyhtx3uq] {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    max-width: 200px;
}

.condicional-body[b-6ijyhtx3uq] {
    min-height: 40px;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e2e4e9;
    outline: none;
    font-size: 13px;
    line-height: 1.5;
    color: #1a1d23 !important;
}

.condicional-body:focus[b-6ijyhtx3uq] {
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.1);
}

/* --- Botón --- */
.block-boton .input-group[b-6ijyhtx3uq] {
    gap: 0;
}

.block-boton .input-group-text[b-6ijyhtx3uq] {
    font-size: 12px;
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151 !important;
}

.block-boton input[b-6ijyhtx3uq] {
    font-size: 13px;
    color: #1a1d23 !important;
}

/* --- Chips de variables inline --- */
.variable-chip-inline[b-6ijyhtx3uq] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
}

.variable-chip-inline:hover[b-6ijyhtx3uq] {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* --- Botón de agregar bloque --- */
.canvas-blocks + .text-center[b-6ijyhtx3uq] {
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
}

/* --- Transiciones de bloques --- */
.canvas-block[b-6ijyhtx3uq] {
    animation: blockFadeIn-b-6ijyhtx3uq 0.2s ease;
}

@keyframes blockFadeIn-b-6ijyhtx3uq {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Emoji Picker --- */
.emoji-picker-dropdown[b-6ijyhtx3uq] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #e2e4e9;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    padding: 8px;
    margin-top: 4px;
    min-width: 260px;
}

.emoji-grid[b-6ijyhtx3uq] {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.emoji-btn[b-6ijyhtx3uq] {
    background: none;
    border: none;
    border-radius: 6px;
    padding: 6px 4px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: center;
    line-height: 1;
}

.emoji-btn:hover[b-6ijyhtx3uq] {
    background: #f0f4ff;
    transform: scale(1.15);
}

.emoji-btn:active[b-6ijyhtx3uq] {
    transform: scale(0.95);
}

/* --- Toolbar Formato (mejoras) --- */
.toolbar-formato[b-6ijyhtx3uq] {
    position: relative;
    border-radius: 8px 8px 0 0;
    gap: 2px !important;
}

.toolbar-formato .btn-sm[b-6ijyhtx3uq] {
    font-size: 13px;
    padding: 4px 8px;
    min-width: 32px;
    height: 32px;
}

.toolbar-formato .btn-outline-secondary[b-6ijyhtx3uq] {
    border-color: #e2e4e9;
    color: #4b5563;
}

.toolbar-formato .btn-outline-secondary:hover[b-6ijyhtx3uq] {
    background: #f0f4ff;
    border-color: #2563eb;
    color: #2563eb;
}

.toolbar-formato .vr[b-6ijyhtx3uq] {
    opacity: 0.3;
    height: 20px;
    align-self: center;
}

/* --- Preview markdown en contenteditable --- */
.block-content strong[b-6ijyhtx3uq],
.block-content em[b-6ijyhtx3uq],
.block-content s[b-6ijyhtx3uq] {
    color: #1a1d23 !important;
}

.block-content strong[b-6ijyhtx3uq] {
    font-weight: 700;
}

.block-content em[b-6ijyhtx3uq] {
    font-style: italic;
}

.block-content s[b-6ijyhtx3uq] {
    text-decoration: line-through;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .block-actions-bar[b-6ijyhtx3uq] {
        opacity: 1;
    }
}
/* /Presentation/Components/Shared/Editor/EditorPlantillaBase.razor.rz.scp.css */
/* ===========================================================
   EditorPlantillaBase.razor.css
   Estilos del Editor Visual de Plantillas — Layout 3 columnas
   =========================================================== */

/* --- Contenedor principal: alto explícito vía viewport (no depende de herencia height:100%)
   Calculado desde Inicio.razor: header(60px) + tabs(48px) + padding(20px*2=40px) = 148px
   Usar calc(100vh) en vez de % evita la fragilidad de la cadena de herencia flex en Blazor Server --- */
.editor-container[b-rds0svqv79] {
    height: calc(100vh - 148px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

/* --- Header superior --- */
.editor-header[b-rds0svqv79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e4e9;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.editor-header-left .breadcrumb[b-rds0svqv79] {
    font-size: 13px;
}

.editor-header-right[b-rds0svqv79] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* --- Barra de título --- */
.editor-title-bar[b-rds0svqv79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e2e4e9;
    color: #1a1d23;
    flex-shrink: 0;
}

.editor-title-bar h4[b-rds0svqv79],
.editor-title-bar .fw-semibold[b-rds0svqv79],
.editor-title-bar small[b-rds0svqv79] {
    color: #1a1d23 !important;
}

/* ============================================
   PESTAÑAS DEL EDITOR — estilo VS Code / Material
   Reset agresivo contra Bootstrap .nav-tabs
   ============================================ */

/* Contenedor ul.nav-tabs */
.editor-tabs.nav-tabs[b-rds0svqv79] {
    border-bottom: none !important;
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    background: #e8eaed;
    list-style: none;
    gap: 0;
    position: relative;
    height: 44px;
    flex-shrink: 0;
    min-height: 44px;
}

/* Cada li.nav-item — reset total, primer hijo igual a los demás */
.editor-tabs .nav-item[b-rds0svqv79] {
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Forzar a que el primer nav-item sea IDÉNTICO a los demás */
.editor-tabs .nav-item:first-child[b-rds0svqv79] {
    margin: 0 !important;
    padding: 0 !important;
}

/* Neutralizar Bootstrap .nav-link dentro de nuestras tabs del editor.
   Ahora se usa <div> (no <button>) para evitar user-agent styles del botón.
   Altura explícita 44px para que todas las tabs tengan exactamente el mismo alto. */
.editor-tabs .nav-link[b-rds0svqv79] {
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 7px;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 450 !important;
    color: #5f6368 !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    height: 44px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.editor-tabs .nav-link:hover[b-rds0svqv79] {
    color: #202124 !important;
    background: rgba(0, 0, 0, 0.04) !important;
}

.editor-tabs .nav-link.active[b-rds0svqv79] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    height: 44px !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

/* Primer nav-link activo = idéntico a los demás nav-link activos */
.editor-tabs .nav-item:first-child .nav-link.active[b-rds0svqv79] {
    color: #1a73e8 !important;
    background: #ffffff !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

/* Línea delgada azul abajo del tab activo (tipo Material Design) */
.editor-tabs .nav-link.active[b-rds0svqv79]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px 3px 0 0;
}

/* Separador sutil entre tabs inactivos */
.editor-tabs .nav-item:not(:last-child) .nav-link:not(.active)[b-rds0svqv79]::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #dadce0;
}

.editor-tabs .nav-link i[b-rds0svqv79] {
    font-size: 14px;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ============================================
   CONTENIDO DE PESTAÑAS — llenado absoluto
   Usa position:absolute en vez de flex:1 anidado
   para evitar fragilidad con Blazor Server
   ============================================ */
.editor-tab-content[b-rds0svqv79] {
    background: #f8f9fa;
    border-top: none;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative; /* para que los hijos con absolute se posicionen contra este */
}

/* Cada panel interno llena el 100% con position:absolute, inset:0.
   Esto NO depende de que el padre tenga "altura definida" en términos CSS;
   position:absolute siempre resuelve contra el padding-box del padre posicionado. */
.editor-tab-content > *[b-rds0svqv79] {
    position: absolute;
    inset: 0;
    overflow-y: auto;
}

/* === Layout 3 Columnas (pestaña Diseñador) === */
.editor-three-columns[b-rds0svqv79] {
    display: grid;
    grid-template-columns: 280px 1fr 360px;
    gap: 0;
    height: 100%;
    overflow: hidden;
}

/* El panel central del editor debe ocupar todo el espacio vertical */
.editor-panel-center[b-rds0svqv79] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
}

.editor-canvas-container[b-rds0svqv79] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* --- Panel izquierdo: Variables + Componentes --- */
.editor-panel-left[b-rds0svqv79] {
    background: #fff;
    border-right: 1px solid #e2e4e9;
    overflow-y: auto;
    padding: 12px;
}

.editor-panel-left[b-rds0svqv79]::-webkit-scrollbar {
    width: 6px;
}

.editor-panel-left[b-rds0svqv79]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* --- Barra de estadísticas debajo del editor --- */
.editor-stats-bar[b-rds0svqv79] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border-top: 1px solid #e2e4e9;
    font-size: 12px;
}

.editor-stats-bar i[b-rds0svqv79] {
    margin-right: 4px;
}

/* --- Panel derecho: Vista previa + Detalles --- */
.editor-panel-right[b-rds0svqv79] {
    background: #fff;
    border-left: 1px solid #e2e4e9;
    overflow-y: auto;
    padding: 12px;
}

.editor-panel-right[b-rds0svqv79]::-webkit-scrollbar {
    width: 6px;
}

.editor-panel-right[b-rds0svqv79]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* --- Responsive --- */
@media (max-width: 1440px) {
    .editor-three-columns[b-rds0svqv79] {
        grid-template-columns: 260px 1fr 320px;
    }
}

@media (max-width: 1024px) {
    .editor-three-columns[b-rds0svqv79] {
        grid-template-columns: 240px 1fr;
    }
    .editor-panel-right[b-rds0svqv79] {
        display: none; /* Se muestra como bottom sheet o modal */
    }
}

/* --- Indicador de autosave --- */
.autosave-indicator[b-rds0svqv79] {
    position: fixed;
    bottom: 40px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 1050;
    transition: all 0.3s ease;
}

.autosave-indicator.dirty[b-rds0svqv79] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.autosave-indicator.saved[b-rds0svqv79] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* --- Atajos de teclado --- */
.keyboard-shortcuts-footer[b-rds0svqv79] {
    flex-shrink: 0;
}

.keyboard-shortcuts-footer kbd[b-rds0svqv79] {
    display: inline-block;
    padding: 2px 7px;
    font-size: 10.5px;
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', 'Courier New', monospace;
    font-weight: 600;
    background: #e8eaed;
    color: #1a1d23;
    border: 1px solid #c4c7cc;
    border-radius: 4px;
    box-shadow: 0 1px 0 #c4c7cc, inset 0 1px 0 rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .editor-three-columns[b-rds0svqv79] {
        grid-template-columns: 1fr;
    }
    .editor-panel-left[b-rds0svqv79] {
        display: none; /* Se muestra como sidebar colapsable */
    }
    .editor-header[b-rds0svqv79] {
        flex-direction: column;
        align-items: stretch;
    }
    .editor-header-right[b-rds0svqv79] {
        justify-content: flex-end;
    }
}

/* --- Transiciones --- */
.editor-panel-left[b-rds0svqv79],
.editor-panel-center[b-rds0svqv79],
.editor-panel-right[b-rds0svqv79] {
    transition: all 0.3s ease;
}
/* /Presentation/Components/Shared/Editor/Panels/PanelBloques.razor.rz.scp.css */
/* PanelBloques.razor.css */
.panel-bloques[b-zf2i241ewf] {
    margin-bottom: 12px;
}

.panel-title[b-zf2i241ewf] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.panel-title i[b-zf2i241ewf] {
    margin-right: 6px;
    color: #2563eb;
}

.bloques-grid[b-zf2i241ewf] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.bloque-item[b-zf2i241ewf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    height: auto;
    min-height: 56px;
    transition: all 0.2s ease;
}

.bloque-item:hover[b-zf2i241ewf] {
    background: #f0f4ff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

.bloque-icono[b-zf2i241ewf] {
    font-size: 16px;
    margin-bottom: 2px;
}

.bloque-label[b-zf2i241ewf] {
    font-size: 10px;
    line-height: 1.2;
}
/* /Presentation/Components/Shared/Editor/Panels/PanelDetallesPlantilla.razor.rz.scp.css */
/* PanelDetallesPlantilla.razor.css */
.panel-detalles[b-adzvzhe88c] {
    font-size: 13px;
}

.panel-title[b-adzvzhe88c] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.panel-title i[b-adzvzhe88c] {
    margin-right: 6px;
    color: #2563eb;
}

.detalle-item[b-adzvzhe88c] {
    margin-bottom: 8px;
}

.detalle-label[b-adzvzhe88c] {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detalle-value[b-adzvzhe88c] {
    font-size: 13px;
    color: #1a1d23;
    word-break: break-all;
}

.text-monospace[b-adzvzhe88c] {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
}
/* /Presentation/Components/Shared/Editor/Panels/PanelVistaPrevia.razor.rz.scp.css */
/* PanelVistaPrevia.razor.css */
.panel-vista-previa[b-r460ailhlt] {
    font-size: 13px;
}

.panel-title[b-r460ailhlt] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.panel-title i[b-r460ailhlt] {
    margin-right: 6px;
    color: #2563eb;
}

/* Frame WhatsApp */
.whatsapp-frame[b-r460ailhlt] {
    background: #e5ddd5;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #25D366;
    max-width: 320px;
    margin: 0 auto;
}

.wa-header[b-r460ailhlt] {
    background: #075E54 !important;
    color: #ffffff !important;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-header *[b-r460ailhlt] {
    color: #ffffff !important;
}

.wa-back[b-r460ailhlt] {
    font-size: 16px;
    cursor: pointer;
}

.wa-header-info[b-r460ailhlt] {
    flex-grow: 1;
}

.wa-header-title[b-r460ailhlt] {
    font-size: 14px;
    font-weight: 600;
    display: block;
}

.wa-header-status[b-r460ailhlt] {
    font-size: 11px;
    opacity: 0.8;
}

.wa-menu[b-r460ailhlt] {
    cursor: pointer;
}

.wa-body[b-r460ailhlt] {
    min-height: 200px;
    padding: 12px;
    background-color: #e5ddd5 !important;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23e5ddd5"/><circle cx="50" cy="50" r="50" fill="%23d4c9b8" opacity="0.2"/></svg>');
}

.wa-message[b-r460ailhlt] {
    display: flex;
    justify-content: flex-start;
}

.wa-bubble[b-r460ailhlt] {
    background: #ffffff !important;
    color: #1a1d23 !important;
    border-radius: 8px;
    padding: 8px 12px;
    max-width: 280px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    font-size: 13px;
    line-height: 1.5;
}

.wa-bubble *[b-r460ailhlt] {
    color: #1a1d23 !important;
}

.wa-bubble-html[b-r460ailhlt] {
    word-wrap: break-word;
    white-space: normal;
}

.wa-bubble-html strong[b-r460ailhlt] {
    font-weight: 700;
}

.wa-bubble-html em[b-r460ailhlt] {
    font-style: italic;
}

.wa-bubble-html s[b-r460ailhlt] {
    text-decoration: line-through;
}

.wa-time[b-r460ailhlt] {
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.wa-empty[b-r460ailhlt] {
    text-align: center;
    padding: 40px 20px;
}

.wa-indicators[b-r460ailhlt] {
    font-size: 11px;
    color: #6b7280;
}

.wa-indicators small[b-r460ailhlt],
.wa-indicators .text-success[b-r460ailhlt],
.wa-indicators .text-warning[b-r460ailhlt],
.wa-indicators .text-danger[b-r460ailhlt] {
    color: #6b7280 !important;
}

.wa-indicators .text-success[b-r460ailhlt] {
    color: #16a34a !important;
}

.wa-indicators .text-danger[b-r460ailhlt] {
    color: #dc2626 !important;
}

.wa-empty[b-r460ailhlt] {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280 !important;
}

.wa-empty *[b-r460ailhlt] {
    color: #6b7280 !important;
}
/* /Presentation/Components/Shared/Editor/Tabs/TabVariables.razor.rz.scp.css */
/* TabVariables.razor.css */
/* Accordion de variables completamente personalizado (sin Bootstrap) */

.tab-variables[b-6cfhx34xvi] {
    color: #1f2937;
    height: 100%;
    overflow-y: auto;
    padding: 16px;
    /* Asegurar que el scroll siempre funcione */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar sutil para el contenedor */
.tab-variables[b-6cfhx34xvi]::-webkit-scrollbar {
    width: 6px;
}

.tab-variables[b-6cfhx34xvi]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.tab-variables[b-6cfhx34xvi]::-webkit-scrollbar-track {
    background: transparent;
}

.tab-variables h5[b-6cfhx34xvi] {
    color: #1f2937 !important;
}

/* Header fijo: no se mueve al hacer scroll */
.tab-variables-header[b-6cfhx34xvi] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8f9fa;
    padding: 0 0 12px 0;
}

/* Contenedor del accordion */
.var-accordion[b-6cfhx34xvi] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 2rem; /* aire al final para que no quede pegado */
}

/* Cada item del accordion */
.var-accordion-item[b-6cfhx34xvi] {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    /* SIN overflow:hidden — así el body expandido nunca se recorta */
}

/* Header clickeable */
.var-accordion-header[b-6cfhx34xvi] {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    user-select: none;
    background: #f9fafb;
    transition: background 0.15s ease;
}

.var-accordion-header:hover[b-6cfhx34xvi] {
    background: #f3f4f6;
}

.var-accordion-header.expanded[b-6cfhx34xvi] {
    background: #eef2ff;
    border-bottom: 1px solid #e5e7eb;
}

/* Chevron animado */
.var-chevron[b-6cfhx34xvi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    transition: transform 0.2s ease;
    color: #6b7280;
    flex-shrink: 0;
}

.var-chevron.open[b-6cfhx34xvi] {
    transform: rotate(90deg);
}

/* Cuerpo expandible */
.var-accordion-body[b-6cfhx34xvi] {
    padding: 8px;
    background: #fff;
}

/* Items de variable */
.variable-item[b-6cfhx34xvi] {
    transition: background 0.1s ease;
}

.variable-item:hover[b-6cfhx34xvi] {
    background: #f9fafb !important;
}

.variable-item.obligatoria[b-6cfhx34xvi] {
    border-left: 3px solid #f59e0b;
}

.variable-chip[b-6cfhx34xvi] {
    display: inline-block;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.categoria-chip[b-6cfhx34xvi] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Botones de acción en items */
.variable-item .btn-link[b-6cfhx34xvi] {
    opacity: 0.4;
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.variable-item:hover .btn-link[b-6cfhx34xvi] {
    opacity: 1;
}

.min-width-0[b-6cfhx34xvi] {
    min-width: 0;
}

/* Modal - scroll si hay muchos campos */
.modal-body[b-6cfhx34xvi] {
    max-height: 70vh;
    overflow-y: auto;
}

/* Texto de ayuda en formulario */
.form-text[b-6cfhx34xvi] {
    font-size: 0.75rem;
    color: #6b7280;
}
/* /Presentation/Components/Shared/Editor/Variables/ExploradorVariables.razor.rz.scp.css */
/* ExploradorVariables.razor.css */
.explorador-variables[b-8rznva4o9l] {
    font-size: 12px;
}

.panel-title[b-8rznva4o9l] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.variable-grupo[b-8rznva4o9l] {
    border-radius: 6px;
}

.grupo-indicador[b-8rznva4o9l] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.variable-item[b-8rznva4o9l] {
    cursor: pointer;
    transition: background 0.15s ease;
}

.variable-item:hover[b-8rznva4o9l] {
    background: #f0f4ff;
}

.variable-chip-sm[b-8rznva4o9l] {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    color: white;
    font-size: 10px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    flex-shrink: 0;
}

.cursor-pointer[b-8rznva4o9l] {
    cursor: pointer;
}

@keyframes fadeIn-b-8rznva4o9l {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.variable-items[b-8rznva4o9l] {
    animation: fadeIn-b-8rznva4o9l 0.2s ease;
}
/* /Presentation/Components/Shared/Editor/Versionado/HistorialVersiones.razor.rz.scp.css */
/* HistorialVersiones.razor.css — Compacto + scroll */

.version-timeline[b-3ejcr3k0pr] {
    padding: 4px 0;
    max-height: min(60vh, 420px);
    overflow-y: auto;
}

/* Scrollbar fina */
.version-timeline[b-3ejcr3k0pr]::-webkit-scrollbar {
    width: 5px;
}
.version-timeline[b-3ejcr3k0pr]::-webkit-scrollbar-track {
    background: transparent;
}
.version-timeline[b-3ejcr3k0pr]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.version-item[b-3ejcr3k0pr] {
    position: relative;
    padding-bottom: 6px;
    padding-left: 4px;
}

.version-item[b-3ejcr3k0pr]::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 22px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.version-item:last-child[b-3ejcr3k0pr]::before {
    display: none;
}

.version-dot[b-3ejcr3k0pr] {
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    padding-top: 1px;
}

.dot-activa i[b-3ejcr3k0pr] {
    color: #16a34a;
    font-size: 15px;
}

.dot-reemplazada i[b-3ejcr3k0pr] {
    color: #9ca3af;
    font-size: 12px;
}

.dot-borrador i[b-3ejcr3k0pr] {
    color: #f59e0b;
    font-size: 14px;
}

.version-content[b-3ejcr3k0pr] {
    background: #f9fafb;
    border-radius: 6px;
    padding: 5px 10px;
    border: 1px solid #f3f4f6;
}

.version-item.activa .version-content[b-3ejcr3k0pr] {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.version-number[b-3ejcr3k0pr] {
    font-size: 13px;
    color: #1f2937;
}

.version-content p[b-3ejcr3k0pr] {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 2px !important;
    color: #6b7280;
}

.version-content small[b-3ejcr3k0pr] {
    font-size: 11px;
}

.version-actions[b-3ejcr3k0pr] {
    margin-top: 3px;
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.version-actions .btn[b-3ejcr3k0pr] {
    font-size: 11px;
    padding: 1px 6px;
    line-height: 1.4;
}

.version-actions .btn i[b-3ejcr3k0pr] {
    font-size: 10px;
    margin-right: 2px;
}

/* Badges más pequeños */
.version-content .badge[b-3ejcr3k0pr] {
    font-size: 10px;
    padding: 1px 5px;
    line-height: 1.3;
}
/* /Presentation/Components/Shared/FavoritesPanel.razor.rz.scp.css */
/* Panel de Favoritos — scoped styles */
.favorites-panel[b-n23wyvia3r] {
    padding: 8px 16px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
}

.favorites-panel .fav-title[b-n23wyvia3r] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.fav-cards-wrapper[b-n23wyvia3r] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
}

.fav-scroll-btn[b-n23wyvia3r] {
    flex-shrink: 0;
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.65rem;
    color: #888;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.15s;
    line-height: 1.2;
}
.fav-scroll-btn:hover[b-n23wyvia3r] { opacity: 1; background: #fff; }

.fav-cards-container[b-n23wyvia3r] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 2px 0;
}
.fav-cards-container[b-n23wyvia3r]::-webkit-scrollbar { display: none; }

.fav-card[b-n23wyvia3r] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.15s ease;
    font-size: 0.8rem;
    flex-shrink: 0;
    user-select: none;
}
.fav-card:hover[b-n23wyvia3r] {
    background: #e9ecef;
    border-color: #0D6EFD;
}

.fav-card .fav-card-icon[b-n23wyvia3r] {
    font-size: 0.85rem;
    color: #0D6EFD;
    flex-shrink: 0;
}

.fav-card .fav-card-text[b-n23wyvia3r] {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.fav-card .fav-remove[b-n23wyvia3r],
.fav-card .fav-move[b-n23wyvia3r] {
    display: none;
    background: none;
    border: none;
    padding: 0 2px;
    font-size: 0.5rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
}
.fav-card:hover .fav-remove[b-n23wyvia3r],
.fav-card:hover .fav-move[b-n23wyvia3r] {
    display: inline-block;
}

.fav-card .fav-move-group[b-n23wyvia3r] {
    display: none;
    gap: 1px;
    margin-right: 2px;
}
.fav-card:hover .fav-move-group[b-n23wyvia3r] {
    display: inline-flex;
}

.fav-card .fav-remove:hover[b-n23wyvia3r] { color: #dc3545; }
.fav-card .fav-move:hover[b-n23wyvia3r] { color: #0D6EFD; }

/* Empty state */
.favorites-panel.fav-empty[b-n23wyvia3r] {
    font-size: 0.82rem;
    color: #999;
    padding: 8px 16px;
    gap: 4px;
}
/* /Presentation/Components/Shared/OfflineSync.razor.rz.scp.css */
@keyframes blink-b-5tac20hnrb {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
.blinking[b-5tac20hnrb] {
    animation: blink-b-5tac20hnrb 1s infinite;
}
/* /Presentation/Components/Shared/OtpEvidence.razor.rz.scp.css */
/* Estilos aislados para el componente OtpEvidence (mecanismo OTP) */
.otp-section[b-2r9b28q42c] {
  margin: 10px auto !important;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fafafa;
}

.otp-title[b-2r9b28q42c] {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.otp-actions[b-2r9b28q42c] {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.otp-actions .btn[b-2r9b28q42c] {
  width: 100%;
}

.otp-actions span[b-2r9b28q42c] {
  color: #666;
}

.otp-actions .btn.btn-primary[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-actions .btn.btn-primary i[b-2r9b28q42c],
.otp-actions .btn.btn-primary span[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-ttl[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ttl-info-button[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #666;
  padding: 0 4px;
}

.ttl-info-button:focus[b-2r9b28q42c] {
  outline: 2px solid #80bdff;
  outline-offset: 2px;
}

.ttl-popover[b-2r9b28q42c] {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px;
  width: min(320px, 90vw);
  z-index: 1000;
}

.ttl-popover-header[b-2r9b28q42c] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-weight: 600;
}

.ttl-popover-close[b-2r9b28q42c] {
  background: transparent;
  border: none;
  color: #666;
}

.ttl-popover-body[b-2r9b28q42c] {
  color: #555;
  font-size: 0.95rem;
}

.ttl-overlay[b-2r9b28q42c] {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 900;
}

.otp-display[b-2r9b28q42c] {
  margin-top: 12px;
}

.otp-info[b-2r9b28q42c] {
  font-size: 1.1rem;
}

.otp-code-row[b-2r9b28q42c] {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.otp-code-label[b-2r9b28q42c] {
  font-weight: 600;
  color: #333;
}

.otp-display strong[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  letter-spacing: 0.12em;
  color: #fff;
  background: linear-gradient(135deg, #052e6d 0%, #3260bd 50%, #052e6d 100%);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(13,110,253,0.35);
  text-shadow: 0 1px 1px rgba(0,0,0,0.25);
  margin: 0 auto !important;
}

.otp-expiration[b-2r9b28q42c] {
  display: block;
  margin-left: 0;
  margin-top: 6px;
  color: #888;
}

.evidence-form[b-2r9b28q42c] {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.evidence-hint[b-2r9b28q42c] {
  color: #666;
}

.evidence-infograph[b-2r9b28q42c] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #555;
  font-size: 0.95rem;
}

.evidence-infograph .info-item[b-2r9b28q42c] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.evidence-infograph .info-item i[b-2r9b28q42c] {
  color: #28a745 !important;
}

.evidence-actions[b-2r9b28q42c] {
  display: flex;
  gap: 10px;
  align-items: center;
}

.evidence-actions .btn.btn-success[b-2r9b28q42c] {
  color: #fff !important;
}

.evidence-actions .btn.btn-success i[b-2r9b28q42c],
.evidence-actions .btn.btn-success span[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-actions .btn.btn-primary:disabled i[b-2r9b28q42c],
.otp-actions .btn.btn-primary:disabled span[b-2r9b28q42c] {
  color: #fff !important;
}

.otp-ttl .ttl-info-button i[b-2r9b28q42c] {
  color: #28a745 !important;
}

.message-success[b-2r9b28q42c] {
  color: #28a745;
}

.message-error[b-2r9b28q42c] {
  color: #dc3545;
}

@media (max-width: 576px) {
  .otp-actions[b-2r9b28q42c] {
    flex-direction: column;
    align-items: stretch;
  }

  .otp-actions .btn[b-2r9b28q42c] {
    width: 100%;
  }

  .otp-display .otp-info[b-2r9b28q42c] {
    font-size: 1rem;
  }
}
