/* On-demand / appointment service page (frontend.ondemand.index + ondemandSection partial).
   Extracted out of ondemandSection.blade.php's inline <style> block — a view file holding
   1,300+ lines of plain CSS made the template's actual structure (the markup/control-flow)
   hard to find. No rules were changed except the one noted below; this is the same content,
   just out of the view and into its own stylesheet where editors/linters can treat it as CSS
   instead of a giant Blade string. */

/* ===== GLOBAL STYLES ===== */
.home-serivces {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.home-serivces .step-indicator .step1 p {
    width: max-content;
}

/* ===== SERVICE TYPE TABS STYLING ===== */
.service-type-tabs {
    overflow: hidden;
}

.service-type-tabs .nav-tabs {
    border-bottom: none;
    background: #eef1f4;
    padding: 6px;
    margin: 0;
    border-radius: 16px;
    width: 100%;
    text-align: center;
    display: flex;
    gap: 6px;
}

.service-type-tabs .nav-tabs .nav-item {
    margin-bottom: 0;
    flex: 1;
}

.service-type-tabs .nav-tabs .nav-link {
    border: none;
    border-radius: 11px;
    padding: 16px 25px;
    font-weight: 600;
    color: #fff !important;
    border-bottom: none;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: 100%;
    opacity: 0.9;
}

.service-type-tabs .nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-type-tabs .nav-tabs .nav-link:hover::before {
    left: 100%;
}

.service-type-tabs .nav-tabs .nav-link:not(.active):hover {
    opacity: 1;
    width: 100%;
    text-align: center;
}

.service-type-tabs .nav-tabs .nav-link.active {
    color: #fff !important;
    opacity: 1;
    border-color: transparent;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: scale(1.015);
}

.service-type-tabs .nav-tabs .nav-link i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.service-type-tabs .nav-tabs .nav-link:hover i {
    transform: scale(1.1);
}

.service-type-tabs .nav-tabs .nav-link-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.25;
}

.service-type-tabs .nav-tabs .nav-link-title {
    font-weight: 700;
}

.service-type-tabs .nav-tabs .nav-link-sub {
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.85;
    white-space: normal;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.service-type-tabs .nav-tabs .nav-link.active .nav-link-sub {
    opacity: 0.95;
}

.service-type-tabs .tab-content {
    background: #fff;
    border: none;
    border-radius: 0 0 12px 12px;
    padding: 0;
    min-height: 400px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-type-tabs .tab-pane {
    padding: 0;
    animation: fadeIn 0.5s ease-in-out;
}

/* Both tabs always carry their own brand color — blue for Vendor, near-black for Freelancer —
   in both active and inactive states; only opacity/shadow/scale (above) signal which is selected. */
button#vendor-tab {
    background: #343FA5;
}

button#freelancer-tab {
    background: #1f2428;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STEP INDICATOR STYLING ===== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.step.active .step-icon {
    background: #46AA55;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(69, 221, 23, 0.4);
    transform: scale(1.1);
}

.step p {
    font-weight: 600;
    color: #6c757d;
    margin: 0;
    text-align: center;
    transition: color 0.3s ease;
}

.step.active p {
    color: #46AA55;
}

