@import url(variables.css);
header{
    width: 100%;
    height: auto;
    position: relative;
}

/*SERVICE LISTINGS PAGE*/

.service-search{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px var(--spacing-small);
}

.service-search form{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: var(--spacing-small);
    flex-wrap: wrap;
}

.service-search form input:required{
    width: 70%;
    padding: 13px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.service-search form input:required:focus{
    outline: none;
    border: 1px solid rgba(0, 255, 55, 0.5);
}

.service-search form input[type="submit"]{
    width: 25%;
    border: none;
    background-color: var(--psuedo-primary-color);
    border-radius: 3px;
    cursor: pointer;
    padding: 13px;
    color: #fff;
    transition: all 1s ease-in-out;
}

.service-search form input[type="submit"]:hover{
    opacity: 0.9;
    filter: contrast(150%);
    box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.3);
}


/*SERVICE PROVIDERS PROFILE PAGE*/

.providers-prof{
    width: 100%;
    background-color: var(--psuedo-light-color);
    gap: 20px;
}


/*MAIN SECTIONS*/
.profile-info, .portfolio-section, .reviews-section{
    width: 95%;
    height: auto;
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    display: var(--main-display);
    gap: 20px;
    padding-bottom: 100px;
    flex-direction: column;

}
/*MAIN SECTIONS*/


.profile-info.enlarged{
    height: auto;
}

.info{
    max-width: 95%;
    width: 400px;
    height: 350px;
    display: var(--main-display);
    flex-direction: column;
    gap: var(--spacing-medium);
    padding: var(--spacing-large);
    border: 1px solid rgba(128, 128, 128, 0.404);
    border-radius: var(--border-radius-small);
    position: relative;
}

.profile-info .see-more-init{
    width: 100%;
    padding: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(transparent, #fff);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-family: var(--psuedo-normal-text-font);
}

.profile-info .see-more-init span{
    cursor: pointer;
}
.profile-info .cover-image{
    width: 100%;
    height:100% !important;
    object-fit: cover;
    cursor: pointer;
}
.profile-info .images{
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 50px;
}
.profile-info .profile-img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    object-fit: cover;
    left: 5%;
    bottom: -20%;
    background-color: var(--psuedo-light-color);
    cursor: pointer;
}

.profile-info .profile-img:hover, .profile-info .cover-image:hover{
    filter: brightness(150%);
    opacity: 0.9;
}

.profile-info .info{
    display: var(--main-display);
    flex-direction: column;
    gap: var(--spacing-small);
    width: 100%;
    height: auto;
    padding: var(--spacing-medium);
    position: relative;
    border: none;
}

.profile-info .skill-link{
    border-left: 1px solid var(--psuedo-primary-color);
    padding: 5px 10px;
}



#bio{
    max-width: 100%;
    width: 500px;
}

.profile-info .actions{
    width: 100%;
    padding: var(--spacing-small);
    display: var(--main-display);
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
}

.profile-info .actions button, .profile-info .actions a{
    border: none;
    cursor: pointer;
    background-color: var(--psuedo-primary-color);
    color: #fff;
    border-radius: 3px;
    padding: 13px;
    font-family: var(--psuedo-normal-text-font);
}

.profile-info .actions a{
    text-decoration: none;
    font-size: 14px;
}

.profile-info .actions button:hover{
    opacity: 0.9;
}

.min-det{
    width: 100%;
    padding: var(--spacing-medium);
    display: var(--main-display);
    flex-direction: column;
    gap: var(--spacing-small);
    font-family: var(--psuedo-normal-text-font);
}

.min-det span{
    max-width: 100%;
    width: 400px;
    display: var(--main-display);
    align-items: center;
    gap: var(--spacing-small);
}

.min-det span i{
    font-size: 20px;
    color: var(--psuedo-primary-color);
}





/*REVIEWS SECTION (Profileview, listings)*/

.reviews-main{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: var(--spacing-medium);
    flex-wrap: wrap;
}

.reviews-section .reviews-container{
    max-width: 100%;
    width: 600px;
    height: auto;
    padding: 50px 0;

}

.reviews-section .reviews-container h3{
    margin: var(--spacing-medium) var(--spacing-small);
}

.reviews{
    width: 100%;
}

.reviews-section .reviews-container, .reviews{
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-medium);
}

