@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lexend+Deca:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend Deca", serif;
}

:root {
    --primary-color: #033B61;
    --secondary-color: #032170;
    --background-color: #FFFFFF;
    --background-secondary: #ebf0f5;
    --text-primary: black;
    --text-secondary: #0056FF;
    --text-gray: #8B8B8B;
    --text-white: #FFFFFF;
    --foreground: #fafbff;
}

.max_container {
    max-width: 1200px;
    margin: auto;
}


.primary_btn {
    all: unset;
    text-align: center;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 6px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.4s;
    position: relative;
    padding: 10px 25px 10px 25px !important;
    cursor: pointer;
}

/*=====> find_job section <===== */
#find_lawyer {
    max-width: none;

    .content_box {
    padding: 100px 0px;
    background: url("../images/search__form_background.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    color: var(--text-white);
    gap: 2rem;
    border-radius: 20px;

        .heading_box {
            font-family: "Lexend Deca", serif;
        }

        .hero_heading {
            color: white;
            font-size: 2rem;
        }

        @media (width < 768px) {

          #lawyer_search_form {
                width: 100vw;
            }
        }

        .input-group-custom {
            background: white;
            border-radius: 16px;
            padding-left: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            /* width: 70%; */
            height: 80px;
            max-width: 900px;
            overflow: hidden;

            .form-select {
                outline: none;
                padding-left: 15px;
                appearance: none;
                height: 60px;
                font-family: "Figtree", serif;
            }

            input {
                height: 60px;
                font-family: "Figtree", serif;
            }

            .form-select:focus,
            input:focus {
                box-shadow: none;
            }

            .search-button {
                background: #033B61;
                color: white;
                border: none;
                font-weight: bold;
                font-family: "Figtree", serif;
                padding: 10px 25px;
                transition: 0.3s;
                height: 80px;
                position: relative;
                left: 1px;

                .icon {
                    margin-right: 8px;
                    font-size: 16px;
                    color: #fff;
                    display: flex;
                    margin-top: 13px;
                }
            }

            .search-button:hover {
                background: #0056b3;
            }


            .border-right {
                border-right: 2px solid #ccc !important;

                @media (width < 768px) {
                    border-right: none !important;
                }
            }


            @media (width < 768px) {

                #lawyer_search_form {
                    width: 100% !important;
                }

                display: flex;
                flex-direction: column;
                justify-content: start;
                height: auto;
                color: black;
                padding: 10px;

                .form-select,
                input,
                .search-button {
                    width: 100%;
                    border-right: none !important;
                    border-bottom: 1px solid #dfe6f0 !important;
                }

                .search-button {
                    border-radius: 12px;
                }
            }


        }

        .statistics_box {
            width: 70%;
            margin: 0 auto;
            margin-top: 3rem;

            .box {
                display: flex;
                align-items: center;
                gap: 10px;
                font-family: "Figtree", serif;

                @media (width < 576px) {
                    min-width: 180px;
                }

                .icon_cover {
                    width: 60px;
                    height: 60px;
                    background-color: var(--primary-color);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50%;
                }

                i {
                    font-size: 28px;
                }
            }
        }

    }
}

#lawyers_card_section {
    .lawyer_card {
        text-decoration: none;
        max-width: 320px;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .lawyer_card:hover {
        transform: translateY(-5px);
    }

    .lawyer-img {
        height: 220px;
        object-fit: cover;
        object-position: top;
        border-bottom: 4px solid #0d6efd;
    }

    .specialty-badge {
        background-color: #0d6efd;
        color: white;
    }

    .card-body {
        padding: 1.5rem;
        background-color: #fff;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

}

#heading_section {
    .heading_box_max {
        max-width: 1750px;
        min-height: 325px;
        text-align: center;
        background-color: var(--primary-color);
        color: var(--text-white);
        font-family: "Figtree", serif;
    }

    /* for tablet's */
    @media (width <=768px) {
        .heading_box_max {
            min-height: 200px;
        }
    }

    /* for mobile's  devices*/
    @media (width <=480px) {
        .heading_box_max {
            min-height: 100px;

            h1 {
                /* font-size: 30px; */
            }
        }
    }
}

