/* 后台管理样式 */
body {
  background: #f5f7fa;
}

.login-mask {
  align-items: center;
  background: linear-gradient(135deg, #2f66ff, #6f9bff);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.login-card {
  border: 0;
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
}

.admin-table td,
.admin-table th {
  font-size: 0.875rem;
  vertical-align: middle;
}

.admin-table img {
  object-fit: cover;
}

.tab-pane {
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.sticky-save {
  bottom: 0;
  left: 0;
  position: sticky;
  z-index: 10;
}

.admin-toast {
  background: #198754;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 0.875rem;
  left: 50%;
  opacity: 0;
  padding: 0.75rem 1.25rem;
  pointer-events: none;
  position: fixed;
  top: 24px;
  transform: translate(-50%, -12px);
  transition: all 0.25s;
  z-index: 2000;
}

.admin-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.admin-toast.danger {
  background: #dc3545;
}