.reviews-section .reviews-container .review{
    width: 95%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: var(--psuedo-light-color);
    border-radius: 5px;
    padding: var(--spacing-small);
}

.reviews-container .review .user-n-date{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px;
    font-family: var(--psuedo-header-font);
}

.reviews-container .review .user-n-date .user{
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
    width: 70%;

}

.reviews-container .review .user-n-date .user .stars-name{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1px;
    width: 70%;
}

.reviews-container .review .user-n-date .user .stars-name h6{
    max-width: 100%;
    width: 100px;
}


.reviews-container .review .user-n-date .date{
    text-align: right;
}




.reviews-container .review .user-n-date .user img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 25%;
}


.reviews-container .page-controllers{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-medium);
    padding: var(--spacing-medium) 0;
}

.reviews-container .page-controllers i{
    font-size: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #62aeff;
    color: rgb(47, 47, 47);
    transition: all .4s ease;
}

.reviews-container .page-controllers i.disabled{
    opacity: 0.5;
}

.reviews-container .page-controllers i:hover{
    background-color: #3d9bff;
}

.review-text{
    width: 100%;
    height: 100px;
    overflow-y: hidden;
    position: relative;
    padding-bottom: 30px;
}

.no-reviews-message{
    padding: var(--spacing-small);
    text-align: center;
}



.review-text.extension{
    height: auto;
}

.review-text div{
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: var(--psuedo-light-color);
    text-align: right;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: 3px;
}

.review-text div span{
    cursor: pointer;
    font-family: var(--psuedo-header-font);
    font-size: 14px;
    color: var(--psuedo-primary-color);
}

.new-review-field {
    max-width: 95%;
    width: 350px;
    max-height: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    background-color: #c2ecff;
    padding: var(--spacing-medium);
}


.new-review-field form{
    width: 95%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    font-family: var(--psuedo-header-font);
}