.indicator-line {
    width: 80px;
    height: 3px;
    background: #e9ecef;
    margin: 0 20px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.indicator-line.active {
    background: #46AA55;
    box-shadow: 0 2px 10px rgba(69, 221, 23, 0.3);
}

/* ===== CARD BOX STYLING ===== */
.card-box {
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-box:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ===== PRODUCT CARDS STYLING ===== */
.classes_wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.classes_wrapper:hover {
    transform: translateY(-3px);
}

/* Fixed-size square thumbnail so the row's height is driven by the
   text column, not by however large the source image happens to be. */
.class_img {
    width: 100%;
    max-width: 96px;
    margin-left: auto;
}
.class_img img {
    width: 96px;
    height: 96px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.class_img img:hover {
    transform: scale(1.05);
}

/* ===== SINGLE-PRODUCT DETAIL CARD (the page for one specific product, e.g.
   /{vendor}/product/{slug}) — overrides the shared .ac-royo-btn rule (defined in
   common.css as flex:0 0 33.333%+margin-left:auto, meant for the multi-vendor
   listing grid) ONLY inside .go2-pdp-card, since at 75%(col-md-9)+25%(col-md-3)
   already filling the row, that 33% block had nowhere to sit but wrap onto its own
   line — which, combined with the image column's height, is what produced the large
   empty gap before the price. Giving it the full row width and a normal top margin
   here removes that gap without touching the listing-grid cards that rule still
   serves elsewhere on the site. */
.go2-pdp-card .ac-royo-btn.go2-pdp-actions {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    border-top: 1px solid #eee;
}
.go2-pdp-card .ac-royo-btn.go2-pdp-actions .justify-content-between {
    justify-content: flex-start !important;
    gap: 16px;
}

/* Top of the card stays exactly as it was (vendor name + callback button + title on
   the left, the small 96px thumbnail beside it on the right, via the original
   col-md-9/col-md-3 split) — only the long description is pulled out of that
   75%-wide column into its own full-width row underneath (.go2-pdp-desc, rendered
   as a plain sibling col-12 further down, right after the image column). Nothing
   here uses flex `order`, so document order (image/title row, then description,
   then price, then reviews) is exactly the visual order — no more surprises from
   unordered flex children jumping to the front. */
.go2-pdp-desc {
    margin-top: 10px;
}

/* Reviews collapsed behind a single summary button by default — click to expand. */
.go2-review-card {
    margin-top: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}
.go2-review-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
}
.go2-review-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.go2-review-stars span, .review-stars span {
    color: #ddd;
    font-size: 16px;
}
.go2-review-stars span.is-filled, .review-stars span.is-filled {
    color: #ffc107;
}
.go2-review-summary {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}
.go2-review-caret {
    color: #888;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.go2-review-toggle.open .go2-review-caret {
    transform: rotate(180deg);
}
.go2-review-panel {
    display: none;
    padding: 4px 18px 18px;
    background: #fafafa;
    border-top: 1px solid #eee;
}
.go2-review-panel.open {
    display: block;
}
.review-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.review-item:last-child {
    border-bottom: none;
}
.review-item .user-avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}
.review-item .review-content {
    flex: 1;
    min-width: 0;
}
.review-item .review-content-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}
.review-item .review-content-head h6 {
    margin: 0;
    font-weight: 600;
    color: #333;
}
.review-item .review-content p {
    margin: 0;
    color: #555;
    line-height: 1.4;
}

/* A long product description used to make this card as tall as its text, so cards in
   the same list ended up wildly different heights. Clamped to 3 lines by default;
   go2-desc-toggle.blade adds "Read more" only when a description actually overflows
   that (measured in JS below, not just whenever one exists) and expands it in place. */
.go2-desc-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}
.go2-desc-text.go2-desc-expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}
.go2-desc-toggle {
    display: none;
    background: none;
    border: none;
    color: #46AA55;
    font-weight: 600;
    font-size: 13px;
    padding: 0;
    cursor: pointer;
}

/* ===== VENDOR LISTING CARD (single-row layout: logo | info | actions) ===== */
.vc-card {
    display: flex;
    align-items: center;
    gap: 16px;
}
.vc-card-media {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
}
.vc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.vc-card-body {
    flex: 1 1 auto;
    min-width: 0;
}
.vc-card-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 2px;
    font-size: 16px;
}
.vc-card-category {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #46AA55;
    margin-bottom: 2px;
}
.vc-card-desc {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 2px;
}
.vc-card-address {
    font-size: 13px;
    color: #888;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vc-card-address i {
    color: #46AA55;
    margin-right: 4px;
}
/* Compact, right-aligned action column for the vendor listing card
   (Request a Callback / View Services) — replaces the old
   justify-content-between layout that stretched the two buttons
   to opposite edges of the row and read as broken/empty. */
.vc-card-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}
.vc-card-actions .btn-solid {
    padding: 8px 18px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .vc-card {
        flex-wrap: wrap;
    }
    .vc-card-actions {
        flex-direction: row;
        flex-basis: 100%;
        justify-content: flex-end;
    }
}

