:root {
  --color-brand: #F10042;
  --color-brand-hover: #d4003a;
  --color-brand-light: #fff0f3;
  --color-brand-gradient: linear-gradient(135deg, #F10042 0%, #ff2a6d 100%);
  --color-surface-bg: #f8fafc;
  --color-surface-card: #ffffff;
  --color-on-surface: #0f172a;
  --color-secondary-text: #64748b;
  --color-border: #e2e8f0;
  --color-border-focus: #F10042;
  --color-green: #059669;
  --color-green-light: #ecfdf5;
  --color-amber: #d97706;
  --color-amber-light: #fffbeb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   SELLER TOP ANNOUNCEMENT BAR (LIGHT THEME)
   ========================================================================== */
.seller-top-announcement-bar {
  background: #F8FAFC;
  color: #475569;
  font-size: 12px;
  line-height: 1.4;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
  z-index: 99;
}

.seller-top-bar-inner {
  max-width: 100%;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.seller-top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0F172A;
  font-weight: 600;
  font-size: 12px;
}

.seller-live-dot {
  color: #16A34A;
  font-size: 11px;
}

.seller-top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
}

.seller-top-link {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.seller-top-link:hover {
  color: #0F172A;
}

.seller-top-wa {
  color: #16A34A !important;
}

.seller-top-highlight {
  color: #F10042 !important;
  font-weight: 700;
}

.seller-top-sep {
  color: #CBD5E1;
  user-select: none;
}

/* ==========================================================================
   WORKSPACE CONTAINER
   ========================================================================== */
.pcbmart-seller-workspace {
  display: flex;
  min-height: 100vh;
  background-color: var(--color-surface-bg);
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  margin: 0;
  max-width: 100%;
  width: 100%;
  font-family: var(--font-family);
  color: var(--color-on-surface);
  border: none;
  box-sizing: border-box;
}

/* ==========================================================================
   MOBILE HEADER & NAVIGATION (Default Hidden on Desktop)
   ========================================================================== */
.seller-mobile-header {
  display: none;
}

.seller-mobile-nav {
  display: none;
}

/* ==========================================================================
   DESKTOP SIDEBAR
   ========================================================================== */
.seller-sidebar {
  width: 270px;
  background: #ffffff;
  border-right: 1px solid var(--color-border);
  padding: 24px 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  box-sizing: border-box;
}

.seller-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.brand-badge {
  background: var(--color-brand-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(241, 0, 66, 0.25);
}

.brand-info h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-on-surface);
  line-height: 1.2;
}

.role-badge {
  font-size: 11px;
  background: var(--color-green-light);
  color: var(--color-green);
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

.seller-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--color-secondary-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item svg {
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.nav-item:hover {
  background: var(--color-brand-light);
  color: var(--color-brand);
}

.nav-item.active {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(241, 0, 66, 0.25);
}

.nav-item.active svg {
  stroke: #ffffff;
}

.nav-item.highlight-add {
  margin-top: 10px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  color: var(--color-on-surface);
}

.nav-item.highlight-add:hover {
  background: var(--color-brand-light);
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.nav-item.highlight-add.active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */
.seller-main {
  flex: 1;
  padding: 32px 36px;
  background: var(--color-surface-bg);
  min-width: 0;
}

.seller-alert-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid #a7f3d0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.workspace-header h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: var(--color-on-surface);
  letter-spacing: -0.3px;
}

.workspace-header p {
  margin: 0;
  color: var(--color-secondary-text);
  font-size: 14px;
}

/* ==========================================================================
   METRICS GRID & CARDS
   ========================================================================== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: #ffffff;
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  box-shadow: var(--shadow-md);
}

.metric-card.highlight {
  border-left: 4px solid var(--color-brand);
}

.metric-label {
  font-size: 12px;
  color: var(--color-secondary-text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-on-surface);
  margin: 8px 0;
  letter-spacing: -0.5px;
}

.metric-sub {
  font-size: 12px;
  color: var(--color-secondary-text);
}

.text-green { color: var(--color-green); }
.text-crimson { color: var(--color-brand); }
.font-bold { font-weight: 700; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary {
  background: var(--color-brand-gradient);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(241, 0, 66, 0.2);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(241, 0, 66, 0.3);
  color: #fff;
}

.btn-secondary {
  background: #f1f5f9;
  color: var(--color-secondary-text);
  border: 1px solid var(--color-border);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--color-on-surface);
}

.btn-xs {
  background: var(--color-brand-light);
  color: var(--color-brand);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
  transition: background 0.2s;
}

.btn-xs:hover {
  background: #ffe0e7;
}

/* ==========================================================================
   TABLES & BADGES
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}

.data-table th {
  background: #f8fafc;
  color: var(--color-secondary-text);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-chip {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-both {
  background: #f3e8ff;
  color: #7e22ce;
}

.badge-new {
  background: var(--color-green-light);
  color: var(--color-green);
}

.badge-refurb {
  background: #fff1f2;
  color: #be123c;
}

.badge-publish, .badge-success {
  background: var(--color-green-light);
  color: var(--color-green);
}

.badge-pending {
  background: var(--color-amber-light);
  color: var(--color-amber);
}

.empty-state {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 48px 24px;
  text-align: center;
  color: var(--color-secondary-text);
  margin-top: 16px;
}

.empty-state p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* ==========================================================================
   DEDICATED FULL-PAGE "ADD PRODUCT" VIEW
   ========================================================================== */
.dedicated-add-product-view {
  max-width: 900px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-secondary-text);
  text-decoration: none;
  transition: color 0.2s;
  margin-bottom: 4px;
}

.back-link:hover {
  color: var(--color-brand);
}

.form-section-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.form-section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.section-icon {
  font-size: 24px;
  color: var(--color-brand);
  background: var(--color-brand-light);
  padding: 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.form-section-header h3 {
  margin: 0 0 4px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-on-surface);
}

.form-section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--color-secondary-text);
  line-height: 1.4;
}

