.wp-heading-inline,
.page-title-action,
.subsubsub,
.search-box,
.tablenav.top,
.tablenav.bottom {
  display: none !important;
}

#wpcontent {
  padding-left: 0;
  background: #f8fafc;
}

#wpbody-content {
  padding-bottom: 60px;
  min-height: 100vh;
}

.wrap {
  margin: 0 !important;
  max-width: 100% !important;
  padding: 20px !important;
}

.notice {
  margin: 0 40px 20px 40px !important;
}

.oa-dashboard-container,
.wp-list-table.widefat {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.oa-dashboard-container {
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.oa-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.oa-title-section h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #2d3748;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

.oa-pill-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 6px;
}

.oa-pill-tabs a {
  text-decoration: none;
  color: #718096;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s;
}

.oa-pill-tabs a:hover {
  color: #2d3748;
}

.oa-pill-tabs a.active {
  background: #fff;
  color: #f39c12;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.oa-count {
  font-size: 11px;
  opacity: 0.7;
  margin-left: 2px;
}

.oa-button-primary {
  background: #f39c12;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.oa-button-primary:hover {
  background: #e67e22;
  color: #fff;
}

.oa-button-primary .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.wp-list-table.widefat {
  border-radius: 0 0 8px 8px;
  margin-top: 0;
}

.wp-list-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #718096;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 24px;
}

.manage-column.column-cb {
  padding-left: 24px;
}

.wp-list-table tbody tr {
  transition: background 0.1s;
}

.wp-list-table tbody tr:hover {
  background: #fff5e6 !important;
}

.wp-list-table tbody td {
  padding: 16px 24px;
  vertical-align: middle;
  color: #2d3748;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
}

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

.row-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
}

.oa-type-indicator {
  font-size: 12px;
  font-weight: 500;
  color: #718096;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oa-type-indicator::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e0;
}

.oa-type-indicator.header::before {
  background: #f39c12;
}

.oa-type-indicator.footer::before {
  background: #38a169;
}

.oa-shortcode {
  background: #edf2f7;
  color: #718096;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  user-select: all;
}

.oa-row-actions-wrap {
  text-align: right;
  opacity: 0;
  transition: opacity 0.2s;
}

.wp-list-table tbody tr:hover .oa-row-actions-wrap {
  opacity: 1;
}

.oa-action-btn.edit-el {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f39c12;
  color: white;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  margin-right: 4px;
  min-width: 32px;
  box-sizing: border-box;
}

.oa-action-btn.edit-el:hover {
  background: #d35400;
  color: white;
}

.oa-action-btn.edit-el .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
  display: block;
}

.oa-action-btn.delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e53e3e;
  color: white;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  margin-left: 4px;
  min-width: 32px;
  box-sizing: border-box;
}

.oa-action-btn.delete:hover {
  background: #c53030;
  color: white;
}

.oa-action-btn.delete .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
  display: block;
}

.oa-action-btn.restore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0aac18;
  color: white;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  margin-left: 4px;
  min-width: 32px;
  box-sizing: border-box;
}

.oa-action-btn.restore:hover {
  background: #078311;
  color: white;
}

.oa-action-btn.restore .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
  display: block;
}

.tablenav.bottom {
  display: none !important;
}
