/* SyncOne: hoja de estilos única generada a partir de los módulos activos. */
/* Tipografía única: la misma pila nativa de Bootstrap usada por Contabilidad. */

:root {
    --syncone-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-body-font-family: var(--syncone-font-family);
}

/* ===== Global: dashboard.css ===== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: var(--syncone-font-family) !important;
    background: #f3f5fb;
    color: #1f2933;
}

button,
input,
select,
textarea,
optgroup,
option,
table,
dialog,
.btn,
.form-control,
.form-select,
.modal,
.modal-content,
.dropdown-menu,
.popover,
.tooltip,
.offcanvas,
.fc,
.select2-container,
.dataTables_wrapper,
.dt-container,
.swal2-container,
.swal2-popup {
    font-family: var(--syncone-font-family) !important;
}

/* Loader overlay */
#loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 250, 252, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid #c2d4ff;
    border-top-color: #2563eb;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Layout principal */
.main-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #111827, #020617);
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 16px 14px;
    position: fixed;
    inset-block: 0;
    left: 0;
    z-index: 1100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.brand {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.sidebar-user {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 10px;
    margin-bottom: 16px;
    gap: 10px;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 14px;
}

.sidebar-user-role {
    font-size: 12px;
    color: #9ca3af;
}

.sidebar-user-cargo {
    font-size: 11px;
    color: #d1d5db;
}

.sidebar-menu {
    margin-top: 8px;
    flex: 1;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    font-size: 14px;
    color: #e5e7eb;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background 0.15s, transform 0.08s;
}

.sidebar-link i {
    font-size: 17px;
}

.sidebar-link:hover {
    background: rgba(55, 65, 81, 0.85);
    transform: translateX(1px);
}

.sidebar-link.active {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.sidebar-footer {
    margin-top: 10px;
}

/* CONTENIDO */
.content-wrapper {
    flex: 1;
    margin-left: 260px;
    padding: 14px 18px;
}

/* TOPBAR */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    margin-bottom: 16px;
}

.topbar-user {
    font-size: 14px;
    color: #4b5563;
}

/* CONTENT */
.content {
    padding-bottom: 20px;
}

/* TARJETAS RESUMEN */
.summary-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.summary-label {
    font-size: 13px;
    color: #6b7280;
}

.summary-value {
    font-size: 20px;
    font-weight: 700;
}

.summary-sub {
    font-size: 11px;
    color: #9ca3af;
}

/* PANEL CARD */
.panel-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease-out;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .content-wrapper {
        margin-left: 0;
        padding: 10px 12px;
    }
}
/* OVERLAY DE CARGA */
#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.3s ease;
}

/* SPINNER */
.spinner {
    width: 60px;
    height: 60px;
    border: 7px solid #dcdcdc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.footer-soluditec{
    margin-top: 28px;
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 -6px 16px rgba(0,0,0,.04);
}

.footer-soluditec .brand{
    color: linear-gradient(180deg, #111827, #020617);
        text-align: left !important;

}

.footer-soluditec .container{
    max-width: 1140px;
}

/* Quitar el centrado lateral del container SOLO en el footer */
.footer-soluditec .container{
  max-width: 93% !important;   /* deja de estar “encajonado” */
  padding-left: 0 !important;   /* quita el padding que lo mete hacia adentro */
  padding-right: 0 !important;
}

/* Pegarlo a la izquierda de la pantalla */
.footer-soluditec .footer-left{
  width: 100%;
  padding-left: 16px;           /* margen interno (ajustable) */
  text-align: left !important;
}

/* En pantallas md+ vuelve a su ancho normal y sigue a la izquierda */
@media (min-width: 768px){
  .footer-soluditec .footer-left{
    width: auto;
  }
}
.brand-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.brand-logo{
    width:90px;
    height:90px;
    object-fit:contain;
    flex:0 0 auto;
}

/* opcional: si tu .brand ya tiene estilos, esto solo evita cortes feos */
.brand{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.brand-version{
  font-size: 0.70em;   /* más pequeño */
  font-style: italic;  /* cursiva */
  opacity: .75;        /* un poco más suave */
  margin-left: 6px;    /* separación */
}

/* ===========================
   ✅ Sidebar con scroll (menu)
   Header y footer fijos
   =========================== */

/* Asegurar altura completa */
.sidebar{
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* evita scroll doble */
}

/* El menú es el que scrollea */
.sidebar-menu{
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px; /* espacio para la barrita */
}

/* Scrollbar bonito (Chrome/Edge) */
.sidebar-menu::-webkit-scrollbar{
  width: 8px;
}
.sidebar-menu::-webkit-scrollbar-track{
  background: rgba(255,255,255,.08);
  border-radius: 10px;
}
.sidebar-menu::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.22);
  border-radius: 10px;
}
.sidebar-menu::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,.35);
}

/* Scrollbar (Firefox) */
.sidebar-menu{
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) rgba(255,255,255,.08);
}


/* ===== Global: footer_sx.css ===== */
:root{
  --sx-bg: #ffffff;
  --sx-soft: #f6f8ff;
  --sx-text: #0b1220;
  --sx-muted: rgba(11,18,32,.68);

  --sx-line: rgba(2,6,23,.10);
  --sx-card: rgba(255,255,255,.86);

  --sx-accent: #1d4ed8;
  --sx-accent2:#06b6d4;

  --sx-shadow: 0 18px 50px rgba(2, 6, 23, .10);
  --sx-radius: 20px;
}

.sx-footer{
  font-family: var(--syncone-font-family);
  background: transparent;
  color: var(--sx-text);
}

/* Línea superior elegante */
.sx-footer-bar{
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--sx-accent), var(--sx-accent2));
  opacity: .95;
}

/* Contenedor tipo card */
.sx-footer-inner{
  margin-top: 14px;
  border-radius: var(--sx-radius);
  border: 1px solid var(--sx-line);
  background:
    radial-gradient(900px 220px at 10% 0%, rgba(29,78,216,.10), transparent 60%),
    radial-gradient(900px 220px at 90% 10%, rgba(6,182,212,.08), transparent 60%),
    var(--sx-card);
  box-shadow: var(--sx-shadow);
  padding: 18px 18px;
  display:flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

/* Izquierda */
.sx-footer-left{
  display:flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.sx-footer-mark{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background: linear-gradient(135deg, rgba(29,78,216,.98), rgba(59,130,246,.90));
  box-shadow: 0 14px 26px rgba(29,78,216,.22);
  border: 1px solid rgba(29,78,216,.18);
}

.sx-footer-title{
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.25;
  color: var(--sx-text);
}

.sx-footer-company{
  color: var(--sx-accent);
}

.sx-footer-meta{
  margin-top: 4px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--sx-muted);
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap: wrap;
}

.sx-dot{ opacity: .65; }

/* Derecha */
.sx-footer-right{
  display:flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  text-align: right;
}

.sx-footer-badges{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sx-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(29,78,216,.14);
  background: rgba(29,78,216,.06);
  color: var(--sx-text);
  font-weight: 800;
  font-size: .88rem;
}

.sx-badge i{
  color: var(--sx-accent);
  font-size: 1rem;
}

.sx-footer-mini{
  font-size: .88rem;
  color: var(--sx-muted);
  font-weight: 700;
  display:flex;
  gap: 8px;
  align-items:center;
  justify-content: flex-end;
  max-width: 520px;
}

.sx-footer-mini i{
  color: rgba(29,78,216,.80);
}

/* Responsive */
@media (max-width: 768px){
  .sx-footer-inner{ padding: 16px; }
  .sx-footer-right{
    width: 100%;
    align-items: flex-start;
    text-align: left;
  }
  .sx-footer-badges{ justify-content: flex-start; }
  .sx-footer-mini{ justify-content: flex-start; }
}


/* ===== Global: loader.css ===== */
/* ================================
   LOADER GLOBAL TIPO DASHBOARD
   ================================ */

#globalLoader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

#globalLoader.active {
    visibility: visible;
    opacity: 1;
}

.loader-circle {
    width: 68px;
    height: 68px;
    border: 6px solid #d1d5db;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ===== Global: sx_pro.css ===== */
/* ===============================
   SyncOne PRO
   Tipografía: HEREDA la del dashboard.css (igual que prospectos.php)
   =============================== */

/* No definimos font-family aquí.
   Solo forzamos que inputs/botones/etc hereden la misma del body */
*, *::before, *::after{
  font-family: inherit;
}

button, input, select, textarea{
  font-family: inherit;
}

/* ===============================
   Estilo PRO (Header / Cards)
   =============================== */

:root{
  --sx-primary: #0d6efd;
  --sx-primary-dark: #084298;
  --sx-bg: #ffffff;
  --sx-border: #eef2f6;
  --sx-radius: 16px;
  --sx-shadow: 0 10px 20px rgba(0,0,0,.06);
  --sx-shadow-primary: 0 10px 24px rgba(13,110,253,.18);
}

body{ background: var(--sx-bg); }

.header-pro{
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-primary-dark));
  color:#fff;
  border-radius: var(--sx-radius);
  padding: 18px 20px;
  box-shadow: var(--sx-shadow-primary);
}

.card-pro{
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow);
  border: 1px solid var(--sx-border);
}

.table thead th{ background:#f8fafc; }

.badge-soft{
  padding: .45rem .65rem;
  border-radius: 999px;
}

.subtxt{
  font-size: 12px;
  opacity:.85;
}


/* ===== Módulo: adjuntar_documentos_pro.css (syncone-css-adjuntar_documentos_pro) ===== */
/* ===============================
   adjuntar_documentos_pro.css (FULL)
   SyncOne PRO
   Tipografía: HEREDA la del dashboard.css (igual que prospectos.php)
   =============================== */

/* ✅ NO importamos fuentes aquí.
   ✅ NO definimos font-family aquí.
   Solo forzamos herencia. */
html.syncone-css-adjuntar_documentos_pro *,
html.syncone-css-adjuntar_documentos_pro *::before,
html.syncone-css-adjuntar_documentos_pro *::after{ font-family: inherit; }
html.syncone-css-adjuntar_documentos_pro button,
html.syncone-css-adjuntar_documentos_pro input,
html.syncone-css-adjuntar_documentos_pro select,
html.syncone-css-adjuntar_documentos_pro textarea{ font-family: inherit; }

/* ===============================
   Variables PRO (igual concepto a prospectos)
   =============================== */
html.syncone-css-adjuntar_documentos_pro{
  --sx-primary: #0d6efd;
  --sx-primary-dark: #084298;

  --sx-bg: #ffffff;
  --sx-text: #0b1220;
  --sx-muted: rgba(11,18,32,.68);

  --sx-border: #eef2f6;
  --sx-line: rgba(2,6,23,.10);

  --sx-radius: 16px;
  --sx-radius-lg: 20px;

  --sx-shadow: 0 10px 20px rgba(0,0,0,.06);
  --sx-shadow-strong: 0 10px 24px rgba(13,110,253,.18);
}

/* ===============================
   Base (evita desorden por padding-top de topbar fijo)
   =============================== */
html.syncone-css-adjuntar_documentos_pro .adx-body{
  background: var(--sx-bg);
  color: var(--sx-text);
}

html.syncone-css-adjuntar_documentos_pro .adx-main{
  padding-top: 10px;     /* ✅ antes estaba muy alto por topbar fijo */
  padding-bottom: 26px;
}

html.syncone-css-adjuntar_documentos_pro .adx-container{ max-width: 1200px; }

/* ===============================
   HEADER PRO (IGUAL A PROSPECTOS)
   =============================== */
html.syncone-css-adjuntar_documentos_pro .header-pro{
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-primary-dark));
  color: #fff;
  border-radius: var(--sx-radius);
  padding: 18px 20px;
  box-shadow: var(--sx-shadow-strong);
}

html.syncone-css-adjuntar_documentos_pro .sx-ico{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
}

html.syncone-css-adjuntar_documentos_pro .sx-ico i{ font-size: 18px; color:#fff; }

html.syncone-css-adjuntar_documentos_pro .sx-title{
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  color: #fff;
}

html.syncone-css-adjuntar_documentos_pro .subtxt{
  font-size: 12px;
  opacity: .88;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

html.syncone-css-adjuntar_documentos_pro .badge-soft{
  padding: .45rem .65rem;
  border-radius: 999px;
  font-weight: 800;
}

/* Botones del header (outline light) */
html.syncone-css-adjuntar_documentos_pro .header-pro .btn-outline-light{
  color:#fff;
  border-color: rgba(255,255,255,.35);
}

html.syncone-css-adjuntar_documentos_pro .header-pro .btn-outline-light:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.55);
  color:#fff;
}

/* ===============================
   HERO / INFO CLIENTE
   =============================== */
html.syncone-css-adjuntar_documentos_pro .adx-hero{ margin-top: 14px; margin-bottom: 14px; }

html.syncone-css-adjuntar_documentos_pro .adx-hero-card{
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow);
  padding: 16px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

html.syncone-css-adjuntar_documentos_pro .adx-hero-left{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 260px;
}

html.syncone-css-adjuntar_documentos_pro .adx-hero-icon{
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,.10);
  border: 1px solid rgba(13,110,253,.18);
  color: var(--sx-primary);
}

html.syncone-css-adjuntar_documentos_pro .adx-hero-icon i{ font-size: 20px; }

html.syncone-css-adjuntar_documentos_pro .adx-hero-title{
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--sx-text);
}