#job_section {
    margin-bottom: 60px;

    .job_main_container {
        display: flex;
        justify-content: center;
        gap: 1rem;
        font-family: "Figtree", serif;

        #filter_box,
        #filter_modal {
            min-height: 100vh;
            width: 40%;
            max-width: 315px;

            .perameter_box {
                padding: 2rem 1rem;
                background-color: #fff !important;
                border-radius: 20px;
                position: sticky;
                top: 0;


                label {
                    font-size: 20px;
                    font-weight: 600;
                    margin-bottom: 12px;
                    margin-top: 17px;
                }

                input,
                select {
                    background-color: var(--foreground);
                    color: var(--text-gray);
                }

                input {
                    border: none;
                    outline: none;
                }


                /* "check_list" class is common in category_box, job_type, Experience and date box */
                /* So it's style is outside from these boxes */
                .check_list {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                    margin: 0px;

                    li {
                        display: flex;
                        justify-content: space-between;
                        cursor: pointer;

                        div {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            gap: 1rem;

                            label {
                                all: unset;
                            }

                            input {
                                width: 18px;
                                height: 18px;
                            }
                        }

                        i {
                            color: var(--primary-color);
                        }

                    }

                }

                /* this input from Uiverse.io by alexruix */
                .search_box {

                    .group {
                        display: flex;
                        line-height: 28px;
                        align-items: center;
                        position: relative;
                    }

                    .input {
                        width: 100%;
                        height: 40px;
                        line-height: 28px;
                        padding: 0 1rem;
                        padding-left: 2.5rem;
                        background-color: #eeeeee8f;
                        border: 2px solid transparent;
                        border-radius: 12px;
                        outline: none;
                        transition: .3s ease;

                        /* Remove the cross icon */
                        &::-webkit-search-cancel-button {
                            display: none;
                        }

                        &::-ms-clear {
                            display: none;
                        }
                    }

                    .input::placeholder {
                        color: #9e9ea7;
                    }


                    .icon {
                        position: absolute;
                        left: 1rem;
                        width: 1rem;
                        height: 1rem;

                        stroke-width: 2;
                        stroke: var(--text-gray);
                        fill: none;
                    }
                }

                .location_box {
                    position: relative;

                    select {
                        border-radius: 12px;
                        height: 40px;
                        background-color: #eeeeee8f;
                        border: none;
                        padding-left: 35px;

                        &:focus {
                            border: none;
                            box-shadow: none;
                            outline: none;
                        }
                    }

                    .location_icon {
                        color: var(--text-gray);
                        font-size: 20px;
                        position: absolute;
                        bottom: 10px;
                        left: 10px;
                    }
                }

                .salary {
                    display: flex;
                    flex-direction: column;

                    #salary_range {
                        margin-bottom: 10px;
                    }

                    .apply_btn {
                        width: max-content;
                        height: fit-content;
                    }
                }

                .tags_box {
                    .tags_container {
                        button {
                            all: unset;
                            background-color: var(--foreground);
                            color: var(--primary-color);
                            border-radius: 20px;
                            padding: 5px 10px;
                            text-align: center;
                            margin: 3px;
                        }
                    }
                }
            }

            .adds_box {
                min-height: 460px;
                background: url("../images/clients/add.png");
                background-size: cover;
                background-repeat: no-repeat;
                border-radius: 20px;
                margin-top: 20px;

                p {
                    text-align: center;
                    color: white;
                    font-weight: 500;
                }
            }

        }


        #filter_box {
            .depertment_box {
                position: relative;

                select {
                    border-radius: 12px;
                    height: 40px;
                    border: none;
                    background-color: #eeeeee8f;
                    padding-left: 35px;

                    &:focus {
                        border: none;
                        box-shadow: none;
                        outline: none;
                    }
                }

                .location_icon {
                    color: var(--text-gray);
                    font-size: 20px;
                    position: absolute;
                    bottom: 10px;
                    left: 10px;
                }
            }
        }


        #filter_modal {
            .depertments_box {
                position: relative;

                select {
                    border-radius: 12px;
                    height: 40px;
                    border: none;
                    padding-left: 35px;

                    &:focus {
                        border: none;
                        box-shadow: none;
                        outline: none;
                    }
                }

                .location_icon {
                    color: var(--text-gray);
                    font-size: 20px;
                    position: absolute;
                    bottom: 10px;
                    left: 10px;
                }
            }
        }

        #jobs_box {
            width: 60%;
            min-height: 100vh;
            flex-grow: 1;

            .top_container {
                .sort_option {
                    &:focus {
                        box-shadow: none;
                        border: 1px solid #dee2e6;
                    }
                }

                .filter_btn {
                    width: 150px;
                }
            }

            .cards_container {
                margin-top: 20px;

                .job-card {
                    background: #fff;
                    border-radius: 10px;
                    box-shadow: -2px 8px 8px 0px hsl(0deg 5.2% 94.14%);
                    padding: 20px;
                    display: flex;
                    flex-direction: column;
                    gap: 15px;
                    margin-bottom: 20px;

                    .card-header {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;

                        .time-posted {
                            background-color: #3461ff24;
                            padding: 5px 10px;
                            border-radius: 4px;
                            color: var(--primary-color);
                            font-weight: 500;
                            font-size: 12px;
                        }

                        .save-button {
                            background: none;
                            border: none;
                            cursor: pointer;
                            font-size: 20px;
                            color: #033B61;
                        }
                    }

                    .card-content {
                        display: flex;
                        gap: 15px;
                        align-items: center;
                        margin-bottom: 10px;

                        .logo {
                            img {
                                max-width: 125px;
                                height: 100px;
                                object-fit: cover;
                                border-radius: 10px;
                            }
                        }

                        h3 {
                            font-weight: 700;
                            margin: 0px;
                        }

                        p {
                            font-weight: 500;
                            margin-bottom: 0;
                        }

                    }


                    .card-footer {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        gap: 20px;

                        a {
                            text-decoration: none;
                        }

                        .job-details {
                            display: flex;
                            justify-content: space-between;
                            align-content: center;
                            flex-wrap: wrap;
                            gap: 10px;

                            .detail-item {
                                color: var(--text-gray);

                                i {
                                    font-size: 18px;
                                    margin-left: 3px;
                                    color: var(--primary-color);
                                }
                            }
                        }



                        .job_details_button {
                            padding-left: 8px;
                            padding-right: 8px;

                            a {
                                color: var(--text-white);
                            }

                            &:hover {
                                background-color: #0056b3;
                                color: #fff;
                            }
                        }
                    }
                }
            }

            .pagination_box {
                display: flex;
                justify-content: space-between;

                .hidden_btn {
                    all: unset;
                    width: 0;
                    height: 0;
                }

                .button_box {
                    .btn {
                        border: 2px solid var(--text-gray);

                        &:focus {
                            border: none;
                            background-color: var(--primary-color);
                            color: var(--text-white);
                        }
                    }
                }

                .next_btn {
                    border: 2px solid var(--text-gray);

                    i {
                        transform: rotate(90deg);
                    }

                    &:focus {
                        background-color: var(--primary-color);
                        color: var(--text-white);
                    }
                }
            }
        }


        #filter_modal {
            width: 100%;
            max-width: 100%;
            /* height: auto; */
        }

    }



    /********** ~responsiveness~ **********/

    /*~~~~~ for tablet's ~~~~~*/
    @media (width <=768px) {
        #filter_box {
            display: none;
        }

        #jobs_box {
            width: 100% !important;
            min-height: 100vh;
        }
    }

    /*~~~~~ for mobile's  devices ~~~~~*/
    @media (width < 576px) {}
}


