:root {
  --primary-color: #1890ff;
  --primary-hover: #40a9ff;
  --primary-active: #096dd9;
  --success-color: #52c41a;
  --success-hover: #73d13d;
  --warning-color: #faad14;
  --warning-hover: #ffc53d;
  --danger-color: #ff4d4f;
  --danger-hover: #ff7875;
  --text-primary: #303133;
  --text-regular: #606266;
  --text-secondary: #909399;
  --text-placeholder: #c0c4cc;
  --border-color: #dcdfe6;
  --border-light: #e4e7ed;
  --border-lighter: #ebeef5;
  --background-base: #f5f7fa;
  --background-light: #fafafa;
  --sidebar-bg: #001529;
  --sidebar-active-bg: #1890ff;
  --shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --radius-base: 4px;
  --radius-small: 2px;
  --radius-large: 8px;
  --transition-duration: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  background-color: var(--background-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.3; }
}

.login-box {
  background: white;
  padding: 48px 40px;
  border-radius: var(--radius-large);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  width: 420px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.login-box h1 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 32px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.login-box h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #667eea);
  margin: 12px auto 0;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-regular);
  font-weight: 500;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  transition: all var(--transition-duration);
  background: white;
  color: var(--text-primary);
}

.form-group input:hover {
  border-color: var(--primary-hover);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all var(--transition-duration);
  background: white;
  color: var(--text-primary);
}

.form-group textarea:hover {
  border-color: var(--primary-hover);
}

.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  background: white;
  transition: all var(--transition-duration);
  color: var(--text-primary);
  cursor: pointer;
}

.form-group select:hover {
  border-color: var(--primary-hover);
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-base);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-duration);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 200%;
  height: 200%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #40a9ff 100%);
  color: white;
  width: 100%;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #73d13d 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning-color) 0%, #ffc53d 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(250, 173, 20, 0.3);
}

.btn-warning:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(250, 173, 20, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color) 0%, #ff7875 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 77, 79, 0.4);
}

.btn-info {
  background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(19, 194, 194, 0.3);
}

.btn-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(19, 194, 194, 0.4);
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  margin-right: 8px;
}

.btn-small:last-child {
  margin-right: 0;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.admin-page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  background: var(--sidebar-bg);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-duration);
}

.logo {
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
}

.logo::before {
  content: '📚';
  font-size: 24px;
}

.nav-menu {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.nav-menu::-webkit-scrollbar {
  width: 4px;
}

.nav-menu::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all var(--transition-duration);
  cursor: pointer;
  position: relative;
  font-size: 14px;
  gap: 12px;
  margin: 4px 8px;
  border-radius: var(--radius-base);
}

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--primary-color);
  border-radius: 0 2px 2px 0;
  transition: height var(--transition-duration);
}

.nav-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  color: white;
  background: var(--primary-color);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.4);
}

.nav-item.active::before {
  height: 60%;
}

.nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.logout {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.logout button {
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-base);
  cursor: pointer;
  transition: all var(--transition-duration);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logout button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.main-content {
  flex: 1;
  padding: 24px;
  margin-left: 220px;
  min-height: 100vh;
  background: var(--background-base);
}

.header {
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-large);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header h2 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header h2::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary-color), #667eea);
  border-radius: 2px;
}

.page-content {
  background: white;
  padding: 24px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toolbar {
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.toolbar .search-input {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  transition: all var(--transition-duration);
  background: white;
  color: var(--text-primary);
  min-width: 200px;
  flex: 1;
  max-width: 300px;
}

.toolbar .search-input:hover {
  border-color: var(--primary-hover);
}

.toolbar .search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.toolbar .search-input::placeholder {
  color: var(--text-placeholder);
}

.toolbar input,
.toolbar select {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  transition: all var(--transition-duration);
  background: white;
  color: var(--text-primary);
}

.toolbar input:hover,
.toolbar select:hover {
  border-color: var(--primary-hover);
}

.toolbar input:focus,
.toolbar select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.toolbar .btn {
  width: auto;
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-base);
  overflow: hidden;
}

.table th,
.table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-lighter);
}

