/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/* ==========================================================================
   SYNKRO DESIGN SYSTEM: CONTROL DE PERSONAL EN PROYECTOS Y SUBCONTRATAS
   ========================================================================== */

:root {
  --synkro-primary: #0284c7;
  --synkro-primary-dark: #0369a1;
  --synkro-accent: #f59e0b;
  --synkro-accent-hover: #d97706;
  --synkro-dark-bg: #070e1b;
  --synkro-navy: #0f1d36;
  --synkro-navy-light: #182848;
  --synkro-border: rgba(255, 255, 255, 0.12);
  --synkro-card-bg: rgba(255, 255, 255, 0.98);
}

body.synkro-body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--synkro-dark-bg);
  background: radial-gradient(circle at 10% 20%, #0d213f 0%, #070e1b 60%),
    radial-gradient(circle at 90% 85%, #132742 0%, #070e1b 50%);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: relative;
  overflow-x: hidden;
  color: #1e293b;
}

/* Blueprint & Project Mesh Background */
.synkro-ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(2, 132, 199, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.10) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Glowing Orbs */
.synkro-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.synkro-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.35) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.synkro-orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
  bottom: -120px;
  right: -100px;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 30px) scale(1.1);
  }
}

/* Main Container (Login) */
.synkro-main-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  padding: 24px 20px;
  margin: auto;
}

.synkro-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 991px) {
  .synkro-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 480px;
    margin: 0 auto;
  }

  .synkro-showcase-panel {
    display: none;
  }
}

/* Left Showcase Panel (Project & Personnel Identity) */
.synkro-showcase-panel {
  color: #ffffff;
  padding: 16px 20px 16px 10px;
}

.synkro-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.18);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.synkro-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  position: relative;
}