html.syncone-css-adjuntar_documentos_pro .adx-hero-meta{
  margin-top: 8px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

html.syncone-css-adjuntar_documentos_pro .adx-pill{
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(13,110,253,.18);
  background: rgba(13,110,253,.06);
  font-weight: 800;
  font-size: .85rem;
  color: rgba(11,18,32,.92);
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

html.syncone-css-adjuntar_documentos_pro .adx-pill-soft{
  border-color: rgba(13,110,253,.12);
  background: rgba(13,110,253,.04);
}

html.syncone-css-adjuntar_documentos_pro .adx-hint{
  color: var(--sx-muted);
  font-weight: 700;
}

/* ===============================
   CARDS
   =============================== */
html.syncone-css-adjuntar_documentos_pro .adx-card{
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius-lg);
  box-shadow: var(--sx-shadow);
  overflow:hidden;
}

html.syncone-css-adjuntar_documentos_pro .adx-card-head{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(2,6,23,.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

html.syncone-css-adjuntar_documentos_pro .adx-card-title{
  font-weight: 900;
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 1.02rem;
  color: var(--sx-text);
}

html.syncone-css-adjuntar_documentos_pro .adx-card-title i{ color: var(--sx-primary); }

html.syncone-css-adjuntar_documentos_pro .adx-card-sub{
  color: var(--sx-muted);
  font-weight: 700;
  font-size: .92rem;
  margin-top: 4px;
}

html.syncone-css-adjuntar_documentos_pro .adx-card-body{ padding: 16px; }
html.syncone-css-adjuntar_documentos_pro .adx-card-head-row{ align-items:flex-start; }

html.syncone-css-adjuntar_documentos_pro .adx-chip{
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(13,110,253,.20);
  background: rgba(13,110,253,.06);
  font-weight: 900;
  font-size: .82rem;
  color: rgba(11,18,32,.92);
}

/* ===============================
   FORM CONTROLS
   =============================== */
html.syncone-css-adjuntar_documentos_pro .adx-label{
  font-weight: 800;
  color: rgba(11,18,32,.92);
  margin-bottom: 6px;
}

html.syncone-css-adjuntar_documentos_pro .adx-input{
  border-radius: 14px !important;
  border: 1px solid rgba(2,6,23,.14) !important;
  height: 46px;
  font-weight: 700;
}

html.syncone-css-adjuntar_documentos_pro .adx-input:focus{
  border-color: rgba(13,110,253,.55) !important;
  box-shadow: 0 0 0 .20rem rgba(13,110,253,.14) !important;
}

html.syncone-css-adjuntar_documentos_pro .adx-help{
  margin-top: 8px;
  color: var(--sx-muted);
  font-weight: 700;
  font-size: .88rem;
}

html.syncone-css-adjuntar_documentos_pro .adx-btn-main{
  border-radius: 14px;
  font-weight: 900;
  padding: .75rem 1.05rem;
  box-shadow: 0 12px 24px rgba(13,110,253,.18);
}

/* ===============================
   TABLE
   =============================== */
html.syncone-css-adjuntar_documentos_pro .adx-table{ color: var(--sx-text); }

html.syncone-css-adjuntar_documentos_pro .adx-table thead th{
  background: #f8fafc;
  border-color: rgba(2,6,23,.10) !important;
  font-weight: 900;
  color: rgba(11,18,32,.92);
}

html.syncone-css-adjuntar_documentos_pro .adx-table td{
  border-color: rgba(2,6,23,.08) !important;
  background: #fff;
  vertical-align: middle;
  color: var(--sx-text);
}

html.syncone-css-adjuntar_documentos_pro .adx-table tbody tr:hover td{
  background: rgba(13,110,253,.04);
}

html.syncone-css-adjuntar_documentos_pro .adx-btn-soft{
  border-radius: 12px;
  font-weight: 800;
}

html.syncone-css-adjuntar_documentos_pro .adx-user{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 800;
  color: rgba(11,18,32,.90);
}

/* ===============================
   EMPTY STATE
   =============================== */
html.syncone-css-adjuntar_documentos_pro .adx-empty{
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 10px;
}

html.syncone-css-adjuntar_documentos_pro .adx-empty-icon{
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,.06);
  border: 1px solid rgba(13,110,253,.14);
  color: var(--sx-primary);
}

html.syncone-css-adjuntar_documentos_pro .adx-empty-icon i{ font-size: 28px; }

html.syncone-css-adjuntar_documentos_pro .adx-empty-title{
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--sx-text);
}

html.syncone-css-adjuntar_documentos_pro .adx-empty-sub{
  color: var(--sx-muted);
  font-weight: 700;
  font-size: .92rem;
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 576px){
  html.syncone-css-adjuntar_documentos_pro .adx-hero-title{ font-size: 1.03rem; }
  html.syncone-css-adjuntar_documentos_pro .header-pro{ padding: 16px 16px; }
  html.syncone-css-adjuntar_documentos_pro .sx-title{ font-size: 17px; }
}


/* ===== Módulo: agenda.css (syncone-css-agenda) ===== */
/* =========================================================
   AGENDA SyncOne - White Theme Pro
   ========================================================= */

html.syncone-css-agenda{
    --bg: #f6f8fc;
    --card: #ffffff;
    --border: #e7ebf3;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #2563eb;
}

html.syncone-css-agenda body{
    background: var(--bg);
    color: var(--text);
}

html.syncone-css-agenda .title-page{
    font-weight: 800;
    color: var(--text);
}

html.syncone-css-agenda .card-white{
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
}

html.syncone-css-agenda .shadow-soft{
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

html.syncone-css-agenda .btn-soft{
    border-radius: 14px !important;
}

html.syncone-css-agenda .modal-white{
    background: var(--card);
    border-radius: 18px;
    border: 1px solid var(--border);
}

html.syncone-css-agenda .small-muted{
    color: var(--muted);
    font-size: 12px;
}

html.syncone-css-agenda hr{
    border-color: #e8edf7;
}

html.syncone-css-agenda .comment-box{
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
}

/* FullCalendar */
html.syncone-css-agenda .fc{
    background: var(--card);
    border-radius: 16px;
}

html.syncone-css-agenda .fc .fc-toolbar-title{
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

html.syncone-css-agenda .fc .fc-button{
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
}

html.syncone-css-agenda .fc .fc-button:hover{
    background: #f1f5ff;
}

html.syncone-css-agenda .fc .fc-button-primary:not(:disabled).fc-button-active{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

html.syncone-css-agenda .fc .fc-daygrid-day-number{
    color: var(--text);
    font-weight: 700;
}

html.syncone-css-agenda .fc .fc-event{
    border-radius: 10px;
    padding: 2px 6px;
    cursor: pointer;
    border: none;
}

/* Inputs */
html.syncone-css-agenda .form-control,
html.syncone-css-agenda .form-select{
    border-radius: 14px;
    border: 1px solid var(--border);
}

html.syncone-css-agenda .form-control:focus,
html.syncone-css-agenda .form-select:focus{
    box-shadow: 0 0 0 .2rem rgba(37,99,235,.15);
    border-color: rgba(37,99,235,.4);
}

/* ================================
   COLORES POR ESTADO (EVENTOS)
   ================================ */

/* ✅ FullCalendar (eventos dentro del calendario) */
html.syncone-css-agenda .fc .fc-event.estado-programado,
html.syncone-css-agenda .fc .fc-daygrid-event.estado-programado{
    background: #ffc107 !important;
    color: #111 !important;
}

html.syncone-css-agenda .fc .fc-event.estado-proceso,
html.syncone-css-agenda .fc .fc-daygrid-event.estado-proceso{
    background: #0d6efd !important;
    color: #fff !important;
}

html.syncone-css-agenda .fc .fc-event.estado-completado,
html.syncone-css-agenda .fc .fc-daygrid-event.estado-completado{
    background: #198754 !important;
    color: #fff !important;
}

html.syncone-css-agenda .fc .fc-event.estado-cancelado,
html.syncone-css-agenda .fc .fc-daygrid-event.estado-cancelado{
    background: #dc3545 !important;
    color: #fff !important;
}

/* Ajuste de texto dentro del evento */
html.syncone-css-agenda .fc .fc-event .fc-event-title,
html.syncone-css-agenda .fc .fc-event .fc-event-time{
    color: inherit !important;
}

/* ✅ Eventos del día (lista emergente) */
html.syncone-css-agenda .estado-item{
    border-left: 6px solid transparent;
    border-radius: 14px;
}

html.syncone-css-agenda .estado-item.estado-programado{ border-left-color: #ffc107; }
html.syncone-css-agenda .estado-item.estado-proceso{ border-left-color: #0d6efd; }
html.syncone-css-agenda .estado-item.estado-completado{ border-left-color: #198754; }
html.syncone-css-agenda .estado-item.estado-cancelado{ border-left-color: #dc3545; }

/* ================================
   DETALLE DEL EVENTO CON COLOR
   ================================ */

html.syncone-css-agenda .detalle-box{
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    position: relative;
}

/* Borde lateral por estado */
html.syncone-css-agenda .detalle-box.detalle-programado{ border-left: 7px solid #ffc107; }
html.syncone-css-agenda .detalle-box.detalle-proceso{ border-left: 7px solid #0d6efd; }
html.syncone-css-agenda .detalle-box.detalle-completado{ border-left: 7px solid #198754; }
html.syncone-css-agenda .detalle-box.detalle-cancelado{ border-left: 7px solid #dc3545; }

/* Mini franja superior suave por estado */
html.syncone-css-agenda .detalle-box.detalle-programado::before,
html.syncone-css-agenda .detalle-box.detalle-proceso::before,
html.syncone-css-agenda .detalle-box.detalle-completado::before,
html.syncone-css-agenda .detalle-box.detalle-cancelado::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:6px;
    border-radius: 16px 16px 0 0;
}

html.syncone-css-agenda .detalle-box.detalle-programado::before{ background:#ffc107; }
html.syncone-css-agenda .detalle-box.detalle-proceso::before{ background:#0d6efd; }
html.syncone-css-agenda .detalle-box.detalle-completado::before{ background:#198754; }
html.syncone-css-agenda .detalle-box.detalle-cancelado::before{ background:#dc3545; }

/* Badge siempre bonito */
html.syncone-css-agenda .badge{
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
}
/* ✅ Días pasados en gris oscuro (pero se pueden abrir para ver eventos) */
/* ✅ Días pasados en gris CLARO (cercano al blanco) */
/* ✅ Días pasados en gris CLARO (un poquito más gris) */
html.syncone-css-agenda .fc-dia-pasado{
  background: #eef1f6 !important;   /* más gris */
  border: 1px solid #dfe4ee !important;
}

html.syncone-css-agenda .fc-dia-pasado:hover{
  background: #e8ecf4 !important;   /* hover un poco más marcado */
}

html.syncone-css-agenda .fc-dia-pasado .fc-daygrid-day-number{
  color: #5f6674 !important;        /* gris suave pero más visible */
  font-weight: 600;
  opacity: 1;
}


/* ✅ Evento vencido */
html.syncone-css-agenda .estado-vencido{
  border-left: 4px solid #6c757d !important;
  opacity: 0.85;
}

html.syncone-css-agenda .detalle-vencido{
  border: 1px solid #d1d5db;
  background: #f3f4f6;
}
/* =========================================================
   SyncOne PRO - Header + Tipografía (igual Prospectos/Reportes)
   Archivo: assets/css/agenda_pro.css
   ========================================================= */

html.syncone-css-agenda{
  --sx-primary: #0d6efd;
  --sx-primary-2: #084298;
  --sx-text: #0f172a;
  --sx-muted: #64748b;
  --sx-border: #eef2f6;
  --sx-shadow: 0 10px 20px rgba(0,0,0,.06);
  --sx-radius: 16px;
}

/* Tipografía y base */
html.syncone-css-agenda .sx-pro-body,
html.syncone-css-agenda .sx-pro-body *{
  font-family: var(--syncone-font-family);
}

html.syncone-css-agenda .sx-pro-body{
  background: #fff;
  color: var(--sx-text);
}

/* Header PRO */
html.syncone-css-agenda .header-pro{
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-primary-2));
  color: #fff;
  border-radius: var(--sx-radius);
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(13,110,253,.18);
}

html.syncone-css-agenda .header-pro h4{
  font-weight: 800;
  letter-spacing: -0.2px;
}

html.syncone-css-agenda .header-pro .small{
  opacity: .88;
}

html.syncone-css-agenda .header-pro .btn{
  border-radius: 12px;
  padding: .55rem .85rem;
}

html.syncone-css-agenda .header-pro .btn.btn-outline-light:hover{
  background: rgba(255,255,255,.12);
}

/* Card PRO */
html.syncone-css-agenda .card-pro{
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow);
  border: 1px solid var(--sx-border);
  background: #fff;
}

html.syncone-css-agenda .card-pro .card-body{
  padding: 18px;
}

/* FullCalendar dentro del card (sin pelear con tu agenda.css) */
html.syncone-css-agenda #calendar{
  min-height: 620px;
}

/* Ajustes suaves de títulos/modales si tu agenda.css no lo hace */
html.syncone-css-agenda .modal-white{
  border-radius: 16px;
}

html.syncone-css-agenda .detalle-box{
  border-radius: 14px;
}

/* Botones soft (por si tu agenda.css usa .btn-soft) */
html.syncone-css-agenda .btn-soft{
  border-radius: 12px !important;
}



/* ===== Módulo: auth.css (syncone-css-auth) ===== */
html.syncone-css-auth body{
    background: linear-gradient(135deg, #e8eefc 0%, #ffffff 100%);
    font-family: var(--syncone-font-family);
}

html.syncone-css-auth .card{
    border-radius: 18px !important;
}

html.syncone-css-auth .btn-primary{
    background-color: #007bff;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}

html.syncone-css-auth .btn-primary:hover{
    background-color: #0056b3;
}


/* ===== Módulo: calculark.css (syncone-css-calculark) ===== */
/* ============================================
   ESTILO VOSTRA ADAPTADO A TUS CLASES ACTUALES
   (NO CAMBIA NADA EN TU HTML)
============================================ */


html.syncone-css-calculark body{
    font-family: var(--syncone-font-family);
    background: #F7F9FC;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* ============================
   HEADER
============================ */
html.syncone-css-calculark .form-header{
    background: #FFFFFF;
    text-align: center;
    padding: 25px 10px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5EAF1;
}

html.syncone-css-calculark .form-title{
    font-size: 26px;
    font-weight: 900;
    color: #2D6CDF;
    letter-spacing: 1px;
    margin-top: 10px;
    
}

/* Logo */
html.syncone-css-calculark .form-logo{
    width: 180px;
    height: auto;
}


/* ============================
   TARJETA DEL FORMULARIO
============================ */
html.syncone-css-calculark .form-dark-card{
    background: #FFFFFF;
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #E5EAF1;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* SECTION TITLES */
html.syncone-css-calculark .form-section h4{
    font-size: 20px;
    font-weight: 900;
    color: #363636;
    margin-bottom: 15px;
}

/* Labels & Inputs */
html.syncone-css-calculark label{
    font-weight: 700;
    margin-bottom: 5px;
    color: #444;
}

html.syncone-css-calculark input.form-control,
html.syncone-css-calculark select.form-select{
    border-radius: 12px !important;
    padding: 12px !important;
    border: 2px solid #D4DCE5 !important;
    background: #FFFFFF !important;
    font-size: 15px;
}

html.syncone-css-calculark input:focus,
html.syncone-css-calculark select:focus{
    border-color: #2D6CDF !important;
    box-shadow: 0 0 0 4px rgba(45,108,223,0.15) !important;
    outline: none;
}


/* ============================
   BOTONES
============================ */

html.syncone-css-calculark .btn-primary-custom{
    background: #2D6CDF !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(45,108,223,0.25);
}

html.syncone-css-calculark .btn-primary-custom:hover{
    background: #1F4FAA !important;
}

/* Verde – éxito */
html.syncone-css-calculark .btn-success{
    background: #27B276 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}
html.syncone-css-calculark .btn-success:hover{
    background: #1E8C5D !important;
}

/* Amarillo – advertencia */
html.syncone-css-calculark .btn-warning{
    background: #F2C94C !important;
    color: #6A5300 !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
}
html.syncone-css-calculark .btn-warning:hover{
    background: #E8B72B !important;
}

/* Rojo – eliminar */
html.syncone-css-calculark .btn-danger{
    background: #EB5757 !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
}
html.syncone-css-calculark .btn-danger:hover{
    background: #C63F3F !important;
}


/* ============================
   FACTURA / VISTA DE RESULTADOS
============================ */
/* ===================================================
   FACTURA PROFESIONAL – NEUTRO
=================================================== */

html.syncone-css-calculark #factura{
    background: #ffffff;
    padding: 5px;            /* Menos padding = menos altura */
    border-radius: 12px;
    max-width: 900px;
    margin: 5px auto 10px;   /* Subimos factura hacia arriba */
    box-shadow: 0 5px 30px rgba(0,0,0,0.12);
    border: 1px solid #E3E5E8;
    font-family: var(--syncone-font-family);
}



/* Header de factura */
html.syncone-css-calculark .factura-header{
    width: 100%;
    border-bottom: 2px solid #111;
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

html.syncone-css-calculark .factura-header img{
    width: 450px;
}

/* Títulos */
html.syncone-css-calculark #factura h4{
    margin-top: 25px;
    font-weight: 900;
    color: #111;
}

/* Tabla */
html.syncone-css-calculark .tabla-factura{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}

html.syncone-css-calculark .tabla-factura th{
    background: #F2F3F5;
    padding: 12px;
    border-bottom: 3px solid #D7D9DD;
    text-align: left;
    font-weight: 900;
    color: #111;
}

html.syncone-css-calculark .tabla-factura td{
    padding: 10px;
    border-bottom: 1px solid #E3E5E8;
}

/* Totales */
html.syncone-css-calculark .totales-box{
    background: #F8F9FB;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #DDD;
    width: 320px;
    float: right;
    margin-top: 20px;
}

html.syncone-css-calculark .totales-box p{
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-weight: 700;
}

html.syncone-css-calculark .total-final{
    color: #000;
    font-size: 20px;
    border-top: 2px solid #CCC;
    padding-top: 8px;
    font-weight: 900;
}

/* Firmas */
html.syncone-css-calculark .signature-section{
    margin-top: 150px;
    display: flex;
    justify-content: space-between;
}

html.syncone-css-calculark .signature-block{
    text-align: center;
    width: 40%;
}

html.syncone-css-calculark .signature-line{
    border-top: 2px solid #000;
    width: 90%;
    margin: 0 auto 8px;
}

/* IMPRESIÓN – Solo imprime la factura */
@media print{
    html.syncone-css-calculark body *{ visibility: hidden !important; }
    html.syncone-css-calculark #factura,
html.syncone-css-calculark #factura *{ visibility: visible !important; }
    html.syncone-css-calculark #factura{ position: absolute; top: 0; left: 0; width: 100%; }
    html.syncone-css-calculark .top-header{ display: none !important; } /* Ocultar header normal */
}

/* ======================================
   HEADER TIPO DASHBOARD PROFESIONAL
====================================== */
/* ======================================
   HEADER PRINCIPAL
====================================== */
html.syncone-css-calculark .top-header{
    width: 100%;
    background: #363636;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* Botón menú (hamburger) */
html.syncone-css-calculark .menu-btn{
    width: 35px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10000;
}

html.syncone-css-calculark .menu-btn div{
    height: 4px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* animación al abrir */
html.syncone-css-calculark .menu-btn.open div:nth-child(1){
    transform: rotate(45deg) translate(7px, 7px);
}

html.syncone-css-calculark .menu-btn.open div:nth-child(2){
    opacity: 0;
}

html.syncone-css-calculark .menu-btn.open div:nth-child(3){
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Título */
html.syncone-css-calculark .header-title{
    flex-grow: 1;
    text-align: center;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
}

/* Logo */
html.syncone-css-calculark .header-logo{
    width: 550px;
    filter: brightness(1.2);
}

html.syncone-css-calculark .factura-logo{
    width: 200px !important;
    height: auto;
    object-fit: contain;
}


/* ======================================
   SIDEBAR PROFESIONAL
====================================== */
html.syncone-css-calculark .sidebar{
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: #363636;
    padding: 25px;
    transition: 0.35s;
    z-index: 9990;
    box-shadow: 4px 0 12px rgba(0,0,0,0.4);
    border-right: 3px solid #2D6CDF;
}

html.syncone-css-calculark .sidebar.open{
    left: 0;
}

html.syncone-css-calculark .sidebar h3{
    color: white;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
    border-bottom: 2px solid #1A1A1A;
    padding-bottom: 10px;
}

/* botones del menú */
html.syncone-css-calculark .sidebar-btn{
    display: block;
    width: 100%;
    padding: 14px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    background: #1A1A1A;
    border-radius: 8px;
    color: #E0E0E0;
    border: none;
    cursor: pointer;
    transition: 0.25s;
}

html.syncone-css-calculark .sidebar-btn:hover{
    background: #2D6CDF;
    color: white;
    transform: translateX(4px);
}
/* Footer flotante estilo web - esquina */
html.syncone-css-calculark .factura-mini-footer{
    position: fixed;
    bottom: 8px;
    right: 12px;
    font-size: 13px;
    color: #555;
    opacity: 0.75;
    font-family: var(--syncone-font-family);
}

/* En impresión, ubicar abajo sin flotar */
@media print{
    html.syncone-css-calculark .factura-mini-footer{
        position: absolute;
        bottom: 10px !important;
        right: 20px !important;
        opacity: 1;
    }
}






/* ===== Módulo: ccliente.css (syncone-css-ccliente) ===== */
/* =========================
   ccliente.css (NEW)
   SyncOne - Editar Cliente
   Modo claro: fondo blanco + acento azul + cards modernas
   ========================= */

html.syncone-css-ccliente{
  --bg: #ffffff;
  --soft: #f6f8ff;
  --panel: #ffffff;

  --text: #0b1220;
  --muted: rgba(11, 18, 32, .70);

  --border: rgba(2, 6, 23, .10);
  --shadow: 0 18px 50px rgba(2, 6, 23, .08);

  --accent: #1d4ed8;
  --accent2: #3b82f6;
  --ring: rgba(29, 78, 216, .18);

  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;

  --radius: 18px;
}


/* ===== Tipografía trendy (form + UI) ===== */
html.syncone-css-ccliente body,
html.syncone-css-ccliente .header-fixed,
html.syncone-css-ccliente .panel-card,
html.syncone-css-ccliente .container,
html.syncone-css-ccliente .footer-soluditec,
html.syncone-css-ccliente label,
html.syncone-css-ccliente small,
html.syncone-css-ccliente p,
html.syncone-css-ccliente span,
html.syncone-css-ccliente div,
html.syncone-css-ccliente input,
html.syncone-css-ccliente select,
html.syncone-css-ccliente textarea,
html.syncone-css-ccliente button,
html.syncone-css-ccliente .form-control,
html.syncone-css-ccliente .form-select{
  font-family: var(--syncone-font-family) !important;
}

/* Inputs más elegantes */
html.syncone-css-ccliente .form-control,
html.syncone-css-ccliente .form-select{
  font-size: 1rem !important;
  font-weight: 400 !important;
  letter-spacing: 0;
}

/* Labels más finos */
html.syncone-css-ccliente label{
  font-size: .875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0;
}

/* Placeholders más suaves */
html.syncone-css-ccliente .form-control::placeholder{
  font-weight: 400 !important;
  letter-spacing: 0;
}

/* Títulos más “pro” */
html.syncone-css-ccliente .panel-title,
html.syncone-css-ccliente .header-fixed h4{
  font-weight: 700 !important;
  letter-spacing: 0;
}

/* Fondo general */
html.syncone-css-ccliente body{
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 55%, #ffffff 100%) !important;
  color: var(--text);
}

/* Contenedor general */
html.syncone-css-ccliente .container{
  max-width: 1200px;
}

/* ===== HEADER SUPERIOR (tu .header-fixed) ===== */
html.syncone-css-ccliente .header-fixed{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(2,6,23,.06);

  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Anula el text-white del h4 sin tocar HTML */
html.syncone-css-ccliente .header-fixed h4{
  margin: 0;
  color: var(--text) !important;
  font-weight: 700;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Iconito/Marca suave antes del título (sin cambiar HTML) */
html.syncone-css-ccliente .header-fixed h4::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 20px rgba(29,78,216,.22);
  display: inline-block;
}

/* Botones del header */
html.syncone-css-ccliente .header-fixed .btn{
  border-radius: 12px;
  font-weight: 600;
  padding: 8px 12px;
}

/* Tu botón era btn-outline-primary: lo dejamos pero más premium */
html.syncone-css-ccliente .header-fixed .btn-outline-primary{
  color: var(--accent) !important;
  border-color: rgba(29,78,216,.25) !important;
  background: rgba(29,78,216,.04) !important;
}

html.syncone-css-ccliente .header-fixed .btn-outline-primary:hover{
  color: #fff !important;
  background: var(--accent) !important;
  border-color: rgba(29,78,216,.55) !important;
}

/* ===== MAIN ===== */
html.syncone-css-ccliente main{
  /* ya tienes padding-top: 100px inline, pero lo reforzamos */
  padding-top: 110px !important;
}

/* Caja principal (tu container bg-white rounded p-4 shadow-sm) */
html.syncone-css-ccliente .container.bg-white{
  background: var(--panel) !important;
  border: 1px solid var(--border);
  border-radius: 22px !important;
  box-shadow: var(--shadow) !important;
}

/* ===== PANELES (tu .panel-card) ===== */
html.syncone-css-ccliente .panel-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(2,6,23,.06);
  padding: 16px;
}

html.syncone-css-ccliente .panel-title{
  margin: 0 0 12px 0;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Barra/acento al lado del título */
html.syncone-css-ccliente .panel-title::before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(29,78,216,.95);
  box-shadow: 0 10px 20px rgba(29,78,216,.18);
  display:inline-block;
}

/* Labels */
html.syncone-css-ccliente label{
  font-weight: 600;
  color: rgba(11,18,32,.82);
  font-size: .86rem;
  margin-bottom: 6px;
}

/* Inputs */
html.syncone-css-ccliente .form-control,
html.syncone-css-ccliente .form-select{
  border-radius: 14px !important;
  border: 1px solid rgba(2,6,23,.14) !important;
  background: #fff !important;
  color: var(--text) !important;
  font-weight: 400;
  padding: 10px 12px;
}

/* Placeholder */
html.syncone-css-ccliente .form-control::placeholder{
  color: rgba(11,18,32,.45) !important;
  font-weight: 400;
}

html.syncone-css-ccliente .form-control:focus,
html.syncone-css-ccliente .form-select:focus{
  border-color: rgba(29,78,216,.55) !important;
  box-shadow: 0 0 0 .20rem var(--ring) !important;
}

/* File input */
html.syncone-css-ccliente input[type="file"].form-control{
  padding: 10px 12px;
}

/* Thumbnail */
html.syncone-css-ccliente .img-thumbnail{
  border-radius: 16px !important;
  border: 1px solid rgba(2,6,23,.12) !important;
  box-shadow: 0 14px 35px rgba(2,6,23,.10);
}

/* Alerts */
html.syncone-css-ccliente .alert{
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,.10);
  font-weight: 600;
}

html.syncone-css-ccliente .alert-warning{
  background: rgba(217,119,6,.10) !important;
  border-color: rgba(217,119,6,.25) !important;
  color: rgba(11,18,32,.92) !important;
}

/* Botón actualizar */
html.syncone-css-ccliente #updateButton,
html.syncone-css-ccliente .btn-success{
  border-radius: 14px;
  font-weight: 600;
  padding: 10px 14px;
  box-shadow: 0 14px 35px rgba(22,163,74,.14);
}

/* Botón eliminar imagen */
html.syncone-css-ccliente #eliminarImagenBtn,
html.syncone-css-ccliente .btn-danger{
  border-radius: 14px;
  font-weight: 600;
  padding: 10px 14px;
}

/* ===== Footer ===== */
html.syncone-css-ccliente .footer-soluditec{
  background: #fff;
  border-top: 1px solid rgba(2,6,23,.10);
  color: var(--text);
}

html.syncone-css-ccliente .footer-soluditec .text-muted{
  color: rgba(11,18,32,.62) !important;
}

html.syncone-css-ccliente .footer-soluditec .brand{
  color: var(--accent);
  font-weight: 700;
}

/* ===== Mejoras responsive ===== */
@media (max-width: 768px){
  html.syncone-css-ccliente .header-fixed{
    padding: 12px 12px;
  }
  html.syncone-css-ccliente .header-fixed h4{
    font-size: 1rem;
  }
  html.syncone-css-ccliente .container.bg-white{
    padding: 16px !important;
  }
}




/* ===== Módulo: clientes.css (syncone-css-clientes) ===== */
/* ================================
   SyncOne - Lista de Clientes (CSS completo)
   Basado en el header-pro inicial (gradiente azul)
   Tipografía: variable global de SyncOne
   ================================ */

/* La fuente se hereda de --syncone-font-family. */

html.syncone-css-clientes{
  --sx-primary: #0d6efd;
  --sx-primary-2: #084298;

  --sx-bg: #ffffff;
  --sx-text: #1f2937;
  --sx-muted: #6b7280;

  --sx-border: #eef2f6;
  --sx-soft: #f8fafc;

  --sx-radius: 16px;

  --sx-shadow-soft: 0 10px 20px rgba(0,0,0,.06);
  --sx-shadow-strong: 0 10px 24px rgba(13,110,253,.18);
}

/* Base */
html.syncone-css-clientes *{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.syncone-css-clientes body{
  background: var(--sx-bg);
  color: var(--sx-text);
  font-family: var(--syncone-font-family);
}

/* ✅ Para que el contenido no quede debajo del header fijo */
html.syncone-css-clientes .sx-page-offset{
  margin-top: 108px;
}

/* =======================
   TOPBAR (Header pro inicial)
   ======================= */
html.syncone-css-clientes .topbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 16px;
  background: transparent;
}

html.syncone-css-clientes .topbar-inner{
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-primary-2));
  color: #fff;
  border-radius: var(--sx-radius);
  padding: 16px 18px;
  box-shadow: var(--sx-shadow-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Lado izquierdo */
html.syncone-css-clientes .brandline{
  display: flex;
  align-items: center;
  gap: 10px;
}

html.syncone-css-clientes .logo-dot{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

html.syncone-css-clientes .logo-dot i{
  font-size: 20px;
  color: #fff;
}

html.syncone-css-clientes .brandtext h4{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.1;
}

html.syncone-css-clientes .brandtext .sub{
  margin-top: 2px;
  font-size: 12px;
  opacity: .85;
  font-weight: 500;
}

/* Acciones derecha */
html.syncone-css-clientes .topbar-actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Botones header */
html.syncone-css-clientes .btn-sx{
  border-radius: 12px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
}

html.syncone-css-clientes .btn-sx-primary{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.25);
  color: #fff !important;
  backdrop-filter: blur(6px);
}

html.syncone-css-clientes .btn-sx-primary:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.32);
}

html.syncone-css-clientes .btn-sx-ghost{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color: #fff !important;
  backdrop-filter: blur(6px);
}

html.syncone-css-clientes .btn-sx-ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}

/* =======================
   PANEL / CARD
   ======================= */
html.syncone-css-clientes .panel-card{
  background: #fff;
  border-radius: var(--sx-radius);
  padding: 18px;
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow-soft);
}

/* =======================
   SEARCH BAR
   ======================= */
html.syncone-css-clientes .search-bar{
  background: var(--sx-soft);
  border-radius: var(--sx-radius);
  padding: 18px;
  border: 1px solid var(--sx-border);
  box-shadow: var(--sx-shadow-soft);
}

html.syncone-css-clientes #searchForm{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

html.syncone-css-clientes #searchForm input{
  flex: 1 1 380px;
  min-width: 260px;
  padding: 11px 12px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  background: #fff;
  transition: .15s ease;
}

html.syncone-css-clientes #searchForm input:focus{
  border-color: rgba(13,110,253,.55);
  box-shadow: 0 0 0 .18rem rgba(13,110,253,.18);
}

html.syncone-css-clientes #searchForm button{
  background: var(--sx-primary);
  color: #fff;
  padding: 11px 16px;
  border: none;
  border-radius: 12px;
  transition: .2s ease;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(13,110,253,.18);
}

html.syncone-css-clientes #searchForm button:hover{
  background: #0b5ed7;
  transform: translateY(-1px);
}

/* =======================
   TABLE
   ======================= */
html.syncone-css-clientes .table-responsive{
  margin-top: 22px;
  overflow-x: auto;
}

html.syncone-css-clientes .table{
  border-color: var(--sx-border);
}

html.syncone-css-clientes .table thead th{
  background: #f8fafc;
  color: #334155;
  padding: 14px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid var(--sx-border);
  white-space: nowrap;
}

html.syncone-css-clientes .table td{
  padding: 14px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid var(--sx-border);
  color: #475569;
  vertical-align: middle;
}

html.syncone-css-clientes .table tbody tr:hover{
  background: #f9fafb;
}

html.syncone-css-clientes .table-striped tbody tr:nth-child(odd){
  background-color: #ffffff;
}

html.syncone-css-clientes .table-striped tbody tr:nth-child(even){
  background-color: #fbfdff;
}

html.syncone-css-clientes .table-bordered td,
html.syncone-css-clientes .table-bordered th{
  border: 1px solid var(--sx-border);
}

/* =======================
   BOTONES DE ACCIONES
   ======================= */
html.syncone-css-clientes .btn-info,
html.syncone-css-clientes .btn-warning,
html.syncone-css-clientes .btn-danger{
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 12px;
  transition: .2s ease;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 16px rgba(0,0,0,.08);
}

html.syncone-css-clientes .btn-info{ background-color: #198754; }   /* Ver / Info */
html.syncone-css-clientes .btn-warning{ background-color: #f59e0b; } /* Editar */
html.syncone-css-clientes .btn-danger{ background-color: #dc3545; }  /* Eliminar */

html.syncone-css-clientes .btn-info:hover,
html.syncone-css-clientes .btn-warning:hover,
html.syncone-css-clientes .btn-danger:hover{
  transform: translateY(-1px);
  filter: brightness(.96);
}

/* =======================
   FOOTER
   ======================= */
html.syncone-css-clientes .footer-soluditec{
  margin-top: 28px;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -6px 16px rgba(0,0,0,.04);
}

html.syncone-css-clientes .footer-soluditec .container{
  max-width: 93% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html.syncone-css-clientes .footer-soluditec .footer-left{
  width: 100%;
  padding-left: 16px;
  text-align: left !important;
}

html.syncone-css-clientes .footer-soluditec .brand{
  font-weight: 900;
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* En pantallas md+ vuelve a su ancho normal y sigue a la izquierda */
@media (min-width: 768px){
  html.syncone-css-clientes .footer-soluditec .footer-left{
    width: auto;
  }
}

/* =======================
   RESPONSIVE
   ======================= */
@media (max-width: 991px){
  html.syncone-css-clientes .topbar-inner{
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  html.syncone-css-clientes .brandline{
    width: 100%;
    justify-content: center;
  }

  html.syncone-css-clientes .topbar-actions{
    width: 100%;
    justify-content: center;
  }

  html.syncone-css-clientes #searchForm input{
    width: 100%;
    min-width: 100%;
    flex: 1 1 100%;
  }

  html.syncone-css-clientes #searchForm button{
    width: 100%;
  }

  html.syncone-css-clientes .panel-card,
html.syncone-css-clientes .search-bar{
    padding: 15px;
  }

  html.syncone-css-clientes .table th,
html.syncone-css-clientes .table td{
    padding: 12px;
  }
}

html.syncone-css-clientes body{
    background:#fff;
    font-family:var(--syncone-font-family);
}

/* ✅ Header EXACTO como prospectos.php */
html.syncone-css-clientes .header-pro{
    background: linear-gradient(90deg, #0d6efd, #084298);
    color:#fff;
    border-radius:16px;
    padding:18px 20px;
    box-shadow:0 10px 24px rgba(13,110,253,.18);
}

/* ✅ Cards EXACTO como prospectos.php */
html.syncone-css-clientes .card-pro{
    border-radius:16px;
    box-shadow:0 10px 20px rgba(0,0,0,.06);
    border:1px solid #eef2f6;
}

/* ✅ Tabla como prospectos.php */
html.syncone-css-clientes .table thead th{
    background:#f8fafc;
}

/* ✅ Extras (por si usas badges/subtexto) */
html.syncone-css-clientes .badge-soft{
    padding:.45rem .65rem;
    border-radius:999px;
}
html.syncone-css-clientes .subtxt{
    font-size:12px;
    opacity:.85;
}







/* ===== Módulo: clientes_listado_pro.css (syncone-css-clientes_listado_pro) ===== */
html.syncone-css-clientes_listado_pro{
  --sx-bg: #f6f7fb;
  --sx-card: #ffffff;
  --sx-text: #0f172a;
  --sx-muted: #64748b;
  --sx-line: rgba(15, 23, 42, .08);

  --sx-primary: #2563eb;
  --sx-primary-2: #1d4ed8;

  --sx-shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --sx-shadow-soft: 0 10px 22px rgba(15, 23, 42, .08);
  --sx-radius: 18px;
}

html.syncone-css-clientes_listado_pro body{
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(37,99,235,.12), transparent 58%),
    radial-gradient(900px 420px at 95% 10%, rgba(16,185,129,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--sx-bg) 38%, var(--sx-bg) 100%);
  color: var(--sx-text);
}

html.syncone-css-clientes_listado_pro .page-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

/* Barra superior fija */
html.syncone-css-clientes_listado_pro .topbar{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sx-line);
}

/* ✅ Alineación izquierda */
html.syncone-css-clientes_listado_pro .topbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* left + right */
  gap: 12px;
}

/* Brand a la izquierda */
html.syncone-css-clientes_listado_pro .brandline{
  display:flex;
  align-items:center;
  gap: 10px;
  justify-content: flex-start;
  text-align: left;
}

html.syncone-css-clientes_listado_pro .brandtext h4{
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
  text-align: left;
}
html.syncone-css-clientes_listado_pro .brandline .sub{
  font-size: .86rem;
  color: var(--sx-muted);
  margin-top: 2px;
  text-align: left;
}

html.syncone-css-clientes_listado_pro .logo-dot{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #fff;
  background: linear-gradient(135deg, var(--sx-primary), #0ea5e9);
  box-shadow: 0 10px 24px rgba(37,99,235,.20);
}

html.syncone-css-clientes_listado_pro .topbar-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Botones */
html.syncone-css-clientes_listado_pro .btn-sx{
  border-radius: 14px;
  padding: .55rem .9rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .06);
}
html.syncone-css-clientes_listado_pro .btn-sx-primary{
  background: linear-gradient(135deg, var(--sx-primary), var(--sx-primary-2));
  border: 0;
}
html.syncone-css-clientes_listado_pro .btn-sx-primary:hover{ filter: brightness(.97); }

html.syncone-css-clientes_listado_pro .btn-sx-ghost{
  background: #fff;
  border: 1px solid var(--sx-line);
}
html.syncone-css-clientes_listado_pro .btn-sx-ghost:hover{
  background: rgba(15,23,42,.03);
}

html.syncone-css-clientes_listado_pro .sx-btn-search{
  height: 48px;
}

/* Cards */
html.syncone-css-clientes_listado_pro .sx-card{
  background: var(--sx-card);
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow);
}
html.syncone-css-clientes_listado_pro .sx-card-header{
  padding: 16px 18px;
  border-bottom: 1px solid var(--sx-line);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
html.syncone-css-clientes_listado_pro .sx-card-title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  margin: 0;
}
html.syncone-css-clientes_listado_pro .sx-card-sub{
  color: var(--sx-muted);
  font-size: .9rem;
  margin-top: 2px;
}

/* Badges */
html.syncone-css-clientes_listado_pro .sx-badge-filter{
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 700;
}
html.syncone-css-clientes_listado_pro .sx-badge-secure{
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 700;
}

/* Search */
html.syncone-css-clientes_listado_pro .search-wrap{
  position: relative;
}
html.syncone-css-clientes_listado_pro .search-icon{
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sx-muted);
}
html.syncone-css-clientes_listado_pro .search-input{
  padding-left: 44px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--sx-line);
}
html.syncone-css-clientes_listado_pro .search-input:focus{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.12);
}

/* Table */
html.syncone-css-clientes_listado_pro .table-wrap{
  padding: 16px 18px 18px;
}
html.syncone-css-clientes_listado_pro .sx-table{
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}
html.syncone-css-clientes_listado_pro .sx-table thead th{
  font-size: .86rem;
  letter-spacing: .2px;
  color: var(--sx-muted);
  border: 0 !important;
  background: transparent !important;
  padding: 10px 12px;
}
html.syncone-css-clientes_listado_pro .sx-table tbody tr{
  background: #fff;
  box-shadow: var(--sx-shadow-soft);
}
html.syncone-css-clientes_listado_pro .sx-table tbody td{
  border: 0 !important;
  padding: 14px 12px;
  vertical-align: middle;
}
html.syncone-css-clientes_listado_pro .sx-table tbody tr td:first-child{
  border-top-left-radius: 14px;
  border-bottom-left-radius: 14px;
}
html.syncone-css-clientes_listado_pro .sx-table tbody tr td:last-child{
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

/* Chips */
html.syncone-css-clientes_listado_pro .chip-code{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.14);
  font-family: var(--syncone-font-family);
  font-size: .9rem;
  color: #1e40af;
  font-weight: 800;
}

html.syncone-css-clientes_listado_pro .name-strong{ font-weight: 900; color: #0f172a; }
html.syncone-css-clientes_listado_pro .muted{ color: var(--sx-muted); }

/* Actions */
html.syncone-css-clientes_listado_pro .btn-action{
  border-radius: 12px;
  padding: .42rem .6rem;
  font-weight: 700;
}
html.syncone-css-clientes_listado_pro .btn-action i{ margin-right: 6px; }

/* SweetAlert helper classes */
html.syncone-css-clientes_listado_pro .swal2-rounded{ border-radius: 18px !important; }
html.syncone-css-clientes_listado_pro .swal2-confirm-soft{
  border-radius: 12px !important;
  padding: .55rem 1rem !important;
}


/* ===== Módulo: clientes2.css (syncone-css-clientes2) ===== */
/* Estilos para lista de clientes SyncOne */

html.syncone-css-clientes2 body{
    background-color: #ffffff; /* Fondo blanco */
    color: #3c4858;
    font-family: var(--syncone-font-family);
}

/* HEADER */
html.syncone-css-clientes2 .header-fixed{
    background: linear-gradient(180deg, #111827, #020617); /* Fondo del header */
    padding: 15px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}

html.syncone-css-clientes2 #volverInicioBtn,
html.syncone-css-clientes2 #crearClienteBtn{
    background-color: #2563eb;
    color: white;
    border-radius: 10px;
    padding: 8px 20px;
    transition: background-color 0.3s;
    font-size: 14px;
}

html.syncone-css-clientes2 #volverInicioBtn:hover,
html.syncone-css-clientes2 #crearClienteBtn:hover{
    background-color: #1e4fc7;
}

/* Barra de búsqueda */
html.syncone-css-clientes2 .search-bar{
    margin-top: 100px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

html.syncone-css-clientes2 #searchForm input{
    width: 60%;
    padding: 10px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #e2e5e9;
}

html.syncone-css-clientes2 #searchForm button{
    background-color: #2563eb;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-size: 14px;
}


/* Estilos para la notificación dentro del modal */
html.syncone-css-clientes2 #modalNotification{
    margin-bottom: 15px; /* Separación entre la notificación y el formulario */
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

html.syncone-css-clientes2 .alert-success{
    background-color: #28a745; /* Verde */
    color: white;
}

html.syncone-css-clientes2 .alert-danger{
    background-color: #dc3545; /* Rojo */
    color: white;
}


html.syncone-css-clientes2 #searchForm button:hover{
    background-color: #1e4fc7;
}

html.syncone-css-clientes2 .table thead{
    background-color: #eff6ff;
}

html.syncone-css-clientes2 .table tbody tr:hover{
    background: #f9fafb;
}

html.syncone-css-clientes2 .table-bordered td,
html.syncone-css-clientes2 .table-bordered th{
    border: 1px solid #e2e5e9;
}

/* Tabla de clientes */
html.syncone-css-clientes2 .table th{
    background-color: #111827; /* Color de fondo de las columnas */
    color: white;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #e2e5e9;
}

html.syncone-css-clientes2 .table td{
    padding: 15px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #e2e5e9;
    color: #5e6d77;
}

html.syncone-css-clientes2 .table-striped tbody tr:nth-child(odd){
    background-color: #f9fafb;
}

html.syncone-css-clientes2 .table-responsive{
    margin-top: 30px;
    overflow-x: auto;
}

/* Botones de acciones */
html.syncone-css-clientes2 .btn-info,
html.syncone-css-clientes2 .btn-warning,
html.syncone-css-clientes2 .btn-danger{
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    transition: background-color 0.3s;
    color: #fff;
    border: none;
    cursor: pointer;
}

html.syncone-css-clientes2 .btn-info{
    background-color: #1cc88a;
}

html.syncone-css-clientes2 .btn-warning{
    background-color: #f39c12;
}

html.syncone-css-clientes2 .btn-danger{
    background-color: #e74a3b;
}

html.syncone-css-clientes2 .btn-info:hover{
    background-color: #17a589;
}

html.syncone-css-clientes2 .btn-warning:hover{
    background-color: #f1c40f;
}

html.syncone-css-clientes2 .btn-danger:hover{
    background-color: #c0392b;
}

html.syncone-css-clientes2 .panel-card{
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Ajustes de responsive para pequeños dispositivos */
@media (max-width: 991px){
    html.syncone-css-clientes2 .table th,
html.syncone-css-clientes2 .table td{
        padding: 12px;
    }

    html.syncone-css-clientes2 #searchForm input{
        width: 100%;
    }

    html.syncone-css-clientes2 #searchForm button{
        width: 100%;
        margin-top: 10px;
    }

    html.syncone-css-clientes2 .panel-card{
        padding: 15px;
    }
}
 html.syncone-css-clientes2 .cliente-table{
            width: 100%;
            border-collapse: collapse;
        }

        html.syncone-css-clientes2 .cliente-table th,
html.syncone-css-clientes2 .cliente-table td{
            padding: 8px 15px;
            text-align: left;
        }

        html.syncone-css-clientes2 .cliente-table th{
            background-color: #f8f9fa;
            font-weight: bold;
        }

        html.syncone-css-clientes2 .cliente-table td{
            background-color: #ffffff;
        }

        html.syncone-css-clientes2 .cliente-table tr:nth-child(even) td{
            background-color: #f9f9f9;
        }

        html.syncone-css-clientes2 .cliente-table td img{
            border-radius: 50%; /* Hace la imagen circular */
            width: 80px;
            height: 80px;
            object-fit: cover;
        }

        html.syncone-css-clientes2 .btn-custom{
            font-size: 1rem;
            padding: 6px 15px;
            border-radius: 20px;
        }

        /* Para botones pequeños */
        html.syncone-css-clientes2 .btn-sm-custom{
            font-size: 0.9rem;
            padding: 5px 10px;
        }

/* ===== Módulo: crear_cliente_pro.css (syncone-css-crear_cliente_pro) ===== */
html.syncone-css-crear_cliente_pro{
  --cc-bg: #f6f7fb;
  --cc-card: #ffffff;
  --cc-text: #0f172a;
  --cc-muted: #64748b;
  --cc-line: rgba(15, 23, 42, .08);

  --cc-primary: #2563eb;
  --cc-primary-2: #1d4ed8;

  --cc-shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --cc-shadow-soft: 0 10px 22px rgba(15, 23, 42, .08);
  --cc-radius: 18px;
}

html.syncone-css-crear_cliente_pro body{
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(37,99,235,.12), transparent 58%),
    radial-gradient(900px 420px at 95% 10%, rgba(16,185,129,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--cc-bg) 38%, var(--cc-bg) 100%);
  color: var(--cc-text);
}

html.syncone-css-crear_cliente_pro .cc-container{
  max-width: 1200px;
}

/* Topbar */
html.syncone-css-crear_cliente_pro .cc-topbar{
  position: relative;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--cc-line);
  box-shadow: var(--cc-shadow-soft);
  backdrop-filter: blur(10px);
}
html.syncone-css-crear_cliente_pro .cc-topbar-inner{
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
html.syncone-css-crear_cliente_pro .cc-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 12px;
  text-align:left;
}
html.syncone-css-crear_cliente_pro .cc-badge-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #fff;
  background: linear-gradient(135deg, var(--cc-primary), #0ea5e9);
  box-shadow: 0 10px 24px rgba(37,99,235,.20);
}
html.syncone-css-crear_cliente_pro .cc-title{
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.1;
}
html.syncone-css-crear_cliente_pro .cc-subtitle{
  color: var(--cc-muted);
  font-size: .9rem;
  margin-top: 2px;
}
html.syncone-css-crear_cliente_pro .cc-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
html.syncone-css-crear_cliente_pro .cc-btn-ghost{
  border-radius: 12px;
  font-weight: 600;
}

/* Main Card */
html.syncone-css-crear_cliente_pro .cc-card{
  background: var(--cc-card);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  overflow: hidden;
}
html.syncone-css-crear_cliente_pro .cc-card-head{
  padding: 16px 18px;
  border-bottom: 1px solid var(--cc-line);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
html.syncone-css-crear_cliente_pro .cc-chip{
  border-radius: 999px;
  padding: .55rem .85rem;
  border: 1px solid var(--cc-line);
  font-weight: 600;
}
html.syncone-css-crear_cliente_pro .cc-card-body{
  padding: 16px;
}
@media (min-width: 768px){
  html.syncone-css-crear_cliente_pro .cc-card-body{ padding: 18px; }
}

/* Panels (reusa tus panel-card) */
html.syncone-css-crear_cliente_pro .cc-panel{
  border-radius: 16px !important;
  border: 1px solid var(--cc-line) !important;
  box-shadow: var(--cc-shadow-soft);
  overflow: hidden;
}
html.syncone-css-crear_cliente_pro .cc-panel-head{
  padding: 12px 14px;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(15, 23, 42, .02);
}

/* Inputs */
html.syncone-css-crear_cliente_pro .cc-input{
  border-radius: 14px !important;
  border: 1px solid var(--cc-line) !important;
  height: 46px;
}
html.syncone-css-crear_cliente_pro textarea.cc-input{
  height: auto;
}
html.syncone-css-crear_cliente_pro .form-label{
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}
html.syncone-css-crear_cliente_pro .cc-input:focus,
html.syncone-css-crear_cliente_pro .form-select.cc-input:focus{
  border-color: rgba(37,99,235,.35) !important;
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.12) !important;
}

/* Save button */
html.syncone-css-crear_cliente_pro .cc-btn-save{
  border-radius: 14px;
  padding: .7rem 1.05rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(22, 163, 74, .18);
}

/* Make selects match height */
html.syncone-css-crear_cliente_pro .form-select.cc-input{
  height: 46px;
}


/* ===== Módulo: editar_cliente_pro.css (syncone-css-editar_cliente_pro) ===== */
/* editar_cliente_pro.css (pro, igual a crear_cliente_pro.css) */

/* ✅ Tipografía trendy (inputs y todo el form) */

html.syncone-css-editar_cliente_pro{
  --cc-bg: #f6f7fb;
  --cc-card: #ffffff;
  --cc-text: #0f172a;
  --cc-muted: #64748b;
  --cc-line: rgba(15, 23, 42, .08);

  --cc-primary: #2563eb;
  --cc-primary-2: #1d4ed8;

  --cc-shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --cc-shadow-soft: 0 10px 22px rgba(15, 23, 42, .08);
  --cc-radius: 18px;
}

/* ✅ Fuente general */
html.syncone-css-editar_cliente_pro body{
  font-family: var(--syncone-font-family) !important;
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(37,99,235,.12), transparent 58%),
    radial-gradient(900px 420px at 95% 10%, rgba(16,185,129,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--cc-bg) 38%, var(--cc-bg) 100%);
  color: var(--cc-text);
}

html.syncone-css-editar_cliente_pro .cc-container{ max-width: 1200px; }

/* ✅ Topbar (igual a Crear Cliente) */
html.syncone-css-editar_cliente_pro .cc-topbar{
  position: relative;
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--cc-line);
  box-shadow: var(--cc-shadow-soft);
  backdrop-filter: blur(10px);
}
html.syncone-css-editar_cliente_pro .cc-topbar-inner{
  padding: 14px 16px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
html.syncone-css-editar_cliente_pro .cc-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 12px;
  text-align:left;
}
html.syncone-css-editar_cliente_pro .cc-badge-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color: #fff;
  background: linear-gradient(135deg, var(--cc-primary), #0ea5e9);
  box-shadow: 0 10px 24px rgba(37,99,235,.20);
}
html.syncone-css-editar_cliente_pro .cc-title{
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.1;
}
html.syncone-css-editar_cliente_pro .cc-subtitle{
  color: var(--cc-muted);
  font-size: .9rem;
  margin-top: 2px;
}
html.syncone-css-editar_cliente_pro .cc-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
html.syncone-css-editar_cliente_pro .cc-btn-ghost{
  border-radius: 12px;
  font-weight: 600;
}

