/* WordPress Admin Bar (Removed) */
#wpadminbar {
  display: none !important;
}


/* ==========================================================================
   Modern Minimal Admin Dashboard Theme
   ========================================================================== */

/* Workspace Root & Body Grid */
.admin-workspace {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", sans-serif;
  background: #f8fafc;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}

.admin-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  flex: 1;
  min-height: calc(100vh - 60px);
  transition: grid-template-columns 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-workspace.folded .admin-body {
  grid-template-columns: 64px minmax(0, 1fr);
}

/* ==========================================================================
   Modern Sleek Top Header
   ========================================================================== */
.admin-top-header {
  position: sticky;
  top: 0;
  height: 60px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 150;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.admin-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #0f172a;
}

.admin-brand-logo-img {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

.admin-brand-favicon {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

.admin-brand-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1;
}

.admin-brand-badge {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.admin-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  padding-left: 14px;
  border-left: 1px solid #e2e8f0;
}

.breadcrumb-slash {
  color: #cbd5e1;
  font-weight: 300;
}

.breadcrumb-active {
  color: #334155;
  font-weight: 500;
}

.admin-header-center {
  flex: 1;
  max-width: 440px;
  margin: 0 24px;
}

.admin-header-search-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.header-search-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
}

#admin-header-quicksearch {
  width: 100%;
  height: 38px;
  padding: 0 44px 0 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

#admin-header-quicksearch:focus {
  background: #ffffff;
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.header-search-kbd {
  position: absolute;
  right: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  pointer-events: none;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.admin-header-btn.secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.admin-header-btn.secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.admin-header-btn.primary {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}

.admin-header-btn.primary:hover {
  background: #1d4ed8;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.admin-user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid #e2e8f0;
}

.admin-avatar-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.admin-online-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
}

.admin-user-details {
  display: flex;
  flex-direction: column;
}

.admin-user-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.2;
}

.admin-user-sub {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
}

/* ==========================================================================
   Modernized Minimalist Sidebar
   ========================================================================== */
.admin-navigation {
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  width: 220px;
  padding: 18px 10px 24px;
  background: #0f172a;
  border-right: 1px solid #1e293b;
  color: #94a3b8;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-workspace.folded .admin-navigation {
  width: 64px;
  padding: 16px 6px 20px;
}

.admin-nav-group-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  padding: 0 12px 10px;
}

.admin-workspace.folded .admin-nav-group-label,
.admin-workspace.folded .admin-nav-title,
.admin-workspace.folded .admin-count-badge,
.admin-workspace.folded .collapse-label,
.admin-workspace.folded .admin-submenu,
.admin-workspace.folded .admin-website-link span {
  display: none !important;
}

.admin-nav-parent {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 9px 12px !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  margin-bottom: 2px !important;
  text-decoration: none !important;
}

.admin-workspace.folded .admin-nav-parent {
  justify-content: center !important;
  padding: 10px 0 !important;
}

.admin-nav-parent:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f1f5f9 !important;
}

.admin-nav-parent.active {
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3) !important;
}

.admin-nav-parent.active:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

.admin-nav-parent-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-menu-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.admin-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

.admin-nav-parent-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.admin-menu-chevron {
  width: 14px;
  height: 14px;
  color: #64748b;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s ease;
  flex-shrink: 0;
}

.admin-nav-parent:hover .admin-menu-chevron {
  color: #cbd5e1;
}

.admin-nav-parent.active .admin-menu-chevron {
  color: rgba(255, 255, 255, 0.9);
}

.admin-menu-group.open .admin-menu-chevron {
  transform: rotate(90deg);
}

.admin-workspace.folded .admin-menu-chevron {
  display: none !important;
}

.admin-submenu {
  display: none;
  padding: 4px 0 6px 14px;
  margin: 0;
  overflow: hidden;
}

.admin-menu-group.open .admin-submenu {
  display: block;
  animation: submenuFadeDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes submenuFadeDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-sub-item {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-bottom: 1px;
}

.admin-sub-item:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.admin-sub-item.active {
  color: #60a5fa;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.12);
}

.admin-nav-bottom-section {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #1e293b;
}

.admin-website-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #94a3b8;
  font-size: 12.5px;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-bottom: 4px;
}

.admin-workspace.folded .admin-website-link {
  justify-content: center;
  padding: 8px 0;
}

.admin-website-link:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
}

.admin-collapse-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-workspace.folded .admin-collapse-menu-btn {
  justify-content: center;
  padding: 8px 0;
}

.admin-collapse-menu-btn:hover {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Admin Main Content & Views
   ========================================================================== */
.admin-workspace .admin-main {
  min-width: 0;
  width: 100%;
  padding: 24px 32px 64px;
  box-sizing: border-box;
  background: #f8fafc;
}

.admin-view { display: none; }
.admin-view.active-view { display: block; animation: adminFadeIn 0.15s ease-out; }
@keyframes adminFadeIn { from { opacity: 0.7; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Modern Page Header & Title Area
   ========================================================================== */
.modern-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.modern-heading-title-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-title-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-page-title, .wp-heading-inline {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.modern-page-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0;
}

.admin-header-count-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 9999px;
  background: #e2e8f0;
  color: #475569;
}

.modern-btn-primary-header, .page-title-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.modern-btn-primary-header:hover, .page-title-action:hover {
  background: #1d4ed8;
  border-color: #1e40af;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Modern Table Card & Integrated Tab Navigation
   ========================================================================== */
.modern-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-bottom: 24px;
}

.modern-card-tab-bar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 0 20px;
  overflow-x: auto;
}

.modern-status-nav, .subsubsub {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.modern-status-nav li, .subsubsub li {
  display: inline-flex;
}

.modern-status-nav a, .subsubsub a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.modern-status-nav a:hover, .subsubsub a:hover {
  color: #0f172a;
  background: transparent;
}

.modern-status-nav a.current, .subsubsub a.current {
  color: #2563eb !important;
  font-weight: 600 !important;
  border-bottom-color: #2563eb !important;
  background: transparent !important;
  box-shadow: none !important;
}

.modern-status-nav .count, .subsubsub .count {
  font-size: 11px;
  padding: 2px 7.5px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #64748b;
  font-weight: 600;
  transition: all 0.15s ease;
}

.modern-status-nav a.current .count, .subsubsub a.current .count {
  background: #eff6ff !important;
  color: #2563eb !important;
}

/* ==========================================================================
   Modern Integrated Card Toolbar (Filters, Search, Bulk Actions)
   ========================================================================== */
.modern-card-toolbar {
  padding: 12px 20px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.modern-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.modern-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.modern-search-box-unified {
  position: relative;
  display: flex;
  align-items: center;
  width: 310px;
  max-width: 100%;
}

.modern-search-box-unified svg, .modern-search-box-wrap svg {
  position: absolute;
  left: 11px;
  color: #94a3b8;
  pointer-events: none;
}

.modern-search-box-unified input, #admin-search, #employer-search, #admin-post-search, #admin-page-search, #admin-user-search {
  width: 100% !important;
  height: 34px !important;
  padding: 0 65px 0 32px !important;
  margin: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
  outline: none !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
}

.modern-search-box-unified input:focus, #admin-search:focus, #employer-search:focus, #admin-post-search:focus, #admin-page-search:focus, #admin-user-search:focus {
  border-color: #0f172a !important;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08) !important;
}

.modern-search-submit-btn, .modern-search-box-wrap .modern-filter-btn {
  position: absolute;
  right: 3px;
  height: 28px;
  padding: 0 10px;
  border: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  color: #475569;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s ease;
}

.modern-search-submit-btn:hover, .modern-search-box-wrap .modern-filter-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.modern-filter-dropdowns {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.modern-select-pill, .tablenav select {
  height: 34px !important;
  padding: 0 26px 0 10px !important;
  margin: 0 !important;
  font-size: 12px !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 7px center/13px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.15s ease !important;
}

.modern-select-pill:focus, .tablenav select:focus {
  border-color: #0f172a !important;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08) !important;
}

.modern-btn-filter, .modern-btn-apply, .modern-filter-btn, .modern-btn-secondary {
  height: 34px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.modern-btn-filter:hover, .modern-btn-apply:hover, .modern-filter-btn:hover, .modern-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.modern-bulk-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Modern Card Pagination Footer
   ========================================================================== */
.modern-card-footer {
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.modern-footer-info {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.modern-pagination-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.modern-pagination-wrap .pagination-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modern-paging-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  margin: 0 4px;
}

.modern-paging-counter .current-page, .current-page {
  width: 40px !important;
  height: 32px !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #0f172a !important;
  background: #ffffff !important;
}

.tablenav-page-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s ease;
}

.tablenav-page-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* ==========================================================================
   Modern Data Table
   ========================================================================== */
.admin-table-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow-x: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.wp-list-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  text-align: left;
  background: #ffffff;
  border: none;
  box-shadow: none;
}

.wp-list-table thead th,
.wp-list-table thead td {
  padding: 10px 14px;
  background: #fbfcfd;
  border-bottom: 1px solid #eef2f6;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  white-space: nowrap;
}

.wp-list-table thead th a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wp-list-table tfoot {
  display: none;
}

.wp-list-table tbody tr {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s ease;
}

.wp-list-table.striped tbody tr:nth-child(even),
.wp-list-table.striped tbody tr:nth-child(odd) {
  background: #ffffff;
}

.wp-list-table tbody tr:hover {
  background: #f8fafc;
}

.wp-list-table td, .wp-list-table th {
  padding: 11px 14px;
  vertical-align: middle;
  line-height: 1.4;
  color: #334155;
  border-top: none;
  border-bottom: 1px solid #f1f5f9;
}

.wp-list-table .check-column {
  width: 36px;
  text-align: center;
  padding: 11px 6px 11px 12px;
}

.wp-list-table .check-column input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  accent-color: #2563eb;
  cursor: pointer;
  margin: 0;
  vertical-align: middle;
}

/* Minimal Table Row Elements */
.column-logo {
  width: 44px !important;
  padding: 10px 4px 10px 8px !important;
  text-align: center;
}

.modern-job-logo-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e8ecf2;
  overflow: hidden;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.wp-job-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  border-radius: 6px;
  display: block;
}

.wp-job-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
}

.column-title {
  width: 26%;
  min-width: 220px;
}

.modern-title-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.row-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.12s ease;
}

.row-title:hover {
  color: #2563eb;
}

.modern-company-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
  line-height: 1.3;
}

/* Minimalist hover-reveal row actions */
.row-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 3px;
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  pointer-events: none;
}