.synkro-pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  background-color: inherit;
  animation: pulseWave 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes pulseWave {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.synkro-hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 70%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.synkro-hero-title .highlight-orange {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.synkro-hero-subtitle {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 500px;
}

/* Interactive Architecture Graphic */
.synkro-diagram-container {
  background: rgba(15, 29, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.synkro-diagram-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0284c7, #f59e0b, transparent);
}

.diagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.diagram-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.diagram-badge {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

/* Pillars list */
.synkro-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.synkro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.synkro-feature-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(2, 132, 199, 0.4);
  transform: translateX(4px);
}

.synkro-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.icon-blue {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.icon-amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-text h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 2px 0;
}

.feature-text p {
  font-size: 0.77rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}

/* Right Authentication Card */
.synkro-card-container {
  width: 100%;
}

.synkro-auth-card {
  background: var(--synkro-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  padding: 38px 32px;
  position: relative;
  overflow: hidden;
  animation: cardEntrance 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Brand Top Header */
.card-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.synkro-logo-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #075985 0%, #0369a1 50%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.38);
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.synkro-logo-icon:hover {
  transform: rotate(3deg) scale(1.05);
}

.card-brand-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #0f172a;
  margin: 0;
  line-height: 1.1;
}

.card-brand-text h2 span {
  color: #0284c7;
}

.card-brand-text p {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #64748b;
  margin: 3px 0 0 0;
}

/* Form Controls */
.form-heading {
  margin-bottom: 22px;
}

.form-heading h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.form-heading p {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

.field-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.custom-input-group {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  transition: all 0.2s ease;
  overflow: hidden;
  margin-bottom: 18px;
}

.custom-input-group:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.input-group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #94a3b8;
  font-size: 1.25rem;
  background: #f8fafc;
  border-right: 1.5px solid #f1f5f9;
}

.custom-input-group:focus-within .input-group-icon {
  color: #0284c7;
  background: #f0f9ff;
}

.custom-form-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #0f172a;
  font-family: inherit;
  background: transparent;
}

.custom-form-input::placeholder {
  color: #94a3b8;
}

.password-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #64748b;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.password-toggle:hover {
  color: #0284c7;
}

/* Error Alert */
.synkro-alert-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.84rem;
  margin-bottom: 20px;
  animation: shakeAlert 0.4s ease;
}

@keyframes shakeAlert {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.synkro-alert-error i {
  font-size: 1.35rem;
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Submit Button */
.btn-synkro-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 13px 20px;
  cursor: pointer;
  box-shadow: 0 10px 22px -4px rgba(2, 132, 199, 0.45);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-synkro-submit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(2, 132, 199, 0.55);
}

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

.btn-synkro-submit:disabled {
  background: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Security Badges & Footer */
.security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  margin-bottom: 22px;
  font-size: 0.8rem;
}

.remember-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.remember-checkbox input {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #0284c7;
}

.ssl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #059669;
  font-weight: 600;
  font-size: 0.75rem;
}

.card-footer-info {
  border-top: 1px solid #f1f5f9;
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
}

.card-footer-info p {
  font-size: 0.74rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.card-footer-info b {
  color: #64748b;
}

/* Responsive Mobile Header for small screens */
.synkro-mobile-header {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .synkro-mobile-header {
    display: block;
  }

  .synkro-auth-card {
    padding: 28px 22px;
  }
}

/* ==========================================================================
   SYNKRO - SELECCIÓN DE SISTEMAS (MÓDULOS DE PROYECTOS Y SUBCONTRATAS)
   ========================================================================== */

/* Navbar Superior SYNKRO */
.synkro-top-navbar {
  background: rgba(11, 22, 44, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
}

.synkro-nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.synkro-nav-brand-text h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
}

.synkro-nav-brand-text h2 span {
  color: #38bdf8;
}

.synkro-nav-brand-text p {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #f59e0b;
  margin: 2px 0 0 0;
}

.synkro-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.synkro-user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 4px 14px 4px 6px;
  color: #ffffff !important;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none !important;
}

.synkro-user-btn:hover {
  background: rgba(2, 132, 199, 0.25);
  border-color: rgba(2, 132, 199, 0.5);
}

.synkro-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Contenedor Principal de Sistemas */
.synkro-select-container {
  min-height: calc(100vh - 125px);
  padding: 36px 20px 48px 20px;
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
}

/* Hero de Selección */
.synkro-select-hero {
  margin-bottom: 34px;
}

.synkro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border-radius: 999px;
  background: rgba(2, 132, 199, 0.16);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.synkro-select-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.synkro-select-title .highlight-orange {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.synkro-select-subtitle {
  font-size: 0.96rem;
  color: #94a3b8;
  max-width: 720px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Metadatos del Usuario */
.synkro-user-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.synkro-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 29, 54, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.synkro-meta-chip i {
  color: #38bdf8;
  font-size: 1rem;
}

.synkro-meta-chip.chip-badge {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-weight: 600;
}

.synkro-meta-chip.chip-badge i {
  color: #34d399;
}

/* Grilla de Sistemas */
.synkro-systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

@media (max-width: 767px) {
  .synkro-systems-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Tarjeta de Sistema Individual */
.synkro-system-card {
  background: rgba(15, 29, 54, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
}

.synkro-system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-accent, #0284c7), transparent);
  transition: opacity 0.3s ease;
  opacity: 0.8;
}

.synkro-system-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, #0284c7);
  box-shadow: 0 24px 45px -12px rgba(0, 0, 0, 0.65), 0 0 25px rgba(2, 132, 199, 0.25);
}

.synkro-system-card:hover::before {
  opacity: 1;
  height: 4px;
}

/* Portada Visual de la Tarjeta */
.synkro-card-cover {
  position: relative;
  height: 135px;
  background-color: #0d1b30;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.synkro-card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 27, 0.2) 0%, rgba(15, 29, 54, 0.95) 100%);
}

.synkro-card-icon-pill {
  position: absolute;
  bottom: 12px;
  left: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--card-icon-bg, rgba(2, 132, 199, 0.25));
  border: 1.5px solid var(--card-accent, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.synkro-card-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  background: rgba(7, 14, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Cuerpo de la Tarjeta */
.synkro-card-body {
  padding: 16px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.synkro-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.synkro-system-card:hover .synkro-card-title {
  color: #38bdf8;
}

.synkro-card-note {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0 0 18px 0;
  line-height: 1.45;
  flex: 1;
}

/* Botón de Acción dentro de la Tarjeta */
.synkro-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 16px;
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.synkro-system-card:hover .synkro-card-action {
  background: var(--card-accent, #0284c7);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.synkro-card-action i {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.synkro-system-card:hover .synkro-card-action i {
  transform: translateX(4px);
}

/* Estado Vacío (Sin Sistemas Asignados) */
.synkro-empty-state-card {
  background: rgba(15, 29, 54, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 24px;
  text-align: center;
  max-width: 580px;
  margin: 30px auto;
  backdrop-filter: blur(16px);
}

.synkro-empty-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 20px auto;
}

.synkro-empty-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.synkro-empty-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 24px;
}

/* Footer SYNKRO */
.synkro-system-footer {
  background: rgba(7, 14, 27, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.78rem;
  position: relative;
  z-index: 2;
}

.synkro-system-footer b {
  color: #94a3b8;
}

/* ==========================================================================
   SYNKRO - MAIN LAYOUT & SIDEBAR NAVIGATION STYLES
   ========================================================================== */

/* Barra de Navegación Principal (layout.php) */
.synkro-main-navbar {
  background: rgba(11, 22, 44, 0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 8px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.synkro-nav-btn-toggle {
  color: #94a3b8 !important;
  font-size: 1.35rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.synkro-nav-btn-toggle:hover {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.06);
}

.synkro-active-system-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.synkro-switch-system-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24 !important;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.synkro-switch-system-btn:hover {
  background: #f59e0b;
  color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

/* Barra Lateral (Sidebar) SYNKRO */
.synkro-main-sidebar {
  background: linear-gradient(180deg, #070e1b 0%, #0d1b32 60%, #081220 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.35);
}

.synkro-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none !important;
}

.synkro-sidebar-brand .synkro-brand-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.synkro-sidebar-brand .synkro-brand-text h3 span {
  color: #38bdf8;
}

.synkro-sidebar-brand .synkro-brand-text p {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #f59e0b;
  margin: 2px 0 0 0;
}

/* Tarjeta de Usuario en Sidebar */
.synkro-sidebar-user-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  margin: 14px 10px 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.synkro-sidebar-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #f59e0b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
}

.synkro-sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.synkro-sidebar-user-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.synkro-sidebar-user-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 600;
}

.synkro-sidebar-user-status .pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

/* Tarjeta de Módulo Activo en Sidebar */
.synkro-sidebar-system-card {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 10px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.synkro-system-card-info {
  min-width: 0;
  flex: 1;
}

.synkro-system-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  margin: 0;
}

.synkro-system-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  margin: 1px 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Estilos de los Enlaces del Menú (#loadMenu) */
#loadMenu {
  padding: 0 4px 0 2px !important;
}

#loadMenu .nav-item {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.synkro-menu-btn-switch {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.4px !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
  margin-bottom: 10px !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 10px !important;
}

.synkro-menu-btn-switch:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important;
}

.nav-sidebar .nav-item > .nav-link {
  border-radius: 8px !important;
  padding: 7px 8px 7px 6px !important;
  color: #cbd5e1 !important;
  font-size: 0.84rem !important;
  font-weight: 500 !important;
  margin-bottom: 2px !important;
  transition: all 0.2s ease !important;
}

.nav-sidebar .nav-item > .nav-link:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.nav-sidebar .nav-item.menu-open > .nav-link,
.nav-sidebar .nav-item > .nav-link.active {
  background: rgba(2, 132, 199, 0.18) !important;
  border: 1px solid rgba(2, 132, 199, 0.4) !important;
  color: #38bdf8 !important;
  font-weight: 700 !important;
}

.nav-sidebar .nav-item > .nav-link > .nav-icon,
.nav-sidebar .nav-item > .nav-link > i {
  margin-left: 0 !important;
  margin-right: 6px !important;
  width: 1.25rem !important;
  text-align: center !important;
}

.nav-sidebar .nav-treeview,
.nav-sidebar.nav-child-indent .nav-treeview {
  padding-left: 4px !important;
  margin-left: 5px !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.1) !important;
}

.nav-sidebar .nav-treeview .nav-link {
  border-radius: 6px !important;
  padding: 5px 6px 5px 4px !important;
  font-size: 0.79rem !important;
  color: #94a3b8 !important;
  margin-bottom: 2px !important;
}

.nav-sidebar .nav-treeview .nav-link > .nav-icon,
.nav-sidebar .nav-treeview .nav-link > i {
  margin-left: 0 !important;
  margin-right: 5px !important;
  width: 1.15rem !important;
  text-align: center !important;
}

.nav-sidebar .nav-treeview .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.nav-sidebar .nav-treeview .nav-link.active {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
  border: none !important;
}

/* Área de Contenido Principal */
body.sidebar-mini .content-wrapper {
  background-color: #f8fafc !important;
  min-height: calc(100vh - 110px);
}

.synkro-page-header-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.synkro-page-header-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.synkro-page-header-title i {
  color: #0284c7;
}

.synkro-page-header-breadcrumb {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   SYNKRO - ESTILOS DE GRILLA (jqGrid) Y BOTONERA DE MÓDULOS (_indexGrid.php)
   ========================================================================== */

/* Tarjeta Contenedora Principal del Módulo */
.synkro-module-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 24px;
}

.synkro-module-card .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  /*padding: 16px 22px;*/
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.synkro-module-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.synkro-module-title i {
  color: #0284c7;
  font-size: 1.3rem;
}

.synkro-module-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Toolbar de Botonera de Operaciones */
.synkro-grid-toolbar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 4px 6px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.synkro-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Botones con Estilo Moderno SYNKRO */
.btn-synkro-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-synkro-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-synkro-action:active {
  transform: translateY(0);
}

.btn-synkro-action i {
  font-size: 1.05rem;
}

/* Variantes de Botones */
.btn-synkro-new {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.3) !important;
}

.btn-synkro-new:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important;
}

.btn-synkro-edit {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28) !important;
}

.btn-synkro-edit:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
}

.btn-synkro-view {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.28) !important;
}

