.nav-btn {
  padding: 0.6rem 1rem;
  border-radius: 0.5rem 0.5rem 0 0;
  white-space: nowrap;
  color: rgba(255,255,255,0.75);
  transition: all .15s;
}
.nav-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-btn.active { background: #f1f5f9; color: #3730a3; font-weight: 700; }

.card { background: #fff; border-radius: 0.75rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 1.25rem; }
.btn-primary { background: #4f46e5; color: #fff; padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; transition: background .15s; }
.btn-primary:hover { background: #4338ca; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary { background: #e2e8f0; color: #334155; padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600; }
.btn-secondary:hover { background: #cbd5e1; }
.btn-danger { background: #fee2e2; color: #b91c1c; padding: 0.35rem 0.75rem; border-radius: 0.4rem; font-size: 0.8rem; }
.btn-danger:hover { background: #fecaca; }

.inp { border: 1px solid #cbd5e1; border-radius: 0.5rem; padding: 0.45rem 0.7rem; width: 100%; background: #fff; }
.inp:focus { outline: 2px solid #6366f1; border-color: transparent; }

table.data-table { width: 100%; font-size: 0.85rem; }
table.data-table th { background: #f8fafc; text-align: left; padding: 0.5rem 0.75rem; color: #475569; font-weight: 600; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
table.data-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid #f1f5f9; }
table.data-table tr:hover td { background: #f8fafc; }

.react-step { border-left: 3px solid; padding: 0.5rem 0.75rem; margin-bottom: 0.4rem; border-radius: 0 0.4rem 0.4rem 0; font-size: 0.83rem; animation: fadeIn .3s; }
.react-thought { border-color: #8b5cf6; background: #f5f3ff; }
.react-action { border-color: #0ea5e9; background: #f0f9ff; }
.react-observation { border-color: #10b981; background: #ecfdf5; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px);} to { opacity: 1; transform: none;} }

.shift-cell { display: inline-block; padding: 1px 6px; border-radius: 4px; color: #fff; font-size: 0.72rem; font-weight: 600; margin: 1px; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-gray { background: #e2e8f0; color: #475569; }

.schedule-grid { overflow-x: auto; }
.schedule-grid table { border-collapse: collapse; font-size: 0.75rem; }
.schedule-grid th, .schedule-grid td { border: 1px solid #e2e8f0; padding: 3px 5px; text-align: center; min-width: 42px; }
.schedule-grid th { background: #f8fafc; position: sticky; top: 0; }
.schedule-grid td.emp-name { text-align: left; white-space: nowrap; font-weight: 600; background: #f8fafc; position: sticky; left: 0; min-width: 90px; }
.schedule-grid th.weekend { background:#fdf2f8; color:#be185d; }