/* ✅ Main Card */
html.syncone-css-editar_cliente_pro .cc-card{
  background: var(--cc-card);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  box-shadow: var(--cc-shadow);
  overflow: hidden;
}
html.syncone-css-editar_cliente_pro .cc-card-head{
  padding: 16px 18px;
  border-bottom: 1px solid var(--cc-line);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
html.syncone-css-editar_cliente_pro .cc-chip{
  border-radius: 999px;
  padding: .55rem .85rem;
  border: 1px solid var(--cc-line);
  font-weight: 600;
}
html.syncone-css-editar_cliente_pro .cc-card-body{ padding: 16px; }
@media (min-width: 768px){
  html.syncone-css-editar_cliente_pro .cc-card-body{ padding: 18px; }
}

/* ✅ Panels */
html.syncone-css-editar_cliente_pro .cc-panel{
  border-radius: 16px !important;
  border: 1px solid var(--cc-line) !important;
  box-shadow: var(--cc-shadow-soft);
  overflow: hidden;
}
html.syncone-css-editar_cliente_pro .cc-panel-head{
  padding: 12px 14px;
  border-bottom: 1px solid var(--cc-line);
  background: rgba(15, 23, 42, .02);
}

/* ✅ Inputs (tipografía bonita + consistente) */
html.syncone-css-editar_cliente_pro .cc-input,
html.syncone-css-editar_cliente_pro .form-control,
html.syncone-css-editar_cliente_pro .form-select{
  font-family: var(--syncone-font-family) !important;
  font-weight: 400;
  border-radius: 14px !important;
  border: 1px solid var(--cc-line) !important;
  height: 46px;
}
html.syncone-css-editar_cliente_pro textarea.cc-input{ height: auto; }

html.syncone-css-editar_cliente_pro .form-label{
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 6px;
}

html.syncone-css-editar_cliente_pro .cc-input:focus,
html.syncone-css-editar_cliente_pro .form-select.cc-input:focus,
html.syncone-css-editar_cliente_pro .form-control:focus,
html.syncone-css-editar_cliente_pro .form-select:focus{
  border-color: rgba(37,99,235,.35) !important;
  box-shadow: 0 0 0 .2rem rgba(37,99,235,.12) !important;
}

/* ✅ Botón guardar */
html.syncone-css-editar_cliente_pro .cc-btn-save{
  border-radius: 14px;
  padding: .7rem 1.05rem;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(22, 163, 74, .18);
}

/* Select height match */
html.syncone-css-editar_cliente_pro .form-select.cc-input{ height: 46px; }






/* ===== Módulo: gestion_servicios.css (syncone-css-gestion_servicios) ===== */
/* =========================================================
   Gestión de Servicios SyncOne - Diseño PRO basado en Agenda
   ========================================================= */
html.syncone-css-gestion_servicios{
  --gs-primary:#0d6efd;
  --gs-primary-2:#084298;
  --gs-text:#0f172a;
  --gs-muted:#64748b;
  --gs-border:#eef2f6;
  --gs-bg:#f6f8fc;
  --gs-card:#ffffff;
  --gs-radius:16px;
  --gs-shadow:0 10px 20px rgba(0,0,0,.06);
  --gs-shadow-lg:0 18px 36px rgba(15,23,42,.08);
}

html.syncone-css-gestion_servicios .gs-body,
html.syncone-css-gestion_servicios .gs-body *{
  font-family:var(--syncone-font-family);
}

html.syncone-css-gestion_servicios .gs-body{
  background:#fff;
  color:var(--gs-text);
}

/* Header igual línea Agenda */
html.syncone-css-gestion_servicios .header-pro{
  background:linear-gradient(90deg,var(--gs-primary),var(--gs-primary-2));
  color:#fff;
  border-radius:var(--gs-radius);
  padding:18px 20px;
  box-shadow:0 10px 24px rgba(13,110,253,.18);
}
html.syncone-css-gestion_servicios .header-pro h4{font-weight:800;letter-spacing:-.2px;}
html.syncone-css-gestion_servicios .header-pro .small{opacity:.88;}
html.syncone-css-gestion_servicios .header-pro .btn{border-radius:12px;padding:.55rem .85rem;}
html.syncone-css-gestion_servicios .header-pro .btn.btn-outline-light:hover{background:rgba(255,255,255,.12);}

/* Cards agenda-like */
html.syncone-css-gestion_servicios .card-pro,
html.syncone-css-gestion_servicios .gs-card{
  border-radius:var(--gs-radius);
  box-shadow:var(--gs-shadow);
  border:1px solid var(--gs-border);
  background:#fff;
}
html.syncone-css-gestion_servicios .card-pro .card-body,
html.syncone-css-gestion_servicios .gs-card .card-body{padding:18px;}

html.syncone-css-gestion_servicios .gs-header-card{display:none;}
html.syncone-css-gestion_servicios .gs-page-title{font-size:20px;font-weight:800;letter-spacing:-.2px;}
html.syncone-css-gestion_servicios .gs-page-subtitle{color:rgba(255,255,255,.84);font-size:13px;}

/* Utilidades */
html.syncone-css-gestion_servicios .gs-muted{color:var(--gs-muted)!important;}
html.syncone-css-gestion_servicios .gs-soft-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#f8fafc;
  border:1px solid var(--gs-border);
  color:#334155;
  padding:7px 11px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
}
html.syncone-css-gestion_servicios .gs-count-chip{
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #dbeafe;
}

