/** Custom CSS **/

.w-breadcrumb-area {
    position: relative;
    padding: 85px 0 0 0;
}

.py-35 {
    padding: 35px 0;
}

.toggle-password {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(10%);
    cursor: pointer;
}
.toggle-password svg {
    pointer-events: none;
}

.main_cat_color {
    color: var(--lime-300);
    font-weight: bold;
}

.swiper-backface-hidden .swiper-slide {
    min-width: 400px;
    background: #f1f2f3;
}

.feature-category-card {
    text-align: center;
}

.hero-form-wrapper {
    max-width: 100%;

}

.py-20 {
    padding: 20px 0;
}

.py-30 {
    padding: 30px 0;
}

.service-card-title
{
    min-height: 100px
}

.recently-view-card-img {
    width: 100%;
    aspect-ratio: 16 / 10; /* по-картов feel */
    object-fit: cover;
}

.service-card-price{
    font-size: 1.2rem;
}

.service-card .position-relative {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px; /* ако ползваш заобляне */
}

.service-card .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.suggestions,
#suggestions-keyw,
#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d9dce2;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 9999;
    display: none; /* shown via JS */
}

.suggestions li,
#suggestions li,
#suggestions-keyw div {
    padding: 10px 14px;
    cursor: pointer;
    color: #3e434d;
}

.suggestions li:hover,
#suggestions li:hover,
#suggestions-keyw div:hover {
    background: #f2f4f7;
}
#jobsList {
    margin-top: 20px;
}
.job-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

.position-relative {
    position: relative;
}
/***********************************************/

#jobInput {
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
}

.suggestion-item {
    padding: 8px 10px;
    cursor: pointer;
    border-bottom: 1px solid #f2f2f2;
}

.suggestion-item:hover {
    background: #f9f9f9;
}

.suggestion-title {
    font-weight: bold;
    color: #333;
}

.suggestion-desc {
    font-size: 13px;
    color: #666;
}

mark {
    background-color: yellow;
    font-weight: bold;
    color: black;
}

.suggestion-desc {
    font-size: 13px;
    color: #666;
}

.job-post-filter {
    gap: 10px;
    border-radius: 23px;
}

.job-post-input {
    flex: 0 0 220px; /* flex-grow:0; flex-shrink:0; flex-basis:220px */
}

.job-post-input select,
.job-post-input input {
    width: 100%;
}

.job-post-input {
    background: #fff;
    border: 1px solid #d9dce2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 100%;
    min-height: 48px;
    margin-left: 5px;
}

.job-post-input:hover {
    border-color: #bfc4cd;
}

.job-post-input svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.job-post-input .form-control,
.job-post-input .form-select {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0;
    font-size: 15px;
    width: 100%;
}

.job-post-input .form-check {
    margin: 0;
    padding: 0;
}

.job-type-badge-primary, .job-type-badge-secondary, .job-type-badge-tertiary {
    display: inline;
    line-height: 1;
    border-radius: 30px;
    padding: 6px;
    font-size: 14px;
    text-align: center;
}

.text-aligh-right {
    text-align: right;
}

/* Make all swiper slides the same height */
.recentJob .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.recentJob .swiper-slide {
    display: flex;
    height: auto !important;
}

/* Ensure each job card fills the slide */
.job-post {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

/* Optional: control min-height for visual consistency */
.job-post {
    min-height: 300px; /* adjust to your design */
}

.job-post-horizontal {
    padding: 10px 20px;
    border-radius: 10px;
}

.status-search-for{
    background-color: #f0e2ff;
}

.status-offering{
    background-color: #e2fff9;
}

.service-card-author-name {
    font-size: 14px;
    color: var(--dark-300);
    line-height: 1;
}

.company-profile-card-icon {
    background-color: white;
}

.dashboard-header-text-btn {
    position: relative;
    line-height: 56px;
    background-color: var(--off-white);
    padding: 0 24px 0 15px;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.dashboard-profile .dashboard-profile-item.dropdown-item {
    padding: 0;
}

.navbar .dropdown-menu .dropdown-item {
    text-transform: none;
    border-bottom: 1px solid #e9e9e9;
}

.notification-item .text-muted {
    line-height: 21px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification-text {
    flex: 1;
    min-width: 0; /* 🔥 критично */
}

.notification-text .title,
.notification-text .message {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-filter-btn {
    background: #1aba4d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    transition: 0.2s ease-in-out;
}

.job-filter-btn:hover {
    background: #159c42;
}

/*.swiper-slide{*/
/*    max-width: 260px;*/
/*}*/

.job-post-input {
    position: relative;
}

.navbar .navbar-nav .nav-link {
    text-transform: uppercase;
}

#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #fff;
    border: 1px solid #ddd;
    border-top: none;

    list-style: none;
    margin: 0;
    padding: 0;

    max-height: 220px;
    overflow-y: auto;

    z-index: 99999;
}

#suggestions li {
    padding: 8px 12px;
    cursor: pointer;
}

#suggestions li:hover {
    background: #f2f2f2;
}

.mySwiper2{
    height: 450px;
    overflow: hidden;
}

.mySwiper2 .swiper-wrapper{
    height: 100%;
}

.mySwiper2 .swiper-slide{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gig-details-slider-img{
    height: 450px;
    width: 100%;
    background: #f1f2f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gig-details-slider-image{
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Thumb Slider Box */
.mySwiper{
    height: 130px;
}

/* Align wrapper */
.mySwiper .swiper-wrapper{
    align-items: center;
}

/* Each thumbnail container */
.mySwiper .swiper-slide{
    width: 130px !important;      /* FIX uneven thumbs */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    border-radius: 6px;
    overflow: hidden;
}

/* Thumbnail image */
.mySwiper .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;            /* EXACTLY like your template */
    border-radius: 6px;
}

.mySwiper2 .swiper-pagination{
    position: absolute;
    left: 50%;
    bottom: 16px !important;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 4;
    width: auto !important;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.18);
    backdrop-filter: blur(4px);
}

.mySwiper2 .swiper-pagination-bullet{
    width: 7px;
    height: 7px;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55) !important;
    opacity: 1;
    transition: all 0.2s ease;
}

