/* © diaspora.ro — Toate drepturile rezervate. */
.seller-case-summary .case-summary-list,
.seller-notification-summary .case-summary-list {
  display: grid;
  gap: 8px;
}

.seller-case-summary .case-summary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.seller-case-summary .case-filter {
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  background: #fff;
  color: #46566a;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.seller-case-summary .case-filter:hover,
.seller-case-summary .case-filter.active {
  border-color: #1769e0;
  background: #eef5ff;
  color: #1255b5;
}

.seller-case-summary .case-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #d9e2ec;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.seller-case-summary .case-summary-row:hover {
  border-color: #1769e0;
  background: #f8fbff;
}

.seller-case-summary .case-summary-row > div {
  min-width: 0;
}

.seller-case-summary .case-summary-row b,
.seller-case-summary .case-summary-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-case-summary .case-summary-row small {
  margin-top: 4px;
  color: #718397;
  font-size: 11px;
}

.seller-case-summary .case-summary-row:has(.status-open) {
  border-color: #f2b8b1;
  background: #fff8f7;
}

.seller-case-summary .case-summary-row:has(.status-open)::after {
  content: "Răspuns necesar";
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fde8e6;
  color: #b42318;
  font-size: 10px;
  font-weight: 800;
}

.seller-case-summary .case-summary-row:has(.status-seller_response)::after {
  content: "Așteaptă analiza";
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff4db;
  color: #8a5700;
  font-size: 10px;
  font-weight: 800;
}

.seller-case-summary .case-age {
  color: #b42318;
  font-weight: 800;
}

.seller-case-summary .case-summary-row.case-age-fresh {
  border-left: 4px solid #f2b8b1;
}

.seller-case-summary .case-summary-row.case-age-warning,
.seller-case-summary .case-summary-row.case-review-stale-warning {
  border-left: 4px solid #e08a00;
  background: #fffaf0;
}

.seller-case-summary .case-summary-row.case-age-critical,
.seller-case-summary .case-summary-row.case-review-stale-critical {
  border: 2px solid #c62828;
  border-left-width: 6px;
  background: #fff3f1;
  box-shadow: 0 2px 8px rgba(198, 40, 40, .12);
}

.seller-case-summary .case-summary-row.case-age-critical .case-age,
.seller-case-summary .case-review-stale-critical .case-review-stale-label {
  color: #9f1c1c;
}

.seller-case-summary .case-summary-row.case-age-unknown .case-age {
  color: #718397;
  font-style: italic;
  font-weight: 700;
}

.seller-case-summary .case-review-stale-label {
  color: #9a5b00;
  font-weight: 800;
}

.seller-case-summary .case-age-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: -3px 0 12px;
  color: #718397;
  font-size: 10px;
}

.seller-case-summary .case-age-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.seller-case-summary .case-age-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f2b8b1;
}

.seller-case-summary .case-age-legend .legend-warning i,
.seller-case-summary .case-age-legend .legend-review-warning i {
  background: #e08a00;
}

.seller-case-summary .case-age-legend .legend-critical i,
.seller-case-summary .case-age-legend .legend-review-critical i {
  background: #c62828;
}

.seller-case-summary .case-update {
  color: #8a5700;
  font-weight: 700;
}

/* Directory stores linked by the signed-in owner's approved store role. */
.seller-directory-stores {
  margin-top: 16px;
}
.seller-directory-stores-heading {
  margin-bottom: 14px;
}
.seller-directory-stores-heading h2 {
  margin: 4px 0 6px;
  font-size: 19px;
}
.seller-directory-stores-heading p {
  margin: 0;
}
.seller-directory-store-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
.seller-directory-store-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  background: #fff;
  color: #172b4d;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.seller-directory-store-card:hover {
  border-color: #7c3aed;
}
.seller-directory-store-card:focus-visible {
  outline: 3px solid rgba(124, 58, 237, .35);
  outline-offset: 2px;
}
.seller-directory-store-name {
  font-size: 15px;
}
.seller-directory-store-location {
  color: #526171;
  font-size: 13px;
}
.seller-directory-store-action {
  color: #4f46e5;
  font-size: 12px;
  font-weight: 700;
}
.seller-directory-stores-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.seller-directory-stores-empty p {
  margin: 0;
}
.seller-directory-offer-entry {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 14px;
}
.seller-directory-add-listing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #4f46e5;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.seller-directory-add-listing:hover {
  border-color: #4338ca;
  background: #4338ca;
}
.seller-directory-add-listing:focus-visible {
  outline: 3px solid rgba(79, 70, 229, .35);
  outline-offset: 2px;
}
.seller-directory-offer-scope {
  margin: 0;
  color: #526171;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 600px) {
  .seller-directory-offer-entry { align-items: stretch; }
  .seller-directory-add-listing { width: 100%; }
}

