/* Reset and base styles */
* {
    box-sizing: border-box;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Color variables for consistency */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --text-primary: #25272c;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
}

/* Updated Modern Professional Styling */
.tb-modern-profile-v2 {
    background-color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

.tb-profile-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 0;
}

.tb-profile-layout {
    display: flex;
}

/* Cover Image Section - LinkedIn Style */
.tb-profile-cover {
    height: 160px;
    background: linear-gradient(to bottom, #e5e7eb 0%, #f9fafb 100%);
    border-radius: 16px;
    position: relative;
    margin-bottom: 0;
    top: 40px;
}

/* Cover Action Buttons Container */
.tb-cover-actions {
    position: absolute;
    bottom: -20px;
    right: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Merged Header Section with About and Skills */
.tb-profile-header-merged {
    padding: 0px;
    margin-bottom: 32px;
    overflow: visible;
}

.tb-profile-content-wrapper {
    padding: 20px;
    padding-top: 0px;
}

.tb-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tb-header-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.tb-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 20px;
}

.tb-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Updated action button styles for cover */
.tb-cover-actions .tb-header-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border-color: rgb(229 231 235);
}

.tb-cover-actions .tb-header-action-btn:hover {
    transform: translateY(-1px);
    background: white;
    border-color: var(--border-color);
}

.tb-cover-actions .tb-header-action-btn.saved {
    color: var(--danger-color);
    border-color: var(--danger-color);
    background: white;
}

/* Follow button style in cover */
.tb-cover-actions .tb-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 44px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border-color: rgb(229 231 235);
}

.tb-cover-actions .tb-follow-btn:hover {
    transform: translateY(-1px);
    background: white;
}

.tb-cover-actions .tb-follow-btn.following {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tb-cover-actions .tb-follow-btn.following:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Adjust avatar positioning to overlap cover */
.tb-header-avatar {
    flex-shrink: 0;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.tb-header-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border: 4px solid white;
    background: white;
}

.tb-name-verified {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tb-name-verified-left {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.tb-profile-name {
    font-size: 42px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tb-verified-badge {
    flex-shrink: 0;
}

.tb-pro-badge {
    color: white;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--text-primary);
}

.tb-name-verified .tb-pro-badge {
    margin-top: 6px;
}


.tb-header-info img.icon-md.tb-verified-badge {
    font-size: 400px;
    width: 24px !important;
    height: 24px !important;
    margin-top: 5px;
    image-rendering: auto;
}

.tb-verified-badge:hover,
.tb-icon-check-circle:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.tb-professional-title {
    color: inherit;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    row-gap: 3px;
    flex-wrap: wrap;
    margin-top: 8px;
}

span.professional-title.tb-title-item {
    font-size: 16px;
    font-weight: 600;
    color: inherit;
}

.tb-title-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-title-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-tertiary);
    flex-shrink: 0;
}

.tb-rating-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

svg.icon-sm.tb-star-icon {
    stroke: var(--text-primary);
    fill: var(--text-primary);
}

.tb-rating-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-style: normal; 
}

span.tb-rating-value em {
    font-style: normal;
}

.tb-headline {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 16px;
}

/* Expert Badges */
.tb-expert-badges {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.tb-expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f7f7f7;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d2153;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #ddd;
    color: #212529;
}

.tb-expert-badge svg {
    width: 16px;
    flex-shrink: 0;
    stroke: #353648d1;
    fill: #ffffff;
}

/* About content within merged header */
.tb-about-content {
    color: inherit;
    line-height: 1.7;
    font-size: inherit;
    margin-bottom: 32px;
    margin-top: 8px;
}

.tb-about-content p {
    margin-bottom: 16px;
}

.tb-about-content p:last-child {
    margin-bottom: 0;
}

/* Skills within merged header */
.tb-skills-section {
    margin-bottom: 20px;
}

.tb-skills-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-skills-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tb-skills-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: hidden;
    max-height: 40px;
    position: relative;
    flex: 1;
}