/* ==========> 
heading_card
==========> */
#heading_card {
    .job-card {
        background: #fff;
        border-radius: 10px;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
        margin-top: 30px;

        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .time-posted {
                background-color: #3461ff1f;
                padding: 5px 10px;
                border-radius: 4px;
                color: var(--primary-color);
                font-weight: 500;
                font-size: 10px;
            }

            .save-button {
                background: none;
                border: none;
                cursor: pointer;
                font-size: 20px;
                color: #033B61;
            }
        }

        .card-content {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 10px;

            .logo {
                img {
                    max-width: 250px;
                    height: 200px;
                    object-fit: cover;
                    border-radius: 12px;
                }
            }

            .job_info {
                h3 {
                    font-weight: 700 !important;
                    text-align: center;
                    text-align: left;
                    margin: 0px;
                }

                p {
                    font-weight: 500;
                }

                .job-details {
                    display: flex;
                    justify-content: flex-start;
                    gap: 20px;
                    margin-top: 10px;

                    .detail-item {
                        color: var(--text-gray);
                        text-align: center;

                        i {
                            font-size: 18px;
                            margin-left: 3px;
                            color: var(--primary-color);
                        }
                    }
                }
            }
        }

        .card-footer {
            display: flex;
            justify-content: center;
            gap: 20px;

            .job_details_button {
                width: 100px;

                a {
                    color: var(--text-white);
                }

                &:hover {
                    background-color: #0056b3;
                }
            }
        }
    }
}