.wp-list-table tbody tr:hover .row-actions,
.row-actions:focus-within {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.row-action-link {
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  color: #64748b;
  background: none;
  border: none;
  padding: 0 6px 0 0;
  cursor: pointer;
  transition: color 0.12s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.row-action-link:hover {
  color: #2563eb;
}

.row-action-link:not(:last-child)::after {
  content: "·";
  margin-left: 6px;
  color: #cbd5e1;
  font-weight: 400;
}

.row-action-link.trash-link {
  color: #94a3b8;
}

.row-action-link.trash-link:hover {
  color: #dc2626;
}

.column-views {
  width: 75px;
  white-space: nowrap;
}

.modern-views-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background: none;
  padding: 0;
}

.modern-views-chip svg {
  color: #94a3b8;
}

.column-type {
  width: 90px;
}

.modern-pill {
  display: inline-flex;
  align-items: center;
  padding: 2.5px 7.5px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.pill-type {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.pill-category {
  background: transparent;
  color: #475569;
  border: none;
  padding: 0;
}

.column-location {
  width: 95px;
}

.modern-location-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #475569;
  font-size: 12px;
}

.modern-location-text svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.column-posted {
  width: 105px;
}

.modern-date-posted {
  font-size: 12px;
  color: #334155;
  font-weight: 400;
  white-space: nowrap;
}

.column-expires {
  width: 105px;
}

.modern-date-expires {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
  white-space: nowrap;
}

.column-category {
  width: 140px;
  max-width: 180px;
}

.modern-category-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
  display: block;
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.column-status {
  width: 85px;
}

.modern-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.modern-status-badge.status-active,
.modern-status-badge.status-publish {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.modern-status-badge.status-draft {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.modern-status-badge.status-draft .status-pulse-dot {
  background: #94a3b8;
  box-shadow: none;
}

.modern-status-badge.status-expired {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fecdd3;
}

.modern-status-badge.status-expired .status-pulse-dot {
  background: #f43f5e;
  box-shadow: none;
}

.modern-status-badge.status-pending {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.modern-status-badge.status-pending .status-pulse-dot {
  background: #f59e0b;
  box-shadow: none;
}


/* Editor View Panels */
.admin-editor { padding: 24px; background: #fff; border: 1px solid #ccd0d4; box-shadow: 0 1px 1px rgba(0,0,0,0.04); margin-bottom: 25px; }
.admin-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid #e2e4e7; margin-bottom: 20px; }
.admin-editor-heading h2 { margin: 0; font-size: 22px; font-weight: 500; color: #1d2327; }
#admin-save-state, #employer-save-state { color: #287a46; font-size: 13px; font-weight: 500; }

.admin-form-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 24px; }
.admin-form-main { min-width: 0; }
.admin-form-card { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid #e8ebef; }
.admin-form-card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: #1d2327; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; }
.admin-field { display: block; min-width: 0; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: #2c3338; }
.admin-field > span { display: block; margin-bottom: 6px; font-size: 13px; }
.admin-field input:not([type=checkbox]), .admin-field select, .admin-field textarea {
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #8c8f94;
  border-radius: 4px;
  background: #fff;
  color: #2c3338;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  box-sizing: border-box;
}
.admin-field textarea { resize: vertical; }
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus {
  outline: 2px solid #2271b1;
  border-color: #2271b1;
}
.admin-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin: 8px 0; cursor: pointer; }
.admin-toggle input { accent-color: #2271b1; }

.admin-form-sidebar { align-self: start; position: sticky; top: 15px; }
.admin-checks { padding: 14px; border: 1px solid #dcdcde; border-radius: 4px; background: #f6f7f7; margin-bottom: 14px; }
.admin-checks legend { padding: 0 4px; font-size: 14px; font-weight: 600; }
.admin-check-list { max-height: 170px; overflow-y: auto; }
.admin-check-list label { display: flex; align-items: flex-start; gap: 7px; padding: 3px 0; font-size: 13px; font-weight: 400; cursor: pointer; }
.admin-check-list input { flex: 0 0 auto; margin: 2px 0; accent-color: #2271b1; }
.admin-add-term { display: flex; gap: 5px; margin-top: 8px; }
.admin-add-term input { flex: 1; min-width: 0; height: 28px; padding: 0 6px; font-size: 12px; border: 1px solid #8c8f94; border-radius: 3px; }
.admin-add-term button { height: 28px; padding: 0 10px; border: 1px solid #2271b1; border-radius: 3px; background: #fff; color: #2271b1; font-size: 12px; cursor: pointer; }

.admin-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; }
.admin-actions .primary { padding: 9px; font-size: 13px; text-align: center; }
.admin-actions a, .admin-actions > button:not(.primary) {
  text-align: center;
  padding: 8px;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  background: #f6f7f7;
  color: #2271b1;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.admin-actions a:hover, .admin-actions > button:not(.primary):hover { background: #f0f0f1; border-color: #8c8f94; }
.admin-actions #admin-delete, .admin-actions #employer-delete { color: #b32d2e; border-color: #e5b0b2; background: #fcf0f0; }

/* ==========================================================================
   Modern SaaS Listing & Employer Editor
   ========================================================================== */
.admin-workspace.in-gutenberg .admin-top-header {
  display: none !important;
}
.admin-workspace.in-gutenberg .admin-body {
  grid-template-columns: 1fr !important;
}
.admin-workspace.in-gutenberg .admin-navigation {
  display: none !important;
}
.admin-workspace.in-gutenberg .admin-main,
.admin-main:has(#view-job-editor.active-view),
.admin-main:has(#view-employer-editor.active-view),
.admin-main:has(#view-post-editor.active-view),
.admin-main:has(#view-page-editor.active-view) {
  padding: 0 !important;
  max-width: none !important;
  background: #ffffff;
}
#view-job-editor, #view-employer-editor {
  padding: 0 !important;
  background: #f8fafc;
  min-height: 100vh;
}
#view-post-editor, #view-page-editor {
  padding: 0 !important;
  background: #ffffff;
  min-height: 100vh;
}
.modern-editor-form {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
}

/* Modern Editor Top Header */
.modern-editor-header {
  height: 60px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}
.modern-editor-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.modern-editor-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.15s ease;
}
.modern-editor-back-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.modern-editor-divider {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
}
.modern-editor-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modern-editor-doc-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modern-editor-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modern-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
.modern-header-btn.secondary {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
}
.modern-header-btn.secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.modern-header-btn.primary {
  background: #0284c7;
  border: 1px solid #0284c7;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(2, 132, 199, 0.2);
}
.modern-header-btn.primary:hover {
  background: #0369a1;
  border-color: #0369a1;
}
.modern-header-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.modern-header-icon-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.modern-header-icon-btn.active {
  background: #f0f9ff;
  color: #0284c7;
  border-color: #bae6fd;
}

/* Workspace Layout */
.modern-editor-workspace {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 60px);
  background: #f8fafc;
  position: relative;
}
.modern-editor-canvas {
  flex: 1;
  overflow-y: auto;
  padding: 32px 40px 100px;
  display: flex;
  justify-content: center;
}
.modern-editor-container {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Modern Cards */
.modern-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  overflow: visible;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  scroll-margin-top: 135px;
}
.modern-card[data-section] {
  scroll-margin-top: 135px;
}
.modern-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modern-card-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.modern-card-subtitle {
  font-size: 13px;
  color: #64748b;
}
.modern-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Fields & Controls */
.modern-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.modern-label {
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
}
.modern-label .req {
  color: #ef4444;
  font-weight: 600;
}
.modern-title-input {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.modern-title-input:focus {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.modern-textarea {
  width: 100% !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #0f172a !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  outline: none !important;
  resize: vertical !important;
  min-height: 72px !important;
  font-family: inherit !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}
.modern-textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
.modern-input {
  width: 100% !important;
  height: 38px !important;
  font-size: 13px !important;
  color: #0f172a !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  outline: none !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}
.modern-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
.modern-select {
  width: 100% !important;
  height: 38px !important;
  font-size: 13px !important;
  color: #0f172a !important;
  padding: 0 32px 0 12px !important;
  margin: 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center/14px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
}
.modern-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}

/* Grids */
.modern-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.modern-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Toggles & Cards */
.modern-toggles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.modern-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.modern-toggle-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.toggle-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toggle-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.toggle-card-desc {
  font-size: 12px;
  color: #64748b;
}

/* Switch */
.modern-switch-input {
  display: none;
}
.modern-switch-track {
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 9999px;
  position: relative;
  transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.modern-switch-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-switch-input:checked + .modern-switch-track {
  background: #0284c7;
}
.modern-switch-input:checked + .modern-switch-track::after {
  transform: translateX(20px);
}

/* Modern Sidebar */
.modern-editor-sidebar {
  width: 330px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: calc(100vh - 104px);
  position: sticky;
  top: 104px;
  overflow-y: auto;
}
.modern-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.modern-sidebar-title {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.modern-sidebar-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  line-height: 1;
}
.modern-sidebar-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.modern-sidebar-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modern-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.modern-sidebar-card-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modern-img-preview-box {
  width: 100%;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
}
.modern-img-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modern-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #475569;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}
.modern-btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.modern-search-sm {
  width: 100%;
  font-size: 12.5px;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
}
.modern-search-sm:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.1);
}
.modern-taxonomy-checklist {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 175px;
  overflow-y: auto;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.modern-taxonomy-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #334155;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.1s ease;
}
.modern-taxonomy-checklist label:hover {
  background: #f1f5f9;
}
.modern-taxonomy-checklist label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #0284c7;
  cursor: pointer;
  margin: 0;
}
.modern-taxonomy-checklist label.level-1 {
  padding-left: 20px;
  position: relative;
}
.modern-taxonomy-checklist label.level-1::before {
  content: "—";
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  margin-right: -4px;
}
.modern-taxonomy-checklist label.level-2 {
  padding-left: 34px;
  position: relative;
}
.modern-taxonomy-checklist label.level-2::before {
  content: "——";
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
  margin-right: -4px;
}
.modern-add-taxonomy-wrap {
  margin-top: 6px;
}
.modern-add-tax-toggle {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 12px;
  font-weight: 500;
  color: #0284c7;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}
.modern-add-tax-toggle:hover {
  color: #0369a1;
}
.modern-add-tax-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}
.modern-add-tax-form label {
  font-size: 10.5px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: -2px;
}
.modern-input-sm,
.modern-select-sm {
  width: 100%;
  height: 30px;
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modern-input-sm:focus,
.modern-select-sm:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}
.modern-btn-add-tax {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  background: #0284c7;
  border: 1px solid #0284c7;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 4px;
  transition: background 0.15s;
}
.modern-btn-add-tax:hover {
  background: #0369a1;
}
.modern-sidebar-card.footer-card {
  background: transparent;
  border: none;
  padding: 0;
  gap: 10px;
}
.modern-save-state {
  font-size: 12px;
  color: #64748b;
  min-height: 16px;
  text-align: center;
  display: block;
}
.modern-delete-btn {
  width: 100%;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.modern-delete-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
}

@media (max-width: 900px) {
  .modern-editor-workspace {
    flex-direction: column;
  }
  .modern-editor-sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-left: none;
    border-top: 1px solid #e2e8f0;
  }
  .modern-grid-2, .modern-grid-3 {
    grid-template-columns: 1fr;
  }
  .modern-editor-canvas {
    padding: 20px 16px 40px;
  }
}


/* ==========================================================================
   Modern SaaS Taxonomy Directory (Types, Categories, Locations, Tags)
   ========================================================================== */.modern-tax-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.modern-heading-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.modern-tax-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}
.modern-heading-badge {
  font-size: 11.5px;
  font-weight: 500;
  padding: 2.5px 9px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  display: inline-flex;
  align-items: center;
}
.modern-tax-search-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.modern-tax-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 11px;
  height: 35px;
  width: 250px;
  box-sizing: border-box;
  transition: all 0.15s ease;
}
.modern-tax-search-box:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.modern-tax-search-box svg {
  color: #94a3b8;
  flex-shrink: 0;
}
.modern-tax-search-box input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  width: 100%;
  color: #0f172a;
}
.modern-tax-search-box input::placeholder {
  color: #94a3b8;
}
.modern-tax-search-btn {
  height: 35px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.modern-tax-search-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* 2-Column Taxonomy Grid */
.modern-taxonomy-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}
.modern-tax-form-col {
  position: sticky;
  top: 76px;
  width: 320px;
  flex-shrink: 0;
}
.modern-tax-table-col {
  min-width: 0;
  flex: 1;
}

/* Left Form Card */
.modern-tax-form-col .modern-card {
  border: 1px solid #eef2f6;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  background: #ffffff;
}
.modern-tax-form-col .modern-card-header {
  padding: 15px 18px 13px;
  background: #fafbfc;
  border-bottom: 1px solid #f1f5f9;
}
.modern-tax-form-col .modern-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.modern-tax-form-col .modern-card-subtitle {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.35;
}
.modern-tax-form-col .modern-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.modern-tax-form-col .modern-field-wrap {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modern-tax-form-col .modern-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 3px;
}
.modern-tax-form-col .modern-label .req {
  color: #ef4444;
  font-weight: bold;
}
.modern-tax-form-col .modern-input,
.modern-tax-form-col .modern-select {
  height: 35px !important;
  padding: 0 11px !important;
  font-size: 12.5px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 7px !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.modern-tax-form-col .modern-select {
  padding-right: 28px !important;
}
.modern-tax-form-col .modern-input:focus,
.modern-tax-form-col .modern-select:focus,
.modern-tax-form-col .modern-textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}
.modern-tax-form-col .modern-textarea {
  min-height: 60px !important;
  padding: 7px 11px !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 7px !important;
  resize: vertical !important;
}
.modern-tax-form-col .modern-field-hint {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 1px;
}
.modern-tax-btn-wrap {
  margin-top: 4px;
}
.modern-tax-form-col .modern-btn-primary {
  width: 100%;
  height: 36px;
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.modern-tax-form-col .modern-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1e40af;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

/* Color Picker Controls */
.modern-color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modern-color-preview {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.modern-color-btn {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.modern-color-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.modern-color-native {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  pointer-events: none;
}

/* Upload input wrap */
.modern-upload-field-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.modern-btn-outline-sm {
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.modern-btn-outline-sm:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* Right Table Card & Toolbar */
.modern-tax-table-col .modern-card {
  border: 1px solid #eef2f6;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  background: #ffffff;
}
.modern-tax-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #eef2f6;
  background: #fafbfc;
}
.modern-bulk-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}
.modern-select-sm {
  height: 32px;
  padding: 0 26px 0 10px;
  font-size: 12px;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 8px center/11px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.modern-select-sm:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.modern-btn-sm {
  height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.modern-btn-sm:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}
.modern-count-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 6px;
}

/* Modern Minimal Taxonomy Table */
.modern-table-responsive {
  overflow-x: auto;
}
.modern-tax-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-size: 13px;
  background: #ffffff;
}
.modern-tax-table thead th {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #fbfcfd;
  border-bottom: 1px solid #eef2f6;
  white-space: nowrap;
}
.modern-tax-table tbody tr.modern-tax-tr {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s ease;
}
.modern-tax-table tbody tr.modern-tax-tr:hover {
  background: #f8fafc;
}
.modern-tax-table tbody td {
  padding: 11px 14px;
  vertical-align: middle;
  color: #334155;
  border-top: none;
  border-bottom: 1px solid #f1f5f9;
}

/* Table Column Widths & Alignments */
.modern-tax-table .check-col {
  width: 36px;
  text-align: center;
  padding: 11px 6px 11px 12px;
}
.modern-tax-table .name-col {
  width: 36%;
  min-width: 190px;
}
.modern-tax-table .desc-col {
  width: 28%;
  min-width: 120px;
}
.modern-tax-table .slug-col {
  width: 20%;
  min-width: 100px;
}
.modern-tax-table .count-col {
  width: 16%;
  min-width: 70px;
  text-align: right;
  padding-right: 18px;
}
.modern-tax-table thead th.count-col {
  text-align: right;
  padding-right: 18px;
}
.modern-tax-table .color-col {
  width: 36px;
  text-align: center;
  padding: 11px 4px;
}
.modern-tax-table .emp-col {
  width: 110px;
}

/* Cells, Tree Hierarchy, & Titles */
.modern-tax-name-cell {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.modern-tax-parent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  margin-top: 2px;
  flex-shrink: 0;
}
.modern-tax-indent {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.modern-tax-indent.depth-1 { padding-left: 8px; }
.modern-tax-indent.depth-2 { padding-left: 20px; }
.modern-tax-indent.depth-3 { padding-left: 32px; }
.modern-tree-branch {
  display: inline-block;
  width: 10px;
  height: 12px;
  border-left: 1.5px solid #cbd5e1;
  border-bottom: 1.5px solid #cbd5e1;
  border-bottom-left-radius: 4px;
  margin-top: -6px;
  margin-right: 3px;
}
.modern-tax-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.modern-tax-row-title {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.12s ease;
}
.modern-tax-row-title.is-parent {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.modern-tax-row-title:hover {
  color: #2563eb;
}

/* Minimalist hover-reveal row actions */
.modern-tax-row-actions {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 3px;
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  pointer-events: none;
}
tr.modern-tax-tr:hover .modern-tax-row-actions,
.modern-tax-row-actions:focus-within {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tax-action-btn {
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  color: #64748b;
  background: none;
  border: none;
  padding: 0 5px 0 0;
  cursor: pointer;
  transition: color 0.12s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.tax-action-btn:hover {
  color: #2563eb;
  text-decoration: none;
}
.tax-action-btn.text-danger {
  color: #94a3b8;
}
.tax-action-btn.text-danger:hover {
  color: #dc2626;
}
.tax-action-sep {
  color: #cbd5e1;
  font-size: 10px;
  margin-right: 5px;
}

/* Badges, Chips & Meta */
.modern-tax-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modern-tax-empty {
  color: #cbd5e1;
  font-size: 12px;
}
.modern-tax-slug-pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #64748b;
  background: #f8fafc;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid #eef2f6;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modern-tax-count-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #dbeafe;
}
.modern-color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px #cbd5e1;
}
.modern-tax-emp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.02em;
}
.modern-cat-thumb-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.modern-cat-thumb {
  width: 36px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .modern-taxonomy-layout {
    grid-template-columns: 1fr;
  }
  .modern-tax-form-col {
    position: static;
    width: 100%;
  }
  .modern-tax-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .modern-tax-search-wrap {
    width: 100%;
  }
  .modern-tax-search-box {
    width: 100%;
  }
}


/* WordPress Quick Edit Inline Box */
.wp-list-table tr.inline-edit-row {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.wp-list-table tr.inline-edit-row td {
  padding: 20px 24px;
  background: #f8fafc;
  vertical-align: top;
}
.wp-list-table tr.inline-edit-row:hover {
  background: #f8fafc;
}
.inline-edit-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: inherit;
}
.inline-edit-fields-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}
.inline-edit-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}
.inline-edit-label-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #334155;
}
.inline-edit-label-row label.title {
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}
.inline-edit-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  outline: none;
  transition: all 0.15s ease;
}
.inline-edit-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.inline-edit-date-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #334155;
}
.inline-edit-date-wrap select {
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  background: #ffffff;
  color: #0f172a;
  outline: none;
}
.inline-edit-date-wrap input {
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  text-align: center;
  background: #ffffff;
  color: #0f172a;
  outline: none;
}
.inline-edit-date-wrap input:focus,
.inline-edit-date-wrap select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.inline-edit-section-header {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 8px;
}
.inline-edit-checklist-box {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 8px;
  max-height: 160px;
  overflow-y: auto;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.inline-edit-checklist-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  padding: 3px 0;
  cursor: pointer;
}
.inline-edit-checklist-box label.level-1 {
  padding-left: 18px;
}
.inline-edit-checklist-box label.level-2 {
  padding-left: 36px;
}
.inline-edit-checklist-box label.level-3 {
  padding-left: 54px;
}
.inline-edit-simple-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.inline-edit-simple-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
}
.inline-edit-actions-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}
.inline-edit-update-btn {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #1d4ed8;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.inline-edit-update-btn:hover {
  background: #1d4ed8;
}
.inline-edit-cancel-btn {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.inline-edit-cancel-btn:hover {
  background: #f8fafc;
  color: #0f172a;
}

/* Responsive adjustments */
@media (max-width: 1050px) {
  .admin-body {
    grid-template-columns: 1fr;
  }
  .admin-navigation {
    position: static;
    width: 100%;
    height: auto;
    padding: 12px 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .admin-navigation .admin-nav-group-label,
  .admin-navigation .admin-nav-bottom-section {
    display: none;
  }
  .admin-header-center {
    display: none;
  }
}
@media (max-width: 768px) {
  .admin-top-header {
    padding: 0 16px;
  }
  .admin-breadcrumbs,
  .admin-user-details {
    display: none;
  }
  .admin-workspace .admin-main {
    padding: 16px 14px 60px;
  }
  .wp-heading-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .tablenav.top {
    flex-direction: column;
    align-items: stretch;
  }
  .tablenav-filters-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .modern-search-box-wrap {
    width: 100%;
  }
  #admin-search, #employer-search {
    width: 100%;
    min-width: 0;
  }
  .tablenav-pages {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
  .admin-form-layout, .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-sidebar {
    position: static;
  }
}

/* ==========================================================================
   Modern SaaS Combobox & Searchable Dropdown
   ========================================================================== */
.modern-combobox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.modern-combobox-wrap {
  position: relative;
  width: 100%;
}
.modern-combobox-trigger {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  box-sizing: border-box;
}
.modern-combobox-trigger:hover {
  border-color: #94a3b8;
}
.modern-combobox-trigger:focus,
.modern-combobox-trigger.open {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}
.combobox-trigger-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.combobox-trigger-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.combobox-trigger-avatar {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.combobox-trigger-label {
  font-size: 13px;
  color: #0f172a;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.combobox-trigger-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 8px;
}
.combobox-clear-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.combobox-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.combobox-chevron {
  color: #64748b;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.modern-combobox-trigger.open .combobox-chevron {
  transform: rotate(180deg);
}
.modern-combobox-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: comboboxFadeIn 0.15s ease;
}
@keyframes comboboxFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modern-combobox-search-wrap {
  position: relative;
  padding: 8px 10px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}
.combobox-search-icon {
  position: absolute;
  left: 18px;
  color: #94a3b8;
  pointer-events: none;
}
.modern-combobox-search-input {
  width: 100% !important;
  height: 34px !important;
  padding: 0 10px 0 32px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  font-size: 12.5px !important;
  color: #0f172a !important;
  outline: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}
.modern-combobox-search-input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12) !important;
}
.modern-combobox-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
}
.modern-combobox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.1s ease;
  font-size: 13px;
  color: #0f172a;
}
.modern-combobox-item:hover {
  background: #f1f5f9;
}
.modern-combobox-item.selected {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 500;
}
.combobox-item-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  flex-shrink: 0;
}
.combobox-item-avatar {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.combobox-item-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.combobox-item-title {
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.combobox-item-slug {
  font-size: 11px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.combobox-check-icon {
  color: #2563eb;
  flex-shrink: 0;
  margin-left: auto;
}
.combobox-empty-message {
  padding: 16px;
  text-align: center;
  color: #64748b;
  font-size: 12.5px;
}
.modern-combobox-create {
  padding: 6px 8px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.combobox-create-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px dashed #93c5fd;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.combobox-create-btn:hover {
  background: #dbeafe;
  border-color: #60a5fa;
}
.combobox-create-btn .create-plus {
  font-weight: 700;
  font-size: 14px;
}

/* ==========================================================================
   Modern SaaS Section Selector Menu & Sticky Subnav
   ========================================================================== */
.modern-sections-menu-wrap {
  position: relative;
  display: inline-block;
}
.modern-sections-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 500 !important;
  padding: 0 12px !important;
  height: 36px !important;
  border-radius: 8px !important;
}
.modern-sections-btn:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}
.modern-sections-btn.open {
  background: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
.sections-count-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  line-height: 1.3;
}
.sections-chevron {
  color: #64748b;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-sections-btn.open .sections-chevron {
  transform: rotate(180deg);
}

/* Sections Dropdown Panel */
.modern-sections-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 1050;
  width: 350px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: comboboxFadeIn 0.15s ease;
}
.sections-dropdown-header {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.sections-dropdown-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sections-dropdown-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
}
.sections-dropdown-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
}
.sections-link-action {
  border: none;
  background: none;
  color: #2563eb;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 6px;
  white-space: nowrap;
  border-radius: 4px;
  transition: background 0.1s ease;
}
.sections-link-action:hover {
  text-decoration: underline;
  background: #eff6ff;
}
.sections-dropdown-list {
  padding: 6px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sections-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.1s ease;
}
.sections-dropdown-item:hover {
  background: #f1f5f9;
}
.sections-item-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  user-select: none;
}
.sections-item-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.sections-item-icon {
  font-size: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
}
.sections-item-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sections-item-text strong {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sections-item-text small {
  font-size: 11px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sections-jump-btn {
  padding: 4px 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.sections-jump-btn:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}
.sections-dropdown-item.mandatory .sections-item-checkbox {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Sticky Subnav Pill Bar */
.modern-editor-subnav {
  height: 52px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 60px;
  z-index: 90;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.modern-subnav-pills {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.modern-subnav-pills::-webkit-scrollbar {
  display: none;
}
.subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
}
.subnav-pill .pill-svg {
  color: #94a3b8;
  transition: color 0.15s ease;
  flex-shrink: 0;
}
.subnav-pill:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
}
.subnav-pill:hover .pill-svg {
  color: #475569;
}
.subnav-pill.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
}
.subnav-pill.active .pill-svg {
  color: #2563eb;
}
.subnav-pill .pill-icon {
  font-size: 13px;
  line-height: 1;
}
.modern-subnav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 16px;
}
.subnav-pill-customize {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  background: #ffffff;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.subnav-pill-customize:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
  border-style: solid;
}

/* Card highlight pulse on jump */
.card-highlight-pulse {
  animation: cardPulse 1.2s ease forwards;
}
@keyframes cardPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    border-color: #2563eb;
  }
  40% {
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
    border-color: #2563eb;
  }
  100% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    border-color: #e2e8f0;
  }
}