/* ===== BUTTON STYLING ===== */
.btn-solid {
    background: #46AA55;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-solid:hover {
    background: #3bc015;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 221, 23, 0.4);
}

.btn-solid:active {
    transform: translateY(0);
}

/* ===== SIDE CARD STYLING ===== */
.side-card {
    position: sticky;
    top: 2rem;
}

.side-card .card-box {
    background: #f8f9fa;
    border: 2px solid rgba(69, 221, 23, 0.1);
}

/* ===== FREELANCER TAB HEADER STYLING ===== */
.freelancer-tab-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.freelancer-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.go2fc-sort-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e2e5e9;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

.filter-icon.active {
    color: #fff;
    background: #46AA55;
}

.go2fc-filter-panel {
    display: none;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.go2fc-filter-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

.go2fc-filter-row select,
.go2fc-filter-row input[type="number"] {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    font-size: 13px;
    min-width: 130px;
}

.go2fc-filter-checkboxes {
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.go2fc-filter-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    cursor: pointer;
}

.go2fc-filter-actions {
    display: flex;
    gap: 10px;
}

.go2fc-filter-actions .go2fc-btn-primary {
    background: #46AA55;
    border: none;
    color: #fff;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.go2fc-filter-actions .go2fc-btn-primary:hover {
    background: #3bc015;
}

.go2fc-btn-clear {
    background: #fff;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.go2fc-btn-clear:hover {
    background: #f1f3f5;
}

/* ===== FREELANCER PAGINATION ===== */
.go2fc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0 8px;
    flex-wrap: wrap;
}

.go2fc-page-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.go2fc-page-btn:hover:not(.disabled) {
    background: #46AA55;
    border-color: #46AA55;
    color: #fff;
}