.new-review-field .star-ratings{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.new-review-field .star-ratings i{
    cursor: pointer;
    color: rgb(185, 185, 185);
    font-size: 25px;
}

.new-review-field .star-ratings i.glow{
    color: var(--psuedo-tertiary-color3);
}


.new-review-field form textarea{
    width: 90%;
    height: 150px;
    padding: 13px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    resize: none;
}

.new-review-field form button{
    width: 150px;
    padding: 13px;
    cursor: pointer;
    border-radius: 3px;
    border: none;
    background-color: var(--psuedo-primary-color);
    color: #fff;
    font-family: var(--psuedo-normal-text-font);
    transition: all .5s ease;
}

.new-review-field form button:hover{
    background-color: var(--psuedo-secondary-color);
}

/*POP UPS*/


/*Popup for messaging and calls*/

/* Popup Overlay */
.popup-overlay, .service-request-popup {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

.popup-overlay{
    align-items: center;
}

.popup-overlay.active, .service-request-popup.active{
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.popup-overlay .popup-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    max-width: 95%;
    width: 600px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* MESSAGE AND SERVICE REQUEST Popup Header */
.popup-overlay .popup-header, .service-request-popup .popup-sections .popup-header {
    background-color: #0056B3;
    color: #FFFFFF;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-overlay .popup-header h3 {
    margin: 0;
    font-size: 18px;
}

.popup-overlay .close-btn, .service-request-popup .close-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
}

/* MESSAGE AND SERVICE REQUEST Popup Body */
.popup-overlay .popup-body, .service-request-popup .popup-body {
    padding: 20px;
    background-color: #DAECFF;
}

.message-input {
    width: 100%;
    height: 150px;
    border: 1px solid #0056B3;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    resize: none;
}

/* MESSAGE AND SERVICE Popup Footer */
.popup-overlay .popup-footer, .service-request-popup .popup-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #F8F8F8;
}

/*SERVICE REQUEST POPUP*/

.service-request-popup{
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    
    z-index: 10;
    font-family: var(--psuedo-normal-text-font);
    overflow-y: scroll;
}

.service-request-popup::-webkit-scrollbar, .service-request-popup .popup-sections::-webkit-scrollbar{
    -webkit-appearance: none;
    appearance: none;
    width: 3px;
    background-color: #fff;
}

.service-request-popup::-webkit-scrollbar-thumb, .service-request-popup .popup-sections::-webkit-scrollbar-thumb{
    appearance: none;
    background-color: var(--psuedo-primary-color);
    border-radius: 10px;
}

.service-request-popup .popup-sections{
    max-width: 95%;
    width: 800px;
    height: auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    overflow-y: scroll;
}

.service-request-popup .popup-body{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
    
}

.service-request-popup form input, .service-request-popup form textarea, .service-request-popup form select{
    width: 80%;
    padding: 13px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.service-request-popup form select{
    cursor: pointer;
}

.service-request-popup form textarea{
    height: 150px;
}


.request-btn .spinner{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgb(235, 235, 235);
    border-top: 1px solid #000;
    animation: spin .3s infinite linear forwards;
}

@keyframes spin{
    from{
        rotate: 0deg;
    }
    to{
        rotate: 360deg;
    }
}


/*MESSAGE AND SERVICE REQUEST FORM ACTIONS*/


.send-btn, .request-btn {
    background-color: #2ECC71;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-small);
}

.send-btn:hover, .request-btn:hover {
    background-color: #0056B3;
}

.cancel-btn {
    background-color: #DAECFF;
    color: #0056B3;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.cancel-btn:hover {
    background-color: #2ECC71;
    color: #FFFFFF;
}



/*MESSAGING PAGE*/

.conversations-wrapper{
    width: 100%;
    height: auto;
    display: var(--main-display);
    align-items: center;
    justify-content: center;
}

.conversations-wrapper .conversations-container{
    width: 30%;
    height: 100vh;
    position: sticky;
    top: 5px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
    padding: var(--spacing-small);
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.conversations-wrapper .conversations-container::-webkit-scrollbar{
    -webkit-appearance: none;
    appearance: none;
}

.conversations-wrapper .conversations-container .convo{
    width: 100%;
    display: var(--main-display);
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 5px;
}

.conversations-wrapper .conversations-container .convo p{
    font-size: 13px;
}

.conversations-wrapper .conversations-container .convo h6{
    width: 100%;
    text-align: right;
    color: #242424;
    letter-spacing: 2px;
}

.convo-content{
    width: 70%;
    height: 100vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    padding-bottom: 100px;
}

.convo-content .chat-header{
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
    padding: var(--spacing-medium);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.convo-content .chat-header img{
    width: 60px;
    height: 60px;
    object-fit: cover;
    object-position: 50% 25%;
    border-radius: 50%;
}

.chat-content{
    width: 100%;
    height: auto;
    display: var(--main-display);
    flex-direction: column;
    gap: var(--spacing-small);
    padding: var(--spacing-small);

}

.chat-content .inb-message{
    max-width: 80%;
    width: 350px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-small);
    border-radius: 10px;
    font-family: var(--psuedo-normal-text-font);
    color: #fff;
}

.chat-content .inb-message h6{
    width: 100%;
    text-align: right;
}

.chat-content .inb-message:not(.sender){
    background-color: var(--psuedo-secondary-color);
}
.chat-content .sender{
    background-color: var(--psuedo-primary-color);
    margin-right: 0;
    margin-left: auto;
}

.chat-content .inb-message .message-header{
    width: 100%;
    display: var(--main-display);
    align-items: center;
    justify-content: space-between;
}

.chat-content .inb-message .message-header .fa-ellipsis{
    cursor: pointer;
}

.chat-content .inb-message .message-header .options-space{
    position: relative;
}

.inb-message .message-header .options-space .options{
    position: absolute;
    left: -1000%;
    top: -300%;
    width: 150px;
    height: auto;
    display: none;
    flex-direction: column;
    gap: var(--spacing-small);
    background-color: #fff;
    border-radius: 3px;
    padding: 5px;
    z-index: 2;

}

.inb-message .message-header .options-space .options.active{
    display: var(--main-display);
}

.inb-message .message-header .options-space .options button{
    width: 95%;
    padding: var(--spacing-small);
    cursor: pointer;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.inb-message .message-header .options-space .options button:hover{
    background-color: var(--psuedo-light-color);
}

.messaging-box{
    position: fixed;
    right: 0;
    bottom: 0px;
    width: 70%;
    height: auto;
    display: flex;
    background-color: #fff;
    padding:var(--spacing-medium);
}

.messaging-box form{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
}
.messaging-box textarea{
    width: 80%;
    height: 50px;
    padding: 13px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    resize: none;
}

.messaging-box textarea::-webkit-input-placeholder{
    font-family: var(--psuedo-normal-text-font);
}

.messaging-box textarea:focus{
    outline: none;
}

.messaging-box button{
    width: 15%;
    padding: 13px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    background-color: var(--psuedo-primary-color);
    color: #fff;
}

.messaging-box button:hover{
    opacity: 0.9;
    filter: brightness(150%);
}


/*LISTING VIEWING PAGE*/

#service-view-page h5{
    font-family: var(--psuedo-normal-text-font);
}

#service-view-page h5 i{
    width: 15%;
}

#service-view-page h5 span{
    width: 80%;
}
.service-body{
    max-width: 100%;
    width: 1100px;
    padding: var(--spacing-small);
    display: var(--main-display);
    flex-direction: column;
    gap: var(--spacing-large);
    background-color: #f6fbff;
    border-radius: 30px;
}

.service-body-header, .service-body-middle, .service-body-middle .terms div{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-body-header{
    justify-content: center;
    gap: var(--spacing-medium);
    align-items: center;
    padding: 30px var(--spacing-small);
}


#service-view-page .seller-info{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-medium) var(--spacing-small);
    flex-wrap: wrap;
    gap: var(--spacing-medium);
}

#service-view-page .seller-info .name-prof{
    width: 45%;
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
}

