
.provider-listings {
    width: 100%;
    padding: 60px 0;
    background: #f8f9fa;
}

.provider-listings__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.provider-listings__header {
    text-align: center;
    margin-bottom: 40px;
}

.provider-listings__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.provider-listings__badge svg {
    width: 14px;
    height: 14px;
}

.provider-listings__title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.provider-listings__subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.provider-listings__grid {
    display: grid;
    gap: 24px;
    margin-bottom: 40px;
}

.provider-listings__grid {
    grid-template-columns: repeat(4, 1fr);
}

.provider-listings__grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.provider-listings__grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.provider-listings__grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.provider-listings__grid.cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.provider-listings__slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.provider-listings__slider .swiper-wrapper {
    display: flex;
}

.provider-listings__slider .swiper-slide {
    height: auto;
}

.provider-listings__slider .swiper-button-next,
.provider-listings__slider .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #1976d2;
}

.provider-listings__slider .swiper-button-next:after,
.provider-listings__slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.provider-listings__slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #1976d2;
    opacity: 0.3;
}

.provider-listings__slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.provider-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

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

.provider-card__image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.provider-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.provider-card__image-placeholder-icon {
    width: 60px;
    height: 60px;
    color: white;
    opacity: 0.9;
}

.provider-card__category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1976d2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.provider-card__category-badge svg {
    width: 12px;
    height: 12px;
}

.provider-card__stats-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.provider-card__stats-badge svg {
    width: 14px;
    height: 14px;
}

.provider-card__content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.provider-card__header {
    margin-bottom: 12px;
}

.provider-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.verified-badge {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #10b981;
    fill: #10b981;
}

.provider-card__company {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.provider-card__bio {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.provider-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.provider-card__user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.provider-card__user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.provider-card__user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    border: 2px solid #f0f0f0;
}

.provider-card__user-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.provider-card__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.provider-card__rating svg {
    width: 14px;
    height: 14px;
    color: #fbbf24;
    fill: #fbbf24;
}

.provider-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.provider-card__location svg {
    width: 12px;
    height: 12px;
}

.provider-listings__view-all {
    text-align: center;
    margin-top: 40px;
}

.provider-listings__view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.provider-listings__view-all-btn:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.provider-listings__view-all-btn svg {
    width: 18px;
    height: 18px;
}

.provider-listings__empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
}

.provider-listings__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: #ccc;
}

.provider-listings__empty-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.provider-listings__empty-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .provider-listings {
        padding: 40px 0;
    }

    .provider-listings__title {
        font-size: 28px;
    }

    .provider-card__image {
        height: 160px;
    }

    .provider-listings__grid.mobile-cols-1 {
        grid-template-columns: 1fr !important;
    }

    .provider-listings__grid.mobile-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .provider-listings__container {
        padding: 0 16px;
    }

    .provider-listings__title {
        font-size: 24px;
    }

    .provider-card__image {
        height: 180px;
    }
}
