/* ================================================================
   PLEXO — Intranet 2.0 · Design System
   Agosto 2026
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ── VARIABLES ──────────────────────────────────────────────────── */
:root {
  --navy:        #0B1A2E;
  --navy-mid:    #0F2849;
  --blue-deep:   #163A6E;
  --blue-brand:  #1E56A0;
  --blue-accent: #2563EB;
  --cyan:        #38BDF8;
  --cyan-dark:   #0EA5E9;
  --white:       #FFFFFF;
  --gray-50:     #F8FAFC;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-300:    #CBD5E1;
  --gray-400:    #94A3B8;
  --gray-500:    #64748B;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --success:     #10B981;
  --success-bg:  #ECFDF5;
  --warning:     #F59E0B;
  --warning-bg:  #FFFBEB;
  --danger:      #EF4444;
  --danger-bg:   #FEF2F2;
  --info:        #0EA5E9;
  --info-bg:     #F0F9FF;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl:   0 24px 60px rgba(0,0,0,0.18);
  --font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-xs:     11px;
  --text-sm:     13px;
  --text-base:   15px;
  --text-md:     17px;
  --text-lg:     20px;
  --text-xl:     24px;
  --text-2xl:    30px;
}

/* ── BASE ───────────────────────────────────────────────────────── */
body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── LOGIN ──────────────────────────────────────────────────────── */
.login-body {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--blue-deep) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
}
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { width: 150px; height: auto; margin: 0 auto 10px; }
.login-brand {
  font-size: var(--text-md);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  margin-top: 4px;
}
.login-sub { font-size: var(--text-xs); color: var(--gray-400); }
.login-title { font-size: var(--text-lg); font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.login-desc  { font-size: var(--text-sm); color: var(--gray-500); margin-bottom: 24px; }
.login-footer { text-align: center; margin-top: 24px; font-size: var(--text-xs); color: var(--gray-400); }

/* ── FORMULARIOS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-hint  { font-size: var(--text-xs); color: var(--gray-400); margin-top: 4px; }
.form-error { font-size: var(--text-xs); color: var(--danger); margin-top: 4px; }

/* ── BOTONES ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font);
  border: 1.5px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary { background: var(--blue-accent); color: var(--white); border-color: var(--blue-accent); }
.btn--primary:hover { background: #1D4ED8; border-color: #1D4ED8; }
.btn--outline { background: transparent; color: var(--blue-accent); border-color: var(--blue-accent); }
.btn--outline:hover { background: rgba(37,99,235,0.06); }
.btn--ghost { background: transparent; color: var(--gray-600); border-color: var(--gray-200); }
.btn--ghost:hover { background: var(--gray-100); }
.btn--danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn--danger:hover { background: #DC2626; }
.btn--success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn--sm { padding: 6px 12px; font-size: var(--text-xs); }
.btn--lg { padding: 13px 28px; font-size: var(--text-base); }
.btn--full { width: 100%; justify-content: center; padding: 13px; }

/* ── CARDS ──────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-title { font-size: var(--text-md); font-weight: 700; color: var(--navy); }
.card-body  { padding: 22px; }
.card-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ── BADGES ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.4;
}
.badge--success  { background: var(--success-bg); color: #065F46; }
.badge--warning  { background: var(--warning-bg); color: #92400E; }
.badge--danger   { background: var(--danger-bg);  color: #991B1B; }
.badge--info     { background: var(--info-bg);    color: #0369A1; }
.badge--gray     { background: var(--gray-100);   color: var(--gray-600); }
.badge--navy     { background: var(--navy);        color: var(--white); }
.badge--pendiente          { background: var(--warning-bg); color: #92400E; }
.badge--en_curso           { background: var(--info-bg);    color: #0369A1; }
.badge--completada         { background: var(--success-bg); color: #065F46; }
.badge--cancelada          { background: var(--gray-100);   color: var(--gray-500); }
.badge--finalizado_en_termino { background: var(--success-bg); color: #065F46; }
.badge--finalizado_vencido    { background: var(--danger-bg);  color: #991B1B; }

/* ── ALERTS ─────────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  margin-bottom: 16px;
}
.alert--success { background: var(--success-bg); color: #065F46; border: 1px solid #A7F3D0; }
.alert--warning { background: var(--warning-bg); color: #92400E; border: 1px solid #FDE68A; }
.alert--danger  { background: var(--danger-bg);  color: #991B1B; border: 1px solid #FECACA; }
.alert--info    { background: var(--info-bg);    color: #0369A1; border: 1px solid #BAE6FD; }

/* ── TABLAS ─────────────────────────────────────────────────────── */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.plx-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.plx-table thead th {
  padding: 11px 16px;
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.plx-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  vertical-align: middle;
}
.plx-table tbody tr:last-child td { border-bottom: none; }
.plx-table tbody tr:hover td { background: var(--gray-50); }

/* ── MODALES ────────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,26,46,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.2s ease;
}
.modal--lg { max-width: 760px; }
.modal--sm { max-width: 400px; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title  { font-size: var(--text-md); font-weight: 700; color: var(--navy); }
.modal-close  { background: none; border: none; color: var(--gray-400); padding: 4px; border-radius: var(--radius-sm); }
.modal-close:hover { color: var(--gray-800); background: var(--gray-100); }
.modal-close svg { width: 20px; height: 20px; display: block; }
.modal-body   { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--gray-200); display: flex; justify-content: flex-end; gap: 10px; }

/* ── PAGE HEADER ────────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.page-header-left h1 { font-size: var(--text-xl); font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.page-header-left p  { font-size: var(--text-sm); color: var(--gray-500); margin-top: 4px; }
.page-header-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── EMPTY STATE ────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 24px; }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 16px; stroke: var(--gray-300); fill: none; }
.empty-state h3  { font-size: var(--text-md); font-weight: 600; color: var(--gray-500); margin-bottom: 6px; }
.empty-state p   { font-size: var(--text-sm); color: var(--gray-400); }

/* ── EYEBROW / TÍTULOS ──────────────────────────────────────────── */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 6px;
}
.section-title { font-size: var(--text-2xl); font-weight: 700; color: var(--navy); letter-spacing: -0.3px; }
.section-underline { width: 40px; height: 3px; background: var(--cyan); border-radius: 2px; margin-top: 10px; }

