/*!**********************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[5].rules[0].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[5].rules[0].oneOf[0].use[2]!./src/styles.css?ngGlobalStyle ***!
  \**********************************************************************************************************************************************************************************************************************/
/* ============================================================
   CENTINELA — Global Styles
   All reusable classes live here so components can share them.
   ============================================================ */

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  min-height: 100vh;
  color: #ffffff;
}

a { text-decoration: none; color: inherit; }

/* ── CSS Variables ── */
:root {
  --bg-start:        #0f0c29;
  --bg-mid:          #302b63;
  --bg-end:          #24243e;
  --primary:         #6c63ff;
  --primary-light:   rgba(108, 99, 255, 0.15);
  --secondary:       #48c6ef;
  --danger:          #ff6584;
  --danger-light:    rgba(255, 101, 132, 0.1);
  --text:            #ffffff;
  --text-muted:      rgba(255, 255, 255, 0.5);
  --text-faint:      rgba(255, 255, 255, 0.25);
  --border:          rgba(255, 255, 255, 0.10);
  --border-strong:   rgba(255, 255, 255, 0.18);
  --surface:         rgba(255, 255, 255, 0.05);
  --surface-hover:   rgba(255, 255, 255, 0.08);
  --sidebar-width:   260px;
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       18px;
  --radius-xl:       24px;
  --shadow-card:     0 25px 50px rgba(0, 0, 0, 0.45);
  --shadow-btn:      0 4px 20px rgba(108, 99, 255, 0.4);
  --gradient-brand:  linear-gradient(135deg, var(--primary), var(--secondary));
}

/* ============================================================
   APP SHELL  (sidebar + right panel)
   ============================================================ */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* Right panel stacks topbar above the scrollable content */
.right-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ── Content area ── */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.5rem;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.topbar-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

/* User pill */
.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: default;
  transition: background 0.18s;
}

.topbar-user:hover { background: var(--surface-hover); }

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

.user-role {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.35);
  border-right: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  min-height: 100vh;
  position: sticky;
  top: 0;
}

/* Brand / Logo */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(108, 99, 255, 0.45);
}

.sidebar-brand-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.sidebar-brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.nav-section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.75rem 0.75rem 0.35rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.nav-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(108,99,255,0.22), rgba(72,198,239,0.1));
  border-color: rgba(108, 99, 255, 0.35);
  color: var(--text);
}

.nav-item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.18s;
}

.nav-item:hover  .nav-item-icon,
.nav-item.active .nav-item-icon { opacity: 1; }

/* Sidebar footer */
.sidebar-footer {
  padding: 1rem 0.75rem 1.5rem;
  border-top: 1px solid var(--border);
}

.sidebar-footer .nav-item {
  color: var(--danger);
  opacity: 0.8;
}
.sidebar-footer .nav-item:hover {
  background: var(--danger-light);
  color: var(--danger);
  opacity: 1;
}

/* ============================================================
   PAGE LAYOUT  (shared by all module pages)
   ============================================================ */
.page {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 1200px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.page-header-text { display: flex; flex-direction: column; gap: 0.25rem; }

.page-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
}