.btn-synkro-view:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4) !important;
}

.btn-synkro-delete {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.28) !important;
}

.btn-synkro-delete:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.4) !important;
}

.btn-synkro-cancel {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.28) !important;
}

.btn-synkro-cancel:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4) !important;
}

.btn-synkro-print {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.28) !important;
}

.btn-synkro-print:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4) !important;
}

.btn-synkro-duplicate {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
  box-shadow: 0 3px 10px rgba(139, 92, 246, 0.28) !important;
}

.btn-synkro-duplicate:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4) !important;
}

.btn-synkro-nc {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.28) !important;
}

.btn-synkro-nc:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important;
}

/* Barra de Filtro y Búsqueda */
.synkro-search-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 14px;
}

.synkro-search-box label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.synkro-filter-select {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  font-size: 0.82rem !important;
  color: #1e293b !important;
  background-color: #f8fafc !important;
  outline: none !important;
  height: 36px;
  max-width: 220px;
}

.synkro-filter-select:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.synkro-search-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  height: 36px;
  transition: all 0.2s ease;
}

.synkro-search-input-group:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.synkro-search-icon {
  padding: 0 10px;
  color: #94a3b8;
  font-size: 1.1rem;
}

.synkro-search-input {
  border: none !important;
  outline: none !important;
  font-size: 0.84rem !important;
  color: #0f172a !important;
  width: 100%;
  padding: 6px 10px 6px 0 !important;
  background: transparent !important;
  height: 100%;
}