/* ==========> 
job_details
==========> */
#job_details {
    margin-top: 60px;
    margin-bottom: 60px;
    font-family: "Figtree", serif;

    .job_main_container {
        display: flex;
        justify-content: space-around;
        gap: 1rem;
        font-family: "Figtree", serif;


        /*~~~~~ content box  ~~~~~*/
        #content_box {
            width: 100%;
            min-height: 100vh;
            padding: 0 2rem;
            display: flex;
            flex-direction: column;
            gap: 3rem;

            h3 {
                margin-bottom: 1.5rem;
            }

            ul {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;

                i {
                    margin-right: 0.5rem;
                }
            }

            .tags {

                button {
                    all: unset;
                    background: var(--background-secondary);
                    padding: 8px 10px;
                    border-radius: 12px;
                    text-align: center;
                    color: var(--primary-color);
                    margin-right: 0.5rem;
                    margin-bottom: 0.5rem;
                }
            }

            .share {

                h3 {
                    margin-right: 1rem;
                    margin-bottom: 0;
                }

                i {
                    font-size: 25px;
                    margin-right: 1rem;
                }
            }
        }

        /*~~~~~ side box  ~~~~~*/
        #side_box {
            min-height: 100vh;
            max-width: 315px;

            .overview {
                padding: 2rem;
                background-color: var(--background-secondary);
                border-radius: 20px;

                .box {
                    display: flex;
                    gap: 1rem;
                    align-items: baseline;
                    margin-bottom: 0.7rem;

                    i {
                        font-size: 22px;
                        color: var(--primary-color);
                        position: relative;
                        top: 6px;
                    }

                    span {
                        font-size: 18px;
                        font-weight: 600;
                    }
                }

                .map_box {
                    margin-top: 1rem;

                    .map {
                        max-width: 100%;
                        height: 226px;
                    }
                }


            }

            .contact_box {
                min-height: 460px;
                border-radius: 20px;
                margin-top: 20px;
                padding: 2rem;
                background-color: var(--background-secondary);

                form {

                    .input-container {
                        position: relative;
                        width: 100%;
                        margin-bottom: 1rem;
                    }

                    .input-container i {
                        position: absolute;
                        left: 10px;
                        top: 50%;
                        transform: translateY(-50%);
                        color: #888;
                    }

                    .input-container input,
                    .input-container textarea {
                        width: 100%;
                        padding: 10px 10px 10px 40px;
                        border-radius: 12px;
                        font-size: 16px;
                        outline: none;
                        border: none;
                    }

                    .textarea_container {
                        i {
                            top: 22px;
                        }

                        textarea {
                            border: none;
                            min-height: 120px;
                        }
                    }



                }
            }

        }

    }



    /********** ~responsiveness~ **********/

    /*~~~~~ for smaller devices than tablet's ~~~~~*/
    @media (width < 768px) {
        .job_main_container {
            flex-direction: column;
            gap: 3rem;

            #side_box {
                min-height: none;
                width: 100%;
                max-width: none;

                .contact_box {
                    min-height: auto;
                    padding-bottom: 3rem;

                    h4 {
                        margin-bottom: 2rem;
                    }
                }
            }

        }
    }

    /*~~~~~ for small devices ~~~~~*/
    @media (width < 576px) {}
}

/* pagination_box */
.pagination_box {
    text-align: center;
    margin-top: 20px;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    background-color: #f1f1f1;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.page-numbers.current {
    background-color: #333;
    color: #fff;
    font-weight: bold;
}