/* Filtros */
html.syncone-css-gestion_servicios .gs-filter-card .form-label,
html.syncone-css-gestion_servicios .gs-section-pro .form-label{
  font-size:13px;
  color:#334155;
  font-weight:700;
  margin-bottom:6px;
}
html.syncone-css-gestion_servicios .form-control,
html.syncone-css-gestion_servicios .form-select{
  border-radius:14px;
  border:1px solid #e7ebf3;
  min-height:42px;
}
html.syncone-css-gestion_servicios .form-control:focus,
html.syncone-css-gestion_servicios .form-select:focus{
  box-shadow:0 0 0 .2rem rgba(37,99,235,.15);
  border-color:rgba(37,99,235,.45);
}
html.syncone-css-gestion_servicios textarea.form-control{min-height:auto;}
html.syncone-css-gestion_servicios .btn,
html.syncone-css-gestion_servicios .btn-soft{border-radius:12px!important;font-weight:700;}

/* Tabla */
html.syncone-css-gestion_servicios .gs-table-card{overflow:hidden;}
html.syncone-css-gestion_servicios .gs-table{margin-bottom:0;}
html.syncone-css-gestion_servicios .gs-table thead th{
  background:#f8fafc;
  color:#334155;
  font-weight:800;
  font-size:12px;
  letter-spacing:.02em;
  text-transform:uppercase;
  border-bottom:1px solid #e7ebf3;
  white-space:nowrap;
}
html.syncone-css-gestion_servicios .gs-table tbody td{
  vertical-align:middle;
  font-size:14px;
  border-color:#eef2f6;
}
html.syncone-css-gestion_servicios .gs-table tbody tr:hover{background:#fbfdff;}
html.syncone-css-gestion_servicios .gs-number{
  font-weight:800;
  color:#0f172a;
}
html.syncone-css-gestion_servicios .gs-actions .btn{
  margin-left:3px;
  margin-bottom:4px;
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

html.syncone-css-gestion_servicios .badge{
  border-radius:999px;
  padding:8px 12px;
  font-weight:800;
}

/* Formularios */
html.syncone-css-gestion_servicios .gs-form-shell{
  border:0;
  background:transparent;
  box-shadow:none;
}
html.syncone-css-gestion_servicios .gs-section-pro{
  background:#fff;
  border:1px solid var(--gs-border);
  border-radius:18px;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
  margin-bottom:18px;
  overflow:hidden;
}
html.syncone-css-gestion_servicios .gs-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid #eef2f6;
  background:linear-gradient(180deg,#fff,#fbfdff);
}
html.syncone-css-gestion_servicios .gs-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  font-size:16px;
  font-weight:800;
  color:#0f172a;
}
html.syncone-css-gestion_servicios .gs-section-subtitle{
  color:var(--gs-muted);
  font-size:12px;
  margin:4px 0 0;
}
html.syncone-css-gestion_servicios .gs-icon-badge{
  width:36px;
  height:36px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  color:#2563eb;
  flex:0 0 36px;
}
html.syncone-css-gestion_servicios .gs-section-body{padding:18px;}
html.syncone-css-gestion_servicios .gs-required{color:#dc3545;font-weight:900;}

html.syncone-css-gestion_servicios .gs-dynamic-card{
  border:1px solid #e7ebf3;
  border-radius:16px;
  padding:16px;
  background:#fbfdff;
  margin-top:14px;
}
html.syncone-css-gestion_servicios .gs-dynamic-card h6{
  font-weight:800;
  margin-bottom:4px;
}
html.syncone-css-gestion_servicios .gs-dynamic-card .small{color:var(--gs-muted);}

html.syncone-css-gestion_servicios .gs-mini-row{
  display:grid;
  grid-template-columns:1.15fr .65fr 1fr auto;
  gap:8px;
  align-items:center;
  background:#fff;
  border:1px solid #e7ebf3;
  border-radius:14px;
  padding:10px;
  margin-bottom:10px;
}
html.syncone-css-gestion_servicios .gs-mini-row.gs-camera-row{grid-template-columns:.85fr 1.15fr .55fr 1fr auto;}
html.syncone-css-gestion_servicios .gs-mini-row .form-control,
html.syncone-css-gestion_servicios .gs-mini-row .form-select{min-height:38px;border-radius:12px;}
html.syncone-css-gestion_servicios .gs-remove-row{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px!important;
}

html.syncone-css-gestion_servicios .gs-material-box{
  border:1px solid #eef2f6;
  border-radius:16px;
  padding:14px;
  height:100%;
  background:#fff;
}
html.syncone-css-gestion_servicios .gs-material-box h6{font-weight:800;margin-bottom:10px;}
html.syncone-css-gestion_servicios .gs-form-footer{
  position:sticky;
  bottom:0;
  z-index:20;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  border:1px solid #eef2f6;
  border-radius:18px;
  padding:12px;
  box-shadow:0 -8px 24px rgba(15,23,42,.06);
  margin-top:18px;
}

/* Detalle */
html.syncone-css-gestion_servicios .gs-detail-grid b{
  display:block;
  color:#64748b;
  font-size:12px;
  text-transform:uppercase;
  margin-bottom:4px;
}
html.syncone-css-gestion_servicios .gs-line{
  padding:9px 0;
  border-bottom:1px dashed #e5e7eb;
}
html.syncone-css-gestion_servicios .gs-line:last-child{border-bottom:0;}
html.syncone-css-gestion_servicios .gs-timeline{
  border-left:3px solid #0d6efd;
  padding:0 0 10px 12px;
  margin-bottom:12px;
}
html.syncone-css-gestion_servicios .gs-timeline small{display:block;color:#64748b;}

/* Empty state */
html.syncone-css-gestion_servicios .gs-empty{
  padding:48px 12px;
  text-align:center;
  color:#64748b;
}
html.syncone-css-gestion_servicios .gs-empty i{font-size:42px;display:block;margin-bottom:10px;color:#94a3b8;}
html.syncone-css-gestion_servicios .gs-empty strong{display:block;color:#334155;margin-bottom:2px;}

/* Paginación */
html.syncone-css-gestion_servicios .pagination .page-link{
  border-radius:12px;
  margin:0 3px;
  border:1px solid #e7ebf3;
  color:#334155;
  font-weight:700;
}
html.syncone-css-gestion_servicios .pagination .page-item.active .page-link{
  background:#0d6efd;
  border-color:#0d6efd;
  color:#fff;
}

/* Loader Agenda: se reutiliza #loaderOverlay + .spinner de dashboard.css */
html.syncone-css-gestion_servicios #loaderOverlay{
  display:flex;
  opacity:1;
}

@media(max-width:991px){
  html.syncone-css-gestion_servicios .gs-mini-row,
html.syncone-css-gestion_servicios .gs-mini-row.gs-camera-row{grid-template-columns:1fr;}
  html.syncone-css-gestion_servicios .gs-actions .btn{margin-left:0;}
  html.syncone-css-gestion_servicios .header-pro{padding:16px;}
}

/* Fotografías iniciales del lugar de trabajo */
html.syncone-css-gestion_servicios .gs-upload-zone{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:center;
  padding:16px;
  border:1px dashed #b7c7e6;
  border-radius:18px;
  background:linear-gradient(180deg,#fbfdff,#f7faff);
}
html.syncone-css-gestion_servicios .gs-upload-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eff6ff;
  color:#0d6efd;
  font-size:28px;
}
@media(max-width:576px){
  html.syncone-css-gestion_servicios .gs-upload-zone{grid-template-columns:1fr;}
  html.syncone-css-gestion_servicios .gs-upload-icon{margin-bottom:2px;}
}

/* Previsualización múltiple de fotografías */
html.syncone-css-gestion_servicios .gs-photo-inputs{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:8px;
}
html.syncone-css-gestion_servicios .gs-photo-input-row{
  display:grid;
  grid-template-columns:1fr 42px;
  gap:10px;
  align-items:center;
}
html.syncone-css-gestion_servicios .gs-photo-input-row .btn{
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px!important;
}
html.syncone-css-gestion_servicios .gs-photo-preview{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(118px,1fr));
  gap:12px;
  margin-top:14px;
}
html.syncone-css-gestion_servicios .gs-photo-thumb{
  border:1px solid #e7ebf3;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
}
html.syncone-css-gestion_servicios .gs-photo-thumb img{
  width:100%;
  height:92px;
  object-fit:cover;
  display:block;
}
html.syncone-css-gestion_servicios .gs-photo-thumb span{
  display:block;
  padding:7px 9px;
  font-size:12px;
  font-weight:700;
  color:#475569;
}

/* Evidencias en detalle de gestión */
html.syncone-css-gestion_servicios .gs-evidence-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
    gap:12px;
}
html.syncone-css-gestion_servicios .gs-evidence-card{
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
    overflow:hidden;
    box-shadow:0 8px 18px rgba(15,23,42,.06);
    color:#111827;
    transition:.18s ease;
}
html.syncone-css-gestion_servicios .gs-evidence-card:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 26px rgba(15,23,42,.10);
    color:#0d6efd;
}
html.syncone-css-gestion_servicios .gs-evidence-preview{
    width:100%;
    height:118px;
    background:#f8fafc;
    display:flex;
    align-items:center;
    justify-content:center;
    border-bottom:1px solid #eef2f7;
}
html.syncone-css-gestion_servicios .gs-evidence-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
html.syncone-css-gestion_servicios .gs-evidence-file{
    width:52px;
    height:52px;
    border-radius:16px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#dc3545;
    font-size:30px;
    box-shadow:0 8px 18px rgba(15,23,42,.08);
}
html.syncone-css-gestion_servicios .gs-evidence-body{
    padding:10px 12px;
}
html.syncone-css-gestion_servicios .gs-evidence-body strong,
html.syncone-css-gestion_servicios .gs-evidence-body span,
html.syncone-css-gestion_servicios .gs-evidence-body small{
    display:block;
}
html.syncone-css-gestion_servicios .gs-evidence-body strong{
    font-size:13px;
    font-weight:800;
    color:#111827;
    line-height:1.2;
}
html.syncone-css-gestion_servicios .gs-evidence-body span{
    color:#6b7280;
    font-size:12px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    margin-top:3px;
}
html.syncone-css-gestion_servicios .gs-evidence-body small{
    color:#9ca3af;
    font-size:11px;
    margin-top:4px;
}


/* =========================================================
   Vista previa estándar de fotografías
   Mantiene todas las miniaturas con el mismo tamaño visual,
   sin importar si la foto original es horizontal, vertical o grande.
   ========================================================= */
html.syncone-css-gestion_servicios .gs-photo-preview{
  grid-template-columns:repeat(auto-fill,minmax(140px,140px));
  align-items:start;
}
html.syncone-css-gestion_servicios .gs-photo-thumb{
  width:140px;
  height:150px;
  border-radius:16px;
  display:flex;
  flex-direction:column;
}
html.syncone-css-gestion_servicios .gs-photo-thumb img{
  width:100%;
  height:105px;
  object-fit:cover;
  object-position:center;
  flex:0 0 105px;
}
html.syncone-css-gestion_servicios .gs-photo-thumb span{
  height:45px;
  line-height:1.15;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

html.syncone-css-gestion_servicios .gs-evidence-grid{
  grid-template-columns:repeat(auto-fill,minmax(170px,170px));
  align-items:start;
}
html.syncone-css-gestion_servicios .gs-evidence-card{
  width:170px;
  min-height:205px;
}
html.syncone-css-gestion_servicios .gs-evidence-preview{
  width:100%;
  height:125px;
  min-height:125px;
  max-height:125px;
  overflow:hidden;
}
html.syncone-css-gestion_servicios .gs-evidence-preview img{
  width:100%;
  height:125px;
  object-fit:cover;
  object-position:center;
}
html.syncone-css-gestion_servicios .gs-evidence-body{
  height:80px;
  overflow:hidden;
}
html.syncone-css-gestion_servicios .gs-evidence-body strong{
  min-height:32px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
@media(max-width:576px){
  html.syncone-css-gestion_servicios .gs-photo-preview,
html.syncone-css-gestion_servicios .gs-evidence-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  html.syncone-css-gestion_servicios .gs-photo-thumb,
html.syncone-css-gestion_servicios .gs-evidence-card{
    width:100%;
  }
}


/* Edición: fotografías ya adjuntas */
html.syncone-css-gestion_servicios .gs-existing-photos{
  border:1px solid #eef2f6;
  border-radius:18px;
  padding:14px;
  background:#fbfdff;
}
html.syncone-css-gestion_servicios .gs-existing-photo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,170px));
  gap:12px;
  align-items:start;
}
html.syncone-css-gestion_servicios .gs-existing-photo-card{
  width:170px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
html.syncone-css-gestion_servicios .gs-existing-photo-img{
  display:block;
  width:170px;
  height:125px;
  background:#f8fafc;
  overflow:hidden;
  border-bottom:1px solid #eef2f7;
}
html.syncone-css-gestion_servicios .gs-existing-photo-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
html.syncone-css-gestion_servicios .gs-existing-photo-body{
  height:82px;
  padding:10px 12px;
  overflow:hidden;
}
html.syncone-css-gestion_servicios .gs-existing-photo-body strong,
html.syncone-css-gestion_servicios .gs-existing-photo-body span,
html.syncone-css-gestion_servicios .gs-existing-photo-body small{
  display:block;
}
html.syncone-css-gestion_servicios .gs-existing-photo-body strong{
  font-size:13px;
  font-weight:800;
  color:#111827;
  line-height:1.2;
  min-height:32px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
html.syncone-css-gestion_servicios .gs-existing-photo-body span{
  color:#6b7280;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-top:3px;
}
html.syncone-css-gestion_servicios .gs-existing-photo-body small{
  color:#9ca3af;
  font-size:11px;
  margin-top:4px;
}
html.syncone-css-gestion_servicios .gs-existing-photo-card .btn{
  width:calc(100% - 20px);
  margin:0 10px 10px;
}

/* Vista de gestión: tamaño estándar de evidencias */
html.syncone-css-gestion_servicios .gs-evidence-grid{
  grid-template-columns:repeat(auto-fill,minmax(170px,170px))!important;
  align-items:start!important;
}
html.syncone-css-gestion_servicios .gs-evidence-card{
  width:170px!important;
  min-height:205px!important;
}
html.syncone-css-gestion_servicios .gs-evidence-preview{
  width:170px!important;
  height:125px!important;
  min-height:125px!important;
  max-height:125px!important;
  overflow:hidden!important;
}
html.syncone-css-gestion_servicios .gs-evidence-preview img{
  width:100%!important;
  height:125px!important;
  object-fit:cover!important;
  object-position:center!important;
}
@media(max-width:576px){
  html.syncone-css-gestion_servicios .gs-existing-photo-grid,
html.syncone-css-gestion_servicios .gs-evidence-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html.syncone-css-gestion_servicios .gs-existing-photo-card,
html.syncone-css-gestion_servicios .gs-evidence-card{
    width:100%!important;
  }
  html.syncone-css-gestion_servicios .gs-existing-photo-img,
html.syncone-css-gestion_servicios .gs-evidence-preview{
    width:100%!important;
  }
}


/* ===== Módulo: historial_eventos.css (syncone-css-historial_eventos) ===== */
/* Historial Eventos - ajustes extra */

html.syncone-css-historial_eventos #tablaHistorial thead th{
    font-size: 13px;
    color: #334155;
    font-weight: 800;
}

html.syncone-css-historial_eventos #tablaHistorial tbody td{
    font-size: 14px;
}