/* ==========================================================================
   Modern SaaS Rich Text WYSIWYG Editor
   ========================================================================== */
.modern-rich-editor {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.02);
}
.modern-rich-editor:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12), 0 1px 2px rgba(15, 23, 42, 0.04);
}
.rich-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  gap: 2px;
}
.rich-mode-btn {
  border: 1px solid transparent;
  background: transparent;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s ease;
}
.rich-mode-btn:hover {
  color: #0f172a;
}
.rich-mode-btn.active {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.rich-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  user-select: none;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 3px;
}
.toolbar-divider {
  width: 1px;
  height: 20px;
  background: #e2e8f0;
  margin: 0 4px;
}
.toolbar-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.12s ease;
  padding: 0;
}
.toolbar-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.toolbar-btn.active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.toolbar-select {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.toolbar-select:focus {
  border-color: #2563eb;
}
.rich-content {
  min-height: 220px;
  height: auto;
  max-height: none;
  overflow: visible;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
}
.rich-content p {
  margin: 0 0 10px 0;
}
.rich-content p:last-child {
  margin-bottom: 0;
}
.rich-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 8px 0;
  color: #0f172a;
  line-height: 1.35;
}
.rich-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 14px 0 6px 0;
  color: #0f172a;
  line-height: 1.4;
}
.rich-content ul, .rich-content ol {
  margin: 0 0 12px 24px;
  padding: 0;
}
.rich-content li {
  margin-bottom: 4px;
}
.rich-content blockquote {
  margin: 12px 0;
  padding: 8px 14px;
  border-left: 3px solid #2563eb;
  background: #f8fafc;
  color: #475569;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}
.rich-content a {
  color: #2563eb;
  text-decoration: underline;
}
.rich-content:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
  pointer-events: none;
}
.rich-raw-code {
  width: 100% !important;
  min-height: 190px !important;
  max-height: none !important;
  overflow-y: hidden !important;
  padding: 14px 16px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #0f172a !important;
  border: none !important;
  outline: none !important;
  resize: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

/* Empty logo preview placeholder & table fallback avatars */
.logo-preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 500;
  width: 100%;
  height: 100%;
  user-select: none;
  background: #f8fafc;
}
.wp-job-logo-fallback {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 1px solid #dbeafe;
}

/* ==========================================================================
   Modern SaaS User Directory & Editor
   ========================================================================== */
.column-avatar {
  width: 44px !important;
  padding: 10px 4px 10px 8px !important;
  text-align: center;
}
.modern-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  border: 2px solid #ffffff;
}
.modern-user-fullname {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
  line-height: 1.3;
}
.pill-role {
  font-size: 11px;
  font-weight: 600;
  padding: 2.5px 8px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.pill-role-administrator {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.pill-role-editor {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}
.pill-role-employer {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.pill-role-candidate {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* Modern Users Table - Pro SaaS Design */
.modern-users-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  background: #ffffff;
}

.modern-users-table thead th {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  white-space: nowrap;
}

.modern-users-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.modern-users-table tbody tr:hover {
  background: #f8fafc;
}

.modern-users-table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.user-col-cb {
  width: 38px;
  text-align: center;
  padding: 13px 8px 13px 14px !important;
}

.user-col-cb input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  accent-color: #2563eb;
  cursor: pointer;
  margin: 0;
}

.user-col-user {
  min-width: 240px;
}

.user-profile-cell-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-profile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.user-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-username-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.user-username-link:hover {
  color: #2563eb;
}

.user-display-name {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
}

.user-col-email {
  width: 25%;
  min-width: 180px;
}

.user-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.user-email-link svg {
  color: #94a3b8;
  flex-shrink: 0;
}

.user-email-link:hover {
  color: #2563eb;
}

.user-col-role {
  width: 15%;
  min-width: 120px;
}

.user-col-posts {
  width: 100px;
  text-align: center;
}

.user-col-status {
  width: 110px;
  text-align: right;
}

/* Empty State Styling */
.modern-table-empty-cell {
  padding: 48px 24px !important;
  text-align: center;
}

.modern-table-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 380px;
  margin: 0 auto;
  text-align: center;
}

.modern-empty-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.modern-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.modern-empty-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Modern SaaS Posts, Pages & Media Styles
   ========================================================================== */
/* Modern Posts Table - Pro SaaS Design */
.modern-posts-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  background: #ffffff;
}

.modern-posts-table thead th {
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  white-space: nowrap;
}

.modern-posts-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.modern-posts-table tbody tr:hover {
  background: #f8fafc;
}

.modern-posts-table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.post-col-cb {
  width: 38px;
  text-align: center;
  padding: 13px 8px 13px 14px !important;
}

.post-col-cb input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
  accent-color: #2563eb;
  cursor: pointer;
  margin: 0;
}

.post-col-title {
  min-width: 280px;
}

.post-title-cell-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.post-article-thumb-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.post-title-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.post-headline-link {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.post-headline-link:hover {
  color: #2563eb;
}

.post-meta-subrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-pill-category {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  line-height: 1.3;
}

.post-row-actions-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity .14s ease,transform .14s ease,visibility .14s;
}
.modern-posts-table tbody tr:hover .post-row-actions-bar,.modern-posts-table tbody tr:focus-within .post-row-actions-bar{opacity:1;visibility:visible;transform:translateY(0)}
.post-inline-quick-edit .inline-edit-hint{display:block;margin:5px 0 12px;color:#64748b;font-size:11px}.post-inline-quick-edit .inline-edit-option{display:inline-flex;align-items:center;gap:6px;margin:0 14px 14px 0;color:#334155;font-size:12px;cursor:pointer}.post-inline-quick-edit .inline-edit-option input{width:15px;height:15px}.post-inline-quick-edit td{padding:20px!important}.post-inline-quick-edit .inline-edit-fields-grid{grid-template-columns:1.1fr .9fr 1fr}
@media(max-width:1000px){.post-inline-quick-edit .inline-edit-fields-grid{grid-template-columns:1fr}.post-row-actions-bar{opacity:1;visibility:visible;transform:none}}

.post-row-action-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.12s ease;
  font-weight: 500;
}