button.primary_btn.w-100.mt-4 {
    font-size: 18px;
    border-radius: 9px;
}

/* ==========> 
job_details
==========> */
#job_details {
    margin-top: 33px;
    margin-bottom: 60px;
    font-family: "Figtree", serif;

    .job_main_container {
        display: flex;
        justify-content: space-around;
        gap: 1rem;
        font-family: "Figtree", serif;


        /*~~~~~ content box  ~~~~~*/
        #content_box {
            width: 100%;
            min-height: 100vh;
            padding: 2rem;
            background-color: #fff;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            gap: 3rem;

            h3 {
                margin-bottom: 1.5rem;
            }

            ul {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;

                i {
                    margin-right: 0.5rem;
                }
            }

            .tags {

                button {
                    all: unset;
                    background: var(--background-secondary);
                    padding: 8px 10px;
                    border-radius: 12px;
                    text-align: center;
                    color: var(--primary-color);
                    margin-right: 0.5rem;
                    margin-bottom: 0.5rem;
                }
            }

            .share {

                h3 {
                    margin-right: 1rem;
                    margin-bottom: 0;
                }

                i {
                    font-size: 25px;
                    margin-right: 1rem;
                }
            }

            .contact_box {
                min-height: 460px;
                border-radius: 20px;
                margin-top: 20px;
                padding: 2rem;
                background-color: var(--background-secondary);

                form {

                    .input-container {
                        position: relative;
                        width: 100%;
                        margin-bottom: 1rem;
                    }

                    .input-container i {
                        position: absolute;
                        left: 25px;
                        top: 50%;
                        transform: translateY(-50%);
                        color: #888;
                    }

                    .input-container input,
                    .input-container textarea,
                    .input-container select {
                        width: 100%;
                        padding: 20px 10px 20px 55px;
                        border-radius: 12px;
                        font-size: 16px;
                        outline: none;
                        border: none;
                        background: #fff;
                        min-height: 70px;
                    }

                    .input-container select {
                        padding-left: 25px;

                        &:focus {
                            box-shadow: none !important;
                        }
                    }

                    .textarea_container {
                        i {
                            top: 34px;
                        }

                        textarea {
                            border: none;
                            min-height: 120px;
                        }
                    }

                    #date_time_input_container {
                        position: relative;

                        .date_time_icon {
                            position: relative !important;
                            top: 50%;
                            transform: translate(-50%);
                            left: 0;
                        }

                        label {
                            position: absolute;
                            z-index: 2;
                            top: 32%;
                            left: 4%;
                            font-size: 16px;
                            font-weight: 500;
                        }

                        .date_input {
                            padding-left: 25px !important;
                        }

                    }

                }
            }
        }

        /*~~~~~ side box  ~~~~~*/
        #side_box {
            min-height: 100vh;
            width: 434px;

            .overview {
                padding: 2rem;
                background-color: #fff;
                border-radius: 10px;

                .box {
                    display: flex;
                    gap: 1rem;
                    align-items: flex-start;
                    margin-bottom: 0.7rem;

                    i {
                        font-size: 22px;
                        color: var(--primary-color);
                        position: relative;
                        top: 6px;
                    }

                    span {
                        font-size: 18px;
                        font-weight: 600;
                    }
                }

                .map_box {
                    margin-top: 1rem;

                    .map {
                        max-width: 100%;
                        height: 226px;
                    }
                }


            }

        }

    }



    /********** ~responsiveness~ **********/

    /*~~~~~ for smaller devices than tablet's ~~~~~*/
    @media (width < 768px) {
        .job_main_container {
            flex-direction: column;
            gap: 3rem;

            #side_box {
                min-height: none;
                width: 100%;
                max-width: none;

                .contact_box {
                    min-height: auto;
                    padding-bottom: 3rem;

                    h4 {
                        margin-bottom: 2rem;
                    }
                }
            }

        }
    }

    /*~~~~~ for small devices ~~~~~*/
    @media (width < 576px) {}
}


button.primary_btn.new-btn.px-3 {
    width: 100%;
    width: -webkit-fill-available;
    width: -moz-available;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px 0px !important;
    font-size: 20px;
}

.share-menu a {
    margin: 0 6px;
    font-size: 20px;
    color: #333;
}