.btn-synkro-search {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 7px 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 36px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-synkro-search:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   OVERHAUL VISUAL DE LA GRILLA (jqGrid) - SYNKRO ENTERPRISE COMPACT
   ========================================================================== */

.synkro-grid-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow-x: auto !important; /* Permite scroll horizontal solo si la pantalla o columnas lo requieren */
  overflow-y: hidden !important; /* Sin scroll vertical innecesario */
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar sutil y moderno si llega a ser necesario en resoluciones reducidas */
.synkro-grid-wrapper::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

.synkro-grid-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.synkro-grid-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.synkro-grid-wrapper::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Estructura general de jqGrid */
.ui-jqgrid {
  border: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.ui-jqgrid .ui-jqgrid-view {
  border: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.68rem !important;
}

/* Evitar scrolls internos forzados por el motor de jqGrid */
.ui-jqgrid .ui-jqgrid-bdiv {
  overflow-y: hidden !important; /* Elimina scroll vertical interno */
  overflow-x: hidden !important; /* El contenedor synkro-grid-wrapper maneja el desplazamiento horizontal */
}

/* Encabezados de Columnas (Más compacto y letra nítida) */
.ui-jqgrid .ui-jqgrid-hdiv {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom: 2px solid #cbd5e1 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.ui-jqgrid .ui-jqgrid-htable th {
  height: 28px !important;
  padding: 3px 6px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25px !important;
  border-right: 1px solid #e2e8f0 !important;
  border-top: none !important;
  border-bottom: none !important;
  vertical-align: middle !important;
}

.ui-jqgrid .ui-jqgrid-htable th:hover {
  background-color: #e2e8f0 !important;
}

.ui-jqgrid .ui-jqgrid-htable th div {
  overflow: hidden;
  white-space: nowrap;
  line-height: 1.2 !important;
  height: auto !important;
}

/* Filas y Celdas de Datos (Letra más pequeña, altura compacta, sin scroll innecesario) */
.ui-jqgrid tr.jqgrow {
  height: 26px !important;
  transition: background-color 0.15s ease !important;
}

.ui-jqgrid tr.jqgrow td {
  padding: 3px 6px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.68rem !important;
  line-height: 1.25 !important;
  color: #1e293b !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-right: 1px solid #f8fafc !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

/* Columna de numeración de fila */
.ui-jqgrid td.jqgrid-rownum,
.ui-jqgrid th.jqgrid-rownum {
  font-size: 0.63rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  text-align: center !important;
  padding: 2px 4px !important;
  border-right: 1px solid #e2e8f0 !important;
}

.ui-jqgrid tr.jqgrow:nth-child(even) {
  background-color: #fafbfd;
}

.ui-jqgrid tr.jqgrow:hover {
  background-color: #f0f9ff !important;
  color: #0369a1 !important;
}

.ui-jqgrid tr.ui-state-highlight {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  font-weight: 600 !important;
  border-left: 3px solid #0284c7 !important;
}

.ui-jqgrid tr.ui-state-highlight td {
  border-bottom-color: #bae6fd !important;
  color: #0369a1 !important;
}

/* Barra de Paginación Compacta */
.ui-jqgrid .ui-jqgrid-pager {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  height: 32px !important;
  padding: 2px 8px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.ui-jqgrid .ui-pg-table {
  font-size: 0.68rem !important;
  color: #475569 !important;
}

.ui-jqgrid .ui-pg-input {
  height: 22px !important;
  font-size: 0.68rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  text-align: center;
  padding: 1px 4px !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
}

.ui-jqgrid .ui-pg-selbox {
  height: 22px !important;
  font-size: 0.68rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 5px !important;
  padding: 1px 4px !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
}

.ui-jqgrid .ui-pg-button {
  border-radius: 5px !important;
  padding: 2px 4px !important;
  transition: all 0.2s ease !important;
}

.ui-jqgrid .ui-pg-button:hover {
  background: #e2e8f0 !important;
}

.ui-jqgrid .ui-paging-info {
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
}

/* Modales Modernos para _indexGrid */
.synkro-modal-header {
  background: linear-gradient(135deg, #070e1b 0%, #0f1d36 100%) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 16px 22px !important;
  border-radius: 16px 16px 0 0 !important;
}

.synkro-modal-header .modal-title {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
  color: #ffffff !important;
}

.synkro-modal-header .close {
  color: #ffffff !important;
  opacity: 0.8 !important;
  text-shadow: none !important;
  font-size: 1.5rem !important;
  padding: 14px 18px !important;
}

.synkro-modal-header .close:hover {
  opacity: 1 !important;
}