.post-row-action-link:hover {
  color: #2563eb;
}

.post-row-action-link.delete-link:hover {
  color: #dc2626;
}

.post-row-action-dot {
  color: #cbd5e1;
  font-size: 10px;
}

.post-col-author {
  width: 170px;
  white-space: nowrap;
}

.post-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-author-avatar-chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.post-author-name-text {
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
}

.post-col-status {
  width: 120px;
  white-space: nowrap;
}

.post-status-pill-clean {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 600;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.post-status-pill-clean .status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}
.post-status-pill-clean.is-scheduled {
  background: #eff6ff;
  color: #0284c7;
  border-color: #bfdbfe;
}
.post-status-pill-clean.is-scheduled .status-indicator-dot {
  background: #0284c7;
}

.post-col-date-views {
  width: 140px;
  white-space: nowrap;
}

.post-date-primary-text {
  font-size: 12px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.3;
}

.post-views-sub-text {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.column-comments {
  text-align: center !important;
}

.column-views {
  text-align: center !important;
}

.modern-views-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

/* Modern Pages Table & SEO Details */
.modern-pages-table th, .modern-pages-table td {
  vertical-align: middle;
}

.pill-seo-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8.5px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  width: fit-content;
  white-space: nowrap;
}
.pill-seo-score.seo-good {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.pill-seo-score.seo-ok {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}
.pill-seo-score.seo-na {
  background: #f1f5f9;
  color: #94a3b8;
  border: 1px solid #e2e8f0;
}

.modern-seo-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.modern-seo-meta-line {
  font-size: 11px;
  color: #64748b;
  line-height: 1.25;
}
.modern-seo-meta-line b {
  color: #475569;
}
.modern-seo-links-line {
  font-size: 11px;
  color: #64748b;
  line-height: 1.25;
}

/* Media Library Cards */
.modern-media-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  position: relative;
}
.modern-media-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.modern-media-thumb {
  width: 100%;
  height: 120px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px;
  box-sizing: border-box;
}
.modern-media-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.modern-media-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.modern-media-title {
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modern-media-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modern-media-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f8fafc;
}
.modern-media-btn {
  background: transparent;
  border: none;
  font-size: 11px;
  color: #0284c7;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
}
.modern-media-btn:hover {
  background: #f0f9ff;
  color: #0369a1;
}
.modern-media-btn.danger {
  color: #dc2626;
}
.modern-media-btn.danger:hover {
  background: #fef2f2;
}

/* ==========================================================================
   AUTHENTIC WORDPRESS GUTENBERG BLOCK EDITOR
   ========================================================================== */
.wp-gutenberg-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  color: #1e1e1e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  position: relative;
  box-sizing: border-box;
}

/* Top Gutenberg Header Bar */
.wp-gutenberg-header {
  height: 60px;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
}
.wp-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.wp-header-btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.1s ease;
  padding: 0;
}
.wp-header-btn-icon:hover {
  background: #f0f0f0;
  color: #000000;
}
.wp-header-back-btn {
  width: auto;
  min-width: 76px;
  padding: 0 12px;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.wp-header-back-btn span { line-height: 1; }
.wp-header-btn-icon.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.wp-inserter-toggle-btn {
  width: 36px;
  height: 36px;
  background: #2271b1;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wp-inserter-toggle-btn:hover {
  background: #135e96;
}
.wp-inserter-toggle-btn.is-active {
  background: #1e1e1e;
}
.wp-elementor-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  background: #5832a8;
  color: #ffffff;
  border-radius: 4px;
  border: none;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  transition: background 0.12s ease;
}
.wp-elementor-btn:hover {
  background: #46228c;
}

.wp-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
}
.wp-doc-status-chip {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 14px;
  border-radius: 4px;
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wp-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp-draft-btn {
  background: transparent;
  border: 1px solid transparent;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: #2271b1;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.1s ease;
}
.wp-draft-btn:hover {
  background: #f0f6fc;
  border-color: #2271b1;
}
.wp-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: #1e1e1e;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}
.wp-preview-btn:hover {
  background: #f0f0f0;
}
.wp-rankmath-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 15px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}
.wp-rankmath-chip:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
.wp-rankmath-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}
.wp-sidebar-toggle-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  background: #ffffff;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease;
}
.wp-sidebar-toggle-btn.is-active {
  background: #1e1e1e;
  color: #ffffff;
  border-color: #1e1e1e;
}
.wp-publish-btn {
  height: 36px;
  padding: 0 20px;
  background: #2271b1;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: background 0.12s ease;
}
.wp-publish-btn:hover {
  background: #135e96;
}

/* Gutenberg Editor Workspace Layout */
.wp-gutenberg-body {
  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 92px);
}

