#centroArchivosPage.fc-route-page{display:none!important}
#centroArchivosPage.fc-route-page.is-active{display:block!important}
#centroArchivosPage{padding-bottom:30px}.fc-headline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:10px}.fc-headline h2{margin:0;color:#0b2b57}.fc-headline p{margin:3px 0 0;color:#60758d}.fc-headline .eyebrow{margin-bottom:3px}
.fc-upload-compact{position:relative;display:flex;align-items:center;gap:7px;padding:7px 9px;background:#fff;border:1px solid #d8e5f2;border-radius:11px;box-shadow:0 4px 14px rgba(15,52,91,.04)}.fc-upload-compact.is-drag{border-color:#176fe5;background:#f2f8ff}.fc-upload-compact input{display:none}.fc-upload-compact span{font-size:10px;color:#72869b;min-width:72px}.fc-upload-compact button{height:34px;padding:0 13px;white-space:nowrap}.fc-progress{position:absolute;left:9px;right:9px;bottom:2px;height:3px;border-radius:99px;background:#e4edf7;overflow:hidden}.fc-progress i{display:block;height:100%;width:0;background:#1474e8;transition:width .2s}
.fc-filter-card{padding:10px 12px!important}.fc-filters{display:grid;grid-template-columns:120px 120px .8fr 1.15fr 1fr 150px auto auto;gap:8px;align-items:end}.fc-filters label{display:flex;flex-direction:column;gap:3px;color:#526b84;font-size:9px;font-weight:800;text-transform:uppercase}.fc-filters input,.fc-filters select{height:34px;border:1px solid #c9d9e9;border-radius:8px;padding:0 9px;background:#fff;color:#17365f;font-size:11px}.fc-filters .fc-check{height:34px;flex-direction:row;align-items:center;gap:6px;text-transform:none;font-size:11px;white-space:nowrap}.fc-filters .fc-check input{width:15px;height:15px}.fc-filters button{height:34px}
.fc-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:10px 0}.fc-stats article{background:#fff;border:1px solid #dce7f3;border-radius:11px;padding:9px 12px;box-shadow:0 4px 14px rgba(15,52,91,.03)}.fc-stats small{display:block;color:#6b7e94;font-weight:800;text-transform:uppercase;font-size:8px}.fc-stats b{display:block;color:#0b2b57;font-size:19px;margin-top:1px}.fc-stats .warn b{color:#a36500}.fc-stats .danger b{color:#b3261e}.fc-stats .muted b{color:#68798c}
.fc-main-card{padding:0!important;overflow:hidden}.fc-table-title{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;border-bottom:1px solid #e2eaf2}.fc-table-title h3{margin:0;color:#12365f;font-size:14px}.fc-table-title p{margin:2px 0 0;color:#71849a;font-size:10px}.fc-table-title>span{font-size:10px;font-weight:800;color:#647b92}.fc-table-wrap{overflow:auto;max-height:calc(100vh - 335px);background:#fff}.fc-table{width:100%;border-collapse:collapse;min-width:1320px}.fc-table th{position:sticky;top:0;z-index:2;background:#f4f8fc;color:#4b6580;font-size:8px;text-transform:uppercase;text-align:left;padding:8px 9px;border-bottom:1px solid #dce7f3;white-space:nowrap}.fc-table td{padding:7px 9px;border-bottom:1px solid #edf2f7;color:#244767;font-size:10px;vertical-align:middle}.fc-data-row{cursor:pointer}.fc-data-row:hover td{background:#f8fbff}.fc-group-row td{padding:7px 9px;background:#eaf3fd;border-top:2px solid #bad3ee;border-bottom:1px solid #cfdfef}.fc-group-row div{display:flex;align-items:center;justify-content:space-between;color:#123d6b}.fc-group-row span{font-size:9px;color:#607b96;font-weight:700}.fc-doc-cell{text-align:center}.fc-doc{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:7px;font-weight:900;font-size:12px;border:0}.fc-doc.ok{background:#e7f7ee;color:#087b39}.fc-doc.missing{background:#f3f5f8;color:#9aa7b5;border:1px dashed #c9d2dc}.fc-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:900;white-space:nowrap}.fc-badge.ok{background:#e9f8ef;color:#087b39}.fc-badge.warn{background:#fff5de;color:#a36500}.fc-badge.danger{background:#fdebea;color:#b3261e}.fc-missing-text{max-width:210px;color:#7b684a!important;line-height:1.3}.fc-empty{padding:42px;text-align:center;color:#71849a;display:flex;flex-direction:column;gap:5px}.fc-empty b{color:#2d4d6d}.fc-empty small{color:#a05454}
.fc-drawer-backdrop{position:fixed;inset:0;background:rgba(11,43,87,.18);z-index:9996}.fc-drawer{position:fixed;top:0;right:0;width:min(430px,94vw);height:100vh;background:#fff;z-index:9997;box-shadow:-12px 0 34px rgba(12,45,82,.18);padding:18px;overflow:auto}.fc-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:13px;border-bottom:1px solid #e4ebf3}.fc-drawer-head small{color:#6e8196;text-transform:uppercase;font-weight:800;font-size:9px}.fc-drawer-head h3{margin:3px 0 0;color:#12365f}.fc-drawer-head button{border:0;background:#edf3f9;width:31px;height:31px;border-radius:9px;font-size:20px;color:#42627f}.fc-drawer-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.fc-drawer-meta span{padding:10px;background:#f5f8fc;border-radius:9px}.fc-drawer-meta small{display:block;color:#74879a;font-size:8px;text-transform:uppercase}.fc-drawer-meta b{display:block;color:#173b63;margin-top:2px}.fc-doc-list{display:grid;gap:7px}.fc-doc-list article{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;border-radius:9px;border:1px solid #dfe8f1}.fc-doc-list article.ok{background:#f4fbf7}.fc-doc-list article.missing{background:#fafbfc}.fc-doc-list small{display:block;color:#718398;font-size:9px;margin-top:2px}.fc-doc-list span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;font-weight:900}.fc-doc-list .ok span{background:#e4f6ec;color:#087b39}.fc-doc-list .missing span{background:#eef1f5;color:#9aa7b5}.fc-drawer-status{margin-top:14px;padding:12px;border-top:1px solid #e5ecf3}.fc-drawer-status p{color:#667d93;font-size:11px;line-height:1.45}.hidden{display:none!important}
@media(max-width:1200px){.fc-filters{grid-template-columns:repeat(4,1fr)}.fc-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.fc-headline{flex-direction:column;align-items:stretch}.fc-upload-compact{justify-content:flex-start;flex-wrap:wrap}.fc-filters{grid-template-columns:1fr 1fr}.fc-stats{grid-template-columns:repeat(2,1fr)}.fc-table-wrap{max-height:none}}
.fc-table-wrap{max-height:64vh;overflow:auto;contain:layout paint}
.fc-table{table-layout:fixed}
.fc-load-more td{text-align:center;padding:14px;color:#667b93;background:#f8fbff;font-weight:700}


/* v1.37.6: encabezado compacto y paginacion */
.fc-headline-compact{min-height:54px;align-items:center;margin-bottom:10px}
.fc-page-description{margin:0;color:#64748b;font-size:14px}
.fc-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-top:1px solid #dbe5f1;background:#fff}
.fc-pagination label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;color:#475569}
.fc-pagination select{height:34px;border:1px solid #bfd0e6;border-radius:9px;padding:0 28px 0 10px;background:#fff;color:#0f2e58}
.fc-page-buttons{display:flex;align-items:center;gap:10px}
.fc-page-buttons button{min-width:92px}
.fc-page-buttons button:disabled{opacity:.45;cursor:not-allowed}
#fcPageInfo,#fcPageNumber{font-size:12px;font-weight:700;color:#52657d}
@media(max-width:900px){.fc-pagination{flex-wrap:wrap}.fc-page-buttons{width:100%;justify-content:space-between}}

/* v1.38.9: estado de validacion de e.firma del M final */
.fc-doc.pending{background:#fff4d6;color:#a86600;border:1px solid #f0cf82}
.fc-doc.danger{background:#fde9e8;color:#b42318;border:1px solid #f2b8b5}
.fc-doc-list article.pending{background:#fffaf0;border-color:#f0d59b}
.fc-doc-list article.pending span{background:#fff0c7;color:#a86600}
.fc-doc-list article.danger{background:#fff5f4;border-color:#efc3c0}
.fc-doc-list article.danger span{background:#fde6e4;color:#b42318}

.fc-group-row .fc-group-main{
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:flex-start;
  min-height:22px;
  white-space:nowrap;
}
.fc-group-row .fc-group-main>b{
  flex:0 0 auto;
}
.fc-manifest-docs{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-left:10px;
}
.fc-manifest-status{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:9px;
  font-weight:800;
  color:#244767;
}
.fc-manifest-status b{
  font-size:9px;
}
.fc-manifest-sep{
  color:#9ab0c7;
  font-weight:700;
}
.fc-status-dot{
  display:inline-block;
  width:10px;
  height:10px;
  min-width:10px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.08);
  cursor:default;
}
.fc-status-dot.green{
  background:#17a765;
  box-shadow:0 0 0 2px rgba(23,167,101,.12);
}
.fc-status-dot.red{
  background:#d94141;
  box-shadow:0 0 0 2px rgba(217,65,65,.10);
}
.fc-status-dot.yellow{
  background:#e6a900;
  box-shadow:0 0 0 2px rgba(230,169,0,.14);
  cursor:pointer;
}
.fc-status-dot.green[data-balanza="1"]{
  cursor:pointer;
}

.fc-group-count{
  margin-left:auto;
  white-space:nowrap;
}


/* Llevar solamente el contador de pedimentos al extremo derecho */
.fc-group-row td > div{
  display:flex !important;
  align-items:center !important;
  width:100% !important;
}

.fc-group-count{
  margin-left:auto !important;
  white-space:nowrap !important;
}


/* Contador de pedimentos al extremo derecho de la linea del manifiesto */
.fc-group-row .fc-group-main > span:last-child{
    margin-left:auto !important;
    flex:0 0 auto !important;
}

.fc-group-row .fc-group-main > span:last-child .fc-group-count{
    margin-left:0 !important;
    white-space:nowrap !important;
}

/* Botones compactos Centro de archivos */
.fc-icon-action{
  width:42px !important;
  min-width:42px !important;
  height:34px !important;
  padding:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:20px !important;
  font-weight:800 !important;
  line-height:1 !important;
  cursor:pointer !important;
}


/* Centro de archivos: todos los filtros y acciones en una sola linea */
.fc-filters{
  display:grid !important;
  grid-template-columns:
    120px
    120px
    minmax(150px,.85fr)
    minmax(190px,.95fr)
    minmax(150px,.75fr)
    150px
    max-content
    42px
    42px !important;
  gap:8px !important;
  align-items:end !important;
}

/* Manifiesto y Pedimento mas compactos */
#fcMasterSearch,
#fcPedSearch{
  width:100% !important;
  min-width:0 !important;
}

/* Los dos iconos quedan juntos en la misma linea */
#fcValidateAll,
#fcReload{
  width:42px !important;
  min-width:42px !important;
  height:34px !important;
  margin:0 !important;
  align-self:end !important;
}

/* Evitar que Solo pendientes abra espacio innecesario */
.fc-filters .fc-check{
  width:max-content !important;
  margin:0 !important;
  align-self:end !important;
}



/* YOLKA_FC_FILTERS_ONE_ROW_R9B2 */
@media (min-width:1100px){

  .fc-filters{
    display:grid !important;
    grid-template-columns:145px 145px minmax(180px,1fr) 165px 130px 165px auto 50px 50px 50px !important;
    grid-template-rows:auto !important;
    grid-auto-flow:column !important;
    grid-auto-columns:50px !important;
    gap:8px !important;
    align-items:end !important;
    width:100% !important;
    flex-wrap:nowrap !important;
  }

  .fc-filters > label{
    min-width:0 !important;
    max-width:none !important;
    width:auto !important;
  }

  .fc-filters input,
  .fc-filters select{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  .fc-filters .fc-check{
    width:auto !important;
    min-width:max-content !important;
    white-space:nowrap !important;
  }

  .fc-filters > button{
    width:50px !important;
    min-width:50px !important;
    max-width:50px !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
    align-self:end !important;
  }

  .fc-filter-card{
    overflow-x:auto !important;
  }

}

/* YOLKA_FC_KPI_CENTER_REAL_R10I2 */

#centroArchivosPage .fc-stats > *{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

#centroArchivosPage .fc-stats > * > *{
    width:100% !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

#centroArchivosPage .fc-stats article,
#centroArchivosPage .fc-stats .fc-stat-card{
    text-align:center !important;
    align-items:center !important;
    justify-content:center !important;
}

#centroArchivosPage .fc-stats article b,
#centroArchivosPage .fc-stats article strong,
#centroArchivosPage .fc-stats .fc-stat-card b,
#centroArchivosPage .fc-stats .fc-stat-card strong{
    display:block !important;
    width:100% !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