/* Multi-image drag & drop uploader */
.multi-image-uploader-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.multi-image-uploader-box:hover {
  border-color: var(--color-brand);
  background: #fff8f9;
}

.file-input-hidden {
  display: none;
}

.upload-prompt {
  cursor: pointer;
  padding: 16px;
}

.upload-cloud-icon {
  font-size: 48px;
  color: var(--color-brand);
  margin-bottom: 8px;
}

.prompt-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-on-surface);
  margin-bottom: 4px;
}

.prompt-subtitle {
  font-size: 12px;
  color: var(--color-secondary-text);
  margin-bottom: 14px;
}

.btn-select-photos {
  background: #ffffff;
  color: var(--color-on-surface);
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.btn-select-photos:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.image-previews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.image-preview-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.image-preview-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.img-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.img-name {
  font-size: 11px;
  color: var(--color-secondary-text);
  padding: 6px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Form inputs & grid layouts */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-on-surface);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
  background: #ffffff;
  color: var(--color-on-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgba(241, 0, 66, 0.15);
}

.field-hint {
  display: block;
  font-size: 11px;
  color: var(--color-secondary-text);
  margin-top: 4px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* Condition Tier Boxes */
.condition-tier-box {
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 16px;
  border: 1px solid var(--color-border);
  transition: all 0.2s;
}

.condition-tier-box.new-tier {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.condition-tier-box.refurb-tier {
  background: #fff1f2;
  border-color: #fecdd3;
}

.tier-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-on-surface);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tier-title .material-symbols-outlined {
  font-size: 20px;
}

.form-sticky-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 24px;
  padding: 20px 0;
  position: sticky;
  bottom: 0;
  background: var(--color-surface-bg);
  border-top: 1px solid var(--color-border);
  z-index: 10;
}

/* Settings / Profile */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.settings-grid div {
  font-size: 14px;
  padding: 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #f1f5f9;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 900px) {
  .pcbmart-seller-workspace {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
    border: none;
  }

  /* Hide Desktop Sidebar */
  .seller-sidebar {
    display: none;
  }

  /* Show Mobile Header */
  .seller-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .seller-mobile-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .seller-mobile-brand .brand-badge {
    padding: 6px 10px;
    font-size: 12px;
  }

  .seller-mobile-brand .brand-info h3 {
    font-size: 15px;
    margin: 0;
  }

  .btn-mobile-add {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-brand-gradient);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(241, 0, 66, 0.2);
  }

  .btn-mobile-add:hover {
    color: #ffffff;
  }

  /* Show Mobile Horizontal Scroll Tabs */
  .seller-mobile-nav {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 6px 12px;
    gap: 8px;
    scrollbar-width: none; /* Firefox */
  }

  .seller-mobile-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .mobile-nav-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-secondary-text);
    text-decoration: none;
    background: #f1f5f9;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .mobile-nav-item.active {
    background: var(--color-brand);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(241, 0, 66, 0.25);
  }

  /* Main content padding on mobile */
  .seller-main {
    padding: 20px 16px 40px 16px;
  }

  .desktop-only {
    display: none !important;
  }

  .form-row-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-card {
    padding: 16px;
  }

  .metric-value {
    font-size: 22px;
  }

  .form-section-card {
    padding: 18px 14px;
  }

  .form-sticky-actions {
    flex-direction: column-reverse;
    gap: 10px;
    background: #ffffff;
    padding: 14px 16px;
    margin: 20px -16px -40px -16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  }

  .form-sticky-actions button,
  .form-sticky-actions a {
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .image-previews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace-header h1 {
    font-size: 20px;
  }
}

