.cta-section {
    margin-top: -65px;
    border-radius: 12px;
    z-index: 3;
    position: relative;
    box-shadow: 0 0 15px rgba(30, 41, 59, 0.5) !important;
    background-image: url("../images/bg-light.png");
    background-size: cover;
    background-position: center;
}
.cta-section h3 {
    text-align: left;
    font-size: 26px !important;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 991px) {
    h3 {
        font-size: 26px !important;
    }
    .cta-section h3 {
        text-align: left;
    }

    .cta-section .btn-wide {
        white-space: nowrap; /* Ensures button text stays on one line */
        display: inline-block;
    }
}

/* Mobile View */
@media (max-width: 767px) {
    h3 {
        font-size: 22px !important;
    }
    .cta-section h3 {
        text-align: center;
    }

    .cta-section .btn-wide {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .tradesman-image-1 {
        height: 400px;
        width: 100%;
        object-fit: cover;
    }
    .location-card h5 {
        font-size: 15px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 767px) {
    .tradesman-image-2 {
        height: 214px;
        width: 100%;
        object-fit: cover;
    }
    .location-card h5 {
        font-size: 15px !important;
        font-weight: 600 !important;
    }
}

.video-wrapper {
    position: relative;
    height: 450px;
    width: 550px;
    overflow: hidden;
    border-radius: 10px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important; /* Base shadow */
    transform-style: preserve-3d;
    animation: shadowAnimation 4s infinite alternate;
    transition: box-shadow 0.3s ease-in-out;
}

.video-wrapper:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5); /* Shadow on hover */
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-550%, -510%);
    z-index: 10; /* Ensure it appears above the video */
}

.avatar {
    width: 60px; /* Adjust size as needed */
    height: 60px; /* Adjust size as needed */
    background-color: rgba(
        255,
        255,
        255,
        0.8
    ); /* Optional: Background color with some transparency */
    border: 2px solid #fff; /* Optional: Border around the button */
}

.mdi-play {
    font-size: 24px; /* Adjust size as needed */
    color: #007bff; /* Primary color */
}

@keyframes shadowAnimation {
    0% {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        transform: rotateX(0) rotateY(0) translateZ(0);
    }
    100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        transform: rotateX(-15deg) rotateY(10deg) translateZ(20px);
    }
}

.shape-icon {
    display: block;
    position: absolute;
    width: 60px;
    height: auto;
}
.circle-position {
    top: -38px;
    /* left: 36px; */
}
.animate-circle {
    position: absolute;
    animation: move-in-circle 6s linear infinite;
}
@keyframes move-in-circle {
    0% {
        transform: rotate(0deg) translateX(10px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(10px) rotate(-360deg);
    }
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: #6155b4;
    border-color: #6155b4;
}

.ck-editor__editable_inline,
#bidDescription,
.ck.ck-content.ck-editor__editable.ck-rounded-corners.ck-editor__editable_inline {
    min-height: 300px;
}

/* Sidebar when collapsed */
#sidebar.collapsed {
    width: 63px;
    transition: width 0.4s ease-in-out, opacity 0.4s ease-in-out,
        transform 0.4s ease-in-out;
}

/* Sidebar when expanded */
#sidebar.expanded {
    width: 250px; /* Adjust this to your desired width when expanded */
    opacity: 1;
    transform: translateX(0); /* Reset the slide effect */
}

/* Main content adjustment when sidebar is collapsed */
#mainContent.expanded {
    width: calc(100% - 63px);
    transition: width 0.4s ease-in-out;
}

/* Sidebar Hover Effect */
#sidebar:hover:not(.collapsed) {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Rotate Icon Animation */
.rotate-icon {
    transition: transform 0.4s ease-in-out;
}

.rotate-icon.rotated {
    transform: rotate(180deg);
}

