/* makers-directory.css — Page-specific styles for Browse Makers */

main {
  padding: 40px 0;
}
h1 {
  color: #1d3557;
  text-align: center;
  margin-bottom: 12px;
}
.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 32px;
}

/* Active nav link highlight */
.nav-link-active {
  color: #1d3557 !important;
}

/* Search / Filter bar */
.search-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.search-filters input,
.search-filters select {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 200px;
}

/* Makers grid */
.makers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Individual maker card */
.maker-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.maker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Maker card header */
.maker-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.maker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #a8dadc;
}
.maker-info {
  flex: 1;
}
.maker-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.maker-name a {
  color: inherit;
  text-decoration: none;
}
.maker-name a:hover {
  color: #1d3557;
}

/* Stats row */
.maker-stats {
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
  color: #666;
}
.maker-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Availability badge */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}
.availability-badge.available {
  background: #d0e8ee;
  color: #3d5a3f;
}
.availability-badge.busy {
  background: #fef9e7;
  color: #8a6d15;
}
.availability-badge.away {
  background: #fef0eb;
  color: #b5451e;
}

/* Pro badge */
.pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3e8ff;
  color: #6b21a8;
  margin-left: 8px;
}

/* Bio text */
.maker-bio {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Portfolio preview */
.maker-portfolio-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.maker-portfolio-preview img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  background: #f0f0f0;
}

/* Skills / tags */
.maker-skills {
  margin-bottom: 16px;
}
.skill-tag {
  display: inline-block;
  background: #a8dadc;
  color: #1d3557;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  margin: 2px;
}

/* View profile CTA */
.view-profile-btn {
  display: block;
  text-align: center;
  background: #1d3557;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.view-profile-btn:hover {
  background: #15293e;
}

/* Empty / loading states */
.no-makers {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}
.makers-directory-loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}