#service-view-page .seller-info .name-prof a{
    text-decoration: none;
    color: var(--psuedo-primary-color);
}

#service-view-page .seller-info .name-prof img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 25%;
}

#service-view-page .seller-info div:nth-child(2){
    width: 45%;
    text-align: right;
}


.service-body-middle{
    gap: 50px;
    padding: 30px 0;
}


.service-body-middle #main-image{
    width: 95%;
    min-height: 350px;
    max-height: 600px;
    object-fit: cover;
    object-position: 50% 25%;
    border-radius: 30px;
    margin-bottom: 50px;
}

.service-body-middle .terms{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
}

.service-body-middle .terms h5{
    max-width: 100%;
    width: 400px;
    padding: var(--spacing-small) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--psuedo-normal-text-font);
    font-size: 14px;
    gap: var(--spacing-small);
}

.service-body-middle .terms div{
    gap: var(--spacing-medium);
    padding: 30px 0;
}

.service-body-bottom{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-body-bottom .actions{
    max-width: 100%;
    width: 500px;
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
    flex-wrap: wrap;
}

.service-body-bottom .actions .sharers{
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 25px;
}

.service-body-bottom .actions .sharers a:nth-child(1){
    color: #0056B3;
}
.service-body-bottom .actions .sharers a:nth-child(2){
    color: #1385ff;
}
.service-body-bottom .actions .sharers a:nth-child(3){
    color: #000000;
}
.service-body-bottom .actions .sharers a:nth-child(4){
    color: #b30000;
}

.service-body-bottom .actions button{
    max-width: 45%;
    width: 150px;
    padding: 13px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    background-color: var(--psuedo-primary-color);
    color: #fff;
    font-family: var(--psuedo-normal-text-font);
    transition: all .3s ease;
}

.service-body-bottom .actions button:hover{
    background-color: var(--psuedo-secondary-color);
    filter: brightness(90%);
}

.related-services{
    max-width: 100%;
    width: 1000px;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-large);
    padding: var(--spacing-small);
    margin: 100px 0;
    align-items: center;
    justify-content: center;
}

.related-services .service-listings{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: var(--spacing-small);
}

.related-services .service-listings .listing{
    max-width: 95%;
    width: 250px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    text-decoration: none;
    color: #000;
    font-family: var(--psuedo-normal-text-font);
    overflow: hidden;
    border-radius: 5px;
    align-items: flex-start;
    justify-content: flex-start;
}

.related-services .service-listings .listing img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: 50% 25%;
}

.related-services .service-listings .listing span h5{
    width: 100%;
    margin: var(--spacing-small);
}



/*LISTING BOOKIN*/

.listing-booking{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-small);
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
}

/* .listing-booking div{
    max-width: 100%;
    width: 600px;
    height: auto;
    background-color: #fff;
    border-radius: 3px;
    padding: 50px var(--spacing-small);
} */



.listing-booking div form{
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    font-family: var(--psuedo-header-font);
}