/* ── UTILIDADES ─────────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--gray-400); }
.text-navy    { color: var(--navy); }
.text-accent  { color: var(--blue-accent); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-sm      { font-size: var(--text-sm); }
.text-xs      { font-size: var(--text-xs); }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .login-card { padding: 32px 24px; }
  .page-header { flex-direction: column; }
  .page-header-actions { width: 100%; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* ================================================================
   MÓDULO: USUARIOS
   ================================================================ */
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent), var(--cyan-dark));
  color: var(--white); font-size: var(--text-sm); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-avatar--inactive { background: var(--gray-300); }

.filter-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar input,
.filter-bar select {
  padding: 8px 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md); font-size: var(--text-sm);
  font-family: var(--font); outline: none; background: var(--white);
}
.filter-bar input:focus, .filter-bar select:focus { border-color: var(--blue-accent); }
.filter-bar input { width: 260px; }

/* Transfer selector de perfiles */
.perfil-transfer { display: flex; gap: 10px; align-items: stretch; margin-top: 8px; }
.transfer-col {
  flex: 1; display: flex; flex-direction: column;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden;
}
.transfer-header {
  padding: 8px 12px; font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-500);
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.transfer-search {
  padding: 7px 12px; border: none; border-bottom: 1px solid var(--gray-200);
  font-size: var(--text-sm); font-family: var(--font); outline: none; width: 100%;
}
.transfer-search:focus { background: rgba(37,99,235,0.03); }
.transfer-list {
  list-style: none; flex: 1; overflow-y: auto;
  min-height: 140px; max-height: 200px; padding: 4px;
}
.transfer-item {
  padding: 8px 10px; border-radius: var(--radius-sm);
  font-size: var(--text-sm); font-weight: 500; color: var(--gray-800);
  cursor: pointer; display: flex; flex-direction: column; gap: 1px;
  transition: background 0.12s; user-select: none;
}
.transfer-item:hover { background: var(--gray-100); }
.transfer-item.selected { background: rgba(37,99,235,0.1); color: var(--blue-accent); }
.transfer-desc { font-size: var(--text-xs); color: var(--gray-400); font-weight: 400; }
.transfer-controls { display: flex; flex-direction: column; justify-content: center; gap: 6px; flex-shrink: 0; }
.transfer-controls .btn { padding: 6px 10px; font-size: 14px; }
#listAsignados .transfer-item { color: var(--blue-accent); }
#listAsignados .transfer-item:hover { background: rgba(37,99,235,0.06); }