.tb-skills-pills.has-overflow {
    padding-right: 30px;
}

.tb-skills-pills.has-overflow::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, var(--bg-primary));
    pointer-events: none;
}

.tb-skill-pill {
    background: #f5f6f9;
    color: inherit;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tb-skill-pill.primary {
    background: #ededfa;
    color: inherit;
}

.tb-show-more-skills {
    color: #25272c;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    padding: 4px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid gainsboro;
    border-radius: 50px;
    letter-spacing: .1px;
}

.tb-show-more-skills:hover {
    text-decoration: underline;
}

/* Skills Modal */
.tb-skills-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.tb-skills-modal.show {
    display: block;
}

.tb-skills-modal-content {
    background-color: var(--bg-primary);
    margin: 10% auto;
    padding: 32px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.tb-skills-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.tb-skills-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tb-skills-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.tb-skills-modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.tb-skills-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Info badges within merged header */
.tb-info-badges {
    display: flex;
    gap: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    justify-content: space-between;
}

.tb-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tb-info-label {
    font-size: 11px;
    letter-spacing: .9px;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .7;
    text-transform: uppercase;
    font-weight: 600;
}

.tb-info-label svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-tertiary);
    display: none;
}

.tb-info-value {
    font-size: 14px;
    color: #25272c;
    font-weight: 600;
    letter-spacing: .05px;
}


/* Right Sidebar */
.tb-profile-sidebar {
    position: sticky;
    top: 115px;
    height: fit-content;
    align-self: start;
    padding-right: 20px;
}

/* Custom scrollbar for sidebar */
.tb-profile-sidebar::-webkit-scrollbar {
    width: 6px;
}

.tb-profile-sidebar::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.tb-profile-sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.tb-profile-sidebar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.tb-sidebar-card {
    background: var(--bg-primary);
    padding: 22px 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    padding-bottom: 15px;
}

.Commission-free {
    padding: 16px 32px;
    margin-bottom: 5px;
    margin-top: auto;
    text-align: center;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(96deg, rgb(203 107 206 / 7%) 0%, #1db3f212 50%);
    border-radius: 0 0 20px 20px;
    border: 1px solid #acbec952;
    border-top: 0;
}



.Commission-free-content {
    flex: 1;
}

.Commission-free h4 {
    margin-bottom: 0 !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.Commission-free p {
    font-size: 14px;
    color: #25272c;
    margin: 0;
    line-height: 1.6;
}

/* User info section */
.tb-sidebar-user-info {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    justify-content: center;
}

.tb-sidebar-user-details {
    flex: 1;
    text-align: left;
}

.tb-profile-image-wrapper {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    flex-shrink: 0;
}

.tb-asideprostatus {
    position: relative;
}

.tb-asideprostatus figure {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: visible;
    margin: 0;
    position: relative;
    padding: 0;
}

.tb-asideprostatus figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    aspect-ratio: 1/1;
}

.tb-usertag {
    position: absolute;
    bottom: 3px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 46px;
}

.tb-usertag.tb-online {
    background-color: var(--success-color);
}

.tb-usertag.tb-offline {
    background-color: var(--text-secondary);
}

.tb-sidebar-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.tb-sidebar-name .tb-pro-badge {
    background: #25272c;
    color: white;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
}

.tb-sidebar-title {
    color: inherit;
    font-size: 14px;
    margin: 0;
}

/* Sidebar rating display */
.tb-sidebar-rating-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tb-sidebar-rating-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-primary);
}

.tb-sidebar-rating-value svg {
    width: 16px;
    height: 16px;
    fill: var(--warning-color);
}

.tb-sidebar-rating-value strong {
    font-weight: 600;
}

.tb-sidebarcontent {
    display: flex;
    justify-content: space-between;
}