.listing-booking div form input{
    width: 80%;
    padding: 13px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.listing-booking div form textarea{
    width: 80%;
    height: 150px;
    padding: var(--spacing-small);
    resize: none;
}




/*LISTINGS AND PROVIDERS PAGES*/

.filters-n-listings{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
}

.filters-n-listings .top-filters{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-medium) var(--spacing-small);
    font-family: var(--psuedo-normal-text-font);
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.filters-n-listings .top-filters .left{
    max-width: 55%;
    display: flex;
    align-items: center;
    gap: var(--spacing-medium);
}

.filters-n-listings .filters-disp{
    display: none;
}


/*FILTERS TOGGLING mobile*/

.filters-n-listings .top-filters .left .filter-icon .fa-filter{
    font-size: 25px;
    color: #121212;
}


.filters-n-listings .major-filters #filters-closer{
    font-size: 20px;
    margin: var(--spacing-small);
}

/*FILTERS TOGGLING END*/

.filters-n-listings .top-filters .left .arrangement{
    display: flex;
    align-items: center;
    gap: var(--spacing-small);
}

.filters-n-listings .top-filters .left .arrangement div{
    display: grid;
    cursor: pointer;
    gap: 3px;
}

.filters-n-listings .top-filters .left .arrangement div:nth-child(1){
    grid-template-columns: auto auto auto auto;
}

.filters-n-listings .top-filters .left .arrangement div:nth-child(2) i{
    font-size: 25px;
}




.filters-n-listings .top-filters .left .arrangement div:nth-child(1) span{
    width: 5px;
    height: 5px;
    background-color: black;
}

.filters-n-listings .top-filters .left .arrangement div i{
    color: #000;
}

.filters-n-listings .top-filters .left .arrangement div.active span{
    background-color: var(--psuedo-primary-color);
}

.filters-n-listings .top-filters .left .arrangement div.active i{
    color: var(--psuedo-primary-color);
}

.filters-n-listings .top-filters .left .no-of-items, .filters-n-listings .top-filters .left .no-of-items .nos{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.filters-n-listings .top-filters .left .no-of-items{
    gap: var(--spacing-medium);
}
.filters-n-listings .top-filters .left .no-of-items .nos{
    gap: 5px;
}

.filters-n-listings .top-filters .left .no-of-items .nos span{
    cursor: pointer;
}

.filters-n-listings .top-filters .right{
    max-width: 45%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
}

.filters-n-listings .top-filters .right select, .main-content .major-filters select{
    max-width: 100%;
    width: 200px;
    padding: 13px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}


.main-content{
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-small);
}



.main-content .major-filters{
    max-width: 100%;
    width: 250px;
    height: auto;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-medium);
    position: sticky;
    top: 100px;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    font-family: var(--psuedo-header-font);
    z-index: 10;
    background-color: #fff;
    overflow-y: scroll;
}

.main-content .major-filters #price-filter-form{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-content .major-filters #price-filter-form .inputs{
    max-width: 70%;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-content .major-filters #price-filter-form .inputs input{
    padding: var(--spacing-small);
    width: 40%;
}

.main-content .major-filters #price-filter-form input[type='submit']{
    width: 25%;
    padding: 13px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    background-color: var(--psuedo-primary-color);
    color: #fff;
}

.main-content .major-filters #price-filter-form input[type='submit']:hover{
    opacity: 0.9;
}

.main-content .major-filters .filter-boxes{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
    padding: var(--spacing-small);
}

.main-content .major-filters .filter-boxes label{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;

}

/*CATEGORY FILTERS*/

.main-content .major-filters .category-filters .categories-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-small);
}

.major-filters .category-filters .categories-container .categories, .major-filters .category-filters .categories-container .categories div{
    width: 100%;
    display: flex;
    flex-direction: column;
}

.major-filters .category-filters .categories-container .categories{
    gap: var(--spacing-medium);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: var(--spacing-small);
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
}

.major-filters .category-filters .categories-container .categories.extended{
    height: auto;
    border: 1px solid var(--psuedo-primary-color);
}

.major-filters .category-filters .categories-container .categories h4{
    margin-bottom: 15px;
    margin-top: 5px;
    cursor: pointer;
}
.major-filters .category-filters .categories-container .categories div{
    gap: var(--spacing-small);
}