.share-menu a:hover {
    color: #0077ff;
}

.save-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.share-menu a {
    margin: 0 6px;
    font-size: 18px;
    color: #333;
}

.share-menu a:hover {
    color: #0077ff;
}

.save-button {
    background: none;
    border: none;
    cursor: pointer;
}

.card-header {
    position: relative;
}

.bg-body-tertiary {
    background-color: transparent !important;
}

.box>h5 {
    color: #fff;
}

.detail-item>a {
    color: #8b90a1;
}

.text>p>span>a {
    color: #3a4f66;
    line-height: 34px;
}

.job_info>p>a {
    color: #707070;
    text-decoration: none;
}

.max_container>h2 {
    padding-bottom: 16px;
}

.top_container>h2 {
    font-weight: 600;
    font-size: 21px;
    text-transform: capitalize;
    margin-bottom: 0px !important;
}

.pgibox {
    display: flex;
    justify-content: center;
    width: 100% !important;
    padding-top: 70px;
}

.page-numbers.current {
    background-color: #ffffff;
    color: #0d6efd;
}

.fr-wrapper.show-placeholder>div>a {
    display: none !important;
}

.pbtn {
    padding: 18px !important;
    font-size: 18px !important;
}

/*=====> dashboard_section <===== */
#dashboard_section {
    .stat-box {
        padding: 20px;
        background: #fff;
        border-radius: 12px;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;

        h6 {
            text-align: start;
            font-size: 17px;
            color: var(--primary-color);
        }

        p {
            font-size: 14px;
            margin-bottom: 0;
        }
    }

    .stat-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .stat-box i {
        font-size: 18px;
        color: white;
        background-color: var(--primary-color);
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #myChart {
        max-width: 100% !important;
    }


    @media (width <=992px) {
        .dashboard-container {
            flex-direction: column;
        }

        .sidebar {
            width: 100%;
            display: flex;
            margin-bottom: 20px;
        }

        .sidebar a {
            flex: 1 1 50%;
            text-align: center;
            margin-right: 0;
        }

        #myChart {
            max-width: 100% !important;
            width: 100% !important;
            height: auto !important;
        }
    }

    @media (width<=576px) {
        .sidebar a {
            flex: 1 1 100%;
            font-size: 14px;
        }
    }
}


/*=====> appointment_section <===== */


.dashboard-container {
    flex: 1;
    display: flex;
    margin: 20px 0px;
}

.sidebar {
    width: 250px;
    background-color: var(--primary-color);
    color: #fff;
    flex-shrink: 0;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: background 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.main-content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    margin-left: 20px;
}

.appointment-card {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: box-shadow 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appointment-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.appointment-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-grow: 1;
}

.appointment-info div {
    min-width: 150px;
    text-align: left;
}

@media (width <=992px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .sidebar a {
        flex: 1 1 50%;
        text-align: center;
        margin-right: 0;
    }
}

@media (width<=576px) {
    .sidebar a {
        flex: 1 1 100%;
    }

    .appointment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .appointment-info {
        flex-direction: column;
        gap: 5px;
        text-align: left;
    }
}

#signup_section {

    .signup-container {
        max-width: 400px;
        margin: 100px auto;
        background-color: #fff;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .signup-btn {
        background-color: #033B61;
        border-color: #033B61;
    }

    .signup-btn:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

    .brand-logo {
        text-align: center;
        margin-bottom: 20px;
    }
}

#login_section {

    .login-container {
        max-width: 400px;
        margin: 100px auto;
        background-color: #fff;
        padding: 30px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .login-btn {
        background-color: #033B61;
        border-color: #033B61;
    }

    .login-btn:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }

    .brand-logo {
        text-align: center;
        margin-bottom: 20px;
    }
}

.cancel_icon,
.accept_icon,
.delete_icon {
    margin-right: 6px;
    color: var(--primary-color);
}