.go2fc-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.go2fc-page-info {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.filter-icon {
    padding: 12px;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-icon:hover {
    color: #46AA55;
    background: #f8f9fa;
    transform: scale(1.1);
}

.filter-icon i {
    font-size: 20px;
}

.freelancer-header-right {
    display: flex;
    align-items: center;
}

.btn-calendar {
    position: relative;
    background: #46AA55;
    border: none;
    color: #fff !important;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(69, 221, 23, 0.3);
    font-weight: 600;
}

.btn-calendar:hover {
    background: #3bc015;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 221, 23, 0.4);
}

.btn-calendar i {
    font-size: 18px;
}

.calendar-clock {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px !important;
    color: #28a745;
    background-color: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== FREELANCER CARDS STYLING ===== */
.freelancer-profiles {
    padding: 20px 0;
}

.freelancer-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.freelancer-card:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.freelancer-avatar {
    position: relative;
    margin-right: 20px;
    flex-shrink: 0;
}

.profile-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.freelancer-card:hover .profile-img {
    border-color: #46AA55;
    transform: scale(1.05);
}

.status-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.status-dot.online {
    background-color: #28a745;
    animation: pulse 2s infinite;
}

.status-dot.offline {
    background-color: #dc3545;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.freelancer-info {
    flex-grow: 1;
    margin-right: 20px;
}

.freelancer-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    color: #212529;
    transition: color 0.3s ease;
}

.freelancer-card:hover .freelancer-name {
    color: #46AA55;
}

.verified-badge {
    display: inline-block;
    margin-top: 5px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    padding: 3px;
    line-height: 0;
}
.verified-badge img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}
.verified-badge-inline {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}
.verified-badge-inline img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.freelancer-type {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    font-size: 16px;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.stars i:hover {
    transform: scale(1.2);
}

.stars i.fa-star-o {
    color: #c2c2c2;
}

.rating-text {
    font-size: 14px;
    color: #6c757d;
    font-weight: 600;
}

.freelancer-action {
    flex-shrink: 0;
}

.btn-hire-me {
    background: #46AA55;
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(69, 221, 23, 0.3);
}

.btn-hire-me:hover {
    background: #3bc015;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(69, 221, 23, 0.4);
}

.btn-hire-me:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(69, 221, 23, 0.25);
}

/* ===== FREELANCER MATCH CARD (same data/signals the AI Search "aix-card" shows —
   match %, trust %, verified, sponsor, distance, experience, jobs completed, repeat
   customers, availability — the dispatcher already returns all of it, it just wasn't
   being rendered here before). Prefixed go2fc- (not aix-) since this lives in a
   different page/stylesheet than aiSearchResults.blade.php; both can change
   independently without affecting each other. */
.go2fc-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #dcece0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    position: relative;
}
.go2fc-card.go2fc-top-match {
    border-color: #4caf50;
    box-shadow: 0 4px 16px rgba(76, 175, 80, .15);
}
.go2fc-card.go2fc-sponsored {
    border-color: #f3d27a;
}
.go2fc-photo {
    width: 110px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.go2fc-photo-wrap {
    position: relative;
    width: 90px;
    height: 90px;
}
.go2fc-photo-wrap img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.go2fc-status-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
}
.go2fc-status-dot.online { background: #28a745; }
.go2fc-status-dot.offline { background: #adb5bd; }
.go2fc-match-badge {
    background: #4caf50;
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
.go2fc-main {
    flex: 1.4;
    min-width: 180px;
}
.go2fc-name {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 700;
}
.go2fc-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #28a745;
    color: #fff !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.go2fc-verified img {
    width: 12px;
    height: 12px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.go2fc-top-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f2f8f2;
    border: 1px solid #4caf50;
    color: #388e3c;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.go2fc-sponsor-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0 4px;
    max-width: 260px;
}
.go2fc-sponsor-logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eadfc4;
    border-radius: 8px;
    padding: 3px;
}
.go2fc-sponsor-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.go2fc-sponsor-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}
.go2fc-sponsor-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #a07a1c;
}
.go2fc-sponsor-name {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.go2fc-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin: 4px 0;
    color: #555;
}
.go2fc-star {
    color: #f59e0b;
    font-weight: 700;
}
.go2fc-spec {
    font-size: 12px;
    color: #6b6b85;
    margin-bottom: 6px;
}
.go2fc-meta, .go2fc-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #6b6b85;
    margin-bottom: 8px;
}
.go2fc-meta span, .go2fc-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.go2fc-price {
    flex: 1;
    min-width: 150px;
}
.go2fc-available-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 8px;
}
.go2fc-unavailable-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f1f5;
    color: #6b6b85;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 8px;
}
.go2fc-price-value {
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
}
.go2fc-price-note {
    font-size: 11px;
    color: #15803d;
}
.go2fc-actions {
    margin-top: 12px;
}
.go2fc-btn-primary {
    display: inline-block;
    min-width: 130px;
}
.go2fc-why {
    flex: 1.2;
    min-width: 180px;
    border-left: 1px solid #dcece0;
    padding-left: 16px;
}
.go2fc-why h6 {
    font-size: 12px;
    color: #6b6b85;
    margin-bottom: 6px;
}
.go2fc-why ul {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    font-size: 12px;
}
.go2fc-why li {
    margin-bottom: 3px;
}
.go2fc-why li:before {
    content: "✓ ";
    color: #16a34a;
    font-weight: 700;
}
.go2fc-score-line {
    font-size: 12px;
    font-weight: 700;
    color: #388e3c;
    margin-top: 6px;
}
.go2fc-score-line:first-of-type {
    margin-top: 0;
}
.go2fc-score-bar {
    height: 5px;
    border-radius: 3px;
    background: #f2f8f2;
    margin-top: 4px;
    overflow: hidden;
}
.go2fc-score-bar span {
    display: block;
    height: 100%;
    background: #4caf50;
}
.go2fc-trust-score-line {
    color: #2563eb;
}
.go2fc-trust-score-bar {
    background: #e6edfb;
}
.go2fc-trust-score-bar span {
    background: #2563eb;
}
@media (max-width: 576px) {
    .go2fc-card {
        flex-direction: column;
    }
    .go2fc-why {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid #dcece0;
        padding-top: 10px;
    }
}

/* ===== EMPTY STATE STYLING ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 20px 0;
}

.empty-state-icon {
    font-size: 80px;
    color: #dee2e6;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.empty-state h5 {
    color: #495057;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 24px;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 16px;
}

/* ===== FREELANCER LOADER — shown the instant the tab/"View Service" is clicked,
   replaced once the AJAX response lands (see go2fcShowLoader() in the script below).
   Three pulsing dots + a spinning ring so it reads as "actively searching", not frozen. */