/* Desktop Specific Media Query */
@media (min-width: 992px) {
    #sidebar.col-closed {
        width: 63px;
        transition: width 0.4s ease-in-out;
        box-shadow: 0 0 3px rgba(30, 41, 59, 0.15) !important;
    }

    /* Main content full-width when sidebar collapsed */
    #mainContent.full-width {
        width: calc(100% - 63px);
        transition: width 0.4s ease-in-out;
    }

    /* Sidebar Animation */
    #sidebar.col-closed,
    #sidebar.col-opened {
        animation: slideInOut 0.4s ease-in-out;
    }

    /* Slide In/Out Animation */
    @keyframes slideInOut {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    #sidebar {
        width: 63px;
    }
    #sidebar.col-closed {
        width: 63px;
    }
    #sidebar.col-closed .nav-text {
        display: none;
    }
    #sidebar .nav-text {
        display: block;
    }
    #sidebarToggle, .sidebar-logo{
        display: none;
    }
    #mainContent {
        width: calc(100% - 63px);
    }
    #topnav{
        z-index: 99999;
        background-color: white;
    }
}

@media (max-width: 991.98px) {
    #sidebar {
        position: fixed;
        top: 0;
        left: -80vw; /* Hidden off-screen */
        width: 70vw;
        height: 100%;
        background-color: #fafafa; /* Match sidebar background */
        transition: left 0.3s ease-in-out;
        z-index: 1050; /* Ensure it appears above other elements */
    }

    #sidebar.col-opened {
        left: 0; /* Slide in from the right */
        overflow-y: scroll;
        height: 100vh;
        padding: 20px;
        box-shadow: 0 0 400px rgba(30, 41, 59, 0.8) !important;
    }

    #mainContent {
        transition: margin-right 0.3s ease;
        margin-right: 250px; /* Space for the sidebar */
    }

    #mainContent.full-width {
        margin-right: 0; /* Remove margin when sidebar is closed */
    }

    .navbar-toggle:focus {
        outline: none; /* Remove focus outline */
    }
}

.alert-success {
    position: relative;
    padding-right: 50px;
    background-color: #e7f9f0;
    border: 1px solid #9fe7c3;
}

.alert-success::after {
    content: "";
    background-image: url("../images/icons/checked.png");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    opacity: 0.7;
}

.alert-danger {
    position: relative;
    padding-right: 50px;
    background-color: #ffefef;
    border: 1px solid #ef5455;
}

.alert-danger::after {
    content: "";
    background-image: url("../images/icons/warning.png");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    opacity: 0.7;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}
.section-title-bg {
    min-height: 235px;
    background-image: url("../images/creative-labor-day-celebrations-honoring-workers.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-title-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(97, 85, 180, 0.95);
    border-radius: 15px;
}

.section-title-bg .content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
}

@media (max-width: 991.98px) {
    .section-title-bg h2 {
        font-size: 25px !important;
        margin-bottom: 10px !important;
    }
}

#tradespersonTabs .nav-item.show .nav-link,
#tradespersonTabs .nav-link.active,
#jobDetailsTabs .nav-item.show .nav-link,
#jobDetailsTabs .nav-link.active #jobTabs .nav-item.show .nav-link,
#jobTabs .nav-link.active,
#myTab .nav-item.show .nav-link,
#myTab .nav-link.active {
    background-color: #6155b4;
    color: #fff;
}

#tradespersonTabs .nav-link,
#jobDetailsTabs .nav-link,
#jobTabs .nav-link,
#myTab .nav-link {
    background-color: transparent;
    color: #6155b4;
}

#invoiceTab .nav-link.active,
#invoiceTab .nav-item.show .nav-link {
    color: #fff !important;
    background-color: #6155b4;
}
#invoiceTab .nav-link,
#jobTabs .nav-link {
    background-color: transparent;
    color: #6155b4;
}
#jobTabs .nav-link .job-count{
    display: none !important;
}
#jobTabs .nav-link.active .job-count{
    display: inline !important;
    font-size: 8px;
}
@media (min-width: 1300px) {
    #jobTabs .nav-link.active .job-count{
        display: inline !important;
        font-size: 12px;
    }
}
@media (max-width: 991px) {
    .nav-tabs .nav-link {
        padding: 4px 8px;
    }
}
.invoices-card .badge {
    color: #6155b4 !important;
    background-color: #fff !important;
}

#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon {
    background-color: #6155b4 !important;
    border-radius: 6px;
}

.sidebar-primary p {
    color: #fff !important;
}
.propsal-list-card {
    transition: background-color 0.4s ease, border-radius 0.4s ease,
        color 0.4s ease;
    border: 2px solid transparent;
}

.propsal-list-card:hover {
    background-color: #f0f2f5 !important;
    cursor: pointer;
    /* border-radius: 150px !important; */
    border: 2px solid #fff;
}