html.syncone-css-historial_eventos #tablaHistorial tbody tr:hover{
    background: #f8fafc;
}


/* ===== Módulo: notificaciones.css (syncone-css-notificaciones) ===== */
/* assets/css/notificaciones.css */

html.syncone-css-notificaciones .notif-modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
}

html.syncone-css-notificaciones .notif-week-title{
  font-weight:700;
  font-size:0.9rem;
  color:#334155;
  margin-bottom:10px;
}

html.syncone-css-notificaciones #notifContainer{
  max-height: 55vh;        /* ✅ Scroll visible cuando hay muchas */
  overflow-y: auto;
  padding-right: 6px;
}

/* Lista */
html.syncone-css-notificaciones .notif-item{
  border-radius: 14px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,.06);
}

html.syncone-css-notificaciones .notif-ic{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,.08);
  color: #0d6efd;
  font-size: 18px;
}

html.syncone-css-notificaciones .notif-title{
  font-weight: 700;
  color: #0f172a;
}

html.syncone-css-notificaciones .notif-msg{
  margin-top: 4px;
  color:#334155;
  font-size: 0.92rem;
}

html.syncone-css-notificaciones .notif-meta{
  margin-top: 6px;
  color:#64748b;
  font-size: 0.82rem;
}

html.syncone-css-notificaciones .notif-actions{
  white-space: nowrap;
}

/* Estados */
html.syncone-css-notificaciones .notif-unread{
  box-shadow: 0 0 0 2px rgba(13,110,253,.12);
  background: rgba(13,110,253,.03);
}

html.syncone-css-notificaciones .notif-urgent{
  border-left: 5px solid #dc3545 !important;
}

html.syncone-css-notificaciones .notif-warning{
  border-left: 5px solid #ffc107 !important;
}


/* ===== Módulo: recursos_humanos.css (syncone-css-recursos_humanos) ===== */
/* Recursos Humanos - SyncOne */
html.syncone-css-recursos_humanos .rh-shell{
    max-width: 1320px;
    margin: 0 auto;
}

html.syncone-css-recursos_humanos .rh-card{
    background:#fff;
    border:1px solid rgba(15,23,42,.08);
    border-radius:18px;
    box-shadow:0 12px 30px rgba(15,23,42,.06);
    overflow:hidden;
}

html.syncone-css-recursos_humanos .rh-card-header{
    padding:18px 20px;
    border-bottom:1px solid rgba(15,23,42,.06);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}

html.syncone-css-recursos_humanos .rh-card-title{
    font-weight:800;
    color:#0f172a;
    margin-bottom:2px;
}

html.syncone-css-recursos_humanos .rh-card-sub{
    font-size:.92rem;
    color:#64748b;
}

html.syncone-css-recursos_humanos .rh-card-body{
    padding:20px;
}

html.syncone-css-recursos_humanos .rh-stat{
    border-radius:18px;
    border:1px solid rgba(15,23,42,.06);
    background:linear-gradient(180deg, #ffffff, #f8fbff);
    padding:16px 18px;
    height:100%;
}

html.syncone-css-recursos_humanos .rh-stat-label{
    color:#64748b;
    font-size:.9rem;
    margin-bottom:6px;
}

html.syncone-css-recursos_humanos .rh-stat-value{
    font-size:1.45rem;
    font-weight:800;
    color:#0f172a;
}

html.syncone-css-recursos_humanos .rh-toolbar{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

html.syncone-css-recursos_humanos .rh-thumb{
    width:54px;
    height:54px;
    border-radius:14px;
    object-fit:cover;
    border:1px solid rgba(15,23,42,.08);
    background:#f8fafc;
}

html.syncone-css-recursos_humanos .rh-thumb-lg{
    width:120px;
    height:120px;
    border-radius:18px;
    object-fit:cover;
    border:1px solid rgba(15,23,42,.10);
    background:#f8fafc;
}

html.syncone-css-recursos_humanos .rh-avatar-fallback{
    width:54px;
    height:54px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#0d6efd,#7c3aed);
    color:#fff;
    font-weight:800;
    font-size:1.1rem;
}

html.syncone-css-recursos_humanos .rh-section-title{
    font-size:1rem;
    font-weight:800;
    color:#0f172a;
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
}

html.syncone-css-recursos_humanos .rh-kv{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap:14px;
}

html.syncone-css-recursos_humanos .rh-kv-item{
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.06);
    border-radius:16px;
    padding:14px 16px;
}

html.syncone-css-recursos_humanos .rh-kv-label{
    font-size:.82rem;
    color:#64748b;
    margin-bottom:4px;
}

html.syncone-css-recursos_humanos .rh-kv-value{
    font-size:.98rem;
    color:#0f172a;
    font-weight:700;
    word-break:break-word;
}

html.syncone-css-recursos_humanos .rh-muted{
    color:#64748b;
}

html.syncone-css-recursos_humanos .rh-table thead th{
    background:#f8fafc;
    color:#334155;
    font-size:.9rem;
    white-space:nowrap;
}

html.syncone-css-recursos_humanos .rh-table td{
    vertical-align:middle;
}

html.syncone-css-recursos_humanos .rh-actions{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

html.syncone-css-recursos_humanos .rh-badge-soft{
    border-radius:999px;
    padding:.44rem .78rem;
    font-weight:700;
    font-size:.78rem;
}

html.syncone-css-recursos_humanos .rh-form-help{
    font-size:.83rem;
    color:#64748b;
    margin-top:6px;
}

html.syncone-css-recursos_humanos .rh-repeater-item{
    border:1px dashed rgba(15,23,42,.16);
    border-radius:16px;
    padding:14px;
    background:#fcfdff;
    margin-bottom:12px;
}

html.syncone-css-recursos_humanos .rh-repeater-actions{
    display:flex;
    justify-content:flex-end;
    margin-top:10px;
}

html.syncone-css-recursos_humanos .rh-doc-chip{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:.4rem .75rem;
    border-radius:999px;
    background:#eff6ff;
    border:1px solid rgba(59,130,246,.18);
    color:#1d4ed8;
    font-weight:700;
    font-size:.8rem;
}

html.syncone-css-recursos_humanos .rh-photo-box{
    display:flex;
    gap:16px;
    align-items:center;
    flex-wrap:wrap;
    padding:14px;
    border:1px dashed rgba(15,23,42,.15);
    border-radius:18px;
    background:#fcfdff;
}

html.syncone-css-recursos_humanos .rh-empty{
    text-align:center;
    padding:36px 18px;
    color:#64748b;
}

html.syncone-css-recursos_humanos .rh-empty i{
    font-size:2rem;
    display:block;
    margin-bottom:10px;
    color:#94a3b8;
}

html.syncone-css-recursos_humanos .rh-grid-2{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:16px;
}

html.syncone-css-recursos_humanos .rh-grid-3{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:16px;
}

html.syncone-css-recursos_humanos .rh-grid-4{
    display:grid;
    grid-template-columns:repeat(4, minmax(0,1fr));
    gap:16px;
}

html.syncone-css-recursos_humanos .rh-summary{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
    gap:14px;
}

html.syncone-css-recursos_humanos .rh-summary-item{
    border:1px solid rgba(15,23,42,.06);
    border-radius:16px;
    background:#fff;
    padding:15px 16px;
}

html.syncone-css-recursos_humanos .rh-summary-item .label{
    color:#64748b;
    font-size:.84rem;
}

html.syncone-css-recursos_humanos .rh-summary-item .value{
    color:#0f172a;
    font-size:1.05rem;
    font-weight:800;
    margin-top:6px;
}

html.syncone-css-recursos_humanos .rh-payroll-row{
    border:1px solid rgba(15,23,42,.06);
    border-radius:18px;
    background:#fff;
    padding:16px;
    margin-bottom:14px;
}

html.syncone-css-recursos_humanos .rh-payroll-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:12px;
    flex-wrap:wrap;
}

html.syncone-css-recursos_humanos .rh-payroll-name{
    font-weight:800;
    color:#0f172a;
}

html.syncone-css-recursos_humanos .rh-inline-metrics{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

html.syncone-css-recursos_humanos .rh-inline-metrics span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:.38rem .72rem;
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.06);
    font-size:.82rem;
    color:#334155;
    font-weight:700;
}

html.syncone-css-recursos_humanos .rh-total-bar{
    border-top:1px solid rgba(15,23,42,.08);
    margin-top:18px;
    padding-top:18px;
}

html.syncone-css-recursos_humanos .rh-total-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(180px,1fr));
    gap:12px;
}

html.syncone-css-recursos_humanos .rh-total-cell{
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.06);
    border-radius:16px;
    padding:14px;
}

html.syncone-css-recursos_humanos .rh-total-cell .label{
    color:#64748b;
    font-size:.82rem;
}

html.syncone-css-recursos_humanos .rh-total-cell .value{
    margin-top:6px;
    color:#0f172a;
    font-weight:800;
}

@media (max-width: 991.98px){
    html.syncone-css-recursos_humanos .rh-grid-4,
html.syncone-css-recursos_humanos .rh-grid-3,
html.syncone-css-recursos_humanos .rh-grid-2{
        grid-template-columns:1fr;
    }
}