.page-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── Stat card ── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label  { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-value  { font-size: 2rem; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
.stat-change { font-size: 0.8125rem; color: var(--text-muted); }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-primary { background: var(--primary-light); color: var(--primary); border: 1px solid rgba(108,99,255,0.3); }
.badge-danger  { background: var(--danger-light);  color: var(--danger);  border: 1px solid rgba(255,101,132,0.3); }
.badge-success { background: rgba(67,233,123,0.1); color: #43e97b;        border: 1px solid rgba(67,233,123,0.3); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s, transform 0.15s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover  { opacity: 0.88; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(108,99,255,0.5); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-hover); color: var(--text); }

.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Spinner ── */
.spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ── Utility ── */
.text-muted   { color: var(--text-muted); }
.text-faint   { color: var(--text-faint); }
.text-primary { color: var(--primary); }
.text-danger  { color: var(--danger); }
.text-sm      { font-size: 0.875rem; }
.text-xs      { font-size: 0.75rem; }
.font-semibold{ font-weight: 600; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  position: relative;
  bottom: -1px;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text); }

.tab-btn.active {
  color: var(--text);
  border-bottom-color: var(--primary);
}

.tab-icon {
  width: 15px;
  height: 15px;
  opacity: 0.8;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}

.search-icon {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-icon svg { width: 16px; height: 16px; }

.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 0.75rem 0;
  color: var(--text);
  font-size: 0.875rem;
  font-family: inherit;
}

.search-input::placeholder { color: var(--text-faint); }

.search-count { flex-shrink: 0; }

/* ============================================================
   DATA TABLE
   ============================================================ */
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table thead tr {
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  white-space: nowrap;
}

.data-table td {
  padding: 0.875rem 1.25rem;
  color: var(--text);
  vertical-align: middle;
}

.table-row {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.table-row:last-child { border-bottom: none; }
.table-row:hover { background: var(--surface-hover); }

/* Person cell inside table */
.person-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.person-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.person-name { font-weight: 500; color: var(--text); }
.person-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }

.mono {
  font-family: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.verified-icon {
  display: inline-flex;
  color: #43e97b;
}
.verified-icon svg { width: 18px; height: 18px; }

.btn-detail {
  padding: 0.375rem 0.875rem;
  background: var(--primary-light);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  font-family: inherit;
}

.btn-detail:hover {
  background: rgba(108, 99, 255, 0.25);
  color: #fff;
}

.table-empty {
  padding: 3rem;
  text-align: center;
}

/* ── Score Integral ── */
.score-value {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.score-denom {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.6;
  margin-left: 1px;
}

.score-high { color: #43e97b; }
.score-mid  { color: #f6d365; }
.score-low  { color: var(--danger); }

/* Score block inside detail header */
.detail-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-left: auto;
  flex-shrink: 0;
}

.detail-score-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.detail-score-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.detail-score-denom {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.55;
}

/* ============================================================
   DETAIL VIEW
   ============================================================ */
.detail-header-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.detail-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.4);
}

.detail-identity { display: flex; flex-direction: column; gap: 0.4rem; }

.detail-fullname {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.detail-sub { font-size: 0.875rem; color: var(--text-muted); }

.detail-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Info list inside detail cards */
.info-list { display: flex; flex-direction: column; margin-top: 1rem; }

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 140px;
}

.info-value {
  font-size: 0.875rem;
  color: var(--text);
  text-align: right;
}

/* ============================================================
   LOGIN PAGE  (kept here so classes are globally available)
   ============================================================ */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 50%, var(--bg-end) 100%);
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

/* Animated shapes */
.bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.shape-1 { width: 400px; height: 400px; background: radial-gradient(circle, #6c63ff, transparent 70%); top: -100px;  left: -100px;  animation-delay: 0s; }
.shape-2 { width: 500px; height: 500px; background: radial-gradient(circle, #ff6584, transparent 70%); bottom: -150px; right: -150px; animation-delay: 3s; }
.shape-3 { width: 300px; height: 300px; background: radial-gradient(circle, #43e97b, transparent 70%); top: 50%;      left: 60%;      animation-delay: 5s; }

@keyframes float {
  0%, 100% { transform: translateY(0)     scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

/* Login card */
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.25rem 2rem;
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)     scale(1); }
}

/* Login header */
.login-header { text-align: center; margin-bottom: 2rem; }

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gradient-brand);
  border-radius: 18px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.45);
}

.logo-icon svg { width: 30px; height: 30px; color: #fff; }

.brand-name     { font-size: 1.75rem; font-weight: 700; color: var(--text); letter-spacing: -0.025em; margin: 0 0 0.25rem; }
.brand-subtitle { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* Form */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.input-wrapper { position: relative; display: flex; align-items: center; }

.input-icon {
  position: absolute;
  left: 0.875rem;
  display: flex;
  align-items: center;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}
.input-icon svg { width: 16px; height: 16px; }

.input-wrapper input {
  width: 100%;
  padding: 0.75rem 2.75rem 0.75rem 2.625rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.input-wrapper input::placeholder { color: rgba(255, 255, 255, 0.25); }

.input-wrapper input:focus {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.input-wrapper:focus-within .input-icon { color: rgba(108, 99, 255, 0.9); }

.has-error .input-wrapper input { border-color: var(--danger); }
.has-error .input-wrapper input:focus { box-shadow: 0 0 0 3px rgba(255, 101, 132, 0.2); }

.toggle-password {
  position: absolute;
  right: 0.875rem;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  padding: 0;
  transition: color 0.2s;
}
.toggle-password:hover { color: rgba(255, 255, 255, 0.75); }
.toggle-password svg   { width: 18px; height: 18px; }

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 0.375rem;
  padding-left: 0.25rem;
}

.error-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--danger-light);
  border: 1px solid rgba(255, 101, 132, 0.3);
  color: #ff8fa3;
  font-size: 0.8125rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  animation: fadeIn 0.2s ease;
}
.error-banner svg { width: 16px; height: 16px; flex-shrink: 0; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  background: var(--gradient-brand);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-btn);
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
}
.btn-login:hover:not(:disabled)  { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(108,99,255,0.55); }
.btn-login:active:not(:disabled) { transform: translateY(0); }
.btn-login:disabled               { opacity: 0.5; cursor: not-allowed; }

.login-footer { text-align: center; margin-top: 1.75rem; }
.login-footer p { font-size: 0.75rem; color: var(--text-faint); margin: 0; }

/* ============================================================
   PRINT  (Descargar PDF via window.print)
   ============================================================ */
@media print {
  /* Ocultar chrome de navegación */
  .sidebar,
  .topbar,
  .tabs,
  .search-bar,
  .detail-tabs-nav,
  .detail-header-actions,
  .rg-shortcuts,
  .page-header .badge { display: none !important; }

  /* Fondo blanco, texto oscuro */
  body, .app-shell, .right-panel, .main-content {
    background: #fff !important;
    color: #111 !important;
  }

  .main-content { padding: 0 !important; }

  /* Cards con borde simple */
  .card, .detail-header-card, .rg-layout, .rg-shortcut-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    print-color-adjust: exact;
  }

  /* Colores de score visibles en impresión */
  .score-high, .rg-gauge-number.score-high,
  .rg-bar-score.score-high  { color: #1a7f4b !important; }
  .score-mid,  .rg-gauge-number.score-mid,
  .rg-bar-score.score-mid   { color: #b45309 !important; }
  .score-low,  .rg-gauge-number.score-low,
  .rg-bar-score.score-low   { color: #b91c1c !important; }

  .rg-gauge-arc.score-high  { stroke: #1a7f4b !important; }
  .rg-gauge-arc.score-mid   { stroke: #b45309 !important; }
  .rg-gauge-arc.score-low   { stroke: #b91c1c !important; }

  .rg-bar-fill.score-high { background: #1a7f4b !important; }
  .rg-bar-fill.score-mid  { background: #b45309 !important; }
  .rg-bar-fill.score-low  { background: #b91c1c !important; }

  /* Evitar cortes de página dentro de secciones importantes */
  .detail-header-card,
  .rg-layout { page-break-inside: avoid; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet (≤ 900 px) ───────────────────────────────────── */
@media (max-width: 900px) {
  .main-content     { padding: 1.5rem; }
  .grid-3, .grid-4  { grid-template-columns: repeat(2, 1fr); }

  .detail-header-card { flex-wrap: wrap; }
}

/* ── Mobile (≤ 640 px) ───────────────────────────────────── */
@media (max-width: 640px) {
  /* Shell */
  .sidebar        { display: none; }
  .main-content   { padding: 1rem 0.875rem; }

  /* Topbar */
  .topbar         { padding: 0 1rem; }
  .topbar-date,
  .topbar-divider { display: none; }
  .user-info      { display: none; }

  /* Main tabs */
  .tabs           { overflow-x: auto; }
  .tab-btn        { font-size: 0.8rem; padding: 0.5rem 0.875rem; }

  /* Page header */
  .page-header    { flex-direction: column; align-items: flex-start; }

  /* Table */
  .table-card     { overflow-x: auto; }

  /* Detail header card */
  .detail-header-card {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
  }
  .detail-score-block     { margin-left: 0; }
  .detail-header-card .btn { margin-left: 0 !important; width: 100%; justify-content: center; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .detail-grid               { grid-template-columns: 1fr; }

  /* Info rows */
  .info-label { min-width: 100px; }
  .info-row   { flex-direction: column; gap: 0.25rem; }
  .info-value { text-align: left; }
}

/* ============================================================
   F-* FORM SYSTEM  (catalogo-puestos, registro, and any
   other module that needs dark-theme form controls)
   ============================================================ */
.f-form { display: flex; flex-direction: column; gap: 1.125rem; }

.f-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.f-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.f-required { color: #ff6584; font-size: 0.875rem; line-height: 1; }

.f-input {
  width: 100%;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.5;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.f-input::placeholder { color: rgba(255, 255, 255, 0.25); }

.f-input:hover:not(:focus):not(:disabled) {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.f-input:focus {
  border-color: var(--primary, #6c63ff);
  background: rgba(108, 99, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.18);
}

.f-input:disabled { opacity: 0.45; cursor: not-allowed; }

.f-field--error .f-input { border-color: rgba(255, 101, 132, 0.65); }

.f-field--error .f-input:focus {
  border-color: var(--danger, #ff6584);
  background: rgba(255, 101, 132, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 101, 132, 0.16);
}

.f-textarea { resize: vertical; min-height: 84px; }

.f-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%238b92a9'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.17l3.71-3.94a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
  cursor: pointer;
}

.f-hint { font-size: 0.75rem; color: rgba(255, 255, 255, 0.35); text-align: right; }
.f-hint--error { text-align: left; color: #ff6584; }

.f-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.375rem;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, box-shadow 0.15s, transform 0.1s;
}

.f-btn:active:not(:disabled) { transform: translateY(1px); }

.f-btn--primary {
  background: var(--primary, #6c63ff);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.35);
}

.f-btn--primary:hover:not(:disabled) { background: #7b73ff; box-shadow: 0 4px 20px rgba(108, 99, 255, 0.5); }
.f-btn--primary:disabled { opacity: 0.42; cursor: not-allowed; box-shadow: none; }

.f-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.6);
}

.f-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.f-btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

.f-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}

/* ============================================================
   SWITCH TOGGLE  (enrolamiento, enrolamiento-operador)
   ============================================================ */
.enrol-switches {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.10));
  border-radius: var(--radius-md, 10px);
}

.enrol-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.enrol-switch-label { font-size: 0.875rem; color: var(--text, #e2e8f0); }

.switch-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}

.switch-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }

.switch-slider {
  position: absolute;
  inset: 0;
  background: var(--border, rgba(255, 255, 255, 0.10));
  border-radius: 999px;
  transition: background 0.2s;
}

.switch-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.switch-toggle input:checked + .switch-slider { background: var(--primary, #6c63ff); }
.switch-toggle input:checked + .switch-slider::before { transform: translateX(18px); }
.switch-toggle input:disabled + .switch-slider { opacity: 0.45; cursor: not-allowed; }

/* ============================================================
   ENROLAMIENTO SHARED UI  (both enrolamiento components)
   ============================================================ */
.enrol-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.enrol-error {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(239, 83, 80, 0.1);
  border: 1px solid rgba(239, 83, 80, 0.25);
  border-radius: 8px;
  color: #ef5350;
}

.enrol-error-icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }

.enrol-result-card { margin-top: 1.25rem; }

.enrol-result-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.enrol-result-icon { width: 22px; height: 22px; color: #43e97b; flex-shrink: 0; }

.enrol-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.55rem 1.1rem;
  background: rgba(108, 99, 255, 0.12);
  color: var(--primary, #6c63ff);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius-md, 10px);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.enrol-link-btn:hover { background: rgba(108, 99, 255, 0.2); }

.enrol-json-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted, #8b92a9);
  margin-bottom: 0.5rem;
}

.enrol-json {
  background: var(--surface, rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border, rgba(255, 255, 255, 0.10));
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text, #e2e8f0);
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
}

.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }


/*# sourceMappingURL=styles.css.map*/