/*=====> add_profile_section <===== */
#add_profile_section {

    @media (width <=992px) {
        .dashboard-container {
            flex-direction: column;
        }

        .sidebar {
            width: 100%;
            display: flex;
            margin-bottom: 20px;
        }

        .sidebar a {
            flex: 1 1 50%;
            text-align: center;
            margin-right: 0;
        }
    }

    @media (width<=576px) {
        .sidebar a {
            flex: 1 1 100%;
            font-size: 14px;
        }

        .main-content {
            padding: 0;
        }
    }

    .form-container {
        padding: 25px;
        border: 1px solid #ddd;
        border-radius: 10px;
        background-color: #f8f9fa;
    }

    #portfolio_form {

        .form-control {
            min-height: 45px;
        }

        .form-control:focus,
        .form-select:focus {
            box-shadow: none;
            border: 1px solid #dee2e6;
        }

        /*=====> text editor <===== */
        .fr-box.fr-basic.fr-top .fr-wrapper {
            border-top: 0;
            min-height: 250px;
        }


        /* =====> file upload inputs styles <===== */
        .Neon {
            font-family: sans-serif;
            font-size: 14px;
            color: #494949;
            position: relative;
        }

        .Neon * {
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }

        .Neon-input-dragDrop {
            display: block;
            width: 100%;
            margin: 0 auto 25px auto;
            padding: 50px 25px;
            background: #fff;
            border: 2px dashed #647097;
            text-align: center;
            -webkit-transition: box-shadow 0.3s, border-color 0.3s;
            -moz-transition: box-shadow 0.3s, border-color 0.3s;
            transition: box-shadow 0.3s, border-color 0.3s;
        }

        .Neon-input-dragDrop .Neon-input-icon {
            font-size: 48px;
            margin-top: -10px;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .Neon-input-text h3 {
            margin: 0;
            font-size: 18px;
        }

        .Neon-input-text span {
            font-size: 12px;
        }

        .Neon-input-choose-btn.blue {
            color: #647097;
            border: 1px solid #647097;
        }

        .Neon-input-choose-btn {
            display: inline-block;
            padding: 8px 14px;
            outline: none;
            cursor: pointer;
            text-decoration: none;
            text-align: center;
            white-space: nowrap;
            font-size: 12px;
            font-weight: bold;
            color: #8d9496;
            border-radius: 3px;
            border: 1px solid #c6c6c6;
            vertical-align: middle;
            background-color: #fff;
            box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.05);
            -webkit-transition: all 0.2s;
            -moz-transition: all 0.2s;
            transition: all 0.2s;
        }
    }

    /* =====> mobile responsive <===== */
    @media (width <=992px) {

        .form-container {
            margin: 0 auto !important;
        }

        .container {
            padding: 0 !important;
        }
    }

    @media (width<=576px) {
        .form-container {
            border-radius: 0;
        }
    }
}

/* developer css */

.sidebar>a:hover {
    color: #ffffff;
}

.notice-error {
    padding: 10px;
    background: #f2dede;
    border-left: 5px solid #a94442;
    margin-bottom: 20px;
}

.csf-slide-success {
    position: fixed;
    top: 139px;
    right: -400px;
    /* hidden initially */
    background-color: #d4edda;
    color: #155724;
    padding: 16px 24px;
    border-left: 6px solid #28a745;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 300px;
    max-width: 400px;
    animation: csf-slide-in 0.6s ease forwards;
}

.csf-slide-success a {
    color: #155724;
    text-decoration: underline;
    font-weight: bold;
}

.csf-close-btn {
    background: none;
    border: none;
    color: #155724;
    font-size: 20px;
    cursor: pointer;
}

@keyframes csf-slide-in {
    from {
        right: -400px;
        opacity: 0;
    }

    to {
        right: 20px;
        opacity: 1;
    }
}

.notice-error {
    background: #ff0000ad !important;
    color: #fff !important;
    border-left: 10px solid #ff0f0f !important;
}

.notice-error>span>a {
    color: #ffffff;
}

.main-content>h2 {
    font-size: 22px;
}

ul.check_list>li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

ul.check_list {
    padding: 0px;
    margin: 0px;
}

form#portfolio_form>label {
    font-size: 18px;
}

form#portfolio_form>div>label,
form#portfolio_form>div>div>label {
    font-size: 18px;
}

div#preview_container>img {
    width: 157px !important;
    border-radius: 10px;
    margin-bottom: 23PX;
}

.submission-success {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 20px;
}

.submission-success h3 {
    color: #28a745;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
}