.table th {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  white-space: nowrap;
}

.table td {
  color: var(--text-regular);
  font-size: 14px;
  transition: background var(--transition-duration);
}

.table tbody tr:hover td {
  background: #f5f7fa;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  gap: 4px;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending {
  background: #fffbe6;
  color: #faad14;
}

.status-approved {
  background: #f6ffed;
  color: #52c41a;
}

.status-rejected {
  background: #fff1f0;
  color: #ff4d4f;
}

.status-normal {
  background: #f6ffed;
  color: #52c41a;
}

.status-disabled {
  background: #fff1f0;
  color: #ff4d4f;
}

.points-settings,
.announcement-settings,
.service-settings,
.featured-settings {
  max-width: 600px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-lighter);
}

.setting-item:last-of-type {
  border-bottom: none;
}

.setting-item label {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.input-number {
  width: 150px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  text-align: right;
  transition: all var(--transition-duration);
}

.input-number:hover {
  border-color: var(--primary-hover);
}

.input-number:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: var(--radius-large);
  width: 560px;
  max-width: 90%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-lighter);
  background: linear-gradient(180deg, #fafafa 0%, white 100%);
}

.modal-header h3 {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

.close {
  font-size: 22px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-duration);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: var(--danger-color);
  background: #fff1f0;
}

.modal-body {
  padding: 24px;
  max-height: calc(85vh - 70px);
  overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.empty::before {
  content: '📭';
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.5;
}

.import-container {
  padding: 10px 0;
}

.import-steps {
  margin-bottom: 20px;
}

.import-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-lighter);
}

.import-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #40a9ff 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.step-content h4 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}

.step-content p {
  margin: 0 0 12px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.step-content .btn {
  width: auto;
  padding: 8px 16px;
}

.file-upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-large);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-duration);
  background: var(--background-light);
}

.file-upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(24, 144, 255, 0.04);
}

.file-upload-area.drag-over {
  border-color: var(--primary-color);
  background: rgba(24, 144, 255, 0.08);
  transform: scale(1.01);
}

.upload-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.file-upload-area p {
  color: var(--text-secondary);
  margin: 0;
}

.file-name {
  margin-top: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
  border-radius: var(--radius-base);
  color: var(--primary-color);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-name::before {
  content: '📄';
}

.import-actions {
  margin-top: 24px;
  text-align: center;
}

.import-actions .btn {
  width: auto;
  padding: 12px 48px;
}

.import-actions .btn:disabled {
  background: var(--border-color);
  cursor: not-allowed;
  box-shadow: none;
}

.import-progress {
  margin-top: 20px;
}

.progress-bar {
  height: 8px;
  background: var(--border-lighter);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, #40a9ff 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.import-progress p {
  text-align: center;
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

.import-result {
  margin-top: 20px;
}

.result-summary {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.result-item {
  text-align: center;
  padding: 16px 28px;
  border-radius: var(--radius-large);
  background: var(--background-base);
  transition: all var(--transition-duration);
}

.result-item:hover {
  transform: translateY(-2px);
}

.result-item.success {
  background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
}

.result-item.warning {
  background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 100%);
}

.result-item.danger {
  background: linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%);
}

.result-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.result-item.success .result-number {
  color: var(--success-color);
}

.result-item.warning .result-number {
  color: var(--warning-color);
}

.result-item.danger .result-number {
  color: var(--danger-color);
}

.result-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.error-list {
  background: linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%);
  border-radius: var(--radius-large);
  padding: 16px;
  max-height: 200px;
  overflow-y: auto;
}

.error-list h4 {
  margin: 0 0 12px 0;
  color: var(--danger-color);
  font-size: 14px;
  font-weight: 600;
}

