.sddw-archive-page,
.sddw-single-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  box-sizing: border-box;
}

.sddw-container {
  width: 100%;
}

.sddw-archive-header {
  text-align: center;
  margin-bottom: 30px;
}
.sddw-archive-header h1 {
  font-size: 2em;
  margin: 0 0 8px;
}
.sddw-archive-header p {
  color: #777;
  margin: 0;
}

.sddw-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  align-items: center;
}
.sddw-search-wrap {
  display: flex;
  flex: 1;
  min-width: 200px;
}
.sddw-search-input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}
.sddw-search-btn {
  padding: 8px 18px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
}
.sddw-search-btn:hover {
  background: #005f8c;
}
.sddw-cat-select {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  min-width: 180px;
}

.sddw-wanted-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.sddw-wanted-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.sddw-wanted-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sddw-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 200px;
}
.sddw-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sddw-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  color: #aaa;
  font-size: 14px;
}
.sddw-placeholder-large {
  height: 400px;
}

.sddw-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sddw-status-badge.wanted {
  background: #e74c3c;
  color: #fff;
}

.sddw-card-body {
  padding: 16px;
}

.sddw-card-title {
  font-size: 1.1em;
  margin: 0 0 10px;
}
.sddw-card-title a {
  text-decoration: none;
  color: #333;
}

.sddw-card-budget,
.sddw-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}
.sddw-label {
  color: #888;
}
.sddw-value {
  font-weight: 500;
  color: #333;
}

.sddw-card-cats {
  margin-top: 10px;
}
.sddw-cat-tag {
  display: inline-block;
  padding: 2px 8px;
  margin: 2px 2px 0 0;
  background: #f0f0f0;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
  color: #555;
}
.sddw-cat-tag:hover {
  background: #e0e0e0;
}

.sddw-card-vendor {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}
.sddw-card-vendor a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #555;
  font-size: 13px;
}
.sddw-card-vendor img {
  border-radius: 50%;
  width: 28px;
  height: 28px;
}

.sddw-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.sddw-pagination {
  grid-column: 1 / -1;
  margin-top: 20px;
  text-align: center;
}
.sddw-pagination a,
.sddw-pagination span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 2px;
  border: 1px solid #ddd;
  border-radius: 3px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.sddw-pagination .current {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.sddw-urgency-low { }
.sddw-urgency-medium { color: #f39c12; }
.sddw-urgency-high { color: #e67e22; }
.sddw-urgency-urgent { color: #e74c3c; font-weight: 600; }

.sddw-single-header {
  margin-bottom: 30px;
}

.sddw-single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.sddw-single-image img {
  width: 100%;
  border-radius: 6px;
}

.sddw-detail-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.sddw-detail-label {
  color: #888;
  font-weight: 500;
}
.sddw-detail-value {
  color: #333;
  text-align: right;
  flex: 1;
  margin-left: 20px;
}

.sddw-budget-block {
  background: #f9f9f9;
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 8px;
  border: 1px solid #eee;
}
.sddw-budget-value {
  font-size: 1.3em;
  font-weight: 600;
  color: #0073aa;
}

.sddw-vendor-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
}
.sddw-vendor-link img {
  border-radius: 50%;
  width: 28px;
  height: 28px;
}

.sddw-single-description {
  margin-bottom: 30px;
  padding: 24px;
  background: #fafafa;
  border-radius: 6px;
}

.sddw-single-back {
  margin-top: 20px;
}
.sddw-back-link {
  text-decoration: none;
  color: #0073aa;
  font-size: 14px;
}

@media (max-width: 768px) {
  .sddw-single-grid {
    grid-template-columns: 1fr;
  }
  .sddw-wanted-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

.sddw-wanted-listings-wrapper {
  margin-top: 20px;
}
.sddw-wanted-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.sddw-wanted-header h3 {
  margin: 0;
}

.dokan-wanted-form-wrapper {
  margin-top: 20px;
}
.dokan-wanted-form-wrapper h3 {
  margin-bottom: 20px;
}
.dokan-wanted-form-wrapper .dokan-form-group:last-of-type {
  margin-top: 24px;
}