.review-container {
    max-width: 500px;
    margin: 100px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    text-align: center;
}

.review-container h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.review-container p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.contact-info {
    margin-top: 20px;
    font-size: 15px;
}

.contact-info strong {
    display: inline-block;
    width: 60px;
    color: #333;
}

.contact-info span {
    color: #033B61;
}

.icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 15px;
}

.review-container {
    margin-top: 100px !important;
}

.brand-logo>h4 {
    margin: 0px;
}

.logout-link a {
    color: red;
    /* or your custom color */
}

.stat-box>div>h6 {
    margin: 0px;
    font-size: 21px !important;
}

div#nav-tabContent {
    margin-top: 13px;
}

.nav-tabs {
    text-align: center !important;
    display: flex;
    justify-content: center;
}

.google-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #fff;
    color: #757575;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.google-login-btn:hover {
    background: #f5f5f5;
    color: #000;
    border-color: #ccc;
}

.google-login-btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* Appointments List */
.appointments-list {
    margin: 2rem 0;
}

.appointments-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.appointments-table th,
.appointments-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.appointments-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.status-pending {
    color: #ffc107;
    font-weight: 500;
}

.status-confirmed {
    color: #28a745;
    font-weight: 500;
}

.status-cancelled {
    color: #dc3545;
    font-weight: 500;
}

.view-btn {
    background: #033B61;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
}

.appointment-single-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 3%);
    border-radius: 10px;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.detail-row {
    display: flex;
    margin-bottom: 1rem;
}

.detail-label {
    width: 150px;
    font-weight: 600;
    color: #555;
}

.detail-value {
    flex: 1;
}

.appointment-actions {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.appointment-actions form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.back-btn,
.accept-btn,
.cancel-btn {
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.back-btn {
    color: #033B61;
    border: 1px solid #033B61;
    background: transparent;
}

.back-btn:hover {
    background-color: #f8f9fa;
}

.accept-btn {
    background-color: #28a745;
    color: white;
    border: none;
}

.accept-btn:hover {
    background-color: #218838;
}

.cancel-btn {
    background-color: #dc3545!important;
    color: white;
    border: none;
}

.cancel-btn:hover {
    background-color: #c82333!important;
}

.notice {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.notice-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notice-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-pending {
    color: #ffc107;
    font-weight: 500;
}

.status-accepted {
    color: #28a745;
    font-weight: 500;
}

.status-cancelled {
    color: #dc3545;
    font-weight: 500;
}
a.view-btn:hover {
    color: #fff;
}
.login-space {
    justify-content: space-between;
}
.notice.notice-success > p {
    margin: 0px;
}
appointment-header h1 {
    font-size: 36px;
}
.heading_box h2, p {
    color: #033B61 !important;
}
.box>h5 {
    color: #5e5e5e;
}
.content_box {
    width: 1330px!important;
}
.statistics_box {
    width: 100%!important;
}
.box>h5 {
    font-size: 16px!important;
}
.icon_cover {
    margin-top: -14px;
}
.statistics_box {
    margin-top: 1rem!important;
}
.box>h5>span {
    color: #707070;
    font-weight: 400;
}
.input-group-custom {
    border-radius: 10px!important;
}
form#lawyer_search_form {
    margin-top: -12px;
}
.content_box {
    min-height: 624px!important;
    display: flex;
    justify-content: center;
}
.icon {
    margin-bottom: 0px;
}
.search-button > i{
    margin-top: 0px!important;
}
button.primary_btn.w-100.mt-4 {
    background: #033B61;
}
.view2 {
    padding: 1rem!important;
}
.lawyer_card {
    box-shadow: 1px 6px 11px 5px #033b610a;
}
.lawyer-img {
    height: 277px!important;
}
.lawyer-img {
    border-bottom: 4px solid #3a4f66;
}
.headering-area {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
a.btn {
    border: 1px solid #033b61;
    padding: 8px 16px;
    border-radius: 29px;
}
a.btn:hover {
    background: #033b61;
    color: #fff!important;
}
.pgibox {
    justify-content: flex-start;
}
.perameter_box {
    padding: 1rem 1rem;
}
ul.check_list {
    height: 184px;
    scroll-behavior: auto;
    overflow-y: scroll;
}