/* Perfil cards en admin/perfiles */
.perfil-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; transition: box-shadow 0.2s;
}
.perfil-card:hover { box-shadow: var(--shadow-md); }
.perfil-nombre { font-size: var(--text-base); font-weight: 700; color: var(--navy); }
.perfil-desc   { font-size: var(--text-sm); color: var(--gray-500); margin-top: 2px; }
.perfil-stats  { display: flex; gap: 16px; flex-shrink: 0; }
.perfil-stat   { text-align: center; }
.perfil-stat-num   { font-size: var(--text-lg); font-weight: 800; color: var(--navy); }
.perfil-stat-label { font-size: var(--text-xs); color: var(--gray-400); }

/* Permisos en modal de perfiles */
.modulo-grupo { margin-bottom: 20px; }
.modulo-titulo {
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--blue-accent); margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
}
.permisos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.permiso-check {
  display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--gray-200);
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.permiso-check:hover { background: var(--gray-50); border-color: var(--gray-300); }
.permiso-check input { margin-top: 2px; flex-shrink: 0; width: auto; }
.permiso-check-texto { flex: 1; min-width: 0; }
.permiso-codigo { font-size: var(--text-xs); font-weight: 700; color: var(--blue-accent); font-family: monospace; }
.permiso-desc   { font-size: var(--text-xs); color: var(--gray-500); margin-top: 1px; }

/* ================================================================
   MÓDULO: PLANIFICADOR
   ================================================================ */

/* Tabs */
.planner-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 2px solid var(--gray-200); }
.planner-tab {
  padding: 10px 20px; font-size: var(--text-sm); font-weight: 600;
  color: var(--gray-500); cursor: pointer; border: none; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s; font-family: var(--font);
}
.planner-tab.active { color: var(--blue-accent); border-bottom-color: var(--blue-accent); }
.planner-tab:hover  { color: var(--navy); }
.planner-view { display: none; }
.planner-view.active { display: block; }

/* Filtros kanban */
.kanban-filters { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 14px; border-radius: var(--radius-full); font-size: var(--text-sm);
  font-weight: 600; border: 1.5px solid var(--gray-200); background: var(--white);
  color: var(--gray-600); cursor: pointer; transition: all 0.15s; font-family: var(--font);
}
.filter-btn.active { background: var(--blue-accent); color: var(--white); border-color: var(--blue-accent); }
.filter-btn:hover:not(.active) { border-color: var(--gray-400); color: var(--navy); }
.filter-custom { display: none; align-items: center; gap: 8px; }
.filter-custom.visible { display: flex; }
.filter-custom input {
  padding: 5px 10px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-family: var(--font); outline: none;
}

/* Kanban board */
.kanban-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.kanban-col { background: var(--gray-50); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; }
.kanban-col-header {
  padding: 12px 16px; font-size: var(--text-sm); font-weight: 700;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}
.kanban-col-header--pendiente  { color: var(--gray-600); }
.kanban-col-header--en_curso   { color: var(--warning); }
.kanban-col-header--completada { color: var(--success); }
.kanban-col-count {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-full); padding: 1px 8px;
  font-size: var(--text-xs); font-weight: 700; color: var(--gray-500);
}
.kanban-cards { padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 80px; }