.tb-sidebarinnertitle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.tb-sidebarinnertitle h6 {
    color: var(--text-tertiary);
    font-size: 12px;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tb-sidebarinnertitle h5 {
    color: var(--text-primary);
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

/* Hourly rate specific styling - NO MARGINS/PADDING/BORDERS */
.tb-hourly-rate-display {
    margin-bottom: 22px;
}

.tb-hourly-rate-display .tb-sidebarinnertitle h6 {
    text-align: left;
    text-transform: none;
    font-size: 14px;
    color: inherit;
    font-weight: 400;
    margin: 0;
}

.tb-hourly-rate-display .tb-sidebarinnertitle h5 {
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Button styles */
.tb-contact-btn {
    background: #24272d;
    color: white;
    border: none;
    height: 48px;
    max-height: 48px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.tb-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 97, 242, 0.4), transparent);
    transition: left 0.5s ease;
}

.tb-contact-btn:hover {
    background: #7c3aed;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.tb-contact-btn:hover::before {
    left: 100%;
}

.tb-consultation-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    height: 48px;
    max-height: 48px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.tb-consultation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.tb-consultation-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.tb-consultation-btn:hover::before {
    left: 100%;
}

.tb-invite-btn {
    background: transparent;
    color: var(--text-primary);
    border: none;
    height: 38px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.Average.response.time {
    margin-top: 10px;
    text-align: center;
}

.Average.response.time p {
    font-size: 16px !important;
    color: inherit !important;
}

.tb-invite-btn:hover {
    color: var(--primary-color);
}

/* Content Sections */
.tb-content-card {
    padding: 60px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.tb-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #25272c;
}


h3.tb-section-title.Client.Reviews.tb-section-title {
    display: none;
}


/* Timeline styles for experience and education */
.tb-timeline-item {
    padding: 10px 0;
}

.tb-timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tb-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.tb-timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    margin-left: 62px;
    margin-bottom: 0px;
}

.tb-timeline-company {
    font-size: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-timeline-company svg {
    border: 1px solid #a0a3d32e;
    fill-rule: evenodd;
    color: #676767;
    height: 44px;
    padding: 10px;
    width: 46px;
    background: linear-gradient(96deg, rgb(203 107 206 / 4%) 0%, #1db3f208 50%);
    border-radius: 8px;
    margin-top: -20px;
    margin-right: 8px;
}

.tb-timeline-date {
    font-size: 14px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-timeline-date svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-tertiary);
}

.tb-timeline-description {
    font-size: inherit;
    color: inherit;
    line-height: 1.7;
    margin-left: 61px;
    margin-top: -10px;
}

.tb-timeline-description a {
    color: var(--primary-color);
    text-decoration: none;
}

.tb-timeline-description a:hover {
    text-decoration: underline;
}

/* Modern Task Carousel Styling - Vertical Layout */
.tb-services-carousel-wrapper {
    position: relative;
    overflow: visible;
    margin-top: 20px;
}

/* Featured label */
.tb-featured-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: var(--text-primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}




.tb-modern-tasks-grid {
    display: flex;
    gap: 20px;
    overflow-x: scroll;  /* Changed from auto */
    scroll-behavior: smooth;
    /* Add these */
    flex-wrap: nowrap;
    width: 100%;
}


.tb-modern-tasks-grid::-webkit-scrollbar {
    display: none;
}


.tb-profile-main {
    max-width: 748px;
    padding-right: 40px;
}


.tb-modern-task-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;  /* Changed from percentage */
    width: calc((100% - 20px) / 2);  /* Explicit width */
    min-width: 300px;
    max-width: 400px;
    position: relative;
}



.tb-modern-task-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tb-modern-task-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tb-modern-task-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tb-modern-task-card:hover .tb-modern-task-image img {
    transform: scale(1.08);
}

.tb-modern-task-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tb-modern-task-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.tb-modern-task-seller {
    flex: 1;
}

.tb-modern-seller-link {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.tb-modern-seller-link:hover {
    color: var(--primary-color);
}

.verified-small {
    color: var(--primary-color);
}

.tb-modern-task-price {
    text-align: right;
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 16px;
    color: var(--text-primary);
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.tb-modern-task-title {
    margin: 0 0 auto 0;
    flex: 1;
}

.tb-modern-task-title a {
    color: #25272c;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tb-modern-task-title a:hover {
    color: var(--primary-color);
}

.tb-modern-task-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    justify-content: space-between;
}

.tb-meta-separator {
    color: var(--text-tertiary);
    margin: 0 2px;
    font-size: 13px;
}

.tb-task-delivery {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-task-delivery svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-tertiary);
}

.tb-modern-task-save {
    display: flex;
    align-items: center;
}

.tb-modern-task-save .tb_saved_items {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.tb-modern-task-save .tb_saved_items svg {
    width: 16px;
    height: 16px;
}

.tb-modern-task-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tb-modern-task-rating svg {
    width: 16px;
    height: 16px;
    fill: var(--warning-color);
}

.rating-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Carousel Navigation Arrows */
.tb-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.tb-carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tb-carousel-nav.prev {
    left: -20px;
}

.tb-carousel-nav.next {
    right: -20px;
}

.tb-carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.tb-carousel-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Reviews Section */
.tb-rating-summary-box {
    padding: 32px;
    text-align: center;
    margin-bottom: 60px;
}

.tb-rating-summary-content {
    max-width: 400px;
    margin: 0 auto;
}

.tb-rating-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.tb-rating-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.tb-rating-subtitle {
    font-size: 14px;
    color: inherit;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 16px;
}

.tb-rating-stars-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.tb-rating-reviews-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.tb-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tb-review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
}

.tb-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tb-review-header {
    margin-bottom: 20px;
}

.tb-reviewer-info {
    display: flex;
    gap: 16px;
}

.tb-reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.tb-reviewer-details h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tb-review-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tb-review-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-review-rating em {
    font-style: normal;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.tb-review-date {
    font-size: 14px;
    color: var(--text-tertiary);
}

.tb-review-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.tb-review-content {
    font-size: inherit;
    color: inherit;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.tb-review-project {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tb-review-project a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 4px;
}

.tb-review-project a:hover {
    text-decoration: underline;
}

/* Review Summary Styles */
.tb-review-summary {
    text-align: center;
    padding: 48px 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.tb-review-summary-content {
    max-width: 400px;
    margin: 0 auto;
}

.tb-review-summary-rating {
    margin-bottom: 20px;
}

.tb-review-big-rating {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 12px;
}

.tb-rating-large {
    width: 120px;
    height: 24px;
    background-size: 24px 24px;
    margin: 0 auto;
    display: inline-block;
}

.tb-review-summary p {
    color: var(--text-secondary);
    margin: 12px 0;
    font-size: 15px;
}

.tb-review-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

.tb-review-footer {
    text-align: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 14px;
}

.tb-no-content {
    text-align: center;
    color: var(--text-tertiary);
    padding: 48px 0;
    font-size: 15px;
}

/* Hide original template output */
.tb-single-seller {
    display: none;
}

/* Feature rating stars */
.tb-featureRating__stars {
    display: inline-block;
    width: 100px;
    height: 20px;
    background: url('data:image/svg+xml;charset=UTF-8,%3Csvg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M10 2L12.245 7.5L18 8.5L14 12.5L15 18L10 15.5L5 18L6 12.5L2 8.5L7.755 7.5L10 2Z" stroke="%23e5e7eb" stroke-width="1.5" fill="%23f3f4f6"/%3E%3C/svg%3E') repeat-x;
    background-size: 20px 20px;
    position: relative;
    margin: 0;
}

.tb-featureRating__stars span {
    display: block;
    height: 100%;
    background: url('data:image/svg+xml;charset=UTF-8,%3Csvg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M10 2L12.245 7.5L18 8.5L14 12.5L15 18L10 15.5L5 18L6 12.5L2 8.5L7.755 7.5L10 2Z" fill="%23fbbf24"/%3E%3C/svg%3E') repeat-x;
    background-size: 20px 20px;
}


.tk-featureRating__stars::before, .tk-featureRating__stars span::after, .tb-featureRating__stars::before, .tb-featureRating__stars span::after {
    display: none;
}

/* Tooltip Styles */
.tb-tooltip-wrapper {
    position: relative;
    display: inline-flex;
}

.tb-sidebar-card .tb-tooltip-wrapper {
    display: block;
    width: 100%;
}

.tb-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #2B2D36;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tb-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2B2D36;
}

.tb-tooltip-wrapper:hover .tb-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Lightning bolt icon for response time */
.tb-tooltip-icon {
    display: inline-flex;
    margin-right: 8px;
    vertical-align: middle;
}

/* Sidebar button tooltips - positioned to the left */
.tb-sidebar-card .tb-tooltip {
    left: auto;
    right: calc(100% + 12px);
    bottom: 50%;
    transform: translateY(50%) translateX(-10px);
}

.tb-sidebar-card .tb-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    right: auto;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2B2D36;
    border-top-color: transparent;
}

.tb-sidebar-card .tb-tooltip-wrapper:hover .tb-tooltip {
    transform: translateY(50%) translateX(0);
}

/* Animated gradient hover effect for buttons */
.tb-contact-btn {
    background: #24272d;
    position: relative;
    overflow: hidden;
}

.tb-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 97, 242, 0.4), transparent);
    transition: left 0.5s ease;
}

