/**
 * Control panel buttons only (.app-shell scope).
 * Do NOT import on login.html — login uses login.css (.btn-gold).
 */

.app-shell button.btn {
  padding: 11px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #5eead4, var(--accent));
  color: #042f2e;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.875rem;
  font-family: inherit;
  line-height: 1.25;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.25);
  width: auto;
  min-width: auto;
  max-width: none;
  flex: 0 0 auto;
  display: inline-block;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.app-shell button.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.35);
}

.app-shell button.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--border);
}

.app-shell button.btn.gold {
  background: linear-gradient(180deg, #ffe9a0, var(--gold));
  color: #3d2800;
  box-shadow: 0 4px 14px rgba(255, 209, 102, 0.3);
}

.app-shell button.btn.danger {
  background: linear-gradient(180deg, #f87171, #dc2626);
  color: #fff;
  box-shadow: none;
}

.app-shell button.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* Toolbar: only field groups stretch, never buttons */
.app-shell .toolbar > div {
  flex: 1;
  min-width: 120px;
}

.app-shell .toolbar .toolbar-btns {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
  min-width: auto;
  align-items: flex-end;
  padding-bottom: 12px;
}

.app-shell .toolbar .toolbar-btns button.btn {
  margin-bottom: 0;
}

.app-shell .toolbar-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.app-shell .toolbar-nav .muted {
  margin: 0;
  font-size: 0.8125rem;
}

.app-shell .toolbar-nav button.btn {
  margin-bottom: 0;
}

/* Compact buttons inside tables */
.app-shell table button.btn {
  padding: 5px 10px;
  font-size: 0.75rem;
  box-shadow: none;
  margin: 0;
  vertical-align: middle;
}

.app-shell table td button.btn + button.btn {
  margin-left: 6px;
}

.app-shell .user-box button.btn {
  width: 100%;
  margin-bottom: 0;
}
