/* Status bar (last updated + refresh buttons) */
.store-admin-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  margin-bottom: 15px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
}
.store-admin-status-label {
  font-weight: bold;
  color: #555;
}
.store-admin-status-value {
  color: #333;
  margin-right: auto;
}

/* Tab navigation */
#store-admin-tabs .r-tabs-nav {
  margin: 0 0 20px;
  padding: 0;
  border-bottom: 2px solid #0074bd;
  list-style: none;
}
#store-admin-tabs .r-tabs-tab {
  display: inline-block;
  margin: 0 2px -2px 0;
}
#store-admin-tabs .r-tabs-tab a {
  display: block;
  padding: 10px 20px;
  background: #e8e8e8;
  border: 2px solid #ccc;
  border-bottom: 2px solid #0074bd;
  border-radius: 4px 4px 0 0;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}
#store-admin-tabs .r-tabs-tab a:hover {
  background: #f5f5f5;
}
#store-admin-tabs .r-tabs-tab.r-tabs-state-active a {
  background: #fff;
  border-color: #0074bd;
  border-bottom-color: #fff;
  color: #0074bd;
}

/* Search wrapper */
#store-admin-tabs .store-search-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}
#store-admin-tabs .store-product-search {
  width: 100%;
  max-width: 400px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* Table */
#store-admin-tabs .store-products-table {
  width: 100%;
  border-collapse: collapse;
}
#store-admin-tabs .store-products-table th,
#store-admin-tabs .store-products-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: middle;
}
#store-admin-tabs .store-products-table th {
  font-weight: bold;
  background: #f5f5f5;
  position: sticky;
  top: 0;
  border-bottom: 2px solid #ccc;
}
#store-admin-tabs .store-products-table tr:hover td {
  background: #f9f9f9;
}

/* Consistent action buttons (used in tables and the status bar) */
.store-action-btn {
  display: inline-block;
  padding: 4px 14px;
  background: #0074bd;
  color: #fff;
  border: 1px solid #005a94;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.5;
  font-family: inherit;
}
.store-action-btn:hover {
  background: #005a94;
  color: #fff;
  text-decoration: none;
}
.store-action-btn[disabled],
.store-action-btn.is-disabled {
  background: #999;
  border-color: #777;
  cursor: not-allowed;
  pointer-events: none;
}

/* Accordion titles (mobile) */
#store-admin-tabs .r-tabs-accordion-title a {
  display: block;
  padding: 10px 15px;
  background: #e8e8e8;
  border: 1px solid #ccc;
  margin-bottom: -1px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
#store-admin-tabs .r-tabs-accordion-title.r-tabs-state-active a {
  background: #fff;
  border-color: #0074bd;
  color: #0074bd;
}