.error-list ul {
  margin: 0;
  padding-left: 20px;
}

.error-list li {
  color: var(--text-regular);
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.error-message {
  background: linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%);
  color: var(--danger-color);
  padding: 16px;
  border-radius: var(--radius-large);
  text-align: center;
  font-weight: 500;
}

.import-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-lighter);
  padding-bottom: 0;
}

.import-tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-base) var(--radius-base) 0 0;
  transition: all var(--transition-duration);
  position: relative;
  font-weight: 500;
}

.import-tab:hover {
  color: var(--primary-color);
  background: rgba(24, 144, 255, 0.04);
}

.import-tab.active {
  color: var(--primary-color);
  background: white;
}

.import-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.import-tab-content {
  animation: fadeIn 0.3s ease;
}

.form-control {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  background: white;
  transition: all var(--transition-duration);
  color: var(--text-primary);
}

.form-control:hover {
  border-color: var(--primary-hover);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.upload-hint {
  font-size: 12px;
  color: var(--text-placeholder);
  margin-top: 6px;
}

.files-list {
  margin-top: 16px;
}

.files-summary {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--background-base);
  border-radius: var(--radius-base);
  margin-bottom: 12px;
}

.files-count {
  font-weight: 600;
  color: var(--text-primary);
}

.files-size {
  color: var(--text-secondary);
}

.files-preview {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-base);
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-lighter);
  transition: background var(--transition-duration);
}

.file-item:hover {
  background: var(--background-base);
}

.file-item:last-child {
  border-bottom: none;
}

.file-icon {
  font-size: 18px;
}

.file-name-small {
  flex: 1;
  font-size: 13px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size-small {
  font-size: 12px;
  color: var(--text-placeholder);
}

.file-more {
  padding: 10px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  background: var(--background-light);
}

.progress-detail {
  text-align: center;
  font-size: 12px;
  color: var(--text-placeholder);
  margin-top: 6px;
}

.folder-upload-area {
  border: 2px dashed var(--primary-color);
  border-radius: var(--radius-large);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-duration);
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.04) 0%, rgba(102, 126, 234, 0.04) 100%);
}

.folder-upload-area:hover {
  border-color: var(--primary-hover);
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.folders-list {
  margin-top: 16px;
}

.folders-summary {
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f5ff 100%);
  border-radius: var(--radius-base);
  padding: 16px;
  margin-bottom: 16px;
}

.folders-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}

.folders-stats .folders-count,
.folders-stats .files-count,
.folders-stats .files-size {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.folders-preview {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-base);
}

.folder-item {
  border-bottom: 1px solid var(--border-lighter);
  padding: 12px 16px;
  transition: background var(--transition-duration);
}

.folder-item:hover {
  background: var(--background-base);
}

.folder-item:last-child {
  border-bottom: none;
}

.folder-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.folder-icon {
  font-size: 18px;
}

.folder-name {
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.folder-count {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--background-base);
  padding: 2px 8px;
  border-radius: 10px;
}

.folder-files {
  padding-left: 28px;
}

.file-item-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
}

.file-item-mini .file-icon {
  font-size: 14px;
}

.file-item-mini .file-name-small {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-regular);
}

.file-item-mini .file-size-small {
  color: var(--text-placeholder);
  font-size: 11px;
}

.file-more-mini {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 4px 0;
  font-style: italic;
}

.folder-more {
  padding: 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
  background: var(--background-light);
}

.category-results {
  margin-top: 20px;
  background: var(--background-base);
  border-radius: var(--radius-base);
  padding: 16px;
}

.category-results h4 {
  margin: 0 0 12px 0;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.category-results-list {
  max-height: 200px;
  overflow-y: auto;
}

.category-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: white;
  border-radius: var(--radius-small);
  margin-bottom: 8px;
  border: 1px solid var(--border-lighter);
  transition: all var(--transition-duration);
}

.category-result-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
}

