/* Gestion Taller styles - mobile first */
.gt-container { max-width: 860px; margin: 12px auto; padding: 12px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color:#111; }
.gt-title { font-size: 22px; font-weight: 700; margin: 4px 0 12px; text-align: center; }
.gt-card { background: #f8fafc; border:1px solid #e5e7eb; border-radius: 14px; padding: 12px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.gt-form { display: grid; grid-template-columns: 1fr 120px auto; gap: 8px; align-items: center; }
.gt-form select, .gt-form input { width: 100%; padding: 10px; border:1px solid #d1d5db; border-radius: 10px; background:#fff; }
.gt-btn { padding: 10px 14px; border: 0; border-radius: 12px; background: #0D2C6B; color:#fff; font-weight: 600; cursor: pointer; }
.gt-btn:hover { filter: brightness(1.05); }
.gt-btn.success { background: #16a34a; }
.gt-btn.danger { background: #dc2626; }
.gt-btn.round { border-radius: 9999px; }
.gt-table-wrap { overflow-x: auto; }
.gt-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.gt-table th, .gt-table td { border-bottom:1px solid #e5e7eb; padding: 8px; text-align: left; white-space: nowrap; }
.gt-table thead th { background: #eef2ff; font-weight: 700; }
.gt-table .xdel { background:#ef4444; color:#fff; border:0; border-radius: 8px; padding:6px 10px; cursor:pointer; }
.gt-resumen-block { margin: 10px 0; }
.gt-totales { display:grid; grid-template-columns: 1fr 1fr; gap:8px; margin-top:8px; }
.gt-total-restante { grid-column: 1 / -1; padding: 10px; background:#ecfeff; border:1px dashed #06b6d4; border-radius: 10px; }
.gt-actions { display:flex; gap:8px; flex-wrap: wrap; margin-top:10px; }
.gt-note { font-size: 12px; color:#444; }

/* Export block aesthetic for PNG */
.export-png {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: #e5e7eb;
  --head: #0f172a;
  color: var(--text);
  background: var(--bg);
  border:1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
}
.export-png h4 {
  margin: 6px 0;
  color: var(--head);
  font-size: 16px;
}
@media (max-width:640px){
  .gt-form { grid-template-columns: 1fr; }
  .gt-totales { grid-template-columns: 1fr; }
}

/* Simple spinner (optional) */
.gt-spinner { display:none; width:20px; height:20px; border:2px solid #0D2C6B; border-top-color: transparent; border-radius: 50%; animation: gtspin 1s linear infinite; }
@keyframes gtspin { to { transform: rotate(360deg); } }
