/* Estilos para el catálogo de proveedores */

.catalog-container {
  min-height: 100vh;
  background: var(--light-bg);
}

.catalog-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.catalog-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.catalog-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.catalog-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
}

.catalog-cta {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.catalog-cta-text {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.catalog-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.catalog-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.catalog-cta-btn.primary {
  background: white;
  color: var(--primary-dark);
}

.catalog-cta-btn.primary:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.catalog-cta-btn.secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.catalog-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.catalog-filters {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

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

.filters-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.filters-title i {
  color: var(--primary-color);
}

.filters-subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  max-width: 400px;
}

.filter-select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-icon {
  position: absolute;
  left: 1rem;
  color: var(--primary-color);
  font-size: 1rem;
  z-index: 2;
}

.filter-select {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: white;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.1);
}

.filter-select:hover {
  border-color: var(--primary-color);
}

.select-arrow {
  position: absolute;
  right: 1rem;
  color: #666;
  font-size: 0.9rem;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.filter-select:focus + .select-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.filter-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-btn.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(244, 180, 0, 0.2);
}

.filter-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(244, 180, 0, 0.3);
}

.filter-btn.secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.filter-btn.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.provider-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.provider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.provider-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.provider-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.provider-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.provider-info a {
  text-decoration: none;
  color: inherit;
}

.provider-info a:hover {
  color: var(--primary);
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
  color: #ffd700;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--secondary-text);
}

.provider-services {
  margin-bottom: 1.5rem;
}

.services-label {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  background: var(--light-bg);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
}

.provider-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.provider-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

.provider-btn.primary {
  background: var(--primary-color);
  color: white;
}

.provider-btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.provider-btn.secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.provider-btn.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.provider-preview-info {
  width: 100%;
  margin-bottom: 1rem;
}

.preview-text {
  background: var(--light-bg);
  color: var(--secondary-text);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.provider-cta-buttons {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.provider-cta-buttons .provider-btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

.catalog-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.pagination-link:hover,
.pagination-link.current {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.catalog-empty {
  text-align: center;
  padding: 4rem 0;
}

.empty-icon {
  font-size: 4rem;
  color: var(--secondary-text);
  margin-bottom: 1rem;
}

.empty-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.empty-text {
  color: var(--secondary-text);
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .catalog-title {
    font-size: 2.5rem;
  }
  
  .catalog-subtitle {
    font-size: 1.1rem;
  }
  
  .catalog-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .catalog-cta-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    max-width: none;
  }
  
  .filter-actions {
    justify-content: center;
  }
  
  .filters-title {
    font-size: 1.3rem;
  }
  
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .provider-card {
    padding: 1.5rem;
  }
  
  .provider-actions {
    flex-direction: column;
  }
  
  .provider-btn {
    width: 100%;
  }
  
  .provider-cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .catalog-header {
    padding: 3rem 0;
  }
  
  .catalog-title {
    font-size: 2rem;
  }
  
  .catalog-cta {
    padding: 1.5rem;
  }
  
  .provider-header {
    flex-direction: column;
    text-align: center;
  }
  
  .provider-avatar {
    margin: 0 auto;
  }
}

/* Estilos para el tag de categoría compacto */
.service-compact-category {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(244, 180, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  margin-left: auto;
  flex-shrink: 0;
}

.service-compact-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-compact-row:last-child {
  border-bottom: none;
}

.service-compact-row i {
  color: var(--primary-color);
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.service-compact-name {
  flex: 1;
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.provider-services-compact {
  margin: 1rem 0;
  padding: 0.5rem 0;
}

.provider-card.compact {
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
  transition: all 0.3s ease;
}

.provider-card.compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.provider-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.provider-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.provider-info {
  flex: 1;
}

.provider-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
}

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

.provider-location {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.provider-location i {
  color: var(--primary-color);
}

.provider-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.provider-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.provider-btn.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
}

.provider-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(244, 180, 0, 0.3);
}

.provider-btn.secondary {
  background: #f8f9fa;
  color: var(--primary-color);
  border: 1px solid #e1e5e9;
}

.provider-btn.secondary:hover {
  background: #e9ecef;
  border-color: var(--primary-color);
}

.provider-preview-info {
  margin-bottom: 1rem;
}

.preview-text {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.preview-text i {
  color: var(--primary-color);
}

.provider-cta-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
} 