/* Left-side Block Inserter Drawer */
.wp-block-inserter-drawer {
  width: 350px;
  border-right: 1px solid #e0e0e0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 60;
  transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-sizing: border-box;
}
.wp-block-inserter-drawer.collapsed {
  margin-left: -350px;
}
.wp-inserter-search-wrap {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}
.wp-inserter-search-input {
  width: 100%;
  height: 38px;
  border: 1px solid #757575;
  border-radius: 3px;
  padding: 0 12px 0 34px;
  font-size: 13.5px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23757575' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat 10px center / 16px;
  box-sizing: border-box;
  outline: none;
}
.wp-inserter-search-input:focus {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.wp-inserter-categories {
  padding: 10px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.wp-home-widgets-group { display: none; }
.is-home-document .wp-home-widgets-group { display: block; }
.wp-home-widget-preview { position: relative; overflow: hidden; border: 1px solid #dbe4f0; border-radius: 12px; background: #f8fbff; padding: 28px; color: #172033; }
.wp-home-widget-badge { position: absolute; top: 10px; right: 12px; padding: 4px 8px; border-radius: 999px; background: #e8f0ff; color: #2563eb; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.wp-home-edit-widget { position: absolute; z-index: 3; top: 10px; left: 12px; border: 0; border-radius: 6px; padding: 7px 10px; background: #7c3aed; color: #fff; font-size: 11px; font-weight: 800; text-transform: capitalize; cursor: pointer; opacity: 0; transform: translateY(-3px); transition: .15s ease; }
.wp-home-widget-preview:hover .wp-home-edit-widget, .wp-home-widget-preview:focus-within .wp-home-edit-widget { opacity: 1; transform: none; }
.wp-home-section-heading { text-align: center; margin-bottom: 24px; }
.wp-home-section-heading h2, .wp-home-hero-preview h2 { margin: 0 0 6px; font-size: 27px; }
.wp-home-section-heading p { margin: 0; color: #718096; }
.wp-home-hero-preview { text-align: center; padding-top: 12px; }
.wp-home-hero-preview > img { display: block; width: min(520px, 80%); max-height: 230px; object-fit: contain; margin: 24px auto 0; }
.wp-home-search-preview { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; border: 1px solid #d7dde7; border-radius: 999px; background: #fff; overflow: hidden; margin-top: 20px; text-align: left; }
.wp-home-search-preview span, .wp-home-search-preview b { padding: 15px 18px; border-right: 1px solid #e5e7eb; font-size: 12px; }
.wp-home-search-preview b { border: 0; background: #c81e12; color: #fff; text-align: center; }
.wp-home-category-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wp-home-category-preview > div { display: flex; align-items: center; gap: 12px; padding: 15px; background: #fff; border-radius: 10px; }
.wp-home-category-preview i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #fff0f0; color: #c81e12; font-style: normal; }
.wp-home-category-preview span, .wp-home-articles-preview div { display: flex; flex-direction: column; gap: 4px; }
.wp-home-category-preview small, .wp-home-articles-preview small { color: #718096; }
.wp-home-steps-preview, .wp-home-articles-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wp-home-steps-preview div, .wp-home-articles-preview div { text-align: center; }
.wp-home-steps-preview img { width: 115px; height: 115px; object-fit: contain; border-radius: 50%; margin-bottom: 10px; }
.wp-home-articles-preview img { width: 100%; height: 135px; object-fit: cover; border-radius: 9px; margin-bottom: 9px; }
.wp-home-articles-preview strong { line-height: 1.35; }
.wp-home-widget-editor { margin: 24px -28px -28px; padding: 0 28px; background: #fff; border-top: 1px solid #dbe4f0; text-align: left; }
.wp-home-widget-editor summary { cursor: pointer; padding: 16px 0; color: #2563eb; font-size: 13px; font-weight: 800; }
.wp-home-widget-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 0 22px; }
.wp-home-widget-fields label { display: flex; flex-direction: column; gap: 6px; color: #475569; font-size: 12px; font-weight: 700; }
.wp-home-widget-fields input { width: 100%; min-width: 0; height: 40px; padding: 0 11px; border: 1px solid #cbd5e1; border-radius: 6px; color: #172033; background: #fff; }
.wp-home-widget-fields input:focus { outline: 2px solid #bfdbfe; border-color: #2563eb; }
#wp-home-widget-inspector { position: fixed; z-index: 1000; top: 0; bottom: 0; left: 0; width: 335px; overflow-y: auto; background: #202124; color: #f8fafc; box-shadow: 6px 0 20px rgba(15,23,42,.25); }
.has-home-inspector .wp-gutenberg-body { padding-left: 335px; }
.wp-elementor-inspector-head { height: 58px; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid #3b3d42; text-transform: capitalize; }
.wp-elementor-inspector-head button { position: absolute; right: 12px; border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer; }
.wp-elementor-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid #44464c; }
.wp-elementor-tabs button { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 14px 6px 11px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #d5d7dc; cursor: pointer; font-size: 17px; }
.wp-elementor-tabs button span { font-size: 11px; }
.wp-elementor-tabs button.is-active { color: #fff; border-bottom-color: #d8b4fe; }
.wp-elementor-panel { display: none; padding: 18px 20px 40px; }
.wp-elementor-panel.is-active { display: block; }
.wp-elementor-panel h3 { margin: 4px 0 20px; font-size: 14px; text-transform: capitalize; }
.wp-elementor-panel label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; color: #e5e7eb; font-size: 12px; font-weight: 700; }
.wp-elementor-panel input { width: 100%; box-sizing: border-box; min-height: 39px; padding: 8px 10px; border: 1px solid #555861; border-radius: 4px; background: #292b30; color: #fff; }
.wp-elementor-panel input[type="color"] { padding: 4px; }
.wp-seo-snippet-btn { height: 36px; padding: 0 13px; border: 1px solid #cbd5e1; border-radius: 5px; background: #fff; color: #2563eb; font-weight: 800; cursor: pointer; }
.wp-seo-modal { display: none; position: fixed; inset: 0; z-index: 3000; align-items: center; justify-content: center; padding: 16px; }
.wp-seo-modal.is-open { display: flex; }
.wp-seo-modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); }
.wp-seo-dialog { position: relative; width: min(640px, 94vw); max-height: calc(100vh - 32px); overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 24px 70px rgba(15,23,42,.3); }
.wp-seo-dialog > header { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 8px 18px; border-bottom: 1px solid #dbe2ea; box-sizing: border-box; }
.wp-seo-dialog > header h2 { margin: 0; font-size: 18px; }
.wp-seo-dialog > header button { border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.wp-seo-dialog-body { padding: 10px 18px; }
.wp-seo-dialog-body > h3 { margin: 0 0 4px; font-size: 14px; }
.wp-google-preview { margin-bottom: 7px; padding: 3px 1px 5px; }
.wp-google-preview div { color: #202124; font-size: 12px; }
.wp-google-preview strong { display: block; margin: 2px 0; color: #1a0dab; font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-google-preview p { margin: 0; color: #4d5156; font-size: 12px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-seo-field { display: block; margin: 0 0 7px; padding: 8px 10px; border-radius: 7px; background: #f1f5f9; }
.wp-seo-field > span { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; }
.wp-seo-field em { color: #64748b; font-style: normal; font-size: 11px; }
.wp-seo-field input, .wp-seo-field textarea { width: 100%; box-sizing: border-box; min-height: 34px; padding: 6px 9px; border: 1px solid #94a3b8; border-radius: 5px; background: #fff; font-size: 13px; }
.wp-seo-field textarea { min-height: 52px; max-height: 52px; resize: none; }
.wp-seo-field small { display: block; margin-top: 3px; color: #64748b; font-size: 10px; }
.wp-seo-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; }
.wp-seo-checks p { display: flex; align-items: flex-start; gap: 6px; margin: 0; padding: 6px 8px; border-radius: 6px; background: #f8fafc; font-size: 10px; line-height: 1.25; }
.wp-seo-checks .is-good b { color: #16a34a; }.wp-seo-checks .is-warning b { color: #ef4444; }
.wp-seo-dialog > footer { display: flex; justify-content: flex-end; gap: 8px; padding: 9px 18px; border-top: 1px solid #dbe2ea; }
.wp-author-profile-fields label { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; color: #475569; font-size: 11px; font-weight: 700; }
.wp-author-profile-fields hr { border: 0; border-top: 1px solid #e2e8f0; margin: 13px 0; }
/* In-Between Author & Reviewer Byline Bar in Gutenberg Canvas */
.wp-editor-byline-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 24px;
  padding: 12px 18px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  max-width: 100%;
  position: relative;
  transition: all 0.2s ease;
}
.wp-editor-byline-bar:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.wp-editor-byline-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #b00008;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
}
.wp-byline-card-hide {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: all 0.15s ease;
  z-index: 2;
}
.wp-editor-byline-card:hover .wp-byline-card-hide {
  opacity: 1;
}
.wp-byline-card-hide:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  transform: scale(1.12);
}
.wp-editor-byline-avatar-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  cursor: pointer;
}
.wp-editor-byline-avatar {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
.wp-editor-avatar-empty-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.15s ease;
  box-sizing: border-box;
  color: #94a3b8;
}
.wp-editor-byline-avatar-wrap:hover .wp-editor-avatar-empty-placeholder {
  background: #fef2f2;
  border-color: #b00008;
  border-style: solid;
  color: #b00008;
}
.wp-avatar-add-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b00008;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 1.5px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.wp-editor-avatar-hover-icon {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.wp-editor-byline-avatar-wrap:hover .wp-editor-avatar-hover-icon {
  opacity: 1;
}
.wp-editor-byline-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wp-editor-byline-role {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.wp-editor-byline-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 20px;
  min-width: 80px;
  display: inline-block;
  vertical-align: middle;
}
.wp-editor-byline-name:empty {
  border-bottom: 1.5px dashed #cbd5e1;
  text-decoration: none;
}
.wp-byline-editable-text {
  cursor: text;
  outline: none;
  padding: 1px 4px;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.wp-byline-editable-text:hover {
  background: rgba(176, 0, 8, 0.08);
  outline: 1px dashed rgba(176, 0, 8, 0.4);
}
.wp-byline-editable-text:focus {
  background: #ffffff;
  outline: 2px solid #b00008;
  box-shadow: 0 0 0 3px rgba(176, 0, 8, 0.15);
}
.wp-editor-byline-sep {
  width: 1px;
  height: 40px;
  background: #cbd5e1;
}
.wp-byline-add-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px dashed #94a3b8;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wp-byline-add-pill:hover {
  background: #f1f5f9;
  border-color: #2563eb;
  color: #2563eb;
}
.wp-byline-hide-bar-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}
.wp-byline-hide-bar-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}
/* Placeholder when both are hidden */
.wp-editor-byline-placeholder {
  margin: 14px 0 22px;
  display: flex;
  align-items: center;
}
.wp-byline-restore-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wp-byline-restore-bar-btn:hover {
  background: #fef2f2;
  border-color: #b00008;
  color: #b00008;
}
/* Sidebar Author & Reviewer Visibility Controls */
.wp-author-visibility-body {
  padding: 14px 16px;
}
.wp-byline-visibility-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wp-byline-visibility-main-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.wp-byline-visibility-main-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #2563eb;
  cursor: pointer;
}
.wp-byline-visibility-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wp-byline-visibility-text strong {
  font-size: 12.5px;
  color: #1e293b;
}
.wp-byline-visibility-text span {
  font-size: 11px;
  color: #64748b;
}
.wp-byline-visibility-sub-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 27px;
  border-left: 2px solid #e2e8f0;
  margin-left: 8px;
}
.wp-byline-visibility-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  user-select: none;
}
.wp-byline-visibility-sub-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #2563eb;
  cursor: pointer;
}
.wp-byline-sidebar-note {
  margin-top: 12px;
  padding: 9px 11px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #1e40af;
}
.wp-seo-dialog > footer button { padding: 10px 16px; border-radius: 6px; cursor: pointer; font-weight: 700; }
.wp-seo-cancel { border: 1px solid #cbd5e1; background: #fff; }.wp-seo-apply { border: 1px solid #2563eb; background: #2563eb; color: #fff; }
@media (max-width: 800px) { .wp-home-search-preview, .wp-home-category-preview, .wp-home-steps-preview, .wp-home-articles-preview { grid-template-columns: 1fr; } }
.wp-inserter-group-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #757575;
  margin-bottom: 8px;
}
.wp-inserter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.wp-inserter-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 82px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 6px;
  user-select: none;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}
.wp-inserter-tile:hover {
  border-color: #2563eb;
  background: #f8fafc;
  box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.12), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}
.wp-inserter-tile:active {
  transform: translateY(0);
  background: #eff6ff;
}
.wp-inserter-tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.wp-inserter-tile:hover .wp-inserter-tile-icon {
  background: #eff6ff;
  color: #2563eb;
}
.wp-inserter-tile-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #334155;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.wp-inserter-tile:hover .wp-inserter-tile-label {
  color: #0f172a;
  font-weight: 600;
}

/* Central Writing Canvas */
.wp-gutenberg-canvas {
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 40px 140px;
  box-sizing: border-box;
  position: relative;
}
.wp-canvas-inner {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.wp-title-textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: #1e1e1e;
  font-family: inherit;
  resize: none;
  overflow: hidden;
  padding: 0;
  margin: 0 0 20px 0;
  box-sizing: border-box;
}
.wp-title-textarea::placeholder {
  color: #757575;
  font-weight: 700;
}

/* Blocks Flow Container */
.wp-blocks-flow {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.wp-block-wrapper {
  position: relative;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: border-color 0.12s ease;
  min-height: 36px;
  padding: 4px 6px;
}
.wp-block-wrapper:hover {
  border-color: #e2e8f0;
}
.wp-block-wrapper.is-active {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}
.wp-block-wrapper.is-wide { width: min(112%, calc(100vw - 120px)); margin-left: 50%; transform: translateX(-50%); }
.wp-block-wrapper.is-full { width: min(128%, calc(100vw - 64px)); margin-left: 50%; transform: translateX(-50%); }
/* WordPress Gutenberg Selection Toolbar - Modern Floating Toolbar */
.wp-selection-toolbar {
  position: fixed;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  user-select: none;
  transition: opacity 0.12s ease;
}

.wp-selection-toolbar[hidden] {
  display: none !important;
}

.wp-tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}

.wp-tb-icon-btn {
  width: 32px;
  min-width: 32px;
  padding: 0;
}

.wp-tb-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.wp-tb-btn.is-active {
  background: #eff6ff;
  color: #2563eb;
}

.wp-tb-btn.is-active svg {
  stroke: #2563eb;
}

.wp-tb-chevron {
  margin-left: 4px;
  color: #64748b;
  transition: transform 0.15s ease;
}

.wp-tb-dropdown-wrap {
  position: relative;
}

.wp-tb-dropdown-wrap.is-open .wp-tb-chevron {
  transform: rotate(180deg);
}

.wp-tb-label {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
}

.wp-tb-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.wp-tb-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 165px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  z-index: 10060;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wp-tb-menu.wp-tb-menu-right {
  left: auto;
  right: 0;
}

.wp-tb-menu[hidden] {
  display: none !important;
}

.wp-tb-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s ease;
}

.wp-tb-menu-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.wp-tb-menu-item.is-selected {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 600;
}

.wp-tb-menu-item.text-danger {
  color: #dc2626;
}
.wp-tb-menu-item.text-danger:hover {
  background: #fef2f2;
}

.wp-tb-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  color: inherit;
}

.wp-tb-menu-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 0;
}

.wp-selection-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 20px;
  margin: 0 3px;
  background: #e2e8f0;
}

/* Link Popover */
.wp-tb-link-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.16), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  padding: 10px;
  z-index: 10070;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wp-tb-link-popover[hidden] {
  display: none !important;
}

.wp-tb-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 4px 6px 4px 8px;
}

.wp-tb-link-row:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

.wp-tb-link-icon {
  color: #94a3b8;
  display: inline-flex;
}

.wp-tb-link-row input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  min-width: 0;
}

.wp-tb-link-apply, .wp-tb-link-unlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.wp-tb-link-apply {
  background: #2563eb;
  color: #ffffff;
}
.wp-tb-link-apply:hover {
  background: #1d4ed8;
}

.wp-tb-link-unlink {
  background: #fee2e2;
  color: #dc2626;
}
.wp-tb-link-unlink:hover {
  background: #fecaca;
}

.wp-tb-link-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.wp-tb-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.wp-tb-checkbox-label input {
  accent-color: #2563eb;
  cursor: pointer;
}

/* Highlight styling in content */
mark.wp-highlight {
  background: #fef08a !important;
  color: inherit !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}

/* Inline code styling in editor */
.wp-block-editable code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 5px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  border: 1px solid #e2e8f0;
}
.wp-block-editable {
  outline: none;
  min-height: 24px;
  line-height: 1.7;
  font-size: 15px;
  color: #2c3338;
}
.wp-block-editable:empty::before {
  content: attr(data-placeholder);
  color: #949494;
  pointer-events: none;
}
.wp-editor-bullet-list{margin:0;padding-left:28px}.wp-editor-bullet-list li{display:list-item;margin:6px 0;padding-left:3px}.wp-editor-bullet-list li::marker{color:#334155}
.wp-faq-editor-block{display:flex;flex-direction:column;gap:14px}
.wp-faq-editor-item{position:relative;border:1px solid #eef2f6;border-radius:12px;background:#fff;padding:16px 18px 16px 36px;box-shadow:0 4px 16px -2px rgba(15,23,42,.05);transition:all .15s ease}
.wp-faq-editor-item:hover{border-color:#e2e8f0;box-shadow:0 8px 24px -4px rgba(15,23,42,.08)}
.wp-faq-editor-item::before{content:"";position:absolute;left:16px;top:16px;bottom:16px;width:3.5px;background:#b00008;border-radius:4px}
.wp-faq-question-row{display:flex;align-items:flex-start;gap:12px}
.wp-faq-question{flex:1;font-size:15.5px;font-weight:600;line-height:1.5;color:#1e293b;outline:none;min-height:24px;padding:3px 6px;border-radius:4px;transition:background .15s ease,box-shadow .15s ease}
.wp-faq-question:focus{background:#f8fafc;box-shadow:0 0 0 2px rgba(37,99,235,.15)}
.wp-faq-answer{margin-top:10px;padding:8px 8px 6px;border-top:1px solid #f1f5f9;font-size:14.5px;line-height:1.7;color:#475569;outline:none;min-height:48px;border-radius:4px;transition:background .15s ease,box-shadow .15s ease}
.wp-faq-answer:focus{background:#f8fafc;box-shadow:0 0 0 2px rgba(37,99,235,.15)}
.wp-faq-question:empty:before,.wp-faq-answer:empty:before{content:attr(data-placeholder);color:#94a3b8}
.wp-faq-delete-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #fecaca;border-radius:6px;background:#fff5f5;color:#dc2626;cursor:pointer;flex:none;transition:all .15s ease}
.wp-faq-delete-btn:hover{background:#fee2e2;transform:scale(1.05)}
.wp-faq-add-btn{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;padding:8px 14px;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 1px 3px rgba(15,23,42,.05);transition:all .15s ease}
.wp-faq-add-btn:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}
@media(max-width:640px){.wp-faq-editor-item{padding:14px 14px 14px 30px}.wp-faq-editor-item::before{left:12px;top:14px;bottom:14px}.wp-faq-question{font-size:15px}.wp-faq-add-btn{width:100%;justify-content:center}}
/* Gutenberg Block Mover Toolbar (Up / Drag / Down) */
.wp-block-mover {
  position: absolute;
  left: -40px;
  top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.14), 0 2px 4px rgba(15, 23, 42, 0.05);
  padding: 2px;
  gap: 1px;
  z-index: 25;
  opacity: 0;
  transform: translateX(3px);
  transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.wp-block-wrapper:hover > .wp-block-mover,
.wp-block-wrapper.is-active > .wp-block-mover,
.wp-block-mover:focus-within {
  opacity: 1;
  transform: translateX(0);
}

.wp-block-move-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: #475569;
  cursor: pointer;
  padding: 0;
  transition: all 0.12s ease;
}

.wp-block-move-btn:hover:not(:disabled) {
  background: #f1f5f9;
  color: #2563eb;
}

.wp-block-move-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.wp-block-move-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.wp-block-drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  background: transparent;
  border: none;
  border-radius: 5px;
  color: #1e293b;
  cursor: grab;
  padding: 0;
  transition: all 0.12s ease;
}

.wp-block-drag-handle:hover {
  background: #eff6ff;
  color: #2563eb;
}

.wp-block-drag-handle:active {
  cursor: grabbing;
  transform: scale(0.94);
}

.wp-block-wrapper.is-dragging {
  opacity: 0.4;
}

.wp-block-wrapper.drag-before:before,
.wp-block-wrapper.drag-after:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px;
  background: #2563eb;
  z-index: 10;
}

.wp-block-wrapper.drag-before:before {
  top: -7px;
}

.wp-block-wrapper.drag-after:after {
  bottom: -7px;
}

@media (max-width: 900px) {
  .wp-block-mover {
    left: 4px;
    top: 4px;
    opacity: 0.95;
    flex-direction: row;
  }
  .wp-block-wrapper {
    padding-left: 96px !important;
  }
}
.wp-table-editor-block{width:100%}.wp-table-scroll{width:100%;overflow-x:auto;border:1px solid #cbd5e1;border-radius:7px}.wp-editable-table{width:100%;min-width:420px;border-collapse:collapse;font-size:13.5px}.wp-editable-table th,.wp-editable-table td{min-width:130px;border-right:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;padding:10px 12px;text-align:left;outline:none;vertical-align:top}.wp-editable-table th:last-child,.wp-editable-table td:last-child{border-right:0}.wp-editable-table tr:last-child td{border-bottom:0}.wp-editable-table th{background:#f1f5f9;font-weight:700;color:#1f2937}.wp-editable-table td{background:#fff;color:#374151}.wp-editable-table [contenteditable]:focus{box-shadow:inset 0 0 0 2px #2563eb;background:#eff6ff}.wp-editable-table [contenteditable]:empty:before{content:attr(data-placeholder);color:#94a3b8;font-weight:400}
.wp-table-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.wp-table-controls button{border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#334155;padding:7px 10px;font-size:12px;font-weight:650;cursor:pointer}.wp-table-controls button:hover:not(:disabled){border-color:#2563eb;color:#2563eb;background:#eff6ff}.wp-table-controls button:disabled{opacity:.45;cursor:not-allowed}
.wp-block-wrapper.is-heading .wp-block-editable {
  font-weight: 700;
  line-height: 1.35;
}
.wp-block-wrapper.is-heading[data-level="h2"] .wp-block-editable {
  font-size: 26px;
}
.wp-block-wrapper.is-heading[data-level="h3"] .wp-block-editable {
  font-size: 20px;
}
.wp-block-wrapper.is-quote {
  background: linear-gradient(135deg, #fdf8f8 0%, #fef2f2 100%) !important;
  border: 1px solid #fee2e2 !important;
  border-left: 5px solid #b00008 !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 20px 24px 20px 32px !important;
  margin: 24px 0 !important;
  position: relative;
  box-shadow: 0 4px 16px -2px rgba(176, 0, 8, 0.05);
}
.wp-block-wrapper.is-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 10px;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 52px;
  line-height: 1;
  color: #b00008;
  opacity: 0.22;
  pointer-events: none;
}
.wp-block-wrapper.is-quote .wp-block-editable {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  font-style: italic;
  color: #1e293b;
  border: 0 !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}
.wp-block-wrapper.is-quote .wp-block-editable strong {
  color: #0f172a;
  font-weight: 600;
}
.wp-block-wrapper.is-code .wp-block-editable {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}
.wp-toc-editor-block {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px 20px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
}
.wp-block-wrapper.is-active .wp-toc-editor-block {
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.wp-toc-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
  gap: 10px;
}
.wp-toc-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp-toc-editor-label {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.wp-toc-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wp-toc-type-toggle {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 2px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  gap: 2px;
}
.wp-toc-type-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}
.wp-toc-type-btn:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.6);
}
.wp-toc-type-btn.is-active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.wp-toc-type-btn.is-active svg {
  color: #b00008;
}
.wp-toc-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
}
.wp-toc-refresh-btn:hover {
  background: #f8fafc;
  color: #b00008;
  border-color: #cbd5e1;
}
.wp-toc-title {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  outline: none;
}
.wp-toc-editable ul,
.wp-toc-editable ol {
  margin: 0;
  padding-left: 24px;
}
.wp-toc-editable ul ul,
.wp-toc-editable ol ol,
.wp-toc-editable ul ol,
.wp-toc-editable ol ul {
  margin-top: 5px;
  padding-left: 22px;
  border-left: 1px solid #e2e8f0;
}
.wp-toc-editable ul {
  list-style-type: disc;
}
.wp-toc-editable ul ul {
  list-style-type: circle;
}
.wp-toc-editable ol {
  list-style-type: decimal;
}
.wp-toc-editable ol ol {
  list-style-type: decimal;
}
.wp-toc-editable li {
  margin: 5px 0;
  line-height: 1.5;
  color: #1e293b;
  font-size: 14px;
}
.wp-toc-editable li li {
  color: #475569;
  font-size: 13.5px;
}
.wp-toc-editable a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.wp-toc-editable a:hover {
  color: #b00008;
  text-decoration: underline;
}
.wp-toc-editable ol > li::marker {
  color: #b00008;
  font-weight: 600;
}
.wp-toc-editable ul > li::marker {
  color: #b00008;
}
.wp-toc-setting-label { display: flex; flex-direction: column; gap: 7px; color: #334155; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.wp-toc-level-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; }
.wp-toc-level-grid label { display: flex; align-items: center; gap: 7px; color: #334155; font-size: 12px; font-weight: 500; }
.wp-toc-level-grid input { width: 18px; height: 18px; accent-color: #2271b1; }
.wp-toc-setting-help { margin: 0; color: #64748b; font-size: 11px; line-height: 1.45; }

/* Floating Block Inserter Button */
.wp-block-add-btn {
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.15s ease;
  z-index: 10;
}
.wp-block-wrapper:hover .wp-block-add-btn,
.wp-block-wrapper.is-active .wp-block-add-btn {
  opacity: 1;
}
.wp-block-add-btn:hover {
  background: #2271b1;
  color: #ffffff;
  border-color: #2271b1;
}
/* Modern Gutenberg Block Delete Button */
.wp-block-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  color: #64748b;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-2px);
  transition: all 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-block-wrapper:hover .wp-block-delete-btn,
.wp-block-wrapper.is-active .wp-block-delete-btn {
  opacity: 1;
  transform: translateY(0);
}

.wp-block-delete-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
  transform: translateY(-1px) scale(1.04);
}

.wp-block-delete-tooltip {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.14s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 30;
}

.wp-block-delete-btn:hover .wp-block-delete-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Modern Gutenberg Image Block & Alt Text Experience */
.wp-image-editor-block {
  text-align: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease;
}

/* Image Editor Block & Resizer */
.wp-image-editor-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.wp-image-editor-block:has(.wp-image-empty-state) .wp-image-control-bar {
  display: none;
}

.wp-image-empty-state {
  min-height: 260px;
  width: 100%;
  border: 2px dashed #bfdbfe;
  border-radius: 12px;
  background: #f8fbff;
  color: #1e3a8a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.wp-image-empty-state:hover {
  border-color: #2563eb;
  background: #eff6ff;
}
.wp-image-empty-state strong { font-size: 15px; }
.wp-image-empty-state small { color: #64748b; font-weight: 500; }
.wp-image-empty-icon { font-size: 34px; color: #2563eb; }
.wp-image-actions { display: flex; align-self: center; gap: 8px; }
.wp-image-action-btn {
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.wp-image-action-btn:hover { background: #dbeafe; }
.wp-image-action-btn.is-danger { border-color: #fecaca; background: #fff; color: #dc2626; }
.wp-image-action-btn.is-danger:hover { background: #fef2f2; }

.wp-image-source-modal {
  position: relative;
  width: min(1120px, calc(100vw - 48px));
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}
.wp-image-source-modal h3 { margin: 0 38px 6px 0; color: #0f172a; font-size: 20px; }
.wp-image-source-modal > p { margin: 0 0 22px; color: #64748b; font-size: 13px; }
.wp-image-source-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wp-image-source-options > button {
  min-height: 150px; border: 1px solid #dbe3ee; border-radius: 12px; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  color: #1e293b; cursor: pointer; transition: .15s ease;
}
.wp-image-source-options > button:hover { border-color: #2563eb; background: #eff6ff; transform: translateY(-1px); }
.wp-image-source-options strong { font-size: 15px; }
.wp-image-source-options small { color: #64748b; }
.wp-image-source-icon { width: 42px; height: 42px; border-radius: 10px; background: #dbeafe; color: #2563eb; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.wp-block-media-library[hidden], .wp-image-source-options[hidden] { display: none; }
.wp-block-media-library-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wp-block-media-library-head button { border: 0; background: transparent; color: #2563eb; font-weight: 700; cursor: pointer; }
.wp-block-media-search { height: 42px; display: flex; align-items: center; gap: 8px; border: 1px solid #cbd5e1; border-radius: 9px; padding: 0 12px; margin-bottom: 16px; background: #fff; color: #64748b; }
.wp-block-media-search:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.wp-block-media-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #0f172a; font-size: 13px; }
.wp-block-media-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.wp-block-media-item[hidden] { display: none; }
.wp-block-media-item { border: 2px solid transparent; border-radius: 9px; background: #f8fafc; padding: 6px; cursor: pointer; text-align: left; overflow: hidden; }
.wp-block-media-item:hover { border-color: #2563eb; background: #eff6ff; }
.wp-block-media-item img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 6px; display: block; background: #e2e8f0; }
.wp-block-media-item span { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; font-size: 11px; }
.wp-block-media-empty { grid-column: 1 / -1; color: #64748b; text-align: center; padding: 30px; }
.wp-block-media-no-results { color: #64748b; text-align: center; padding: 34px 10px; margin: 0; }
.wp-block-media-no-results[hidden] { display: none; }
@media (max-width: 600px) {
  .wp-image-source-options { grid-template-columns: 1fr; }
  .wp-block-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Header & Footer builder */
.site-chrome-builder{display:grid;grid-template-columns:minmax(420px,620px) minmax(360px,1fr);gap:22px;align-items:start}.site-chrome-settings{display:grid;gap:18px}.site-chrome-section,.site-chrome-preview{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:22px;box-shadow:0 2px 8px rgba(15,23,42,.04)}.site-chrome-section h2{margin:0 0 18px;font-size:19px}.site-chrome-section>label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;color:#334155;font-size:12px;font-weight:700}.site-chrome-section label small{color:#94a3b8;font-weight:500}.site-color-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.site-color-row label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border:1px solid #e2e8f0;border-radius:8px;color:#475569;font-size:11px;font-weight:700}.site-color-row input{width:38px;height:28px;border:0;padding:0;background:transparent}.site-chrome-preview{position:sticky;top:82px;padding:14px}.site-preview-label{margin:2px 2px 12px;color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.site-preview-page{overflow:hidden;border:1px solid #dbe2ea;border-radius:9px;background:#f8fafc}.site-preview-page header{display:flex;align-items:center;gap:16px;padding:16px}.site-preview-page header img{width:100px;max-height:30px;object-fit:contain}.site-preview-page header nav{display:flex;gap:10px;margin-left:auto;font-size:8px}.site-preview-page header b{padding:5px 8px;border-radius:12px;color:#fff;font-size:7px}.site-preview-page header.layout-centered{flex-direction:column}.site-preview-page header.layout-centered nav{margin:auto}.site-preview-page header.layout-compact{padding:9px 14px}.site-preview-page main{min-height:250px;padding:38px;background:linear-gradient(145deg,#f8fafc,#eef2f7)}.site-preview-page main div{height:14px;margin:0 0 12px;border-radius:7px;background:#dbe3ee}.site-preview-page main div:first-child{width:48%;height:24px;background:#cbd5e1}.site-preview-page main div:nth-child(2){width:84%}.site-preview-page main div:nth-child(3){width:68%}.site-preview-page footer{padding:22px;display:grid;gap:14px}.site-preview-page footer nav{display:flex;flex-wrap:wrap;gap:12px;font-size:8px}.site-preview-page footer small{opacity:.72;font-size:7px}.site-preview-page footer.layout-compact{text-align:center;justify-items:center}.site-preview-page footer.layout-split{grid-template-columns:1fr 2fr}.site-preview-page footer.layout-split small{grid-column:1/-1}@media(max-width:1050px){.site-chrome-builder{grid-template-columns:1fr}.site-chrome-preview{position:static}}@media(max-width:600px){.site-color-row{grid-template-columns:1fr}.site-chrome-section{padding:16px}}
@media (min-width: 601px) and (max-width: 900px) {
  .wp-block-media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Quick Control Bar: Alignment & Size Presets */
.wp-image-control-bar {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 8px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  margin-bottom: 2px;
}

.wp-image-align-group,
.wp-image-size-presets {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.wp-image-ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wp-image-ctrl-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.wp-image-ctrl-btn.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
}

.wp-image-ctrl-divider {
  width: 1px;
  height: 18px;
  background: #e2e8f0;
  margin: 0 4px;
}

.wp-image-size-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 500;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wp-image-size-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.wp-image-size-btn.is-active {
  background: #1e293b;
  color: #ffffff;
  font-weight: 600;
}

.wp-image-custom-width-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 11.5px;
}

.wp-image-width-icon {
  color: #94a3b8;
  font-size: 13px;
  user-select: none;
}

.wp-image-width-input {
  width: 52px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  padding: 0;
  outline: none;
  text-align: right;
}

.wp-image-width-input::-webkit-outer-spin-button,
.wp-image-width-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wp-image-width-unit {
  color: #64748b;
  font-size: 11px;
}

/* Image Preview & Resizer Box */
.wp-image-preview-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 8px;
}

.wp-image-preview-wrap.align-center {
  text-align: center;
}

.wp-image-preview-wrap.align-left {
  text-align: left;
}

.wp-image-preview-wrap.align-right {
  text-align: right;
}

.wp-image-resizer-box {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  transition: width 0.05s ease;
}

.wp-block-wrapper.is-active .wp-image-resizer-box {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 8px;
}

.wp-image-preview {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  pointer-events: none;
  user-select: none;
}

/* Interactive Drag Resize Handles */
.wp-image-resize-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 2px solid #2563eb;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
  z-index: 15;
  display: none;
  transition: transform 0.12s ease, background 0.12s ease;
  touch-action: none;
}

.wp-block-wrapper.is-active .wp-image-resize-handle {
  display: block;
}

.wp-image-resize-handle:hover,
.wp-image-resizer-box.is-resizing .wp-image-resize-handle {
  transform: scale(1.3);
  background: #2563eb;
}

.wp-image-resize-handle.handle-e {
  top: 50%;
  right: -7px;
  transform: translateY(-50%);
  cursor: ew-resize;
}
.wp-image-resize-handle.handle-e:hover {
  transform: translateY(-50%) scale(1.3);
}

.wp-image-resize-handle.handle-se {
  bottom: -7px;
  right: -7px;
  cursor: nwse-resize;
}

.wp-image-resize-handle.handle-s {
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}
.wp-image-resize-handle.handle-s:hover {
  transform: translateX(-50%) scale(1.3);
}

.wp-image-resize-handle.handle-w {
  top: 50%;
  left: -7px;
  transform: translateY(-50%);
  cursor: ew-resize;
}
.wp-image-resize-handle.handle-w:hover {
  transform: translateY(-50%) scale(1.3);
}

/* Floating Real-Time Dimension Tooltip */
.wp-image-size-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 20;
  display: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.wp-image-alt-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px auto 0;
  max-width: 620px;
  text-align: left;
  transition: all 0.15s ease;
}

.wp-image-alt-box:focus-within {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}

.wp-image-alt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
  flex-wrap: wrap;
}

.wp-image-alt-title-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.wp-image-alt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  padding: 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 4px;
  background: #eff6ff;
  color: #2563eb;
  letter-spacing: 0.04em;
}

.wp-image-alt-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
}

.wp-image-alt-hint {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 400;
}

.wp-image-alt-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  transition: all 0.15s ease;
  line-height: 1.4;
}

.wp-image-alt-status.is-required {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.wp-image-alt-status.is-filled {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.wp-image-alt-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.wp-image-alt-input-icon {
  position: absolute;
  left: 10px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.wp-image-alt-input {
  width: 100%;
  height: 38px;
  padding: 0 32px 0 34px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  color: #0f172a;
  outline: none;
  transition: all 0.15s ease;
}

.wp-image-alt-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wp-image-alt-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
  animation: wpShake 0.3s ease;
}

.wp-image-alt-clear-btn {
  position: absolute;
  right: 7px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.wp-image-alt-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

@keyframes wpShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* In-Canvas Quick Inserter Popover (Screenshot 3) */
.wp-quick-inserter-popover {
  position: absolute;
  z-index: 100;
  width: 326px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.18), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease, top 0.2s ease;
}
.wp-quick-search-box {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}
.wp-quick-search-input {
  width: 100%;
  height: 36px;
  border: 1.5px solid #2271b1;
  border-radius: 5px;
  padding: 0 10px 0 34px;
  font-size: 13px;
  outline: none;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat 10px center / 15px;
  box-sizing: border-box;
  transition: all 0.15s ease;
}
.wp-quick-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.wp-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  max-height: 236px;
  overflow-y: auto;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wp-quick-grid::-webkit-scrollbar {
  width: 5px;
}
.wp-quick-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.wp-quick-grid::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Extra tiles hidden by default, revealed when expanded or searching */
.wp-quick-tile.wp-quick-extra {
  display: none;
}

.wp-quick-inserter-popover.is-expanded .wp-quick-grid,
.wp-quick-inserter-popover.is-searching .wp-quick-grid {
  max-height: 330px;
}

.wp-quick-inserter-popover.is-expanded .wp-quick-tile.wp-quick-extra,
.wp-quick-inserter-popover.is-searching .wp-quick-tile.wp-quick-extra {
  display: flex;
}

.wp-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 74px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 6px 4px;
  box-sizing: border-box;
}
.wp-quick-tile:hover {
  border-color: #2563eb;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.14);
  transform: translateY(-2px);
}
.wp-quick-tile-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: all 0.15s ease;
}
.wp-quick-tile:hover .wp-quick-tile-icon {
  background: #eff6ff;
  color: #2563eb;
}
.wp-quick-tile-label {
  font-size: 11px;
  font-weight: 500;
  color: #334155;
  transition: color 0.15s ease;
  text-align: center;
  line-height: 1.2;
}
.wp-quick-tile:hover .wp-quick-tile-label {
  color: #0f172a;
  font-weight: 600;
}
.wp-quick-browse-all {
  height: 42px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  border-top: 1px solid #1e293b;
  user-select: none;
}
.wp-quick-browse-all:hover {
  background: #1e293b;
}
.wp-quick-browse-icon {
  transition: transform 0.2s ease;
}

/* Right Inspector Sidebar */
.wp-gutenberg-sidebar {
  width: 320px;
  border-left: 1px solid #e0e0e0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
  z-index: 40;
  box-sizing: border-box;
}
.wp-gutenberg-sidebar.collapsed {
  display: none;
}
.wp-sidebar-tabs-bar {
  height: 48px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 10;
}
.wp-sidebar-tabs {
  display: flex;
  align-items: center;
  height: 100%;
}
.wp-tab-pill {
  border: none;
  background: transparent;
  height: 100%;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: #757575;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: all 0.1s ease;
}
.wp-tab-pill.active {
  color: #1e1e1e;
  font-weight: 600;
  border-bottom-color: #1e1e1e;
}
.wp-sidebar-close {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e1e1e;
  cursor: pointer;
}
.wp-sidebar-close:hover {
  background: #f0f0f0;
}

/* Sidebar Panels & Accordions */
.wp-sidebar-content {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.wp-sidebar-panel {
  border-bottom: 1px solid #f0f0f0;
}
.wp-panel-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.wp-panel-header h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #1e1e1e;
}
.wp-panel-body {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wp-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.wp-meta-label {
  color: #64748b;
}
.wp-meta-val {
  color: #2271b1;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color 0.1s ease;
}
.wp-meta-val:hover {
  color: #0c4a6e;
}
.wp-sidebar-input {
  width: 100%;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 3px;
  padding: 0 10px;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
}
.wp-sidebar-input:focus {
  border-color: #2271b1;
}

/* Categories List */
.wp-cat-checklist {
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fafbfc;
}
.wp-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #334155;
  cursor: pointer;
}
.wp-cat-item input {
  accent-color: #2271b1;
}

/* Featured Image Drop Box */
.wp-featured-img-box {
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  padding: 24px 16px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wp-featured-img-box:hover {
  border-color: #2271b1;
  background: #f0f6fc;
}
.wp-featured-img-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 8px;
}

/* Bottom Gutenberg Footer Bar */
.wp-gutenberg-footer {
  height: 32px;
  border-top: 1px solid #e0e0e0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 12px;
  color: #757575;
  box-sizing: border-box;
  position: sticky;
  bottom: 0;
  z-index: 90;
}
.wp-footer-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.wp-footer-breadcrumbs span {
  color: #1e1e1e;
  font-weight: 500;
}
.wp-metaboxes-btn {
  background: transparent;
  border: none;
  font-size: 11.5px;
  color: #64748b;
  cursor: pointer;
}
.wp-agent-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(99, 102, 241, 0.3);
}

/* Gutenberg editor: tablet and phone layout */
@media (max-width: 900px) {
  .wp-gutenberg-header {
    height: 56px;
    padding: 0 10px;
    gap: 8px;
  }
  .wp-header-center,
  .wp-elementor-btn,
  .wp-rankmath-chip {
    display: none;
  }
  .wp-header-left,
  .wp-header-right {
    gap: 3px;
    min-width: 0;
  }
  .wp-header-right {
    margin-left: auto;
  }
  .wp-header-btn-icon,
  .wp-inserter-toggle-btn,
  .wp-sidebar-toggle-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .wp-header-back-btn {
    width: auto;
    flex-basis: auto;
    min-width: 70px;
    padding: 0 9px;
  }
  .wp-draft-btn {
    display: none;
  }
  .wp-preview-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .wp-preview-btn svg {
    width: 19px;
    height: 19px;
  }
  .wp-publish-btn {
    height: 40px;
    padding: 0 13px;
  }
  .wp-gutenberg-body {
    min-height: calc(100dvh - 88px);
    overflow: visible;
  }
  .wp-gutenberg-canvas {
    width: 100%;
    padding: 34px 28px 110px;
    overflow-x: hidden;
  }
  .wp-canvas-inner {
    max-width: 680px;
  }
  .wp-title-textarea {
    font-size: clamp(30px, 5vw, 38px);
    margin-bottom: 12px;
  }
  .wp-block-inserter-drawer {
    position: fixed;
    inset: 56px auto 32px 0;
    width: min(350px, 88vw);
    margin-left: 0;
    box-shadow: 10px 0 28px rgba(15, 23, 42, .16);
    z-index: 120;
  }
  .wp-block-inserter-drawer.collapsed {
    margin-left: min(-350px, -88vw);
  }
  .wp-gutenberg-sidebar {
    position: fixed;
    inset: 56px 0 32px auto;
    width: min(360px, 92vw);
    box-shadow: -10px 0 28px rgba(15, 23, 42, .16);
    z-index: 120;
  }
  .wp-gutenberg-footer {
    padding: 0 10px;
  }
}

@media (max-width: 600px) {
  .wp-gutenberg-header {
    padding: 0 6px;
  }
  .wp-header-left .wp-header-btn-icon:nth-of-type(3),
  .wp-header-left .wp-header-btn-icon:nth-of-type(4) {
    display: none;
  }
  .wp-gutenberg-canvas {
    align-items: stretch;
    padding: 24px 16px 96px;
  }
  .wp-canvas-inner {
    max-width: none;
    gap: 10px;
  }
  .wp-title-textarea {
    font-size: 28px;
    line-height: 1.18;
    margin-bottom: 8px;
  }
  .wp-blocks-flow {
    gap: 5px;
  }
  .wp-block-wrapper {
    padding: 6px 2px;
  }
  .wp-block-editable {
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .wp-toc-editor-block { padding: 14px 12px 12px; }
  .wp-toc-editable li { margin: 8px 0; }
  .wp-selection-toolbar { left: 8px !important; right: 8px; bottom: 12px; top: auto !important; max-width: none; }
  .wp-block-wrapper.is-wide, .wp-block-wrapper.is-full { width: 100%; margin-left: 0; transform: none; }
  .wp-block-wrapper.is-heading[data-level="h2"] .wp-block-editable {
    font-size: 23px;
  }
  .wp-block-wrapper.is-heading[data-level="h3"] .wp-block-editable {
    font-size: 19px;
  }
  .wp-block-add-btn {
    right: 0;
    top: 100%;
    width: 30px;
    height: 30px;
    opacity: .78;
    transform: translateY(-35%);
  }
  .wp-block-delete-btn { top: 8px; right: 8px; opacity: 1; width: 34px; height: 34px; transform: none; }
  .wp-image-alt-input { height: 42px; font-size: 14px; }
  .wp-image-alt-box { padding: 10px 12px; }
  .wp-quick-inserter-popover {
    position: fixed;
    left: 12px !important;
    right: 12px;
    bottom: 44px;
    top: auto !important;
    width: auto;
    max-height: 70dvh;
    overflow-y: auto;
    border-radius: 12px;
  }
  .wp-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wp-gutenberg-sidebar {
    inset: 56px 0 0 auto;
    width: 100%;
  }
  .wp-sidebar-tabs-bar {
    height: 52px;
  }
  .wp-panel-header {
    min-height: 48px;
  }
  .wp-sidebar-input {
    min-height: 44px;
    font-size: 16px;
  }
  .wp-cat-item {
    min-height: 36px;
    font-size: 14px;
  }
  .wp-cat-item input {
    width: 20px;
    height: 20px;
  }
  .wp-footer-breadcrumbs {
    max-width: 55vw;
    overflow: hidden;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Modern Modal Confirmation Dialog (matching Trikonet website)
   ========================================================================== */
.wp-confirm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: wpModalBackdropIn 0.18s ease-out forwards;
}

.wp-confirm-modal-backdrop.is-closing {
  animation: wpModalBackdropOut 0.16s ease-in forwards;
}

.wp-confirm-modal-card {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 28px 24px 22px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
  text-align: center;
  animation: wpModalCardIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wp-confirm-modal-backdrop.is-closing .wp-confirm-modal-card {
  animation: wpModalCardOut 0.15s ease-in forwards;
}

.wp-confirm-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wp-confirm-modal-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.wp-confirm-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.wp-confirm-modal-icon.is-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}

.wp-confirm-modal-icon.is-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}

.wp-confirm-modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.wp-confirm-modal-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 24px;
}

.wp-confirm-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.wp-confirm-btn-cancel {
  flex: 1;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wp-confirm-btn-cancel:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.wp-confirm-btn-confirm {
  flex: 1;
  padding: 11px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wp-confirm-btn-confirm.is-danger {
  background: #b00008;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(176, 0, 8, 0.28);
}

.wp-confirm-btn-confirm.is-danger:hover {
  background: #8d0007;
  box-shadow: 0 4px 14px rgba(176, 0, 8, 0.38);
  transform: translateY(-1px);
}

.wp-confirm-btn-confirm.is-danger:active {
  transform: translateY(0);
}

.wp-confirm-btn-confirm.is-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.wp-confirm-btn-confirm.is-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.38);
  transform: translateY(-1px);
}

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

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

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

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

/* Visual page section builder */
.page-builder-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.page-builder-toolbar button{border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1d4ed8;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}.page-builder-toolbar button:hover{background:#dbeafe}
.page-blocks-editor{display:flex;flex-direction:column;gap:12px;min-height:140px;padding:14px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc}.page-builder-block{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:start;padding:18px 14px 14px;border:1px solid #dbe3ee;border-radius:9px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.page-builder-block.is-dragging{opacity:.4}.page-builder-block.drag-over{border-top:3px solid #2563eb}.page-block-grip{border:0;background:transparent;color:#94a3b8;font-size:23px;line-height:1;cursor:grab}.page-block-kind{position:absolute;top:4px;left:54px;color:#94a3b8;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.page-block-content{min-height:44px;padding:9px 10px;border:1px solid transparent;border-radius:6px;color:#334155;line-height:1.65;outline:none}.page-block-content:hover{border-color:#e2e8f0}.page-block-content:focus{border-color:#60a5fa;background:#f8fbff;box-shadow:0 0 0 2px #dbeafe}.page-block-content:empty:before{content:attr(data-placeholder);color:#94a3b8}.page-block-heading{font-size:22px;font-weight:750;color:#172033}.page-section-fields{display:grid;gap:5px}.page-block-actions{display:flex;gap:5px}.page-block-actions button{border:1px solid #dbe3ee;border-radius:6px;background:#fff;color:#64748b;padding:5px 8px;cursor:pointer}.page-block-actions button:disabled{opacity:.35}.page-block-actions .is-delete{color:#dc2626;border-color:#fecaca}.page-image-fields{display:grid;grid-template-columns:140px 1fr;gap:10px}.page-image-fields img{grid-row:span 2;width:140px;height:90px;object-fit:cover;border-radius:6px;background:#f1f5f9}.page-image-fields label{font-size:11px;font-weight:700;color:#64748b}.page-image-fields input{display:block;width:100%;margin-top:4px;border:1px solid #cbd5e1;border-radius:6px;padding:7px 9px}
@media(max-width:700px){.page-builder-toolbar button{flex:1 1 calc(50% - 8px)}.page-builder-block{grid-template-columns:26px minmax(0,1fr);padding:22px 9px 10px}.page-block-actions{grid-column:2;justify-content:flex-end}.page-image-fields{grid-template-columns:1fr}.page-image-fields img{grid-row:auto;width:100%;height:180px}}
.site-chrome-section[hidden]{display:none!important}.site-menu-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 0 9px;color:#334155;font-size:12px;font-weight:800}.site-add-menu-item{border:1px solid #bfdbfe;border-radius:7px;padding:6px 10px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:750;cursor:pointer}.site-menu-editor{display:grid;gap:7px;margin-bottom:16px}.site-menu-row{display:grid;grid-template-columns:24px minmax(105px,.8fr) minmax(125px,1fr) repeat(5,30px);gap:6px;align-items:center;padding:7px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;transition:.18s}.site-menu-row.is-submenu{margin-left:34px;border-left:3px solid #2563eb;background:#eff6ff}.site-menu-row.is-submenu:before{content:'Sub';position:absolute;margin-left:-31px;color:#2563eb;font-size:9px;font-weight:800;transform:rotate(-90deg)}.site-menu-row .modern-input{min-width:0;height:36px;padding:7px 9px;font-size:12px}.site-menu-grip{color:#94a3b8;text-align:center;cursor:grab}.site-menu-row button{width:30px;height:30px;border:1px solid #dbe3ee;border-radius:6px;background:#fff;color:#475569;cursor:pointer}.site-menu-row button:last-child{color:#dc2626}.site-menu-empty{margin:0 0 14px;padding:18px;border:1px dashed #cbd5e1;border-radius:9px;color:#64748b;text-align:center;font-size:12px}.site-preview-page header.layout-minimal b{display:none}.site-preview-page header.layout-boxed{margin:10px;border-radius:8px;box-shadow:0 4px 14px #0f172a18}.site-preview-page footer.layout-minimal nav{justify-content:center}.site-preview-page footer.layout-minimal strong{display:none}.site-preview-page footer.layout-boxed{margin:10px;border-radius:8px}@media(max-width:700px){.site-menu-row{grid-template-columns:22px 1fr 1fr 28px 28px}.site-menu-row button[data-menu-action="up"],.site-menu-row button[data-menu-action="down"],.site-menu-row button[data-menu-action="outdent"]{display:none}}
.site-logo-field{display:grid;gap:7px;margin-bottom:18px;color:#334155;font-size:12px;font-weight:800}.site-logo-picker{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.site-logo-picker>img{width:110px;height:70px;object-fit:contain;padding:8px;border:1px solid #dbe3ee;border-radius:8px;background:#fff}.site-logo-picker>div{display:grid;grid-template-columns:1fr auto;gap:8px}.site-logo-picker .modern-input{grid-column:1/-1}.site-choose-logo-btn{border:1px solid #93c5fd;border-radius:8px;padding:9px 14px;background:#eff6ff;color:#1d4ed8;font-weight:750;cursor:pointer}.site-choose-logo-btn:before{content:'▧';margin-right:7px}@media(max-width:600px){.site-logo-picker{grid-template-columns:1fr}.site-logo-picker>img{width:100%;height:80px}.site-logo-picker>div{grid-template-columns:1fr}}
.site-preview-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 12px}.site-preview-topbar .site-preview-label{margin:0}.site-device-switcher{display:flex;padding:3px;border:1px solid #dbe3ee;border-radius:9px;background:#f1f5f9}.site-device-switcher button{display:flex;align-items:center;gap:5px;border:0;border-radius:6px;padding:6px 9px;background:transparent;color:#64748b;font-size:10px;font-weight:750;cursor:pointer}.site-device-switcher button.active{background:#fff;color:#2563eb;box-shadow:0 1px 4px #0f172a17}.site-preview-stage{display:flex;justify-content:center;overflow:auto;padding:0;transition:.2s}.site-preview-stage #site-chrome-preview-frame{width:100%;transition:width .25s ease}.site-preview-stage[data-device="tablet"] #site-chrome-preview-frame{width:72%;min-width:520px}.site-preview-stage[data-device="mobile"] #site-chrome-preview-frame{width:42%;min-width:300px}.site-preview-stage[data-device="tablet"] .site-preview-page header{gap:9px;padding:12px}.site-preview-stage[data-device="tablet"] .site-preview-page header nav{gap:6px;font-size:7px}.site-preview-stage[data-device="tablet"] .site-preview-page footer{grid-template-columns:repeat(2,1fr)}.site-preview-stage[data-device="mobile"] .site-preview-page header{position:relative;flex-direction:row;padding:12px}.site-preview-stage[data-device="mobile"] .site-preview-page header img{width:82px}.site-preview-stage[data-device="mobile"] .site-preview-page header nav,.site-preview-stage[data-device="mobile"] .site-preview-page header b{display:none}.site-preview-stage[data-device="mobile"] .site-preview-page header:after{content:'☰';margin-left:auto;font-size:16px}.site-preview-stage[data-device="mobile"] .site-preview-page main{min-height:220px;padding:24px 18px}.site-preview-stage[data-device="mobile"] .site-preview-page footer{grid-template-columns:1fr!important;padding:17px;text-align:left}.site-preview-stage[data-device="mobile"] .site-preview-page footer>div{display:grid;gap:6px}.site-preview-stage[data-device="mobile"] .site-preview-page footer nav{gap:7px}.site-preview-stage[data-device="mobile"] .site-preview-page footer>small{grid-column:auto}.site-preview-page footer img{width:95px;height:30px;object-fit:contain;object-position:left}.site-preview-page footer>div{display:grid;gap:8px}.site-preview-page footer>div>small{font-size:7px}@media(max-width:700px){.site-preview-topbar{align-items:flex-start;flex-direction:column}.site-device-switcher{width:100%}.site-device-switcher button{flex:1;justify-content:center}.site-preview-stage[data-device="tablet"] #site-chrome-preview-frame,.site-preview-stage[data-device="mobile"] #site-chrome-preview-frame{min-width:0;width:100%}}
.site-footer-preset-card{display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;margin:0 0 18px;padding:12px;border:1px solid #bfdbfe;border-radius:10px;background:#eff6ff}.site-footer-preset-card .preset-logo{width:72px;height:44px;border-radius:6px;background:#202124;position:relative}.site-footer-preset-card .preset-logo:after{content:'TriKonet';position:absolute;left:9px;top:12px;color:#fff;font-size:10px;font-weight:800}.site-footer-preset-card b,.site-footer-preset-card small{display:block}.site-footer-preset-card b{color:#1e3a8a;font-size:12px}.site-footer-preset-card small{margin-top:3px;color:#64748b;font-size:10px}.site-footer-preset-card button{border:1px solid #2563eb;border-radius:7px;padding:7px 10px;background:#2563eb;color:#fff;font-size:10px;font-weight:750;cursor:pointer}.site-preview-page footer.layout-trikonet-wide{grid-template-columns:1.3fr 1fr 1fr 1fr;padding:24px 22px 16px}.site-preview-page footer.layout-trikonet-wide>small{grid-column:1/-1;border-top:1px solid #ffffff20;padding-top:12px}@media(max-width:650px){.site-footer-preset-card{grid-template-columns:60px 1fr}.site-footer-preset-card button{grid-column:1/-1}}
.site-size-control{display:grid!important;gap:9px!important;margin-bottom:18px!important;padding:13px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.site-size-control>span{display:flex;justify-content:space-between;align-items:center}.site-size-control output{padding:3px 8px;border-radius:12px;background:#dbeafe;color:#1d4ed8;font-size:10px}.site-size-control input[type="range"]{width:100%;accent-color:#2563eb}.site-size-control small{color:#64748b!important}.site-preview-page footer strong{font-size:var(--preview-footer-title-size,18px)}
.google-job-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding:12px 14px;border:1px solid #facc15;border-radius:9px;background:#fefce8;color:#854d0e}.google-job-notice strong{font-size:12px}.google-job-notice span{font-size:11px}.modern-card-title .req{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:10px;background:#fee2e2;color:#b91c1c;font-size:9px;vertical-align:middle}@media(max-width:650px){.google-job-notice{align-items:flex-start;flex-direction:column}}

/* Add Company Action in Job Overview */
.modern-add-company-btn {
  font-size: 12.5px;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  cursor: pointer;
  padding: 3px 9px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.modern-add-company-btn:hover {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #7dd3fc;
}
.modern-combobox-footer {
  padding: 8px 10px;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.combobox-footer-add-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #0284c7;
  background: #ffffff;
  border: 1px dashed #38bdf8;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.combobox-footer-add-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0369a1;
}

/* Return Notice Banner in Employer Editor */
.modern-return-notice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #eff6ff 0%, #f0fdf4 100%);
  border-bottom: 1px solid #bfdbfe;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.return-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.return-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dbeafe;
  color: #2563eb;
  flex-shrink: 0;
}
.return-banner-text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #1e293b;
}
.return-banner-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: #dbeafe;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.return-banner-msg strong {
  color: #0f172a;
  font-weight: 600;
}
.modern-btn-cancel-return {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.modern-btn-cancel-return:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}
.modern-field-help{display:block;margin-top:6px;color:#64748b;font-size:11px;line-height:1.45}.application-input-with-icon{position:relative}.application-input-with-icon>span{position:absolute;left:13px;top:50%;z-index:1;transform:translateY(-50%);color:#64748b;font-size:15px}.application-input-with-icon .modern-input{padding-left:39px}.application-timeline-panel{margin-top:8px;padding:16px;border:1px solid #dbe5f1;border-radius:11px;background:#f8fafc}.application-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.application-timeline-head>div:first-child{display:grid;gap:3px}.application-timeline-head strong{color:#1e293b;font-size:13px}.application-timeline-head span{color:#64748b;font-size:11px}.deadline-presets{display:flex;flex-wrap:wrap;gap:6px}.deadline-presets button{border:1px solid #cbd5e1;border-radius:16px;padding:5px 10px;background:#fff;color:#475569;font-size:10px;font-weight:700;cursor:pointer}.deadline-presets button:hover,.deadline-presets button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.application-sync-check{display:flex;align-items:center;gap:7px;margin-top:7px;color:#475569;font-size:11px;cursor:pointer}.application-sync-check input{width:15px;height:15px;accent-color:#2563eb}@media(max-width:760px){.application-timeline-head{align-items:flex-start;flex-direction:column}.deadline-presets{width:100%}.deadline-presets button{flex:1}}

/* Bulk Edit Styling */
.wp-list-table tr.bulk-edit-row {
  background: #f8fafc;
  border-left: 4px solid #0284c7;
}
.bulk-edit-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.bulk-job-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: #eff6ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  font-size: 12px;
  color: #0369a1;
  font-weight: 500;
}
.bulk-job-chip-title {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bulk-job-chip-remove {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.bulk-job-chip-remove:hover {
  color: #dc2626;
}

/* ==========================================================================
   Modern Quick Edit Redesign
   ========================================================================== */
.wp-list-table tr.modern-qe-row {
  background: transparent !important;
}
.wp-list-table tr.modern-qe-row:hover {
  background: transparent !important;
}
.modern-qe-td {
  padding: 16px 20px 24px 20px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 2px solid #cbd5e1 !important;
  vertical-align: top;
  box-sizing: border-box;
}

.modern-qe-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  animation: qeSlideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.modern-qe-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.modern-qe-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.modern-qe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #dbeafe;
}
.modern-qe-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.modern-qe-heading-label {
  color: #64748b;
  font-weight: 400;
}
.modern-qe-heading-title {
  color: #0f172a;
  font-weight: 600;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modern-qe-slug-chip {
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.modern-qe-close-btn {
  background: none;
  border: 1px solid transparent;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.modern-qe-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #e2e8f0;
}

/* 3-Column Layout */
.modern-qe-body {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 24px;
}
.modern-qe-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modern-qe-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modern-qe-field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modern-qe-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
}
.modern-qe-req {
  color: #ef4444;
}
.modern-qe-help {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Inputs, Selects & Textarea */
.modern-qe-input,
.modern-qe-select,
.modern-qe-textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
  font-family: inherit;
}
.modern-qe-input:focus,
.modern-qe-select:focus,
.modern-qe-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.modern-qe-select {
  cursor: pointer;
}
.modern-qe-textarea {
  resize: vertical;
  min-height: 70px;
}

/* Affixed Input for Slug */
.modern-qe-input-affix-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.15s ease;
}
.modern-qe-input-affix-wrap:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.modern-qe-affix {
  padding: 8px 10px 8px 12px;
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  user-select: none;
  font-weight: 500;
  flex-shrink: 0;
}
.modern-qe-input-affixed {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 10px;
}

/* Badges / Promotions */
.modern-qe-badges-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.modern-qe-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.modern-qe-badge-chip input {
  display: none;
}
.modern-qe-badge-chip:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.modern-qe-badge-chip.active {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.15);
}

/* Job Types Pills */
.modern-qe-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modern-qe-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.modern-qe-type-pill input {
  display: none;
}
.modern-qe-type-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.modern-qe-type-pill.active {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #15803d;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(34, 197, 94, 0.12);
}

/* Checklist Boxes & Filter */
.modern-qe-label-with-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.modern-qe-filter-input {
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  outline: none;
  background: #ffffff;
  color: #334155;
  width: 140px;
  transition: all 0.15s ease;
}
.modern-qe-filter-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
  width: 160px;
}
.modern-qe-checklist-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 180px;
  max-height: 180px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
}
.modern-qe-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s ease;
  min-height: 28px;
  box-sizing: border-box;
  margin: 0;
  line-height: 1.4;
}
.modern-qe-check-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.modern-qe-check-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  accent-color: #2563eb;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}
.modern-qe-check-item.depth-1 {
  padding-left: 20px;
}
.modern-qe-check-item.depth-2 {
  padding-left: 36px;
}
.modern-qe-check-item.depth-3 {
  padding-left: 52px;
}
.modern-qe-check-item .depth-arrow {
  color: #94a3b8;
  font-size: 12px;
  margin-right: 2px;
}

/* Footer & Actions */
.modern-qe-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
}
.modern-qe-footer-status {
  font-size: 13px;
  font-weight: 500;
  min-height: 20px;
  display: flex;
  align-items: center;
}
.modern-qe-footer-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.modern-qe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  box-sizing: border-box;
}
.modern-qe-btn-cancel {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
}
.modern-qe-btn-cancel:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}
.modern-qe-btn-save {
  background: #2563eb;
  border: 1px solid #1d4ed8;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}
.modern-qe-btn-save:hover {
  background: #1d4ed8;
}
.modern-qe-btn-save:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.modern-qe-spinner {
  animation: qeSpin 1s linear infinite;
}
@keyframes qeSpin {
  100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .modern-qe-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ==========================================================================
   Multi Social Networks Manager (Employer Editor)
   ========================================================================== */
.employer-socials-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.social-network-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.social-network-row:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.06);
}

.social-network-row.highlight-pulse {
  animation: socialPulseHighlight 0.8s ease;
}

@keyframes socialPulseHighlight {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); border-color: #2563eb; }
  50% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25); border-color: #2563eb; }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.social-platform-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.social-network-select-wrap {
  flex: 0 0 170px;
  min-width: 140px;
}

.social-network-select {
  width: 100%;
  height: 38px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.social-network-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.social-network-input-wrap {
  flex: 1;
  min-width: 0;
}

.social-network-url {
  width: 100%;
  height: 38px;
  padding: 8px 12px;
  font-size: 13px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  outline: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.social-network-url:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.social-network-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.social-network-test-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #2563eb;
  cursor: pointer;
  transition: all 0.15s ease;
}

.social-network-test-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  color: #94a3b8;
  border-color: #e2e8f0;
}

.social-network-test-btn:not(:disabled):hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.social-network-remove-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.social-network-remove-btn:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

/* Quick Add Presets Bar */
.social-presets-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  flex-wrap: wrap;
}

.social-presets-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.social-presets-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.social-preset-chip {
  font-size: 12px;
  font-weight: 500;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.social-preset-chip:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
}

@media (max-width: 768px) {
  .social-network-row {
    flex-wrap: wrap;
  }
  .social-network-select-wrap {
    flex: 1 1 auto;
  }
  .social-network-input-wrap {
    flex: 1 1 100%;
    order: 3;
  }
}
