/* Partner panels (carrier.html: باربری‌ها, mechanic.html: تعمیرگاه‌ها) on
   top of admin.css and seller.css (js/partner-panel.js). */

.pt-pickbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.pt-doc {
  width: min(100%, 260px);
}

.pt-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted-2, var(--muted));
}

.pt-note .icon {
  flex-shrink: 0;
  margin-top: 3px;
}

/* A booking or request row with actions (mechanic.js). */
.pt-list {
  display: grid;
}

.pt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}

.pt-row:first-child {
  border-top: 0;
}

.pt-row__time {
  flex-shrink: 0;
  min-width: 56px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.pt-row__time small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.pt-row__main {
  flex: 1;
  min-width: 0;
}

.pt-row__main strong {
  display: block;
  font-size: 13.5px;
}

.pt-row__main small {
  display: block;
  overflow: hidden;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pt-row__act {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.pt-days {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.pt-days::-webkit-scrollbar {
  display: none;
}

.pt-day {
  flex-shrink: 0;
  min-width: 64px;
  padding: 8px 6px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
}

.pt-day b {
  display: block;
  font-size: 15px;
}

.pt-day small {
  display: block;
  color: var(--muted);
}

.pt-day[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.pt-day[aria-pressed="true"] small {
  color: rgba(255, 255, 255, 0.85);
}

/* «ثبت روی نقشه» (mapreq-panel.js) */
.mr-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft);
}

.mr-status__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--green);
}

.mr-status strong {
  display: block;
  font-size: 14px;
}

.mr-status small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.mr-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--green-soft, #e8f7ee);
  color: var(--green-dark, #028047);
  font-size: 12px;
  font-weight: 700;
}

.mr-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mr-photo {
  position: relative;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-soft);
}

.mr-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mr-photo button {
  position: absolute;
  top: 4px;
  left: 4px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
}

.mr-photo button .icon {
  width: 13px;
  height: 13px;
}

.mr-add {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}