/* .propsal-list-card:hover h6,
.propsal-list-card:hover p {
    color: #fff !important;
    transition: color 0.3s ease;
}

.propsal-list-card:hover .badge {
    background-color: #fff !important;
    color: #6155b4 !important;
    transition: background-color 0.3s ease, color 0.3s ease;
} */

@media (max-width: 768px) {
    /* .header-notification-icon,
    .header-profile-icon {
        height: 30px !important;
        width: 30px !important;
    } */
    .header-notification-icon-counter {
        padding: 4px 5px !important;
    }
    .col-mob-reverse {
        display: flex;
        flex-direction: column-reverse;
    }
    .coin-balance {
        font-size: 10px !important;
        padding: 6px !important;
    }
}

.notification-item {
    padding: 15px 0;
    border-bottom: 1px solid #6155b4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-item small {
    display: block;
    margin-top: 5px;
    margin-left: 27px;
}

.stat-item {
    padding: 15px 0;
    border-bottom: 1px solid #e2e2e2;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-value {
    font-weight: bold;
}

.dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.profile-pic-preview {
    width: 100%;
    height: auto;
    display: block;
    max-width: 200px;
    max-width: 200px;
    object-fit: cover;
}

.profile-pic-remove {
    position: absolute;
    top: 0px;
    line-height: 4px;
    background-color: #d9534f;
    border: none;
    cursor: pointer;
    padding: 8px 8px 14px;
    border-radius: 50%;
    color: #fff;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

/* @media (max-width: 1300px) and (min-width: 992px) {
    .job-status-item p {
        font-size: 12px; 
    }
    .list-unstyled:has(.job-status-item){
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
    }
} */
@media (max-width: 992px) {
    .job-status-item p {
        font-size: 12px;
    }
}
@media (max-width: 425px) {
    .job-status-item p {
        font-size: 10px;
    }
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #ccc;
    border-color: #ccc;
}

.img-container-shaped {
    border-radius: 0;
    border-top-right-radius: 90px;
    border-bottom-left-radius: 90px;
    border-right: 4px solid white;
    border-left: 4px solid white;
}

@media (max-width: 768px) {
    .p-m-20 {
        padding: 20px !important;
    }
    .p-m-10 {
        padding: 10px !important;
    }
    .p-m-5 {
        padding: 5px !important;
    }
    .p-m-0 {
        padding: 0px !important;
    }
    .px-m-0 {
        padding-left: 0px;
        padding-right: 0px;
    }
}
.verification-box {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.verification-box i {
    font-size: 40px;
}

.verification-box p {
    font-weight: bold;
    margin: 0;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.step .form-control {
    padding: 10px;
    border-radius: 6px;
}

.jobs-search .filter-search-form .icons {
    right: 12px !important;
    left: auto !important;
}

@media (min-width: 992px) and (max-width: 1200px) {
    #new-tab,
    #applied-tab,
    #saved-tab {
        font-size: 12px;
        font-weight: 500 !important;
        padding: 0.2rem 0.8rem;
    }
    .job-search .filter-input-box {
        padding: 13px 6px 14px !important;
        font-size: 12px !important;
        height: 30px !important;
    }
    .job-search .searchbtn {
        height: 31px !important;
        padding: 2px !important;
    }
    .job-search .filter-search-form svg,
    .job-search .searchbtn svg {
        height: 12px !important;
    }
    #filterDropdown {
        padding: 5px 5px !important;
    }
    #filterDropdown svg {
        height: 16px;
        width: 16px;
    }
}
/* .job-search{
    position: sticky;
} */

#categoryList .form-check .form-check-input {
    padding: 6px !important;
}

#categoryList .form-check{
    display: flex;
    min-height: 1.5rem;
    padding-left: 0;
    margin-bottom: 0.125rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #ddd;
}
#categoryList .form-check-label {
    margin-bottom: 0px;
    padding: 0px !important;
    font-size: 12px;
    min-height: 36px;
    border: 0px solid #ddd;
}
#categoryList .form-check .form-check-input{
    width: 100%;
    height: 100%;
    background: transparent;
    right: 23px;
    border: 0;
}
.categories-card{
    background-color: #fff;
}
.categories-card:has(.form-check-input:checked){
    background-color: #6155b4;
    color: #fff;
}
.selected-area {
    max-height: 250px;
    overflow-y: auto;
}