/* Cards individuales */
.kanban-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 12px 14px;
  cursor: pointer; transition: box-shadow 0.15s, border-color 0.15s;
}
.kanban-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.kanban-card.vencida { border-left: 3px solid var(--danger); }
.kanban-card-titulo  { font-size: var(--text-sm); font-weight: 600; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.kanban-card-meta    { font-size: var(--text-xs); color: var(--gray-400); display: flex; flex-direction: column; gap: 2px; }
.kanban-card-equipo  { font-size: var(--text-xs); font-weight: 600; color: var(--blue-accent); margin-top: 4px; }
.kanban-card-actions { display: flex; gap: 6px; margin-top: 8px; }
.kanban-card-actions button { font-size: var(--text-xs); padding: 3px 10px; }

/* Grupo recurrentes */
.kanban-grupo { border: 1px solid var(--gray-200); border-radius: var(--radius-md); background: var(--white); overflow: hidden; }
.kanban-grupo-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; cursor: pointer; background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200); transition: background 0.15s; gap: 10px;
}
.kanban-grupo-header:hover { background: var(--gray-100); }
.kanban-grupo-titulo  { font-size: var(--text-sm); font-weight: 600; color: var(--navy); flex: 1; min-width: 0; }
.kanban-grupo-meta    { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.kanban-grupo-badge {
  font-size: var(--text-xs); font-weight: 700; padding: 2px 8px;
  border-radius: var(--radius-full); background: rgba(37,99,235,0.08); color: var(--blue-accent);
}
.kanban-grupo-chevron { width: 16px; height: 16px; stroke: var(--gray-400); fill: none; transition: transform 0.2s; flex-shrink: 0; }
.kanban-grupo.open .kanban-grupo-chevron { transform: rotate(180deg); }
.kanban-grupo-items { display: none; padding: 8px; flex-direction: column; gap: 6px; }
.kanban-grupo.open .kanban-grupo-items { display: flex; }
.kanban-grupo-item {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.kanban-grupo-item-fecha   { font-size: var(--text-xs); color: var(--gray-600); font-weight: 500; }
.kanban-grupo-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.kanban-empty { text-align: center; padding: 24px; color: var(--gray-400); font-size: var(--text-sm); }

/* Calendario */
.fc .fc-toolbar-title { font-size: var(--text-lg); font-weight: 700; color: var(--navy); }
.fc .fc-button { background: var(--blue-accent); border-color: var(--blue-accent); font-family: var(--font); font-size: var(--text-sm); }
.fc .fc-button:hover { background: #1D4ED8; }
.fc .fc-button-active { background: var(--navy) !important; border-color: var(--navy) !important; }
.fc-event { border-radius: 4px; font-size: 12px; padding: 2px 4px; cursor: pointer; }
#calendario { background: var(--white); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--gray-200); }

/* Hora picker custom */
.hora-picker-wrap { position: relative; }
.hora-picker-input { cursor: pointer; }
.hora-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0; right: 0;
  background: var(--white);
  border: 1.5px solid var(--blue-accent);
  border-radius: var(--radius-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 600;
  box-shadow: var(--shadow-lg);
}
.hora-dropdown.open { display: block; }
.hora-option {
  padding: 7px 12px;
  font-size: var(--text-sm);
  cursor: pointer;
  color: var(--gray-800);
  transition: background 0.1s;
}
.hora-option:hover { background: var(--gray-100); color: var(--blue-accent); font-weight: 600; }
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-family: var(--font);
  color: var(--gray-800); background: var(--gray-100);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.time-input:focus {
  border-color: var(--blue-accent); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ── RESPONSIVE MÓDULOS ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .kanban-board  { grid-template-columns: 1fr; }
  .form-row-2    { grid-template-columns: 1fr; }
  .perfil-stats  { display: none; }
  .filter-bar    { flex-direction: column; align-items: flex-start; }
  .filter-bar input { width: 100%; }
}
