/* Selected Categories Block - Frontend Styles */

.pxp-selected-categories-section {
    padding-bottom: 30px;
}

.pxp-selected-cat-card-container {
    margin-bottom: 30px;
}

.pxp-selected-cat-card {
    background-color: var(--pxpMainColorLight, #f0f4ff);
    border-radius: 30px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--pxpHoverTransition, 0.3s ease);
    transition-property: background-color, box-shadow;
}

.pxp-selected-cat-card:hover {
    background-color: var(--pxpMainColorDark, #e0e7ff);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
}

/* Icon */
.pxp-selected-cat-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    line-height: 42px;
    color: var(--pxpMainColor, #007cba);
    margin-bottom: 15px;
    transition: var(--pxpHoverTransition, 0.3s ease);
    transition-property: color;
}

.pxp-selected-cat-card:hover .pxp-selected-cat-card-icon {
    color: var(--pxpMainColor, #007cba);
}

.pxp-selected-cat-icon-img {
    display: flex;
    height: 42px;
    width: 42px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* H3 Title */
.pxp-selected-cat-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.pxp-selected-cat-card-title a {
    color: var(--pxpTextColor, #333);
    text-decoration: none;
    transition: var(--pxpHoverTransition, 0.3s ease);
    transition-property: color;
}

.pxp-selected-cat-card-title a:hover {
    color: var(--pxpMainColor, #007cba);
}

/* Job count */
.pxp-selected-cat-card-count {
    font-size: 14px;
    color: var(--pxpTextColorLight, #888);
    margin-bottom: 12px;
}

.pxp-selected-cat-card-count span {
    font-weight: 600;
    color: var(--pxpMainColor, #007cba);
}

/* Custom description */
.pxp-selected-cat-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pxpTextColor, #555);
    margin: 0 0 15px 0;
    flex-grow: 1;
}

/* CTA link */
.pxp-selected-cat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pxpMainColor, #007cba);
    text-decoration: none;
    transition: var(--pxpHoverTransition, 0.3s ease);
    transition-property: color;
    margin-top: auto;
}

.pxp-selected-cat-card-link:hover {
    color: var(--pxpTextColor, #333);
}

.pxp-selected-cat-card-link .fa {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.pxp-selected-cat-card-link:hover .fa {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .pxp-selected-cat-card {
        padding: 20px;
        border-radius: 20px;
    }
    
    .pxp-selected-cat-card-title {
        font-size: 18px;
    }
}