/* ===== Módulo: reportes.css (syncone-css-reportes) ===== */
html.syncone-css-reportes{
  --sx-primary:#0d6efd;
  --sx-primary-2:#084298;
  --sx-text:#111827;
  --sx-muted:#6b7280;
  --sx-border:#eef2f6;
  --sx-soft:#f8fafc;
}
html.syncone-css-reportes body{background:#fff;color:var(--sx-text);}
html.syncone-css-reportes .header-pro{
  background:linear-gradient(90deg,var(--sx-primary),var(--sx-primary-2));
  color:#fff;border-radius:16px;padding:18px 20px;
  box-shadow:0 10px 24px rgba(13,110,253,.18);
}
html.syncone-css-reportes .header-pro h4{font-weight:700;letter-spacing:.2px;}
html.syncone-css-reportes .card-pro{border-radius:16px;border:1px solid var(--sx-border);box-shadow:0 10px 20px rgba(0,0,0,.06);background:#fff;}
html.syncone-css-reportes .card-pro .card-body{padding:18px;}
html.syncone-css-reportes .badge-soft{padding:.45rem .65rem;border-radius:999px;background:#f1f5f9!important;border:1px solid rgba(15,23,42,.08);font-weight:600;}
html.syncone-css-reportes .rep-mini-card{border:1px solid var(--sx-border);border-radius:16px;background:#fff;box-shadow:0 8px 18px rgba(0,0,0,.045);padding:16px 14px;position:relative;overflow:hidden;}
html.syncone-css-reportes .rep-mini-card:before{content:"";position:absolute;right:-20px;top:-24px;width:72px;height:72px;border-radius:999px;background:rgba(13,110,253,.08);}
html.syncone-css-reportes .rep-mini-icon{width:36px;height:36px;border-radius:12px;background:#f1f6ff;color:var(--sx-primary);display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:10px;}
html.syncone-css-reportes .rep-mini-value{font-size:22px;line-height:1;font-weight:800;color:#111827;}
html.syncone-css-reportes .rep-mini-label{margin-top:6px;font-size:12.5px;color:#64748b;font-weight:700;}
html.syncone-css-reportes .rep-title-icon{width:40px;height:40px;border-radius:13px;background:#f1f6ff;color:var(--sx-primary);display:flex;align-items:center;justify-content:center;font-size:20px;}
html.syncone-css-reportes .rep-table{border-color:rgba(15,23,42,.08);}
html.syncone-css-reportes .rep-table thead th{background:var(--sx-soft);color:var(--sx-text);font-weight:800;font-size:12.5px;border-bottom:1px solid rgba(15,23,42,.08);white-space:nowrap;}
html.syncone-css-reportes .rep-table tbody td{font-size:13px;color:#374151;border-bottom:1px solid rgba(15,23,42,.06);vertical-align:middle;white-space:nowrap;}
html.syncone-css-reportes .rep-table tbody tr:hover{background:#f8fafc;}
html.syncone-css-reportes .rep-table td:nth-child(2),
html.syncone-css-reportes .rep-table td:nth-child(3){white-space:normal;min-width:170px;}
html.syncone-css-reportes .btn.fw-semibold{font-weight:700!important;}
html.syncone-css-reportes .btn-outline-success,
html.syncone-css-reportes .btn-outline-danger,
html.syncone-css-reportes .btn-outline-secondary,
html.syncone-css-reportes .btn-primary,
html.syncone-css-reportes .btn-light{border-radius:12px;}
html.syncone-css-reportes .form-control,
html.syncone-css-reportes .form-select{border-radius:12px;border-color:#e5e7eb;}
html.syncone-css-reportes .form-control:focus,
html.syncone-css-reportes .form-select:focus{box-shadow:0 0 0 .2rem rgba(13,110,253,.12);border-color:#86b7fe;}
html.syncone-css-reportes .rep-hint{background:var(--sx-soft);border:1px solid rgba(15,23,42,.08);color:#334155;border-radius:14px;padding:12px 14px;font-size:13px;}
@media (max-width:992px){
  html.syncone-css-reportes .header-pro{border-radius:14px;padding:16px;}
  html.syncone-css-reportes .card-pro .card-body{padding:14px;}
  html.syncone-css-reportes .rep-table thead th,
html.syncone-css-reportes .rep-table tbody td{font-size:12.5px;}
}


html.syncone-css-reportes .rep-pagination .page-link{
  border-radius:10px;
  margin:0 2px;
  color:#0d6efd;
  font-weight:700;
  border:1px solid #dbe4f0;
}
html.syncone-css-reportes .rep-pagination .page-item.active .page-link{
  background:#0d6efd;
  border-color:#0d6efd;
  color:#fff;
}
html.syncone-css-reportes .rep-pagination .page-item.disabled .page-link{
  color:#9aa6b2;
  background:#f8fafc;
}


/* ===== Módulo: repositorio.css (syncone-css-repositorio) ===== */
/* =========================================
   Repositorio SyncOne PRO (igual a Prospectos/Clientes)
   Autor: SyncOne
   ========================================= */


html.syncone-css-repositorio{
  --sx-primary: #0d6efd;
  --sx-primary-dark: #084298;
  --sx-border: #eef2f6;
  --sx-soft: #f8fafc;
  --sx-text: #111827;
  --sx-muted: #6b7280;
  --sx-shadow: 0 10px 20px rgba(0,0,0,.06);
}

html.syncone-css-repositorio body{
  background:#ffffff;
  color: var(--sx-text);
  font-family: var(--syncone-font-family);
}

/* ✅ CONTENEDOR (misma caja que el header) */
html.syncone-css-repositorio .sx-shell{
  max-width: 1140px;
  margin: 0 auto;
}
@media (min-width: 1400px){
  html.syncone-css-repositorio .sx-shell{ max-width: 1320px; }
}

/* =========================================
   HEADER PRO (igual a prospectos/clientes)
   ========================================= */
html.syncone-css-repositorio .header-pro{
  background: linear-gradient(90deg, var(--sx-primary), var(--sx-primary-dark));
  color:#fff;
  border-radius:16px;
  padding:18px 20px;
  box-shadow:0 10px 24px rgba(13,110,253,.18);
}

html.syncone-css-repositorio .header-pro h4{
  margin:0;
  font-weight: 800;
  letter-spacing: .2px;
}

html.syncone-css-repositorio .header-pro .small{
  opacity:.85;
}

/* =========================================
   CARD PRO (igual a prospectos)
   ========================================= */
html.syncone-css-repositorio .card-pro{
  border-radius:16px;
  border:1px solid var(--sx-border);
  box-shadow: var(--sx-shadow);
  background:#fff;
}

html.syncone-css-repositorio .card-pro .card-body{
  padding: 18px;
}

/* =========================================
   (Tu estilo anterior) Repo Card (mejorado)
   ========================================= */
html.syncone-css-repositorio .repo-card{
  background:#ffffff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 3px 12px rgba(0,0,0,0.08);
  transition:.2s ease;
}
html.syncone-css-repositorio .repo-card:hover{
  transform: translateY(-3px);
}
html.syncone-css-repositorio .repo-title{
  font-weight:700;
  color: var(--sx-text);
}
html.syncone-css-repositorio .repo-sub{
  color: var(--sx-muted);
  font-size:14px;
}

/* =========================================
   Botones Sync (tu clase, alineada al pro)
   ========================================= */
html.syncone-css-repositorio .btn-sync{
  background-color:#2563eb;
  color:#fff;
  border-radius:10px;
  padding:8px 15px;
  border:none;
  font-weight:700;
}
html.syncone-css-repositorio .btn-sync:hover{
  background-color:#1e4fc7;
  color:#fff;
}

/* =========================================
   Tabla (Repo)
   ========================================= */
html.syncone-css-repositorio .table thead th{
  background: var(--sx-soft);
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-weight: 800;
  color: #0f172a;
  padding: 14px 14px;
  font-size: 14px;
  white-space: nowrap;
}

html.syncone-css-repositorio .table tbody td{
  padding: 14px 14px;
  color: #374151;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: 14px;
}

html.syncone-css-repositorio .table tbody tr:hover{
  background: #f9fafb;
}

html.syncone-css-repositorio .repo-table tbody tr{
  transition: background-color 0.15s ease, opacity 0.25s ease;
}
html.syncone-css-repositorio .repo-table tbody tr:hover{
  background: #f8fafc;
}
html.syncone-css-repositorio .repo-table td .fw-semibold{
  font-size: 15px;
}
html.syncone-css-repositorio .repo-table td .text-muted{
  font-size: 12px;
}

/* Badges */
html.syncone-css-repositorio .badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Panel Card (si lo seguís usando en otras vistas) */
html.syncone-css-repositorio .panel-card{
  background:#fff;
  border-radius:16px;
  padding:20px;
  border:1px solid var(--sx-border);
  box-shadow: var(--sx-shadow);
}

/* Botones de acciones */
html.syncone-css-repositorio .btn-group .btn{
  border-radius:10px !important;
}
html.syncone-css-repositorio .btn-outline-warning i,
html.syncone-css-repositorio .btn-outline-danger i,
html.syncone-css-repositorio .btn-outline-secondary i,
html.syncone-css-repositorio .btn-outline-success i{
  font-size: 15px;
}

/* Sin documentos */
html.syncone-css-repositorio .no-files-box{
  text-align:center;
  padding:40px 20px;
  color: var(--sx-muted);
}

/* =========================================
   Paginación PRO (flechitas)
   ========================================= */
html.syncone-css-repositorio .sx-pagination{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 14px 16px;
  background: #fff;
  border-bottom-left-radius:16px;
  border-bottom-right-radius:16px;
}

html.syncone-css-repositorio .pagination{
  gap: 6px;
}

html.syncone-css-repositorio .pagination .page-link{
  border-radius: 12px !important;
  font-weight: 800;
  padding: 8px 12px;
  border: 1px solid rgba(0,0,0,.10);
  color: #0f172a;
}

html.syncone-css-repositorio .pagination .page-link:hover{
  background: #eef6ff;
  border-color: rgba(13,110,253,.35);
}

html.syncone-css-repositorio .pagination .page-item.active .page-link{
  background: var(--sx-primary);
  border-color: var(--sx-primary);
  color: #fff;
}

html.syncone-css-repositorio .pagination .page-item.disabled .page-link{
  opacity: .55;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 991px){
  html.syncone-css-repositorio .header-pro{
    padding: 16px 16px;
  }
  html.syncone-css-repositorio .table thead th,
html.syncone-css-repositorio .table tbody td{
    padding: 12px 12px;
  }
}

@media (max-width: 576px){
  html.syncone-css-repositorio .pagination .page-link{
    padding: 7px 10px;
  }
}






/* ===== Módulo: taller.css (syncone-css-taller) ===== */
html.syncone-css-taller .taller-icon-wrap{
    width:56px;height:56px;border-radius:16px;background:rgba(255,255,255,.16);
    display:flex;align-items:center;justify-content:center;
}
html.syncone-css-taller .taller-table thead th{
    white-space:nowrap;font-size:12px;
}
html.syncone-css-taller .taller-table td{
    font-size:13px;
    white-space:nowrap;
}
html.syncone-css-taller .detail-grid .card{border:0;box-shadow:0 10px 20px rgba(0,0,0,.05);border-radius:16px;}
html.syncone-css-taller .timeline-item{position:relative;padding-left:18px;margin-bottom:14px;}
html.syncone-css-taller .timeline-item:before{content:'';position:absolute;left:0;top:5px;width:9px;height:9px;border-radius:50%;background:#0d6efd;}
html.syncone-css-taller .timeline-item.automatico:before{background:#dc3545;}
html.syncone-css-taller .timeline-item small{display:block;color:#6c757d;}
html.syncone-css-taller .adj-card{border:1px dashed #d9e3f0;border-radius:14px;padding:12px;background:#fff;}
html.syncone-css-taller .metric-pill{display:inline-flex;align-items:center;gap:8px;padding:.55rem .8rem;border-radius:999px;background:#f8fafc;border:1px solid #e9eef5;font-weight:600;font-size:13px;}


/* ===== Módulo: ver_cliente_new.css (syncone-css-ver_cliente_new) ===== */
/* =========================
   ver_cliente_new.css (FULL)
   ESTILO SX (como tu ejemplo):
   - max-width: 1200px
   - padding lateral: 16px (igual header y body)
   - topbar fijo con blur
   - fondo con radial gradients
   - box-sizing global
   ========================= */

html.syncone-css-ver_cliente_new{
  /* Paleta estilo ejemplo */
  --sx-bg: #f6f7fb;
  --sx-card: #ffffff;
  --sx-text: #0f172a;
  --sx-muted: #64748b;
  --sx-line: rgba(15, 23, 42, .08);

  --sx-primary: #2563eb;
  --sx-primary-2: #1d4ed8;

  --sx-shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --sx-shadow-soft: 0 10px 22px rgba(15, 23, 42, .08);
  --sx-radius: 18px;

  /* Focus ring bonito */
  --sx-ring: rgba(37,99,235,.16);

  /* Mapeo a tus variables antiguas (por compatibilidad) */
  --bg: var(--sx-bg);
  --soft: #f7f9ff;
  --panel: var(--sx-card);

  --border: var(--sx-line);
  --border2: rgba(37, 99, 235, .18);
  --shadow: var(--sx-shadow);

  --text: var(--sx-text);
  --muted: var(--sx-muted);

  --accent: var(--sx-primary);
  --accentHover: var(--sx-primary-2);
  --ring: var(--sx-ring);

  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
}

/* ✅ Box sizing global (como tu ejemplo) */
html.syncone-css-ver_cliente_new *,
html.syncone-css-ver_cliente_new *::before,
html.syncone-css-ver_cliente_new *::after{
  box-sizing: border-box;
}

/* ===== Tipografía (IGUAL a Bootstrap/prospectos.php) ===== */
html.syncone-css-ver_cliente_new .vcx-body{
  font-family: var(--syncone-font-family) !important;
  font-weight: var(--bs-body-font-weight, 400);
}
html.syncone-css-ver_cliente_new .vcx-body input,
html.syncone-css-ver_cliente_new .vcx-body select,
html.syncone-css-ver_cliente_new .vcx-body textarea,
html.syncone-css-ver_cliente_new .vcx-body button,
html.syncone-css-ver_cliente_new .vcx-body .btn,
html.syncone-css-ver_cliente_new .vcx-body .form-control,
html.syncone-css-ver_cliente_new .vcx-body .form-select,
html.syncone-css-ver_cliente_new .vcx-body table,
html.syncone-css-ver_cliente_new .vcx-body th,
html.syncone-css-ver_cliente_new .vcx-body td,
html.syncone-css-ver_cliente_new .vcx-body .modal,
html.syncone-css-ver_cliente_new .vcx-body .modal-content{
  font-family: var(--syncone-font-family) !important;
}

/* ===== Background estilo ejemplo (radial + gradient) ===== */
html.syncone-css-ver_cliente_new .vcx-body{
  background:
    radial-gradient(900px 420px at 5% 0%, rgba(37,99,235,.12), transparent 58%),
    radial-gradient(900px 420px at 95% 10%, rgba(16,185,129,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--sx-bg) 38%, var(--sx-bg) 100%) !important;
  color: var(--text) !important;
}

/* ===== Layout (MISMA DIMENSIÓN QUE TU EJEMPLO) ===== */
html.syncone-css-ver_cliente_new .vcx-main{
  padding-top: 96px;
  padding-bottom: 28px;
  padding-left: 0;
  padding-right: 0;
}

/* ✅ Contenedor tipo page-wrap: 1200px + 16px padding */
html.syncone-css-ver_cliente_new .vcx-container{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ✅ Si usas Bootstrap .container, lo dejamos con el mismo ancho y padding */
html.syncone-css-ver_cliente_new .vcx-body .container.vcx-container,
html.syncone-css-ver_cliente_new .vcx-body .container{
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* ===== Topbar (igual al ejemplo) ===== */
html.syncone-css-ver_cliente_new .vcx-topbar{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sx-line);
}

/* ✅ Igual que topbar-inner del ejemplo: 1200px + 14px 16px */
html.syncone-css-ver_cliente_new .vcx-topbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 16px;
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html.syncone-css-ver_cliente_new .vcx-left{
  display:flex;
  align-items:center;
  gap: 10px;
  justify-content: flex-start;
  text-align: left;
}

html.syncone-css-ver_cliente_new .vcx-right{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Marca / icono app */
html.syncone-css-ver_cliente_new .vcx-appmark{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(37,99,235,.98), rgba(29,78,216,.88));
  box-shadow: 0 16px 30px rgba(37,99,235,.22);
  border: 1px solid rgba(37,99,235,.18);
}

html.syncone-css-ver_cliente_new .vcx-appmark i{
  font-size: 18px;
  color: #fff;
}

html.syncone-css-ver_cliente_new .vcx-brand-title{
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.05;
  font-size: 1.05rem;
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-brand-sub{
  font-size: .86rem;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

/* Botones top (sin tocar HTML) */
html.syncone-css-ver_cliente_new .vcx-btn{
  border-radius: 12px;
  font-weight: 600;
}

html.syncone-css-ver_cliente_new .vcx-topbar .btn-outline-light{
  color: var(--accent) !important;
  border-color: rgba(37,99,235,.25) !important;
  background: rgba(37,99,235,.04) !important;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px !important;
  box-shadow: var(--sx-shadow-soft);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

html.syncone-css-ver_cliente_new .vcx-topbar .btn-outline-light i{
  font-size: 1rem;
  line-height: 1;
}

html.syncone-css-ver_cliente_new .vcx-topbar .btn-outline-light:hover{
  color: #fff !important;
  border-color: rgba(37,99,235,.55) !important;
  background: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37,99,235,.16);
}

html.syncone-css-ver_cliente_new .vcx-topbar .btn-outline-light:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(37,99,235,.12);
}

html.syncone-css-ver_cliente_new .vcx-topbar .btn-outline-light:focus{
  box-shadow: 0 0 0 0.20rem var(--sx-ring), 0 12px 26px rgba(37,99,235,.14) !important;
}

/* ===== Hero ===== */
html.syncone-css-ver_cliente_new .vcx-hero{
  margin-top: 10px;
  margin-bottom: 14px;
}

html.syncone-css-ver_cliente_new .vcx-hero-card{
  background: var(--panel);
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow);
  padding: 16px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

html.syncone-css-ver_cliente_new .vcx-hero-left{
  display:flex;
  gap: 14px;
  align-items: center;
  min-width: 260px;
}

html.syncone-css-ver_cliente_new .vcx-avatar-wrap{
  position: relative;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
}

html.syncone-css-ver_cliente_new .vcx-avatar{
  width: 84px;
  height: 84px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 18px 35px rgba(15,23,42,.12);
  background: #fff;
}

html.syncone-css-ver_cliente_new .vcx-avatar-badge{
  position:absolute;
  left: 8px;
  bottom: -10px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 600;
}

html.syncone-css-ver_cliente_new .vcx-name{
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-meta{
  margin-top: 6px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: .9rem;
}

html.syncone-css-ver_cliente_new .vcx-meta i{ margin-right: 6px; }

html.syncone-css-ver_cliente_new .vcx-hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

html.syncone-css-ver_cliente_new .vcx-action{
  border-radius: 14px;
  font-weight: 600;
}

/* ===== Cards ===== */
html.syncone-css-ver_cliente_new .vcx-card{
  background: var(--panel);
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow);
  overflow:hidden;
}

html.syncone-css-ver_cliente_new .vcx-card-head{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

html.syncone-css-ver_cliente_new .vcx-card-head-row{
  align-items: flex-start;
}

html.syncone-css-ver_cliente_new .vcx-card-title{
  font-weight: 700;
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 1.05rem;
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-card-title i{
  color: var(--accent);
}

html.syncone-css-ver_cliente_new .vcx-card-sub{
  color: var(--muted);
  font-weight: 400;
  font-size: .92rem;
  margin-top: 4px;
}

html.syncone-css-ver_cliente_new .vcx-chip{
  border-radius: 999px;
  padding: 7px 12px;
  border: 1px solid rgba(37,99,235,.20);
  background: rgba(37,99,235,.06);
  font-weight: 600;
  font-size: .82rem;
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-card-body{
  padding: 14px 16px 16px;
}

/* Info items */
html.syncone-css-ver_cliente_new .vcx-item{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(37,99,235,.03);
  margin-bottom: 10px;
}

html.syncone-css-ver_cliente_new .vcx-label{
  color: var(--muted);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .2px;
}

html.syncone-css-ver_cliente_new .vcx-value{
  font-weight: 600;
  margin-top: 3px;
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-divider{
  border-top: 1px solid rgba(15,23,42,.08);
  margin: 12px 0;
}

html.syncone-css-ver_cliente_new .vcx-card-title-sm{
  font-weight: 700;
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(15,23,42,.92);
}

html.syncone-css-ver_cliente_new .vcx-quick{
  display:grid;
  gap: 10px;
}

/* ===== Table ===== */
html.syncone-css-ver_cliente_new .vcx-table{
  color: var(--text);
  margin-bottom: 0;
}

html.syncone-css-ver_cliente_new .vcx-table thead th{
  background: rgba(37,99,235,.06);
  color: rgba(15,23,42,.92);
  border-color: rgba(15,23,42,.10) !important;
  font-weight: 600;
}

html.syncone-css-ver_cliente_new .vcx-table td{
  border-color: rgba(15,23,42,.08) !important;
  background: #fff;
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-table tbody tr:hover td{
  background: rgba(37,99,235,.04);
}

/* ===== Badges ===== */
html.syncone-css-ver_cliente_new .vcx-badge{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .82rem;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.03);
  color: var(--text);
}

html.syncone-css-ver_cliente_new .vcx-badge-ok{
  background: rgba(22,163,74,.10);
  border-color: rgba(22,163,74,.25);
}

html.syncone-css-ver_cliente_new .vcx-badge-warn{
  background: rgba(217,119,6,.12);
  border-color: rgba(217,119,6,.28);
}

html.syncone-css-ver_cliente_new .vcx-badge-bad{
  background: rgba(220,38,38,.12);
  border-color: rgba(220,38,38,.28);
}

html.syncone-css-ver_cliente_new .vcx-hint{
  color: var(--muted);
  font-weight: 400;
}

/* ===== Forms ===== */
html.syncone-css-ver_cliente_new .vcx-body input::placeholder,
html.syncone-css-ver_cliente_new .vcx-body textarea::placeholder{
  color: rgba(15,23,42,.45) !important;
}

html.syncone-css-ver_cliente_new .vcx-body .form-control,
html.syncone-css-ver_cliente_new .vcx-body .form-select,
html.syncone-css-ver_cliente_new .vcx-body textarea{
  background: #fff !important;
  border: 1px solid rgba(15,23,42,.14) !important;
  color: var(--text) !important;
  border-radius: 14px;
}

html.syncone-css-ver_cliente_new .vcx-body .form-control:focus,
html.syncone-css-ver_cliente_new .vcx-body .form-select:focus,
html.syncone-css-ver_cliente_new .vcx-body textarea:focus{
  box-shadow: 0 0 0 0.20rem var(--sx-ring) !important;
  border-color: rgba(37,99,235,.55) !important;
}

/* ===== Modal ===== */
html.syncone-css-ver_cliente_new .vcx-modal{
  border-radius: var(--sx-radius);
  overflow:hidden;
}

html.syncone-css-ver_cliente_new .vcx-body .modal-content,
html.syncone-css-ver_cliente_new .vcx-body .modal-header,
html.syncone-css-ver_cliente_new .vcx-body .modal-body,
html.syncone-css-ver_cliente_new .vcx-body .modal-footer{
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: rgba(15,23,42,.12) !important;
}

html.syncone-css-ver_cliente_new .vcx-body .modal-title{
  color: var(--text) !important;
  font-weight: 700;
}

/* ===== Links ===== */
html.syncone-css-ver_cliente_new .vcx-body a,
html.syncone-css-ver_cliente_new .vcx-body a:visited{
  color: var(--accent) !important;
  text-decoration: none;
  font-weight: 600;
}

html.syncone-css-ver_cliente_new .vcx-body a:hover{
  color: var(--accentHover) !important;
  text-decoration: underline;
}

/* ===== Footer ===== */
html.syncone-css-ver_cliente_new .footer-soluditec{
  background: #fff;
  border-top: 1px solid rgba(15,23,42,.10);
  color: var(--text);
}

html.syncone-css-ver_cliente_new .footer-soluditec .text-muted{
  color: rgba(15,23,42,.62) !important;
}

html.syncone-css-ver_cliente_new .footer-soluditec .brand{
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 576px){
  html.syncone-css-ver_cliente_new .vcx-name{ font-size: 1.05rem; }
  html.syncone-css-ver_cliente_new .vcx-meta{ font-size: .85rem; }

  html.syncone-css-ver_cliente_new .vcx-avatar-wrap{ width: 72px; height: 72px; }
  html.syncone-css-ver_cliente_new .vcx-avatar{ width: 72px; height: 72px; border-radius: 16px; }

  /* ✅ Mantener padding igual al header (16px) */
  html.syncone-css-ver_cliente_new .vcx-container{
    padding-left: 16px;
    padding-right: 16px;
  }
  html.syncone-css-ver_cliente_new .vcx-body .container.vcx-container,
html.syncone-css-ver_cliente_new .vcx-body .container{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html.syncone-css-ver_cliente_new .vcx-topbar-inner{
    padding: 14px 16px;
  }

  html.syncone-css-ver_cliente_new .vcx-topbar .btn-outline-light{
    padding: 9px 12px;
    border-radius: 13px !important;
  }
}
/* ✅ MISMA DIMENSIÓN QUE TU EJEMPLO (1200px + 16px) */
html.syncone-css-ver_cliente_new .vcx-topbar-inner{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* ✅ Contenido alineado al header */
html.syncone-css-ver_cliente_new .vcx-container,
html.syncone-css-ver_cliente_new .vcx-body .container,
html.syncone-css-ver_cliente_new .vcx-body .container.vcx-container{
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* ✅ Para que el header-pro no se vea “más angosto” */
html.syncone-css-ver_cliente_new .header-pro{
  width: 100%;
}

/* =========================
   FIX: ANCHO HEADER igual a sx-shell
   1140px (xl) / 1320px (xxl)
   ========================= */
html.syncone-css-ver_cliente_new{
  --vcx-shell: 1140px;
  --vcx-pad: 16px;
}
@media (min-width: 1400px){
  html.syncone-css-ver_cliente_new{ --vcx-shell: 1320px; }
}

/* ✅ Header: mismo ancho que el contenido */
html.syncone-css-ver_cliente_new .vcx-topbar .container.vcx-topbar-inner{
  max-width: var(--vcx-shell) !important;
  margin: 0 auto !important;
  padding-left: var(--vcx-pad) !important;
  padding-right: var(--vcx-pad) !important;

  /* Importante: tu topbar-inner no necesita flex (solo tiene 1 hijo),
     esto evita comportamientos raros de ancho */
  display: block !important;
}

/* ✅ Contenido principal: mismo ancho */
html.syncone-css-ver_cliente_new .vcx-main .container.vcx-container{
  max-width: var(--vcx-shell) !important;
  margin: 0 auto !important;
  padding-left: var(--vcx-pad) !important;
  padding-right: var(--vcx-pad) !important;
}

/* ✅ El gradiente del header ocupa todo el ancho del shell */
html.syncone-css-ver_cliente_new .header-pro{
  width: 100% !important;
  flex: 1 1 100% !important;
  min-width: 0 !important;
}



/* ===== Normalización final compartida ===== */
/* ========================================================================== 
   SyncOne UI
   Capa visual compartida. Los módulos conservan solamente sus reglas propias.
   ========================================================================== */

html.syncone-ui {
  --sx-primary: #2563eb;
  --sx-primary-dark: #173f8f;
  --sx-primary-soft: #eaf1ff;
  --sx-accent: #7c3aed;
  --sx-success: #15803d;
  --sx-warning: #d97706;
  --sx-danger: #dc2626;
  --sx-info: #0284c7;
  --sx-text: #172033;
  --sx-muted: #667085;
  --sx-bg: #f4f7fb;
  --sx-surface: #ffffff;
  --sx-surface-muted: #f8fafc;
  --sx-border: #e5eaf2;
  --sx-border-strong: #d5ddeb;
  --sx-radius-sm: 10px;
  --sx-radius: 14px;
  --sx-radius-lg: 18px;
  --sx-shadow-sm: 0 4px 14px rgba(15, 23, 42, .05);
  --sx-shadow: 0 12px 30px rgba(15, 23, 42, .075);
  --sx-shadow-brand: 0 14px 32px rgba(37, 99, 235, .20);
  --sx-transition: 160ms ease;
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  color-scheme: light;
}

.syncone-ui *,
.syncone-ui *::before,
.syncone-ui *::after {
  box-sizing: border-box;
}

.syncone-ui body {
  margin: 0;
  background-color: var(--sx-bg);
  color: var(--sx-text);
  font-family: var(--syncone-font-family);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.syncone-ui,
.syncone-ui body {
  max-width: 100%;
  overflow-x: hidden;
}

.syncone-ui body.sx-pro-body,
.syncone-ui body.gs-body {
  background-color: var(--sx-bg) !important;
}

.syncone-ui a {
  text-underline-offset: 3px;
}

.syncone-ui img,
.syncone-ui svg {
  max-width: 100%;
}

.syncone-ui h1,
.syncone-ui h2,
.syncone-ui h3,
.syncone-ui h4,
.syncone-ui h5,
.syncone-ui h6 {
  color: inherit;
  font-weight: 750;
  letter-spacing: -.018em;
}

/* Crear/editar cliente conserva la jerarquía tipográfica de Contabilidad. */
html.syncone-css-ccliente .header-pro h4,
html.syncone-css-crear_cliente_pro .header-pro h4,
html.syncone-css-editar_cliente_pro .header-pro h4 {
  font-weight: 700 !important;
  letter-spacing: -.018em !important;
}

html.syncone-css-ccliente .panel-title,
html.syncone-css-crear_cliente_pro .panel-title,
html.syncone-css-editar_cliente_pro .panel-title {
  font-weight: 700 !important;
  letter-spacing: -.018em !important;
}

.syncone-ui .text-muted,
.syncone-ui .muted {
  color: var(--sx-muted) !important;
}

/* Encabezados de módulo */
.syncone-ui .header-pro,
.syncone-ui .sx-header,
.syncone-ui .page-hero,
.syncone-ui .module-header {
  border: 0;
  border-radius: var(--sx-radius-lg) !important;
  background: linear-gradient(120deg, var(--sx-primary) 0%, var(--sx-primary-dark) 72%, #312e81 100%) !important;
  color: #fff !important;
  padding: 20px 22px;
  box-shadow: var(--sx-shadow-brand) !important;
}

.syncone-ui .header-pro h1,
.syncone-ui .header-pro h2,
.syncone-ui .header-pro h3,
.syncone-ui .header-pro h4,
.syncone-ui .header-pro h5,
.syncone-ui .sx-header h1,
.syncone-ui .sx-header h2,
.syncone-ui .sx-header h3,
.syncone-ui .sx-header h4,
.syncone-ui .page-hero h1,
.syncone-ui .page-hero h2,
.syncone-ui .module-header h1,
.syncone-ui .module-header h2 {
  color: #fff !important;
}

/* Superficies */
.syncone-ui .card,
.syncone-ui .card-pro,
.syncone-ui .panel-card,
.syncone-ui .sx-card,
.syncone-ui .metric,
.syncone-ui .summary-card,
.syncone-ui .tile {
  border-color: var(--sx-border) !important;
  border-radius: var(--sx-radius-lg) !important;
  background-color: var(--sx-surface);
  box-shadow: var(--sx-shadow-sm);
}

.syncone-ui .card-header,
.syncone-ui .sx-card-header,
.syncone-ui .panel-header,
.syncone-ui .cc-panel-head {
  border-bottom: 1px solid var(--sx-border) !important;
  background: linear-gradient(180deg, #fff 0%, var(--sx-surface-muted) 100%) !important;
}

.syncone-ui .card-footer,
.syncone-ui .modal-footer {
  border-top-color: var(--sx-border) !important;
  background-color: var(--sx-surface-muted);
}

.syncone-ui .tile,
.syncone-ui a.card,
.syncone-ui a.card-pro {
  transition: transform var(--sx-transition), box-shadow var(--sx-transition), border-color var(--sx-transition);
}

.syncone-ui .tile:hover,
.syncone-ui a.card:hover,
.syncone-ui a.card-pro:hover {
  transform: translateY(-2px);
  border-color: #cbd9f3 !important;
  box-shadow: var(--sx-shadow);
}

/* Formularios */
.syncone-ui .form-label {
  margin-bottom: .42rem;
  color: #344054;
  font-size: .9rem;
  font-weight: 650;
}

.syncone-ui .form-control,
.syncone-ui .form-select,
.syncone-ui .input-group-text {
  min-height: 42px;
  border-color: var(--sx-border-strong);
  border-radius: var(--sx-radius-sm);
  background-color: #fff;
  color: var(--sx-text);
  transition: border-color var(--sx-transition), box-shadow var(--sx-transition), background-color var(--sx-transition);
}

.syncone-ui textarea.form-control {
  min-height: 92px;
}

.syncone-ui .input-group > .form-control,
.syncone-ui .input-group > .form-select,
.syncone-ui .input-group > .input-group-text,
.syncone-ui .input-group > .btn {
  border-radius: 0;
}

.syncone-ui .input-group > :first-child {
  border-top-left-radius: var(--sx-radius-sm) !important;
  border-bottom-left-radius: var(--sx-radius-sm) !important;
}

.syncone-ui .input-group > :last-child {
  border-top-right-radius: var(--sx-radius-sm) !important;
  border-bottom-right-radius: var(--sx-radius-sm) !important;
}

.syncone-ui .form-control:focus,
.syncone-ui .form-select:focus,
.syncone-ui .form-check-input:focus {
  border-color: #82aaf8;
  box-shadow: 0 0 0 .23rem rgba(37, 99, 235, .13);
}

.syncone-ui .form-control::placeholder {
  color: #98a2b3;
}

.syncone-ui .form-control:disabled,
.syncone-ui .form-select:disabled,
.syncone-ui .form-control[readonly] {
  background-color: #f2f4f7;
  color: #667085;
  opacity: 1;
}

.syncone-ui .form-check-input {
  width: 1.08em;
  height: 1.08em;
  border-color: #aeb9ca;
}

.syncone-ui .form-check-input:checked {
  border-color: var(--sx-primary);
  background-color: var(--sx-primary);
}

.syncone-ui .form-text {
  color: var(--sx-muted);
}

/* Botones */
.syncone-ui .btn {
  min-height: 40px;
  border-radius: var(--sx-radius-sm);
  font-weight: 650;
  letter-spacing: -.005em;
  transition: transform var(--sx-transition), box-shadow var(--sx-transition), background-color var(--sx-transition), border-color var(--sx-transition);
}

.syncone-ui .btn-sm {
  min-height: 34px;
  border-radius: 9px;
}

.syncone-ui .btn-lg {
  min-height: 48px;
  border-radius: 12px;
}

.syncone-ui .btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.syncone-ui .btn:active:not(:disabled) {
  transform: translateY(0);
}

.syncone-ui .btn-primary,
.syncone-ui .btn-sx-primary {
  border-color: var(--sx-primary) !important;
  background: linear-gradient(135deg, var(--sx-primary), #1d4ed8) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .18);
}

.syncone-ui .btn-success {
  border-color: #15803d;
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.syncone-ui .btn-danger {
  border-color: #dc2626;
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.syncone-ui .btn-warning {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #422006;
}

.syncone-ui .btn-light {
  border-color: var(--sx-border-strong);
  background: #fff;
  color: #344054;
}

.syncone-ui .btn[data-sx-submit-locked="1"] {
  cursor: wait;
  opacity: .72;
}

/* Tablas */
.syncone-ui .table-responsive,
.syncone-ui .table-wrap {
  border-radius: var(--sx-radius);
}

.syncone-ui .table {
  margin-bottom: 0;
  color: var(--sx-text);
  vertical-align: middle;
}

.syncone-ui .table > :not(caption) > * > * {
  padding: .82rem .78rem;
  border-bottom-color: var(--sx-border);
}

.syncone-ui .table thead th {
  border-bottom: 1px solid var(--sx-border-strong);
  background: #f6f8fc !important;
  color: #475467;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.syncone-ui .table-hover > tbody > tr:hover > * {
  background-color: #f7faff;
}

/* Navegación, badges y estados */
.syncone-ui .badge,
.syncone-ui .chip,
.syncone-ui .badge-soft,
.syncone-ui .sx-soft-chip,
.syncone-ui .gs-soft-chip {
  border-radius: 999px !important;
  font-weight: 650;
}

.syncone-ui .pagination {
  gap: .25rem;
}

.syncone-ui .page-link {
  min-width: 38px;
  border: 1px solid var(--sx-border);
  border-radius: 9px !important;
  color: var(--sx-primary);
  text-align: center;
}

.syncone-ui .page-item.active .page-link {
  border-color: var(--sx-primary);
  background-color: var(--sx-primary);
  box-shadow: 0 4px 10px rgba(37, 99, 235, .18);
}

.syncone-ui .nav-tabs {
  gap: .35rem;
  border-bottom-color: var(--sx-border);
}

.syncone-ui .nav-tabs .nav-link {
  border-radius: 10px 10px 0 0;
  color: var(--sx-muted);
  font-weight: 650;
}

.syncone-ui .nav-tabs .nav-link.active {
  color: var(--sx-primary);
}

/* Alertas y modales */
.syncone-ui .alert {
  border-width: 1px;
  border-radius: var(--sx-radius);
  box-shadow: var(--sx-shadow-sm);
}

.syncone-ui .modal-content {
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius-lg) !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .20);
  overflow: hidden;
}

.syncone-ui .modal-header {
  border-bottom-color: var(--sx-border);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.syncone-ui .dropdown-menu {
  padding: .45rem;
  border-color: var(--sx-border);
  border-radius: 12px;
  box-shadow: var(--sx-shadow);
}

.syncone-ui .dropdown-item {
  border-radius: 8px;
}

.syncone-ui .dropdown-item:active {
  background-color: var(--sx-primary);
}

/* SweetAlert mantiene el mismo lenguaje visual */
.syncone-ui .swal2-popup {
  border-radius: 20px !important;
  font-family: inherit !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22) !important;
}

.syncone-ui .swal2-confirm,
.syncone-ui .swal2-cancel,
.syncone-ui .swal2-deny {
  min-height: 40px;
  border-radius: 10px !important;
  font-weight: 700 !important;
}

/* Loader compatible con los nombres históricos del proyecto */
.syncone-ui #loaderOverlay,
.syncone-ui #loader-overlay,
.syncone-ui #globalLoader {
  backdrop-filter: blur(4px);
  background: rgba(248, 250, 252, .92);
  transition: opacity .22s ease, visibility .22s ease;
}

.syncone-ui .loader-circle,
.syncone-ui .loader,
.syncone-ui #loaderOverlay .spinner {
  width: 58px;
  height: 58px;
  border: 5px solid #dbe5f5;
  border-top-color: var(--sx-primary);
  border-radius: 50%;
  animation: sx-spin .8s linear infinite;
}

@keyframes sx-spin {
  to { transform: rotate(360deg); }
}

/* Accesibilidad */
.syncone-ui :focus-visible {
  outline: 3px solid rgba(37, 99, 235, .32);
  outline-offset: 2px;
}

.syncone-ui .visually-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
}

@media (max-width: 767.98px) {
  .syncone-ui body {
    font-size: 14px;
  }

  .syncone-ui .header-pro,
  .syncone-ui .sx-header,
  .syncone-ui .page-hero,
  .syncone-ui .module-header {
    padding: 17px 16px;
    border-radius: 15px !important;
  }

  .syncone-ui .card,
  .syncone-ui .card-pro,
  .syncone-ui .panel-card,
  .syncone-ui .sx-card {
    border-radius: 14px !important;
  }

  .syncone-ui .table > :not(caption) > * > * {
    padding: .72rem .65rem;
  }

  .syncone-ui form .form-select {
    width: 100%;
    max-width: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .syncone-ui *,
  .syncone-ui *::before,
  .syncone-ui *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .syncone-ui body {
    background: #fff !important;
  }

  .syncone-ui .card,
  .syncone-ui .card-pro,
  .syncone-ui .panel-card,
  .syncone-ui .sx-card {
    box-shadow: none !important;
  }
}

/* ===== Dashboard: estructura aislada y adaptable ===== */
html.syncone-css-dashboard .main-layout {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
}

html.syncone-css-dashboard .sidebar {
  top: 0;
  bottom: 0;
  left: 0;
  width: 260px;
  max-width: 260px;
  transform: none;
}

html.syncone-css-dashboard .content-wrapper {
  display: block;
  width: calc(100% - 260px);
  max-width: calc(100% - 260px);
  min-width: 0;
  margin-left: 260px;
}

html.syncone-css-dashboard .topbar,
html.syncone-css-dashboard .content,
html.syncone-css-dashboard .dash-hero,
html.syncone-css-dashboard .metric-pro,
html.syncone-css-dashboard .panel-pro {
  min-width: 0;
  max-width: 100%;
}

html.syncone-css-dashboard .topbar {
  width: 100%;
  gap: 16px;
}

html.syncone-css-dashboard .topbar-right {
  min-width: 0;
  max-width: min(55vw, 520px);
  margin-left: auto;
}

html.syncone-css-dashboard .topbar-user {
  display: block;
  min-width: 0;
  max-width: min(38vw, 390px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.syncone-css-dashboard .dash-hero h3,
html.syncone-css-dashboard .metric-value,
html.syncone-css-dashboard .panel-title {
  overflow-wrap: anywhere;
}

html.syncone-css-dashboard .metric-value {
  font-size: clamp(1.25rem, 1.65vw, 1.6rem);
}

html.syncone-css-dashboard canvas {
  max-width: 100% !important;
}

@media (max-width: 1199.98px) {
  html.syncone-css-dashboard .topbar-user {
    max-width: 32vw;
  }
}

@media (max-width: 991.98px) {
  html.syncone-css-dashboard .sidebar {
    left: 0;
    transform: translateX(-100%);
  }

  html.syncone-css-dashboard .sidebar.open {
    transform: translateX(0);
  }

  html.syncone-css-dashboard .content-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  html.syncone-css-dashboard .topbar-right {
    max-width: calc(100% - 150px);
  }
}

@media (max-width: 575.98px) {
  html.syncone-css-dashboard .content-wrapper {
    padding: 8px;
  }

  html.syncone-css-dashboard .topbar {
    gap: 8px;
    padding: 10px;
  }

  html.syncone-css-dashboard .topbar-right {
    max-width: none;
  }

  html.syncone-css-dashboard .dash-hero {
    padding: 18px;
  }

  html.syncone-css-dashboard .dash-hero .text-end {
    width: 100%;
    text-align: left !important;
  }
}

/* ===== Crear cliente: misma retícula y acabado visual de agenda.php ===== */
html.syncone-css-ccliente.syncone-css-crear_cliente_pro .sx-pro-body,
html.syncone-css-ccliente.syncone-css-crear_cliente_pro .sx-pro-body * {
  font-family: var(--syncone-font-family) !important;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .sx-pro-body {
  background: #f4f7fb !important;
  color: #0f172a;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro main {
  padding-top: 0 !important;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-page-container {
  width: 100%;
  max-width: 100%;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-card,
html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-panel {
  border: 1px solid #e5eaf2 !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .075) !important;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .header-pro {
  padding: 18px 20px;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-card-head,
html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-card-body {
  padding: 18px;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-panel {
  padding: 0;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-panel.mb-4 {
  margin-bottom: 0 !important;
}

html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-panel-head {
  padding: 14px 16px;
}

@media (min-width: 576px) {
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-page-container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-page-container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-page-container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-page-container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-page-container {
    max-width: 1320px;
  }
}

@media (max-width: 575.98px) {
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-card-head,
  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .cc-card-body {
    padding: 16px;
  }

  html.syncone-css-ccliente.syncone-css-crear_cliente_pro .header-pro .btn {
    width: 100%;
  }
}

/* ===== Centro de reportes: filtros, catálogo y resultados ===== */
html.syncone-css-reportes .sx-pro-body {
  background: #f4f7fb;
  color: #172033;
  font-family: var(--syncone-font-family);
}

html.syncone-css-reportes .header-pro {
  background: linear-gradient(120deg, #2563eb 0%, #173f8f 72%, #312e81 100%);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .20);
}

html.syncone-css-reportes .card-pro {
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .075);
}

html.syncone-css-reportes .rep-section-heading,
html.syncone-css-reportes .rep-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

html.syncone-css-reportes .rep-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #2563eb;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html.syncone-css-reportes .rep-count-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  background: #f8fbff;
  color: #334155;
  font-size: .8rem;
  font-weight: 750;
  white-space: nowrap;
}

html.syncone-css-reportes .rep-report-strip {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

html.syncone-css-reportes .rep-report-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  flex: 0 0 265px;
  min-height: 88px;
  padding: 13px 14px;
  border: 1px solid #e4eaf3;
  border-radius: 15px;
  background: #fff;
  color: #1e293b;
  text-align: left;
  scroll-snap-align: start;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

html.syncone-css-reportes .rep-report-option:hover {
  transform: translateY(-2px);
  border-color: #a9c4f7;
  box-shadow: 0 10px 22px rgba(37, 99, 235, .09);
}

html.syncone-css-reportes .rep-report-option.active {
  border-color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  box-shadow: 0 9px 22px rgba(37, 99, 235, .13);
}

html.syncone-css-reportes .rep-report-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #edf4ff;
  color: #2563eb;
  font-size: 1.05rem;
}

html.syncone-css-reportes .rep-report-option.active .rep-report-option-icon {
  background: #2563eb;
  color: #fff;
}

html.syncone-css-reportes .rep-report-option-copy {
  min-width: 0;
}

html.syncone-css-reportes .rep-report-option-copy strong,
html.syncone-css-reportes .rep-report-option-copy small {
  display: block;
}

html.syncone-css-reportes .rep-report-option-copy strong {
  margin-bottom: 3px;
  color: #172033;
  font-size: .9rem;
  line-height: 1.2;
}

html.syncone-css-reportes .rep-report-option-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #69758a;
  font-size: .72rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html.syncone-css-reportes .rep-report-option-arrow {
  color: #94a3b8;
}

html.syncone-css-reportes .rep-mini-card {
  min-height: 126px;
  padding: 15px;
  border: 1px solid #e5eaf2;
  border-radius: 17px;
  box-shadow: 0 9px 22px rgba(15, 23, 42, .055);
}

html.syncone-css-reportes .rep-mini-card::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rep-tone, #2563eb);
  content: "";
}

html.syncone-css-reportes .rep-mini-card.rep-tone-blue { --rep-tone: #2563eb; --rep-tone-soft: #eaf2ff; }
html.syncone-css-reportes .rep-mini-card.rep-tone-green { --rep-tone: #16a34a; --rep-tone-soft: #eaf8ef; }
html.syncone-css-reportes .rep-mini-card.rep-tone-red { --rep-tone: #dc2626; --rep-tone-soft: #fff0f0; }
html.syncone-css-reportes .rep-mini-card.rep-tone-amber { --rep-tone: #d97706; --rep-tone-soft: #fff7e8; }
html.syncone-css-reportes .rep-mini-card.rep-tone-violet { --rep-tone: #7c3aed; --rep-tone-soft: #f4efff; }
html.syncone-css-reportes .rep-mini-card.rep-tone-cyan { --rep-tone: #0891b2; --rep-tone-soft: #e9f9fc; }

html.syncone-css-reportes .rep-mini-card .rep-mini-icon {
  background: var(--rep-tone-soft, #eaf2ff);
  color: var(--rep-tone, #2563eb);
}

html.syncone-css-reportes .rep-filter-card .form-label {
  margin-bottom: 6px;
  color: #334155;
  font-size: .82rem;
  font-weight: 750 !important;
}

html.syncone-css-reportes .rep-filter-card .form-control,
html.syncone-css-reportes .rep-filter-card .form-select {
  min-height: 46px;
  border-color: #dce4ef;
  border-radius: 12px;
  background-color: #fff;
}

html.syncone-css-reportes .rep-search-wrap {
  position: relative;
}

html.syncone-css-reportes .rep-search-wrap > .bi-search {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 2;
  color: #7b8799;
  transform: translateY(-50%);
}

html.syncone-css-reportes .rep-search-wrap .form-control {
  padding-right: 42px;
  padding-left: 40px;
}

html.syncone-css-reportes .rep-search-clear {
  position: absolute;
  top: 50%;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 9px;
  background: #eef2f7;
  color: #64748b;
  transform: translateY(-50%);
}

html.syncone-css-reportes .rep-date-presets {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px dashed #cfdaea;
  border-radius: 13px;
  background: #f8fbff;
}

html.syncone-css-reportes .rep-date-presets > span {
  margin-right: 2px;
  color: #64748b;
  font-size: .78rem;
  font-weight: 750;
}

html.syncone-css-reportes .rep-date-preset {
  padding: 6px 10px;
  border: 1px solid #dbe5f2;
  border-radius: 999px;
  background: #fff;
  color: #3f4d63;
  font-size: .75rem;
  font-weight: 750;
}

html.syncone-css-reportes .rep-date-preset:hover,
html.syncone-css-reportes .rep-date-preset.active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

html.syncone-css-reportes .rep-period-preview {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #f8fafc;
}

html.syncone-css-reportes .rep-period-preview > i {
  color: #2563eb;
  font-size: 1.05rem;
}

html.syncone-css-reportes .rep-period-preview span,
html.syncone-css-reportes .rep-period-preview strong {
  display: block;
}

html.syncone-css-reportes .rep-period-preview span {
  color: #7b8799;
  font-size: .68rem;
  text-transform: uppercase;
}

html.syncone-css-reportes .rep-period-preview strong {
  color: #273449;
  font-size: .82rem;
}

html.syncone-css-reportes .rep-filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #edf1f6;
}

html.syncone-css-reportes .rep-filter-actions .btn {
  min-height: 42px;
  padding: 9px 14px;
}

html.syncone-css-reportes .rep-active-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
}

html.syncone-css-reportes .rep-active-filters-label,
html.syncone-css-reportes .rep-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 750;
}

html.syncone-css-reportes .rep-active-filters-label {
  gap: 5px;
  background: #eaf8ef;
  color: #15803d;
}

html.syncone-css-reportes .rep-filter-chip {
  border: 1px solid #dce6f3;
  background: #f8fbff;
  color: #475569;
}

html.syncone-css-reportes .rep-results-head {
  margin-bottom: 16px;
}

html.syncone-css-reportes .rep-results-window {
  padding: 9px 12px;
  border-radius: 11px;
  background: #f1f6ff;
  color: #486079;
  font-size: .8rem;
}

html.syncone-css-reportes .rep-results-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

html.syncone-css-reportes .rep-summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e5ebf3;
  border-radius: 13px;
  background: #fbfdff;
}

html.syncone-css-reportes .rep-summary-item > i {
  color: #2563eb;
  font-size: 1rem;
}

html.syncone-css-reportes .rep-summary-item span,
html.syncone-css-reportes .rep-summary-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.syncone-css-reportes .rep-summary-item span {
  color: #7b8799;
  font-size: .68rem;
  text-transform: uppercase;
}

html.syncone-css-reportes .rep-summary-item strong {
  color: #1e293b;
  font-size: .82rem;
}

html.syncone-css-reportes .rep-table-shell {
  max-height: 620px;
  border: 1px solid #e5eaf2;
  border-radius: 14px;
}

html.syncone-css-reportes .rep-table {
  min-width: 880px;
}

html.syncone-css-reportes .rep-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 13px;
  background: #f2f6fb;
  color: #334155;
  letter-spacing: .02em;
}

html.syncone-css-reportes .rep-table tbody td {
  padding: 12px 13px;
}

html.syncone-css-reportes .rep-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

html.syncone-css-reportes .rep-status {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
}

html.syncone-css-reportes .rep-status-success { border-color: #bce8ca; background: #eaf8ef; color: #15803d; }
html.syncone-css-reportes .rep-status-warning { border-color: #f3d39a; background: #fff7e8; color: #a15c05; }
html.syncone-css-reportes .rep-status-danger { border-color: #f4b8b8; background: #fff0f0; color: #c62828; }
html.syncone-css-reportes .rep-status-neutral { border-color: #dce3ec; background: #f3f5f8; color: #64748b; }

html.syncone-css-reportes .rep-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 28px;
  color: #64748b;
  text-align: center;
}

html.syncone-css-reportes .rep-empty-state > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #edf4ff;
  color: #2563eb;
  font-size: 1.4rem;
}

html.syncone-css-reportes .rep-empty-state strong {
  margin-bottom: 5px;
  color: #253147;
}

html.syncone-css-reportes .rep-empty-state p {
  max-width: 430px;
  margin-bottom: 13px;
  font-size: .82rem;
}

html.syncone-css-reportes .rep-hint {
  border-color: #d9e6f7;
  background: #f5f9ff;
}

@media (max-width: 991.98px) {
  html.syncone-css-reportes .rep-results-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  html.syncone-css-reportes .header-pro .d-flex.gap-2:last-child,
  html.syncone-css-reportes .header-pro .btn {
    width: 100%;
  }

  html.syncone-css-reportes .rep-report-option {
    flex-basis: 240px;
  }

  html.syncone-css-reportes .rep-mini-card {
    min-height: 116px;
  }

  html.syncone-css-reportes .rep-filter-actions {
    align-items: stretch;
    flex-direction: column;
  }

  html.syncone-css-reportes .rep-filter-actions > div,
  html.syncone-css-reportes .rep-filter-actions .btn {
    width: 100%;
  }

  html.syncone-css-reportes .rep-results-summary {
    grid-template-columns: 1fr;
  }

  html.syncone-css-reportes .rep-summary-item strong {
    white-space: normal;
  }
}

/* ========================================================================== 
   Clientes: tipografia uniforme basada en Contabilidad
   ========================================================================== */
html.syncone-css-clientes-module,
html.syncone-css-clientes-module body,
html.syncone-css-clientes-module button,
html.syncone-css-clientes-module input,
html.syncone-css-clientes-module select,
html.syncone-css-clientes-module textarea,
html.syncone-css-clientes-module table,
html.syncone-css-clientes-module .btn,
html.syncone-css-clientes-module .form-control,
html.syncone-css-clientes-module .form-select,
html.syncone-css-clientes-module .modal,
html.syncone-css-clientes-module .modal-content {
  font-family: var(--syncone-font-family) !important;
}

html.syncone-css-clientes-module body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
}

html.syncone-css-clientes-module h1,
html.syncone-css-clientes-module h2,
html.syncone-css-clientes-module h3,
html.syncone-css-clientes-module h4,
html.syncone-css-clientes-module h5,
html.syncone-css-clientes-module h6,
html.syncone-css-clientes-module .panel-title,
html.syncone-css-clientes-module .cc-title,
html.syncone-css-clientes-module .sx-title,
html.syncone-css-clientes-module .sx-card-title,
html.syncone-css-clientes-module .adx-hero-title,
html.syncone-css-clientes-module .adx-card-title,
html.syncone-css-clientes-module .adx-empty-title,
html.syncone-css-clientes-module .vcx-name,
html.syncone-css-clientes-module .vcx-card-title,
html.syncone-css-clientes-module .vcx-card-title-sm,
html.syncone-css-clientes-module .doc-header h1,
html.syncone-css-clientes-module .doc-title {
  font-weight: 700 !important;
}

html.syncone-css-clientes-module h1,
html.syncone-css-clientes-module h2,
html.syncone-css-clientes-module h3,
html.syncone-css-clientes-module h4,
html.syncone-css-clientes-module h5,
html.syncone-css-clientes-module h6,
html.syncone-css-clientes-module .panel-title,
html.syncone-css-clientes-module .cc-title,
html.syncone-css-clientes-module .sx-title,
html.syncone-css-clientes-module .sx-card-title,
html.syncone-css-clientes-module .adx-hero-title,
html.syncone-css-clientes-module .adx-card-title,
html.syncone-css-clientes-module .adx-empty-title,
html.syncone-css-clientes-module .vcx-name,
html.syncone-css-clientes-module .vcx-card-title,
html.syncone-css-clientes-module .vcx-card-title-sm {
  letter-spacing: -.018em !important;
}

html.syncone-css-clientes-module label,
html.syncone-css-clientes-module .form-label,
html.syncone-css-clientes-module .adx-label,
html.syncone-css-clientes-module .vcx-label,
html.syncone-css-clientes-module .field .lbl {
  font-weight: 600 !important;
}

html.syncone-css-clientes-module .form-control,
html.syncone-css-clientes-module .form-select,
html.syncone-css-clientes-module textarea,
html.syncone-css-clientes-module input:not([type="button"]):not([type="submit"]):not([type="reset"]) {
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

html.syncone-css-clientes-module .btn,
html.syncone-css-clientes-module button,
html.syncone-css-clientes-module .btn-sx,
html.syncone-css-clientes-module .btn-action,
html.syncone-css-clientes-module .adx-btn-main,
html.syncone-css-clientes-module .adx-btn-soft,
html.syncone-css-clientes-module .vcx-action,
html.syncone-css-clientes-module .page-link {
  font-weight: 600 !important;
}

html.syncone-css-clientes-module .badge,
html.syncone-css-clientes-module .badge-soft,
html.syncone-css-clientes-module .cc-chip,
html.syncone-css-clientes-module .adx-pill,
html.syncone-css-clientes-module .adx-chip,
html.syncone-css-clientes-module .vcx-chip,
html.syncone-css-clientes-module .vcx-badge,
html.syncone-css-clientes-module .chip-code,
html.syncone-css-clientes-module .sx-badge-filter,
html.syncone-css-clientes-module .sx-badge-secure {
  font-weight: 600 !important;
}

html.syncone-css-clientes-module .table thead th,
html.syncone-css-clientes-module .adx-table thead th,
html.syncone-css-clientes-module .vcx-table thead th,
html.syncone-css-clientes-module .name-strong,
html.syncone-css-clientes-module .brand,
html.syncone-css-clientes-module .footer-soluditec .brand {
  font-weight: 700 !important;
}

html.syncone-css-clientes-module .subtxt,
html.syncone-css-clientes-module .cc-subtitle,
html.syncone-css-clientes-module .sx-card-sub,
html.syncone-css-clientes-module .adx-card-sub,
html.syncone-css-clientes-module .adx-hero-meta,
html.syncone-css-clientes-module .adx-hint,
html.syncone-css-clientes-module .adx-help,
html.syncone-css-clientes-module .adx-empty-sub,
html.syncone-css-clientes-module .vcx-meta,
html.syncone-css-clientes-module .vcx-card-sub,
html.syncone-css-clientes-module .vcx-hint {
  font-weight: 400 !important;
  letter-spacing: normal !important;
}

/* Footer global con el mismo acabado visual de los encabezados. */
.sx-footer {
  color: #f8fafc;
  padding-bottom: 24px;
}

.sx-footer .sx-footer-inner {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  margin-top: 0;
  border: 0;
  border-radius: var(--sx-radius-lg, 18px);
  background: linear-gradient(120deg, var(--sx-primary, #2563eb) 0%, var(--sx-primary-dark, #173f8f) 72%, #312e81 100%);
  box-shadow: var(--sx-shadow-brand, 0 14px 32px rgba(37, 99, 235, .20));
  padding: 20px 22px;
  align-items: center;
  gap: 20px;
  backdrop-filter: none;
}

.sx-footer .sx-footer-inner::before {
  content: none;
}

.sx-footer .sx-footer-inner::after {
  content: none;
}

.sx-footer .sx-footer-left,
.sx-footer .sx-footer-right {
  position: relative;
  z-index: 1;
}

.sx-footer .sx-footer-left {
  min-width: 220px;
}

.sx-footer .sx-footer-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 13px;
  background: rgba(255, 255, 255, .18);
  box-shadow: none;
  color: #fff;
}

.sx-footer .sx-footer-mark i {
  font-size: 1.05rem;
}

.sx-footer .sx-footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.25;
}

.sx-footer .sx-footer-meta {
  margin-top: 3px;
  gap: 7px;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  font-weight: 400;
}

.sx-footer .sx-dot {
  color: rgba(255, 255, 255, .62);
  opacity: 1;
}

.sx-footer .sx-footer-right {
  flex-direction: row;
  align-items: center;
  gap: 0;
  text-align: left;
}

.sx-footer .sx-badge {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
}

.sx-footer .sx-badge i {
  color: #fff;
  font-size: .95rem;
}

@media (max-width: 768px) {
  .sx-footer {
    padding-bottom: 16px;
  }

  .sx-footer .sx-footer-inner {
    min-height: auto;
    padding: 18px;
    align-items: flex-start;
  }

  .sx-footer .sx-footer-right {
    width: 100%;
    align-items: flex-start;
  }

  .sx-footer .sx-footer-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .sx-footer .sx-footer-inner {
    border-radius: 16px;
    gap: 15px;
  }

  .sx-footer .sx-footer-left,
  .sx-footer .sx-footer-badges {
    width: 100%;
    min-width: 0;
  }
}

/* Roles y permisos */
.rbac-page {
  background: #f4f7fb;
}

.rbac-page .rbac-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.rbac-page .form-control,
.rbac-page .form-select,
.rbac-page .btn {
  border-radius: 11px;
}

.rbac-role-list .list-group-item {
  padding: 15px 17px;
  border-color: #edf1f7;
  color: #26364d;
}

.rbac-role-list .list-group-item.active {
  border-color: #245edb;
  background: #245edb;
  color: #fff;
}

.rbac-permission-group + .rbac-permission-group {
  margin-top: 22px;
}

.rbac-permission-group-title {
  margin-bottom: 10px;
  color: #18263b;
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .01em;
}

.rbac-permission-option {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #dfe6ef;
  border-radius: 12px;
  background: #fff;
  color: #24344c;
  cursor: pointer;
}

.rbac-permission-option:hover {
  border-color: #9db7ef;
  background: #f8faff;
}

.rbac-permission-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #245edb;
}

.rbac-user-permission-table td {
  padding: 11px 8px;
  border-color: #edf1f6;
}

.rbac-permission-select-cell {
  width: 250px;
}

@media (max-width: 575.98px) {
  .rbac-permission-select-cell {
    width: 180px;
  }
}