.mySwiper2 .swiper-pagination-bullet-active{
    width: 18px;
    background: #ffffff !important;
}

.swiper-pagination{
    position: relative;
    z-index: 50;
}

.swiper-wrapper {
    margin-bottom: 10px;
}

@media (max-width: 992px){
    .mySwiper2{
        height: 350px;
    }

    .gig-details-slider-img{
        height: 350px;
    }

    .gig-details-slider-image{
        max-height: 350px;
    }
}


/* ---------- Mobile ---------- */
@media (max-width: 576px){
    .mySwiper2{
        height: 250px;
    }

    .gig-details-slider-img{
        height: 250px;
    }

    .gig-details-slider-image{
        max-height: 250px;
    }
}

@media (max-width: 576px) {

    .dashboard-profile .dashboard-profile-item.dropdown-item {
        padding: 0 10px;
    }
    .dashboard-header-text-btn {
        position: relative;
        line-height: 56px;
        background-color: white;
        padding: 0 ;
    }
    .hidden-on-mobile{
        display: none;
    }
    .navbar .dropdown-toggle::after {
        display: none;
    }
    .job-post-input {
        padding: 6px 10px;
    }

    .job-post-input svg {
        margin-right: 8px;
        flex-shrink: 0;
    }

    .job-post-input .form-control,
    .job-post-input .form-select {
        width: 100%;
    }

    .job-filter-btn {
        width: 100%;
        padding: 10px 16px;
    }
    .job-post-input {
        padding: 10px 14px;
        border-radius: 12px;
        gap: 10px;
    }

    .job-post-input svg {
        width: 16px;
        height: 16px;
    }

    .job-filter-btn {
        width: 100%;
        padding: 12px 16px;
    }
    .dropdown-menu[data-bs-popper] {
        left: -50px;
    }
}


.service-card .position-relative {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.service-card .position-relative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===== Fiverr-like rating (no half-stars) ===== */
.rating-wrapper{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
}

.star-rating{
    display:inline-flex;
    align-items:center;
    gap:6px;                  /* Fiverr-ish spacing */
    padding:8px 10px;
    border:1px solid #e6e6e6;
    border-radius:999px;
    background:#fff;
}

.star-rating .star{
    -webkit-tap-highlight-color: transparent;
    appearance:none;
    border:0;
    background:transparent;
    padding:6px;              /* bigger hit-area */
    margin:0;
    border-radius:10px;
    cursor:pointer;

    font-size:22px;           /* Fiverr-ish size */
    line-height:1;
    font-weight:700;

    color:#d1d5db;            /* empty star */
    transform:translateZ(0);
    transition: transform .12s ease, color .12s ease, background-color .12s ease;
}

.star-rating .star:hover{
    transform:scale(1.12);
    background:rgba(0,0,0,.03);
}

.star-rating .star:focus{
    outline:none;
    box-shadow:0 0 0 3px rgba(34,197,94,.25); /* Fiverr green-ish focus ring */
}

.star-rating.is-readonly .star{
    cursor:default;
    background:transparent !important;
    transform:none !important;
}

.fj-rating-hint,
#rating-hint{
    font-size:13px;
    color:#6b7280;
}

/* “filled” color */
.star-rating[data-filled="1"] .star{
    transition: color .18s ease;
}

/* Optional: subtle container hover */
.star-rating:hover{
    border-color:#dcdcdc;
}

.service-card-rating-show{
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    padding: 3px;
    border-radius: 13px;
    box-shadow: 2px 2px 4px #000;
}

.navbar .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.dashboard-notification {
    width: 300px;
}

@media screen and (min-width: 720px) {
    .navbar .dropdown-menu {
        min-width: 316px;
    }
}