.go2fc-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 70px 20px;
    text-align: center;
}
.go2fc-loader-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid #e8f5e9;
    border-top-color: #46AA55;
    animation: go2fc-spin 0.8s linear infinite;
}
@keyframes go2fc-spin {
    to { transform: rotate(360deg); }
}
.go2fc-loader-text {
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 2px;
}
.go2fc-loader-dots span {
    animation: go2fc-dot-fade 1.4s infinite;
    opacity: 0;
}
.go2fc-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.go2fc-loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes go2fc-dot-fade {
    0%, 80%, 100% { opacity: 0; }
    40% { opacity: 1; }
}
.go2fc-loader-sub {
    font-size: 13px;
    color: #9ca3af;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .home-serivces {
        padding: 1rem 0;
    }

    .service-type-tabs .nav-tabs .nav-link {
        padding: 15px 20px;
        font-size: 14px;
        flex-direction: column;
        gap: 5px;
    }

    .service-type-tabs .nav-tabs .nav-link i {
        font-size: 18px;
    }

    .service-type-tabs .nav-tabs .nav-link-text {
        align-items: center;
        text-align: center;
    }

    .service-type-tabs .nav-tabs .nav-link-sub {
        font-size: 11px;
    }

    .step-indicator {
        flex-direction: column;
        gap: 20px;
    }

    .indicator-line {
        width: 3px;
        height: 40px;
        margin: 10px 0;
    }

    .card-box {
        padding: 1.5rem;
    }

    .freelancer-tab-header {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .filter-icon {
        padding: 10px;
    }

    .filter-icon i {
        font-size: 18px;
    }

    .btn-calendar {
        padding: 10px 14px;
    }

    .btn-calendar i {
        font-size: 16px;
    }

    .calendar-clock {
        font-size: 10px !important;
    }

    .freelancer-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .freelancer-avatar {
        margin-right: 0;
    }

    .profile-img {
        width: 60px;
        height: 60px;
    }

    .freelancer-info {
        margin-right: 0;
    }

    .freelancer-name {
        font-size: 16px;
    }

    .freelancer-type {
        font-size: 13px;
    }

    .btn-hire-me {
        padding: 10px 16px;
        font-size: 13px;
    }

    .empty-state {
        padding: 60px 15px;
    }

    .empty-state-icon {
        font-size: 60px;
    }

    .empty-state h5 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .service-type-tabs .nav-tabs {
        flex-direction: column;
    }

    .service-type-tabs .nav-tabs .nav-item {
        width: 100%;
    }

    .service-type-tabs .nav-tabs .nav-link {
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        flex-direction: row;
        justify-content: center;
    }

    .service-type-tabs .nav-tabs .nav-link:last-child {
        border-bottom: none;
    }

    .service-type-tabs .nav-tabs .nav-link.active {
        border-bottom-color: #fff;
    }

    .classes_wrapper {
        padding: 1rem;
    }

    .card-box {
        padding: 1rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.vendor-services-content,
.freelancer-services-content {
    width: 100%;
}

.service-type-tabs .nav-tabs .nav-link:focus {
    box-shadow: none;
    outline: none;
}

/* ===== LOADING ANIMATIONS ===== */
.spinner-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.circle-border {
    width: 50px;
    height: 50px;
    border: 3px solid #e9ecef;
    border-top: 3px solid #46AA55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.circle-core {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-radius: 50%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== SCROLLBAR STYLING =====
   NOTE: these selectors (::-webkit-scrollbar etc.) are unscoped — they style every
   scrollbar on the whole site, not just this page, which was true before this file was
   extracted too. Left exactly as-is (not narrowed to e.g. `.home-serivces ::-webkit-scrollbar`)
   since narrowing it now is a behavior change, not a structure change, and wasn't asked for. */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #46AA55;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3bc015;
}

/* ===== PRICE ESTIMATE NOTE ===== */
.ondemand-price-note {
    display: block;
    font-size: 11px;
    color: #8a8a8a;
    font-weight: 400;
    line-height: 1.35;
    margin-top: 2px;
}
