/* Outsider Services Styles */
.outsider-services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.services-header {
  text-align: center;
  margin-bottom: 2rem;
}

.services-header h1 {
  font-size: 2.5rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.services-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

/* Category Filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
}

.category-link {
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  text-decoration: none;
  color: #4b5563;
  background: white;
  border: 1px solid #e5e7eb;
  font-weight: 500;
  transition: all 0.2s;
}

.category-link:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.category-link.active {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Service Card */
.service-card-outsider {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card-outsider:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.service-card-outsider__image {
  position: relative;
  height: 180px;
}

.service-card-outsider__image .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-placeholder span {
  font-size: 3rem;
  color: white;
  font-weight: bold;
}

.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4338ca;
}

.service-card-outsider__content {
  padding: 1.25rem;
}

.service-card-outsider__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.rating-stars .star {
  color: #d1d5db;
  font-size: 1rem;
}

.rating-stars .star.filled {
  color: #fbbf24;
}

.rating-value {
  font-weight: 600;
  color: #1f2937;
  margin-left: 0.25rem;
}

.reviews-count {
  color: #6b7280;
  font-size: 0.875rem;
}

.service-card-outsider__description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.service-card-outsider__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.service-meta-outsider {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.service-meta-outsider .duration {
  color: #6b7280;
  font-size: 0.875rem;
}

.mode-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-online {
  background: #d1fae5;
  color: #065f46;
}

.badge-offline {
  background: #fef3c7;
  color: #92400e;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3b82f6;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.no-services {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
}

/* Show Page Styles */
.service-show-outsider {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.service-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.service-hero__image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-hero__placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-hero__placeholder span {
  font-size: 5rem;
  color: white;
  font-weight: bold;
}

.service-title-section {
  margin-bottom: 2rem;
}

.service-title-section h1 {
  font-size: 2rem;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.service-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-badges .badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
}

.badge-category {
  background: #e0e7ff;
  color: #4338ca;
}

.badge-mode {
  background: #d1fae5;
  color: #065f46;
}

/* Reviews Section */
.reviews-section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.reviews-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #1f2937;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-average {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.reviews-count-header {
  color: #6b7280;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f3f4f6;
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 600;
  color: #1f2937;
}

.review-rating {
  display: flex;
  gap: 0.125rem;
}

.review-rating .star {
  color: #d1d5db;
  font-size: 0.875rem;
}

.review-rating .star.filled {
  color: #fbbf24;
}

.review-comment {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.no-reviews {
  text-align: center;
  padding: 2rem;
  color: #9ca3af;
}

/* Author Section */
.author-section {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.author-section h2 {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: #1f2937;
}

.author-profile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.author-info {
  flex: 1;
}

.author-email {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.author-bio {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .category-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .author-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
