.nav-brand {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}
.nav-brand svg {
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-user-area {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}
.nav-user {
  color: #ffffffe6;
  font-size: 14px;
  font-weight: 500;
}
.btn-logout {
  background: #ffffff26;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-logout:hover {
  background: #ffffff40;
}
.container {
  max-width: 1400px;
  margin: 24px auto;
  padding: 0 24px;
}
@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }
}
.main-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}
.left-panel {
  position: sticky;
  top: 24px;
  max-height: none;
  overflow: visible;
}
.right-panel {
  min-height: 400px;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px #0000001a;
  margin-bottom: 16px;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-header h2,
.card-header h3 {
  font-size: 16px;
  font-weight: 600;
}
.card-body {
  padding: 16px;
}
.form-section {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}
.form-section:last-child {
  border-bottom: none;
}
.form-section h3 {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group {
  margin-bottom: 10px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #555;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px #1a73e826;
}
.help-text {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  display: block;
}
.origin-remark {
  color: #1a73e8;
  font-weight: 500;
  margin-top: 4px;
}
.required {
  color: #e53935;
}
.symbol-selectors {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 768px) {
  .symbol-selectors {
    grid-template-columns: repeat(3, 1fr);
  }
}
.symbol-group {
  text-align: center;
}
.symbol-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #666;
}
.symbol-group select {
  width: 100%;
  padding: 4px;
  font-size: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}
.symbol-preview {
  margin-top: 4px;
  display: flex;
  justify-content: center;
  min-height: 40px;
  align-items: center;
}
.symbol-preview svg {
  max-width: 100%;
  max-height: 100%;
}
.label-preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .label-preview-container {
    grid-template-columns: 1fr;
  }
}
.label-preview {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}
.preview-title {
  background: #f5f5f5;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #666;
}
.preview-content {
  padding: 12px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.barcode-area {
  background: repeating-linear-gradient(
    90deg,
    #000,
    #000 1px,
    #fff 1px,
    #fff 2px
  );
  width: 120px;
  height: 30px;
  border: 1px solid #ddd;
}
.info-area {
  font-size: 10px;
  color: #333;
  font-family: monospace;
}
.symbol-area {
  display: flex;
  gap: 4px;
  align-items: center;
}
.size-checkboxes {
  margin-top: 8px;
}
.color-group {
  margin-bottom: 12px;
}
.color-group h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  padding-bottom: 4px;
  border-bottom: 1px solid #e0e0e0;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}
.checkbox-label:hover {
  background: #f5f5f5;
}
.checkbox-label input:checked + span {
  color: #1a73e8;
  font-weight: 500;
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #333;
}
.btn-success {
  background: #34a853;
  color: #fff;
  border-color: #34a853;
}
.btn-success:hover {
  background: #2d8e47;
}
.btn-preview {
  background: #4285f4;
  color: #fff;
  border-color: #4285f4;
}
.btn-preview:hover {
  background: #3367d6;
}
.btn-secondary {
  background: #f5f5f5;
  border-color: #ddd;
}
.btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}
.orders-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.orders-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}
.orders-header .count {
  color: #94a3b8;
  font-size: 12px;
}
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.order-item {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px 10px 18px;
  box-shadow: 0 1px 2px #00000008;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  display: grid;
  gap: 8px;
}
.order-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #1a73e8, #4285f4);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.order-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px #0000000f;
  transform: translateY(-1px);
}
.order-item:hover:before {
  opacity: 1;
}
.order-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  min-height: 28px;
}
.order-head .article {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  letter-spacing: 0.2px;
}
.order-head .ord-no {
  font-size: 12px;
  padding: 2px 8px;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 4px;
  font-weight: 500;
  font-family:
    JetBrains Mono,
    SF Mono,
    Consolas,
    monospace;
  white-space: nowrap;
}
.order-head .meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.order-head .meta .creator {
  color: #475569;
  font-weight: 500;
}
.order-head .meta .creator:before {
  content: "👤 ";
  opacity: 0.6;
}
.order-head .meta .dot {
  color: #cbd5e1;
}
.order-head .meta time {
  color: #94a3b8;
  font-feature-settings: "tnum" 1;
}
.order-actions {
  display: flex;
  gap: 2px;
  align-items: center;
}
.order-actions .btn-sm {
  padding: 4px 10px;
  font-size: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: #64748b;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.order-actions .btn-sm:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.order-actions .btn-preview:hover {
  color: #1d4ed8;
  background: #eff6ff;
}
.order-actions .btn-success:hover {
  color: #15803d;
  background: #f0fdf4;
}
.order-actions .btn-copy:hover {
  color: #6d28d9;
  background: #f5f3ff;
}
.order-actions .btn-edit:hover {
  color: #b45309;
  background: #fffbeb;
}
.order-actions .btn-danger:hover {
  color: #b91c1c;
  background: #fef2f2;
}
.order-body {
  display: block;
}
.tpl-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  padding-top: 2px;
}
.tpl-badge {
  font-size: 11px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  border: 1px solid rgba(252, 211, 77, 0.3);
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.foot-tpl {
  margin-left: auto;
}
.pages-col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
}
.page-block {
  position: relative;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 6px 10px 6px 12px;
}
.page-block:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, #60a5fa, #1a73e8);
}
.page-block .ph {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.page-block .ph .color-chip {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.page-block .row {
  font-family:
    JetBrains Mono,
    SF Mono,
    Consolas,
    monospace;
  font-size: 11px;
  line-height: 1.65;
  color: #334155;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-block .row .pid {
  color: #94a3b8;
}
.order-foot {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.foot-row1 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-row2 {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.icon-row {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
  background: #f8fafc;
  border-radius: 6px;
}
.icon-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.15s ease;
}
.icon-row img:hover {
  transform: scale(1.18);
}
.foot-origin {
  font-size: 11px;
  padding: 3px 10px;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
  border: 1px solid rgba(134, 239, 172, 0.4);
  border-radius: 12px;
  font-weight: 500;
}
.foot-origin-remark {
  color: #6b7280;
  font-weight: 400;
}
.foot-phrase {
  font-size: 11px;
  padding: 3px 10px;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid rgba(253, 230, 138, 0.5);
  border-radius: 4px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.foot-phrase .idx {
  color: #d97706;
  font-weight: 600;
}
.foot-phrase-text {
  color: #92400e;
}
.foot-phrase-remark {
  color: #b45309;
  font-style: italic;
  font-size: 10px;
  padding-left: 6px;
  margin-left: 2px;
  border-left: 1px solid rgba(217, 119, 6, 0.3);
  opacity: 0.85;
}
.btn-load-more {
  width: 100%;
  padding: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}
.btn-load-more:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.btn-load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.filter-bar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px #00000005;
}
.filter-bar .filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-bar input,
.filter-bar select {
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
  min-width: 100px;
  color: #1e293b;
  transition: all 0.15s;
}
.filter-bar input:focus,
.filter-bar select:focus {
  outline: none;
  background: #fff;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px #1a73e81a;
}
.filter-bar input[type="date"] {
  min-width: 140px;
}
.filter-bar .btn {
  padding: 6px 14px;
  font-size: 12px;
}
.filter-bar .filter-toggle {
  color: #1a73e8;
  cursor: pointer;
  font-size: 12px;
  -webkit-user-select: none;
  user-select: none;
  padding: 4px 6px;
  border-radius: 4px;
}
.filter-bar .filter-toggle:hover {
  background: #eff6ff;
}
.filter-bar .advanced {
  display: none;
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px dashed #e2e8f0;
}
.filter-bar .advanced.show {
  display: block;
}
.orders-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
  font-size: 14px;
  background: #fff;
  border: 1px dashed #e2e8f0;
  border-radius: 8px;
}
.orders-empty .icon {
  font-size: 36px;
  opacity: 0.3;
  margin-bottom: 8px;
}
.audit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.audit-table thead {
  background: #f8fafc;
}
.audit-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}
.audit-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: middle;
}
.audit-table tbody tr:hover {
  background: #f8fafc;
}
.audit-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}
.audit-tag.action-create {
  background: #dcfce7;
  color: #166534;
}
.audit-tag.action-update {
  background: #fef3c7;
  color: #92400e;
}
.audit-tag.action-delete {
  background: #fee2e2;
  color: #991b1b;
}
.audit-tag.action-login,
.audit-tag.action-logout {
  background: #e0e7ff;
  color: #3730a3;
}
.audit-tag.action-pdf_download {
  background: #dbeafe;
  color: #1e40af;
}
.audit-tag.action-login_failed {
  background: #fee2e2;
  color: #991b1b;
}
.audit-entity-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
}
.audit-diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-family:
    JetBrains Mono,
    SF Mono,
    Consolas,
    monospace;
  font-size: 11px;
}
.audit-diff pre {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 400px;
  overflow: auto;
  line-height: 1.6;
}
.audit-diff .old {
  border-left: 3px solid #ef4444;
}
.audit-diff .new {
  border-left: 3px solid #10b981;
}
.audit-diff h5 {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 600;
}
.perm-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}
.perm-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 10px;
}
.perm-group h5 {
  font-size: 12px;
  color: #475569;
  margin-bottom: 6px;
  font-weight: 600;
}
.perm-group .perm-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px 8px;
}
.perm-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
}
.perm-group label:hover {
  background: #eff6ff;
}
.role-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.role-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
}
.role-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.role-card-head h4 {
  font-size: 14px;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.role-system-badge {
  font-size: 10px;
  padding: 1px 6px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 10px;
  font-weight: 500;
}
.role-card .perms-summary {
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.pagination-summary {
  font-size: 13px;
  color: #64748b;
  margin-right: auto;
}
.pagination-pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-number,
.page-nav,
.page-go {
  height: 32px;
  min-width: 32px;
  padding: 0 9px;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}
.page-number:hover,
.page-nav:hover,
.page-go:hover {
  border-color: #93b4e8;
  color: #1758b8;
  background: #f6f9fe;
}
.page-number.active {
  border-color: #1a73e8;
  background: #1a73e8;
  color: #fff;
  font-weight: 600;
}
.page-nav {
  font-size: 20px;
  line-height: 1;
}
.page-nav:disabled {
  background: #f8fafc;
  color: #cbd5e1;
  border-color: #e2e8f0;
  cursor: not-allowed;
}
.page-ellipsis {
  width: 24px;
  text-align: center;
  color: #94a3b8;
}
.pagination-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 13px;
}
.pagination-jump input {
  width: 56px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
  color: #334155;
}
.pagination-jump input:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px #1a73e826;
}
.page-go {
  min-width: 48px;
}
.pagination .page-info {
  font-size: 13px;
  color: #666;
}
@media (max-width: 600px) {
  .pagination {
    justify-content: center;
  }
  .pagination-summary {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .pagination-pages {
    order: 2;
  }
  .pagination-jump {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .page-number,
  .page-nav {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
  }
}
.dimension-table {
  width: 100%;
  border-collapse: collapse;
}
.dimension-table thead {
  background: #f5f5f5;
}
.dimension-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}
.dimension-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}
.dimension-table tbody tr:hover {
  background: #fafafa;
}
.form-select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
}
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00000080;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.dialog {
  background: #fff;
  border-radius: 8px;
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 4px 20px #00000026;
}
.dialog-large {
  max-width: 800px;
  width: 760px;
}
.dialog-wide {
  max-width: 600px;
  width: 560px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-select-sm {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.dialog-header h3 {
  margin: 0;
  font-size: 16px;
}
.dialog-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}
.dialog-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}
.edit-order-dates {
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.edit-date-item {
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}
.edit-date-item label {
  font-weight: 500;
  color: #888;
  white-space: nowrap;
}
.edit-order-dialog {
  width: min(1040px, 94vw);
  max-width: 1040px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 70px #0f172a33;
}
.edit-order-dialog .dialog-header {
  flex: 0 0 auto;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid #e8edf3;
}
.edit-order-dialog .dialog-header h3 {
  position: relative;
  padding-left: 13px;
  font-size: 18px;
  color: #162033;
}
.edit-order-dialog .dialog-header h3::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: #2563eb;
}
.edit-order-body {
  flex: 1 1 auto;
  max-height: none;
  padding: 20px 24px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #f7f9fc;
}
.edit-order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.edit-order-form > .edit-order-dates,
.edit-order-form > .edit-order-grid,
.edit-order-form > .edit-size-section,
.edit-order-form > .edit-phrase-section,
.edit-order-form > .edit-symbol-section,
.edit-order-form > .edit-order-footer {
  grid-column: 1 / -1;
}
.edit-order-dates {
  margin: 0;
  padding: 8px 12px;
  gap: 20px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e3e9f0;
  border-radius: 0;
  color: #7b8797;
}
.edit-order-grid,
.edit-order-section {
  position: relative;
  margin: 0;
  padding: 48px 18px 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.edit-order-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.edit-order-grid-primary {
  padding-bottom: 14px;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.edit-order-grid-config {
  margin-top: -18px;
  padding-top: 14px;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}
.edit-order-grid-config::before {
  display: none;
}
.edit-order-grid::before,
.edit-order-section::before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: #27364b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.edit-order-grid-primary::before {
  content: "订单信息";
}
.edit-size-section::before {
  content: "颜色与尺寸";
}
.edit-phrase-section::before {
  content: "洗语配置";
}
.edit-symbol-section::before {
  content: "洗护符号";
}
.edit-order-grid .form-group,
.edit-order-section.form-group {
  margin-bottom: 0;
}
.edit-order-grid .form-group label,
.edit-order-section > label {
  color: #59677a;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}
.edit-order-grid input,
.edit-order-grid select,
.edit-order-grid .custom-select-trigger {
  min-height: 40px;
  border-color: #d5dde7;
  border-radius: 7px;
  background: #fff;
}
.edit-order-grid input:hover,
.edit-order-grid select:hover,
.edit-order-grid .custom-select-trigger:hover {
  border-color: #9fb3c8;
}
.edit-size-section .color-group {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid #e5eaf0;
  border-radius: 9px;
  background: #fbfcfe;
}
.edit-size-section .color-group:last-of-type {
  margin-bottom: 0;
}
.edit-size-section .color-group h4 {
  margin: 0 0 9px;
  padding: 0 0 8px;
  color: #334155;
}
.edit-size-section .checkbox-label {
  padding: 8px 11px;
  background: #fff;
  border-color: #dce3eb;
  border-radius: 7px;
}
.edit-size-section .checkbox-label:has(input:checked) {
  background: #eff6ff;
  border-color: #60a5fa;
  box-shadow: 0 1px 3px #2563eb14;
}
.edit-phrase-section,
.edit-symbol-section {
  min-width: 0;
}
.edit-order-section > label {
  display: none;
}
.edit-phrase-section .phrase-picker-container {
  border-color: #e2e8f0;
  border-radius: 9px;
  background: #fbfcfe;
}
.edit-symbol-section .symbol-selectors {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.edit-symbol-section .symbol-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px 10px;
  text-align: center;
  background: #fbfcfe;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
}
.edit-symbol-section .symbol-group label,
.edit-symbol-section .symbol-preview {
  margin: 0;
}
.edit-symbol-section .symbol-group label {
  color: #44546a;
  font-weight: 700;
}
.edit-symbol-section .symbol-preview {
  order: 2;
  min-height: 46px;
  padding: 3px;
  background: #fff;
  border-radius: 6px;
}
.edit-symbol-section .symbol-group select {
  order: 3;
  width: 100%;
  min-width: 0;
  padding: 7px 6px;
  background: #fff;
  border-color: #d5dde7;
}
.edit-order-footer {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin: 0 -24px;
  padding: 14px 24px;
  background: #fffffff5;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -6px 16px #0f172a0a;
  backdrop-filter: blur(8px);
}
.edit-order-footer .btn {
  min-width: 92px;
  min-height: 38px;
  border-radius: 7px;
}
@media (max-width: 900px) {
  .edit-order-dialog {
    width: min(760px, 94vw);
  }
  .edit-order-form {
    grid-template-columns: 1fr;
  }
  .edit-order-form > * {
    grid-column: 1;
  }
  .edit-symbol-section .symbol-selectors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .dialog-overlay:has(.edit-order-dialog) {
    align-items: stretch;
  }
  .edit-order-dialog {
    width: 100vw;
    max-width: none;
    max-height: 100vh;
    border-radius: 0;
  }
  .edit-order-body {
    padding: 14px 14px 0;
  }
  .edit-order-form {
    gap: 12px;
  }
  .edit-order-grid {
    grid-template-columns: 1fr;
  }
  .edit-order-grid-config {
    margin-top: -12px;
  }
  .edit-order-dates {
    gap: 7px 14px;
  }
  .edit-order-section,
  .edit-order-grid {
    padding: 44px 12px 12px;
  }
  .edit-symbol-section .symbol-selectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .edit-order-footer {
    margin: 0 -14px;
    padding: 12px 14px;
  }
  .edit-order-footer .btn {
    flex: 1;
  }
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid #eee;
}
.symbol-category {
  margin-bottom: 12px;
}
.symbol-category h4 {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
.symbol-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.symbol-item {
  text-align: center;
  padding: 4px;
  border: 1px solid #eee;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.symbol-item:hover {
  background: #f0f7ff;
  border-color: #1a73e8;
}
.symbol-code {
  display: block;
  font-size: 9px;
  color: #999;
  margin-top: 2px;
}
.size-table-item {
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
}
.empty-message {
  text-align: center;
  color: #999;
  padding: 24px;
  font-size: 14px;
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 24px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
}
.toast-info {
  background: #1a73e8;
}
.toast-error {
  background: #ea4335;
}
.toast-success {
  background: #34a853;
}
.care-table {
  width: 100%;
  border-collapse: collapse;
}
.care-table thead {
  background: #f5f5f5;
}
.care-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}
.care-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  vertical-align: middle;
}
.care-table tbody tr:hover {
  background: #fafafa;
}
.svg-preview svg {
  width: 40px;
  height: 40px;
}
.svg-preview .vector-icon-svg svg {
  width: 50px;
  height: 50px;
}
.btn-block {
  width: 100%;
}
.symbol-selectors-v2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.symbol-row {
  display: grid;
  grid-template-columns: 70px 1fr 60px;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  transition: all 0.2s;
}
.symbol-row:hover {
  background: #f1f5f9;
}
.symbol-label {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}
.symbol-row select {
  width: 100%;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}
.symbol-row select:focus {
  outline: none;
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px #1a73e826;
}
.symbol-row .symbol-preview {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-section {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}
.form-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.form-section h3 {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.phrase-picker-container {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fafbfc;
  overflow: visible;
  position: relative;
}
.phrase-header {
  padding: 10px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}
.phrase-count {
  background: #1a73e8;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  margin-left: 6px;
}
.phrase-empty {
  padding: 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}
.phrase-list {
  padding: 8px;
}
.phrase-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #1a73e8;
  border-radius: 6px;
  margin-bottom: 6px;
  transition: all 0.2s;
}
.phrase-item:last-child {
  margin-bottom: 0;
}
.phrase-item:hover {
  border-color: #cbd5e1;
  border-left-color: #1a73e8;
  box-shadow: 0 2px 4px #0000000d;
}
.phrase-index {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}
.phrase-content {
  flex: 1;
  min-width: 0;
}
.phrase-text {
  font-size: 13px;
  color: #334155;
  word-break: break-word;
  line-height: 1.45;
  font-weight: 500;
}
.phrase-remark {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 3px;
  word-break: break-word;
  line-height: 1.4;
  padding-left: 0;
}
.phrase-remark:before {
  content: "※ ";
  color: #cbd5e1;
  font-style: normal;
}
.phrase-meta {
  font-size: 10px;
  color: #6b7280;
  margin-top: 4px;
  padding: 2px 6px;
  background: #f1f5f9;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.4;
}
.phrase-meta:before {
  content: "🔤 ";
}
.phrase-option-meta {
  font-size: 10px;
  color: #6b7280;
  margin-top: 3px;
  padding: 1px 5px;
  background: #f1f5f9;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.3;
}
.phrase-option-meta:before {
  content: "🔤 ";
}
.phrase-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  align-items: center;
}
.btn-phrase {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  color: #64748b;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-phrase:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.btn-phrase:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-phrase.btn-remove {
  color: #dc2626;
  border-color: #fecaca;
}
.btn-phrase.btn-remove:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #f87171;
}
.phrase-add-row {
  padding: 12px 14px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  position: relative;
}
.phrase-add-trigger {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  color: #1a73e8;
  background: #fff;
  border: 1px dashed #1a73e8;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.phrase-add-trigger:hover {
  background: #e8f0fe;
  border-style: solid;
}
.phrase-add-icon {
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}
.phrase-dropdown {
  position: absolute;
  top: calc(100% - 2px);
  left: 14px;
  right: 14px;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  box-shadow: 0 6px 16px #0000001f;
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  margin-top: 4px;
}
.phrase-search-box {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
}
.phrase-search-input {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.phrase-search-input:focus {
  border-color: #4a90d9;
  box-shadow: 0 0 0 2px #4a90d926;
}
.phrase-option {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.phrase-option:last-child {
  border-bottom: none;
}
.phrase-option:hover {
  background: #e8f0fe;
}
.phrase-option-text {
  font-size: 13px;
  color: #334155;
  line-height: 1.45;
  word-break: break-word;
  font-weight: 500;
}
.phrase-option-remark {
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 3px;
  line-height: 1.4;
  word-break: break-word;
}
.phrase-option-remark:before {
  content: "※ ";
  color: #cbd5e1;
  font-style: normal;
}
.phrase-no-more {
  padding: 12px 14px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.phrase-limit {
  padding: 10px 14px;
  text-align: center;
  color: #dc2626;
  font-size: 12px;
  font-weight: 500;
  background: #fef2f2;
  border-top: 1px solid #fecaca;
}
.confirm-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #0006;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: confirm-fadein 0.15s ease;
}
.confirm-box {
  background: #fff;
  border-radius: 10px;
  padding: 24px 24px 18px;
  width: 340px;
  max-width: 88vw;
  box-shadow: 0 8px 30px #00000026;
  text-align: center;
  animation: confirm-pop 0.2s ease;
}
.confirm-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fef3cd;
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirm-icon svg {
  width: 22px;
  height: 22px;
  color: #d97706;
}
.confirm-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a1a;
}
.confirm-msg {
  font-size: 13px;
  color: #666;
  margin-bottom: 18px;
  line-height: 1.5;
}
.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.confirm-actions .btn-cancel {
  padding: 7px 22px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #666;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
}
.confirm-actions .btn-cancel:hover {
  background: #f5f5f5;
  border-color: #ccc;
}
.confirm-actions .btn-confirm {
  padding: 7px 22px;
  border: none;
  border-radius: 6px;
  background: #ef4444;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.15s;
}
.confirm-actions .btn-confirm:hover {
  background: #dc2626;
}
@keyframes confirm-fadein {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes confirm-pop {
  0% {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.custom-select {
  position: relative;
  cursor: pointer;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  min-height: 32px;
  transition: border-color 0.15s;
}
.custom-select-trigger:hover {
  border-color: #999;
}
.custom-select.open .custom-select-trigger {
  border-color: #4a90d9;
  box-shadow: 0 0 0 2px #4a90d926;
}
.custom-select-trigger .arrow {
  font-size: 10px;
  color: #999;
  margin-left: 8px;
  transition: transform 0.15s;
}
.custom-select.open .custom-select-trigger .arrow {
  transform: rotate(180deg);
}
.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px #0000001a;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}
.custom-option {
  padding: 6px 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.1s;
}
.custom-option:hover {
  background: #f0f7ff;
}
.custom-option.selected {
  background: #e8f0fe;
  font-weight: 500;
}
.custom-option .option-label {
  color: #1a1a1a;
}
.custom-option .option-remark {
  color: #999;
  font-size: 12px;
}
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  vertical-align: middle;
}
.order-actions .btn-spinner {
  border: 2px solid #cbd5e1;
  border-top-color: #475569;
}
.order-actions .btn-sm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f1f5f9;
}
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding-top: 22px;
}
.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #4a90d9;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Microsoft YaHei,
    sans-serif;
  background: #f0f2f5;
  color: #333;
  min-height: 100vh;
}
.navbar {
  background: #1a73e8;
  color: #fff;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 4px #0000001a;
}
.nav-brand {
  font-size: 20px;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  color: #ffffffd9;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: #ffffff26;
  color: #fff;
}
.designer-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 56px);
}
.toolbar {
  background: #fff;
  padding: 12px 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.toolbar-group h4 {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.toolbar-group {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar-group select {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
}
.designer-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}
.canvas-container {
  flex: 1;
  padding: 20px;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.canvas-wrapper {
  background: #fff;
  box-shadow: 0 2px 8px #0000001a;
  border: 1px solid #e0e0e0;
}
.canvas-container canvas {
  display: block;
}
.properties-panel {
  width: 280px;
  background: #fff;
  border-left: 1px solid #e0e0e0;
  padding: 16px;
  overflow-y: auto;
}
.properties-panel h3 {
  font-size: 13px;
  color: #666;
  margin: 12px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #f0f0f0;
}
.properties-panel h3:first-child {
  margin-top: 0;
}
.prop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
}
.prop-row label {
  width: 50px;
  color: #888;
  flex-shrink: 0;
}
.prop-row input,
.prop-row select {
  flex: 1;
  padding: 4px 6px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
}
.prop-row span {
  color: #333;
}
.size-inputs {
  display: flex;
  gap: 8px;
}
.size-inputs .form-group {
  flex: 1;
}
.size-inputs label {
  display: block;
  font-size: 11px;
  color: #888;
  margin-bottom: 2px;
}
.size-inputs input {
  width: 100%;
  padding: 4px 6px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 12px;
}
.btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #333;
}
.btn:hover {
  background: #f5f5f5;
}
.btn-primary {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}
.btn-primary:hover {
  background: #1557b0;
}
.btn-danger {
  background: #ea4335;
  color: #fff;
  border-color: #ea4335;
}
.btn-danger:hover {
  background: #d33426;
}
.btn-sm {
  padding: 4px 10px;
  font-size: 11px;
}
.empty-message {
  text-align: center;
  color: #999;
  padding: 12px;
  font-size: 12px;
}
