.search-band {
  background: #eef5ff;
  padding: 3rem 0;
}
@media (max-width: 767px) {
  .search-band {
    padding: 2rem 0;
  }
}
.search-band search-bar {
  display: block;
  margin-bottom: 2rem;
}
.search-band .chip-group {
  justify-content: center;
  max-width: 720px;
  margin: 0 auto;
}

.browse search-bar {
  display: block;
  margin-bottom: 1.5rem;
}

.browse-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.browse-filters__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background: #3483f8;
  border-radius: 9999px;
}
.browse-filters__count[hidden] {
  display: none;
}
.browse-filters__clear {
  margin-left: auto;
}
.browse-filters__clear[hidden] {
  display: none;
}

.sheet-actions {
  display: flex;
  gap: 0.5rem;
}
.sheet-actions .btn {
  flex: 1;
}

.browse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.browse-header__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #171717;
}
.browse-header__count {
  color: #737373;
  font-weight: 400;
  font-size: 15px;
}

.relevance-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 9999px;
  color: #ffffff;
}
.relevance-badge.high {
  background: rgba(34, 197, 94, 0.92);
}
.relevance-badge.medium {
  background: rgba(245, 158, 11, 0.92);
  color: #171717;
}

.listing-grid--muted {
  opacity: 0.75;
}

.search-loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
}
.search-loading[hidden] {
  display: none;
}
.search-loading__box {
  text-align: center;
  color: #525252;
}
.search-loading .spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #d9e8ff;
  border-top-color: #3483f8;
  margin: 0 auto 1rem;
}

.price-display {
  font-size: 2rem;
  font-weight: 700;
  color: #171717;
}

.product-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.product-info-item i {
  color: #737373;
}

.action-buttons .btn {
  flex: 1;
  min-width: 120px;
}

@media (max-width: 767px) {
  .similar-items {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .similar-items::-webkit-scrollbar {
    display: none;
  }
  .similar-items > * {
    flex: 0 0 240px;
  }
}
.create-ad-layout {
  display: flex;
  gap: 24px;
  min-height: calc(100vh - 160px);
}

.ad-form-panel {
  flex: 1;
  max-width: 640px;
}

.field-highlight {
  animation: fieldGlow 1.5s ease-out;
}

@keyframes fieldGlow {
  0% {
    box-shadow: 0 0 0 3px rgba(52, 131, 248, 0.5);
    border-color: #3483f8;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 131, 248, 0);
    border-color: #d4d4d4;
  }
}
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 36px;
  padding: 0.5rem;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  background: #ffffff;
}

@media (min-width: 992px) {
  .chat-panel {
    width: 380px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 80px;
    height: calc(100vh - 120px);
    background: #ffffff;
  }
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafafa;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.typing-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a3a3a3;
  animation: typingBounce 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}
.chat-toggle-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(52, 131, 248, 0.4);
  z-index: 100;
}
.chat-toggle-fab:hover {
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .create-ad-layout {
    flex-direction: column;
  }
  .ad-form-panel {
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .chat-toggle-fab {
    display: none !important;
  }
}
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 991px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .dashboard-stats {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .dashboard-stats::-webkit-scrollbar {
    display: none;
  }
  .dashboard-stats > * {
    flex: 0 0 160px;
  }
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-filters {
  margin-bottom: 1.5rem;
}

.listing-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background 150ms ease;
}
.listing-row:hover {
  background: #fafafa;
}
@media (max-width: 767px) {
  .listing-row {
    gap: 0.5rem;
    padding: 1rem;
  }
}

.listing-row__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}
.listing-row__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3a3a3;
  font-size: 20px;
}
@media (max-width: 767px) {
  .listing-row__thumb {
    width: 44px;
    height: 44px;
  }
}

.listing-row__info {
  flex: 1;
  min-width: 0;
}
.listing-row__info h3 {
  font-size: 14px;
  font-weight: 600;
  color: #171717;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-row__info p {
  font-size: 12px;
  color: #737373;
  margin: 2px 0 0;
}

.listing-row__price {
  font-size: 14px;
  font-weight: 600;
  color: #171717;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .listing-row__price {
    display: none;
  }
}

.listing-row__date {
  font-size: 13px;
  color: #737373;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 991px) {
  .listing-row__date {
    display: none;
  }
}

.listing-row__chevron-wrap {
  flex-shrink: 0;
  padding-left: 0.25rem;
}

.listing-row__chevron {
  transition: transform 150ms ease;
  color: #a3a3a3;
  font-size: 14px;
}
.listing-row__chevron--open {
  transform: rotate(90deg);
}

.listing-detail {
  display: none;
  padding: 1.5rem;
  padding-left: calc(56px + 1rem + 1.5rem);
  background: #fafafa;
  border-bottom: 1px solid #e5e5e5;
}
.listing-detail--open {
  display: block;
}
@media (max-width: 767px) {
  .listing-detail {
    padding: 1rem;
  }
}

.listing-detail__stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 575px) {
  .listing-detail__stats {
    flex-direction: column;
  }
}

.listing-detail__stat {
  flex: 1;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1rem 1.5rem;
}
.listing-detail__stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #171717;
}
.listing-detail__stat-label {
  font-size: 11px;
  color: #737373;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.listing-detail__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.listing-detail__delete {
  color: #737373;
  margin-left: auto;
}
.listing-detail__delete:hover {
  color: #FF0200;
}

.agent-listings {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-width: 80%;
}

.agent-listing {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 150ms ease;
}
.agent-listing:hover {
  border-color: #7ab4fc;
}
.agent-listing__thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f5f5;
}
.agent-listing__thumb--empty {
  display: block;
}
.agent-listing__body {
  min-width: 0;
}
.agent-listing__title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agent-listing__meta {
  display: block;
  font-size: 13px;
  color: #737373;
}

.agent-proposal {
  align-self: flex-start;
  width: 100%;
  max-width: 80%;
  padding: 1rem;
  border: 1px solid #b3d1ff;
  border-radius: 12px;
  background: #eef5ff;
}
.agent-proposal .agent-listing {
  background: #ffffff;
  margin-bottom: 1rem;
}
.agent-proposal__changes {
  margin: 0 0 1rem;
}
.agent-proposal__change {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.agent-proposal__change dt {
  font-size: 13px;
  color: #737373;
}
.agent-proposal__change dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.agent-proposal__before {
  color: #737373;
  text-decoration: line-through;
}
.agent-proposal__after {
  font-weight: 600;
}
.agent-proposal__arrow {
  color: #a3a3a3;
}
.agent-proposal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.agent-proposal__outcome {
  font-size: 13px;
  font-weight: 600;
  color: #737373;
}
.agent-proposal--resolved {
  border-color: #e5e5e5;
  background: #fafafa;
  opacity: 0.75;
}

.agent-error {
  background: #fff5f5;
  color: #FF0200;
}

/*# sourceMappingURL=pages.css.map */