/* ==========================================================================
   ORDER ID HIGHLIGHT & DATA TABLE STYLES
   ========================================================================== */
.order-id-highlight-link {
  color: #e11d48 !important;
  font-weight: 800;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 3px 8px;
  background: #fff1f2;
  border: 1px solid #ffe4e6;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.order-id-highlight-link:hover {
  background: #e11d48;
  color: #ffffff !important;
  border-color: #e11d48;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   PROFESSIONAL SINGLE-COLOR FULFILLMENT TABS
   ========================================================================== */
.fulfillment-tabs-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  overflow-x: auto;
  align-items: center;
}
.fulfillment-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.fulfillment-tab-item:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.fulfillment-tab-item.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}
.fulfillment-tab-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}
.fulfillment-tab-item.active .fulfillment-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* ==========================================================================
   3-DOT ACTION CONTEXT MENU
   ========================================================================== */
.action-dropdown-wrap {
  position: relative;
  display: inline-block;
}
.action-dropdown-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.action-dropdown-btn:hover,
.action-dropdown-btn.active {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.action-dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  z-index: 1000;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.action-dropdown-menu.show {
  display: flex;
}
.action-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: all 0.12s ease;
  box-sizing: border-box;
}
.action-dropdown-item:hover {
  background: #f8fafc;
  color: #0f172a;
}
.action-dropdown-item .material-symbols-outlined {
  font-size: 18px;
  color: #64748b;
}
.action-dropdown-item:hover .material-symbols-outlined {
  color: #0f172a;
}
.action-dropdown-item.item-danger {
  color: #dc2626;
}
.action-dropdown-item.item-danger .material-symbols-outlined {
  color: #dc2626;
}
.action-dropdown-item.item-danger:hover {
  background: #fef2f2;
}

/* ==========================================================================
   MODERN DRAG & DROP UPLOAD CARDS
   ========================================================================== */
.upload-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 768px) {
  .upload-card-grid {
    grid-template-columns: 1fr;
  }
}
.upload-dropzone-card {
  background: #ffffff;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.upload-dropzone-card:hover {
  border-color: #e11d48;
  background: #fff8f9;
  transform: translateY(-2px);
}
.upload-dropzone-card.dragover {
  border-color: #e11d48;
  background: #ffe4e8;
  border-style: solid;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15);
}
.upload-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}
.upload-dropzone-card:hover .upload-icon-circle {
  background: #fff0f3;
  color: #e11d48;
  transform: scale(1.08);
}
.upload-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.upload-card-hint {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}
.upload-browse-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}
.upload-dropzone-card:hover .upload-browse-badge {
  background: #ffffff;
  border-color: #fca5a5;
  color: #e11d48;
}
.upload-preview-active {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  z-index: 5;
}
.upload-preview-thumb {
  max-width: 100%;
  max-height: 105px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.upload-preview-badge {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