.tb-contact-btn:hover {
    background: #7c3aed;
}

.tb-contact-btn:hover::before {
    left: 100%;
}

/* Copy Link Button Styles */
.tb-copy-link-btn {
    position: relative;
}

.tb-copy-link-btn.copied::after {
    content: 'Copied!';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    animation: copiedFeedback 2s ease;
}

@keyframes copiedFeedback {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Back to Top Button */
.tb-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tb-back-to-top:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tb-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.tb-back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tb-profile-layout {
        grid-template-columns: 1fr;
    }
    
    .tb-profile-sidebar {
        position: static;
        order: -1;
    }
    
    .tb-modern-task-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .Commission-free {
        padding: 16px 20px;
    }
    
    .tb-tooltip {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .tb-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Consultation Modal Styles */
#tb_consultationform .modal-content {
    border: none;
    border-radius: 16px;
}

#tb_consultationform .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 28px 32px;
}

#tb_consultationform .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

#tb_consultationform .modal-body {
    padding: 32px;
}

.tb-consultation-intro {
    margin-bottom: 32px;
}

.tb-consultation-intro p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.tb-consultation-intro a {
    color: var(--primary-color);
    text-decoration: underline;
}

.tb-consultation-steps h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.tb-step {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}

.tb-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.tb-step-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.tb-step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

#tb_consultationform .modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 32px;
}

.tb-consultation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.tb-consultation-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.tb-consultation-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tb-consultation-checkbox span {
    color: var(--text-secondary);
    font-size: 14px;
}

#consultation_get_started, .tb-btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 32px;
    height: 48px;
    max-height: 48px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#consultation_get_started:hover, .tb-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Add to CRM Modal Styles - UPDATED: Removed Follow option */
#tb_addtocrmform .modal-content {
    border: none;
    border-radius: 16px;
}

#tb_addtocrmform .modal-dialog {
    max-width: 400px;
}

#tb_addtocrmform .modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 28px;
}

#tb_addtocrmform .modal-body {
    padding: 28px;
}

.tb-crm-intro {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.tb-crm-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tb-crm-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 15px;
}

.tb-crm-option:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.tb-crm-option svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* Star icon for ratings */
.tb-star-icon {
    fill: var(--warning-color);
}

/* Icon sizes */
.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}