.category-result-item.error {
  border-color: var(--danger-color);
  background: #fff1f0;
}

.category-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.category-folder {
  font-weight: 500;
  color: var(--text-primary);
}

.category-name {
  color: var(--primary-color);
  font-size: 13px;
}

.new-badge {
  display: inline-block;
  font-size: 10px;
  padding: 1px 6px;
  background: linear-gradient(135deg, var(--success-color) 0%, #73d13d 100%);
  color: white;
  border-radius: 10px;
  font-weight: 500;
}

.category-result-stats {
  display: flex;
  gap: 12px;
}

.category-result-stats .stat {
  font-size: 12px;
  font-weight: 500;
}

.category-result-stats .stat.success {
  color: var(--success-color);
}

.category-result-stats .stat.warning {
  color: var(--warning-color);
}

.category-result-stats .stat.danger {
  color: var(--danger-color);
}

.category-result-stats .stat.error {
  color: var(--danger-color);
  font-size: 11px;
}

.folder-upload-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.folder-upload-actions .btn {
  display: flex;
  align-items: center;
  gap: 8px;
}

.folder-remove-btn {
  padding: 4px 10px !important;
  font-size: 11px !important;
  margin-left: auto;
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.folder-drop-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-large);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-duration);
  background: var(--background-light);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.folder-drop-area:hover {
  border-color: var(--primary-color);
  background: rgba(24, 144, 255, 0.04);
}

.folder-drop-area.drag-over {
  border-color: var(--success-color);
  background: rgba(82, 196, 26, 0.08);
  transform: scale(1.01);
  box-shadow: 0 0 20px rgba(82, 196, 26, 0.2);
}

.folder-drop-area.drag-over .upload-icon {
  transform: scale(1.2);
}

.drop-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.drop-content .upload-icon {
  font-size: 48px;
  transition: transform var(--transition-duration);
}

.drop-main-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.drop-divider {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 200px;
  margin: 8px 0;
}

.drop-divider::before,
.drop-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.drop-divider span {
  padding: 0 16px;
  color: var(--text-placeholder);
  font-size: 13px;
}

.announcement-settings .setting-item,
.featured-settings .setting-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.announcement-settings .setting-item label,
.featured-settings .setting-item label,
.service-settings .setting-item label {
  font-weight: 600;
  color: var(--text-primary);
}

.input-text {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  transition: all var(--transition-duration);
  background: white;
  color: var(--text-primary);
}

.input-text:hover {
  border-color: var(--primary-hover);
}

.input-text:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.input-textarea {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: all var(--transition-duration);
  background: white;
  color: var(--text-primary);
  min-height: 100px;
}

.input-textarea:hover {
  border-color: var(--primary-hover);
}

.input-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.input-select {
  width: 200px;
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 14px;
  background: white;
  transition: all var(--transition-duration);
  color: var(--text-primary);
  cursor: pointer;
}

.input-select:hover {
  border-color: var(--primary-hover);
}

.input-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.service-settings .setting-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.qrcode-type-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.type-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.type-indicator.type-url {
  background: var(--success-color);
}

.type-indicator.type-file {
  background: var(--primary-color);
}

.type-indicator.type-none {
  background: var(--text-placeholder);
}

#qrcode-type-text {
  font-size: 13px;
  color: var(--text-secondary);
}

.setting-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
}

.setting-divider::before,
.setting-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-lighter);
}

.setting-divider span {
  padding: 0 16px;
  color: var(--text-placeholder);
  font-size: 13px;
}

.setting-hint {
  font-size: 12px;
  color: var(--text-placeholder);
  margin-top: 4px;
}

.qrcode-preview {
  padding: 24px;
  background: var(--background-base);
  border-radius: var(--radius-large);
  text-align: center;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qrcode-preview text {
  color: var(--text-placeholder);
}

.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-large);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-duration);
  background: var(--background-light);
  width: 100%;
}

.upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(24, 144, 255, 0.04);
}

.upload-placeholder {
  color: var(--text-secondary);
}

.upload-placeholder .upload-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.upload-placeholder p {
  margin: 6px 0;
}

.upload-placeholder .upload-hint {
  font-size: 12px;
  color: var(--text-placeholder);
}

.upload-preview {
  position: relative;
  display: inline-block;
}

.upload-preview img {
  max-width: 200px;
  max-height: 200px;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-base);
}

.preview-actions {
  margin-top: 12px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

.upload-progress {
  margin-top: 16px;
}

.upload-progress .progress-bar {
  height: 8px;
  background: var(--border-lighter);
  border-radius: 4px;
  overflow: hidden;
}

.upload-progress .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, #40a9ff 100%);
  border-radius: 4px;
  transition: width 0.3s;
}

.upload-progress p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.setting-hint {
  font-size: 12px;
  color: var(--text-placeholder);
  margin-top: 6px;
  line-height: 1.6;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-top: 16px;
  border-top: 1px solid var(--border-lighter);
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.pagination-info select {
  padding: 6px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 13px;
  background: white;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-duration);
}

.pagination-info select:hover {
  border-color: var(--primary-hover);
}

.pagination-info select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pagination-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  background: white;
  color: var(--text-regular);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-duration);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(24, 144, 255, 0.04);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, #40a9ff 100%);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
}

.pagination-btn:disabled {
  color: var(--text-placeholder);
  border-color: var(--border-lighter);
  background: var(--background-light);
  cursor: not-allowed;
}

.pagination-ellipsis {
  min-width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-placeholder);
}

.pagination-total {
  color: var(--text-secondary);
  font-size: 13px;
}

.pagination-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.pagination-jump input {
  width: 50px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-base);
  font-size: 13px;
  text-align: center;
  transition: all var(--transition-duration);
}

.pagination-jump input:hover {
  border-color: var(--primary-hover);
}

.pagination-jump input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.pagination-jump button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-base);
  background: white;
  color: var(--primary-color);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-duration);
}

.pagination-jump button:hover {
  background: var(--primary-color);
  color: white;
}

@media (max-width: 768px) {
  .sidebar {
    width: 200px;
  }
  
  .main-content {
    margin-left: 200px;
    padding: 16px;
  }
  
  .login-box {
    width: 90%;
    padding: 32px 24px;
  }
  
  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .toolbar input,
  .toolbar select,
  .toolbar .btn {
    width: 100%;
  }
  
  .result-summary {
    flex-direction: column;
    gap: 12px;
  }
  
  .table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 576px) {
  .sidebar {
    width: 60px;
  }
  
  .logo {
    font-size: 0;
    padding: 16px;
  }
  
  .logo::before {
    font-size: 20px;
  }
  
  .nav-item {
    padding: 14px;
    justify-content: center;
  }
  
  .nav-item span {
    display: none;
  }
  
  .main-content {
    margin-left: 60px;
  }
}

.qrcode-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  min-height: 200px;
}

.qrcode-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qrcode-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-lighter);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.qrcode-loading p {
  color: var(--text-secondary);
  font-size: 14px;
}

.qrcode-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qrcode-result img {
  max-width: 280px;
  max-height: 280px;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-base);
}

.qrcode-tip {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

.qrcode-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qrcode-error .error-icon {
  font-size: 48px;
}

.qrcode-error p {
  color: var(--danger-color);
  font-size: 14px;
  margin: 0;
}

.storage-settings {
  max-width: 1200px;
}

.storage-overview {
  margin-bottom: 24px;
}

.storage-overview h3 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 16px;
}

.storage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.storage-card {
  background: white;
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-large);
  padding: 20px;
  transition: all var(--transition-duration);
}

.storage-card:hover {
  box-shadow: var(--shadow-base);
  transform: translateY(-2px);
}