.major-filters .category-filters .categories-container .categories div span{
    width: 100%;
    padding: var(--spacing-small);
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
}

.major-filters .category-filters .categories-container .categories div span:hover{
    background-color: var(--psuedo-light-color);
}

.main-content .listings-container{
    max-width: 100%;
    width: 900px;
    position: relative;
    height: 1800px;
}

.main-content .listings-container .minor-loader{
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
    position: sticky;
    left: 0;
    top: 100px;
    z-index: 3;
    background-color: #fff;
    display: none;
}

.main-content .listings-container .minor-loader.active{
    display: flex;
}


.main-content .listings-container .minor-loader span{
    width: 60px;
    height: 60px;
    border-right: 2px solid var(--psuedo-primary-color);
    animation: spinLoader .9s infinite ease-in-out forwards;
    border-radius: 50%;
}

@keyframes spinLoader {
    from{
        rotate: 0deg;
    }
    to{
        rotate: 360deg;
    }
}


.main-content .listings-container .all-listings{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    padding: var(--spacing-small);
    gap: var(--spacing-small);
    flex-wrap: wrap;
}



/*providers and listings pages styles */

.listings-container .all-listings .listing, #view-providers-container .provider{
    max-width: 45%;
    width: 200px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spacing-medium);
    position: relative;
    overflow: hidden;
}

.listing.list-view, #view-providers-container .provider.list-view{
    max-width: 100% !important;
    width: 1000px !important;
}

.listing.list-view .listing-image, #view-providers-container .provider.list-view .provider-image{
    width: 50% !important;
    height: 300px !important;
}

.listings-container .all-listings .listing .to-listing, .listings-container .all-listings .listing .to-listing span, #view-providers-container .provider .to-provider span{
    display: flex;
    flex-direction: column;
}

.listings-container .all-listings .listing .to-listing{
    gap: var(--spacing-small);
    overflow: hidden;
    border-radius: 5px;
    color: #000;
    text-decoration: none;
}

.listings-container .all-listings .listing .to-listing span{
    gap: 5px;
    padding: var(--spacing-small);
    font-family: var(--psuedo-normal-text-font);
}


/*listing img*/
.listings-container .all-listings .listing .to-listing img{
    width: 100%;
    max-height: 150px;
    min-height: 150px;
    height: 210px;
    object-fit: cover;
    object-position: 50% 25%;
}


/*providers page styles */

#view-providers-container .provider .to-provider{
    text-decoration: none;
    color: #000;
    font-family: var(--psuedo-normal-text-font);
}

#view-providers-container .provider .to-provider span{
    margin-top: var(--spacing-medium);
    gap: var(--spacing-medium);
}

#view-providers-container .provider .to-provider img{
    width: 100%;
    max-height: 150px;
    min-height: 150px;
    height: 210px;
    object-fit: contain;
}

#view-providers-container .provider .to-provider span{
    padding-left: var(--spacing-small);
}

/*providers page styles end*/

/*listings page styles cont*/

.all-listings .listing a span h5:nth-child(1), #view-providers-container .provider .to-provider span h5:nth-child(1){
    color: var(--psuedo-primary-color);
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.all-listings .listing a span h6{
    font-size: 12px;
    color: rgb(71, 71, 71);
    margin-top: var(--spacing-medium);
}


/*providers and listings pages styles others*/


.all-listings .listing .listing-actions, #view-providers-container .provider .provider-actions{
    width: 100%;
    display: flex;
    align-items: center;
    padding: var(--spacing-small);
    justify-content: flex-end;
    gap: var(--spacing-small);
}



.all-listings .listing .profile-link{
    position: absolute;
    left: 1%;
    top: 1%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.listing .profile-link img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    background-color: var(--psuedo-light-color);
}

.all-listings .listing .listing-actions button, #view-providers-container .provider .provider-actions button{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #fff;
    cursor: pointer;
    transition: all .3s ease;
    color: rgb(47, 47, 47);
}

.all-listings .listing .listing-actions button:hover{
    background-color: var(--psuedo-light-color);
}

.listings-container .listings-controls{
    width: 100%;
    padding: var(--spacing-small);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-medium);
}
.listings-container .listings-controls i{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-small);
    background-color: var(--psuedo-primary-color);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
}

.listings-container .listing .fa-star.glow, #view-providers-container .provider .fa-star.glow{
    color: goldenrod;
}