/* CSS Generated on: 2025-11-19 09:34:19 */
/* Base CSS */
/*
 * Styles for Author Profile Page (author.php)
 * V18.0: Customizer Ready & Synchronized
 */
:root {
    --primary-color: #007bff;
    --fixydo-purple: #5A3E8D;
    --secondary-color: #343a40;
    --success-color: #17c671;
    --success-light: #e8f9f1;
    --danger-color: #dc3545;
    --danger-light: #f8d7da;
    --warning-color: #ffc107;
    --primary-light: #f3e8ff;
    --light-gray: #f8f9fa;
    --text-color: #555;
    --border-radius: 12px;
    --box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    --font-poppins: 'Poppins', sans-serif;
}

body.author {
    background-color: #f4f7fc;
}

/* ==========================================================================
   1. Main Profile Card
   ========================================================================== */
.provider-profile-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.provider-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.provider-details {
    flex-grow: 1;
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 4px;
}

.provider-header .title {
    font-family: var(--font-poppins);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.3;
}

.provider-social-links {
    display: flex;
    gap: 0.75rem;
    font-size: 1.2rem;
    padding-top: 0.25rem;
}

.provider-social-links a {
    text-decoration: none;
    transition: transform 0.2s ease;
}
.provider-social-links a:hover {
    transform: scale(1.15);
}

/* Social Icon Colors */
.provider-social-links .bi-globe { color: #888; }
.provider-social-links .bi-facebook { color: #1877F2; }
.provider-social-links .bi-twitter-x { color: #000000; }
.provider-social-links .bi-linkedin { color: #0A66C2; }
.provider-social-links .bi-instagram { color: #E4405F; }


.provider-rating-summary {
    margin-bottom: 1rem;
}

.star-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-rating i {
    color: var(--warning-color);
    font-size: 1rem;
}

.rating-text {
    font-size: 0.85rem;
    color: #6c757d;
}

.provider-about-section {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.provider-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.meta-item i {
    color: var(--fixydo-purple);
    font-size: 1.2rem;
}

/* ==========================================================================
   2. Tabs and Content Area
   ========================================================================== */
.content-tabs {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    font-weight: 600;
    padding: 0.75rem 1rem;
    margin-bottom: -2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: var(--fixydo-purple);
    border-color: var(--fixydo-purple);
    background-color: transparent;
    font-weight: 700;
}

.tab-content {
    padding-top: 1.5rem;
}

/* ==========================================================================
   3. Service & Blog Cards
   ========================================================================== */

/* New CSS Grid for Author Services */
.author-services-grid {
    display: grid;
    /* Default fallback values for mobile */
    grid-template-columns: repeat(var(--authp-grid-cols-mobile, 2), 1fr);
    gap: var(--authp-grid-gap-mobile, 16px);
}

@media (min-width: 768px) {
    .author-services-grid {
        /* Default fallback values for desktop */
        grid-template-columns: repeat(var(--authp-grid-cols-desktop, 3), 1fr);
        gap: var(--authp-grid-gap-desktop, 24px);
    }
}

.service-card, .blog-card {
    background: #fff;
    border-radius: var(--authp-card-border-radius, 12px); /* UPDATED */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

/* NOTE: Service card hover is now handled by dynamic CSS. We only keep the blog card hover here. */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-card-img, .blog-card-img {
    position: relative;
}

.service-card-img img, .blog-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: var(--authp-card-border-radius, 12px); /* UPDATED */
    border-top-right-radius: var(--authp-card-border-radius, 12px); /* UPDATED */
}

.service-price-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: var(--authp-card-price-color, #ffffff); /* UPDATED */
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.service-card-body, .blog-card-body {
    padding: 1rem;
    flex-grow: 1;
}

.service-card-title, .blog-card-title {
    font-family: var(--authp-card-title-font-family, 'Poppins', sans-serif); /* UPDATED */
    font-size: var(--authp-card-title-fontsize-mobile, 15px); /* UPDATED */
    font-weight: var(--authp-card-title-font-weight, 600); /* UPDATED */
    color: var(--authp-card-title-color, var(--secondary-color)); /* UPDATED */
    margin-bottom: 0;
    line-height: 1.4;
}

.service-card-title a, .blog-card-title a {
    text-decoration: none;
    color: inherit;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.75rem;
}

/* Add media query for desktop font size */
@media (min-width: 768px) {
    .service-card-title, .blog-card-title {
        font-size: var(--authp-card-title-fontsize-desktop, 16px); /* UPDATED */
    }
}

/* ==========================================================================
   4. Sidebar Widgets
   ========================================================================== */
.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
}

.provider-sidebar-widget {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.specialties-list .list-group-item,
.business-hours-list .list-group-item {
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.8rem 0;
}
.specialties-list .list-group-item:last-child,
.business-hours-list .list-group-item:last-child {
    border-bottom: 0;
}

.badge.bg-primary-light { background-color: var(--primary-light) !important; color: var(--fixydo-purple) !important; }
.badge.bg-success-light { background-color: var(--success-light) !important; color: var(--success-color) !important; }
.badge.bg-danger-light { background-color: var(--danger-light) !important; color: var(--danger-color) !important; }

.availability-widget-247 {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background-color: #fff;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
}
.availability-widget-247 .bi-shield-check {
    font-size: 2.5rem;
}

/* ==========================================================================
   5. Review Cards
   ========================================================================== */
.review-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}
.review-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.review-header .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}
.review-meta h6 {
    margin: 0;
    font-weight: 600;
}
.review-meta .star-rating {
    margin: 2px 0;
}
.review-body {
    padding-top: 0.75rem;
    color: var(--text-color);
}

/* ==========================================================================
   6. Responsive Styles
   ========================================================================== */
@media (max-width: 991.98px) {
    .sidebar-sticky {
        position: static;
    }
}

@media (max-width: 767.98px) {
    body.author .container.my-4 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .provider-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .provider-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .provider-social-links {
        justify-content: center;
    }

    .provider-rating-summary .star-rating-wrapper {
        justify-content: center;
    }

    .provider-meta-info {
        justify-content: center;
        text-align: left;
    }

    .content-tabs {
        padding: 1rem;
    }

    .nav-tabs {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}

/* Dynamic Overrides */
        :root {
            --authp-grid-cols-desktop: 2;
            --authp-grid-cols-mobile: 2;
            --authp-grid-gap-desktop: 24px;
            --authp-grid-gap-mobile: 16px;
            --authp-card-border-radius: 12px;
            --authp-card-title-font-family: 'Poppins', sans-serif;
            --authp-card-title-font-weight: 600;
            --authp-card-title-color: #343a40;
            --authp-card-title-fontsize-desktop: 15px;
            --authp-card-title-fontsize-mobile: 14px;
            --authp-card-price-color: #ffffff;
        }

                .author-services-grid .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }
        
        