.storage-card.active {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, rgba(24, 144, 255, 0.02) 0%, rgba(102, 126, 234, 0.02) 100%);
}

.storage-card.healthy {
  border-left: 4px solid var(--success-color);
}

.storage-card.degraded {
  border-left: 4px solid var(--warning-color);
}

.storage-card.unhealthy {
  border-left: 4px solid var(--danger-color);
}

.storage-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.storage-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.active-badge {
  background: linear-gradient(135deg, var(--primary-color) 0%, #40a9ff 100%);
  color: white;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.storage-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.storage-type {
  color: var(--text-secondary);
  font-size: 13px;
}

.storage-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.healthy {
  background: var(--success-color);
}

.status-dot.degraded {
  background: var(--warning-color);
}

.status-dot.unhealthy {
  background: var(--danger-color);
}

.storage-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.storage-list h3 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 16px;
}

.status-active {
  background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
  color: var(--success-color);
}

.status-inactive {
  background: var(--background-base);
  color: var(--text-secondary);
}

.status-healthy {
  background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
  color: var(--success-color);
}

.status-degraded {
  background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 100%);
  color: var(--warning-color);
}

.status-unhealthy {
  background: linear-gradient(135deg, #fff1f0 0%, #ffccc7 100%);
  color: var(--danger-color);
}

.storage-form {
  max-height: 60vh;
  overflow-y: auto;
}

.storage-fields {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-lighter);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

.sync-form {
  max-width: 400px;
}

.empty-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.error-message {
  color: var(--danger-color);
  text-align: center;
  padding: 20px;
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.btn-info {
  background: linear-gradient(135deg, #17a2b8 0%, #3fc1c9 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.status-running {
  background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.error-row {
  background: #fff1f0;
}

.error-detail {
  padding: 8px 16px;
  color: var(--danger-color);
  font-size: 12px;
}

.sync-settings {
  max-width: 1200px;
}

.sync-status-card {
  background: white;
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-large);
  padding: 24px;
  margin-bottom: 24px;
}

.sync-status-card h3 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 16px;
}

.sync-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--background-base);
  border-radius: var(--radius-base);
}

.status-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.status-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.running-sync-info {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
  border-radius: var(--radius-base);
}

.sync-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sync-progress .progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(24, 144, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.sync-progress .progress-fill {
  height: 100%;
  background: var(--primary-color);
  border-radius: 4px;
  transition: width 0.3s;
}

.sync-servers-section,
.sync-records-section,
.sync-conflicts-section {
  background: white;
  border: 1px solid var(--border-lighter);
  border-radius: var(--radius-large);
  padding: 24px;
  margin-bottom: 24px;
}

.sync-servers-section h3,
.sync-records-section h3,
.sync-conflicts-section h3 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: 16px;
}

.sync-warning {
  background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 100%);
  border-radius: var(--radius-base);
  padding: 16px;
  margin-bottom: 16px;
}

.sync-warning p {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: var(--warning-color);
}

.sync-warning ul {
  margin: 0;
  padding-left: 20px;
}

.sync-warning li {
  color: var(--text-regular);
  font-size: 13px;
  margin-bottom: 4px;
}

.sync-detail,
.conflict-detail {
  max-width: 600px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-lighter);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-secondary);
  font-size: 14px;
}

.detail-row span:last-child {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}

.detail-row.error {
  background: #fff1f0;
  margin: 0 -16px;
  padding: 12px 16px;
  border-radius: var(--radius-base);
}

.detail-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-lighter);
}

.detail-section h4 {
  margin-bottom: 12px;
  color: var(--text-primary);
  font-size: 14px;
}

.detail-section pre {
  background: var(--background-base);
  padding: 12px;
  border-radius: var(--radius-base);
  font-size: 12px;
  overflow-x: auto;
  max-height: 200px;
}

.status-pending {
  background: linear-gradient(135deg, #fffbe6 0%, #fff1b8 100%);
  color: var(--warning-color);
}
