/*
Theme Name: Workreap
Theme URI: https://workreap.amentotech.com/
Author: Amentotech
Author URI:  https://themeforest.net/user/amentotech/portfolio
Description: Discover Workreap, a state-of-the-art freelance marketplace theme designed to create freelance marketplace websites
Tags: one-column, two-columns, right-sidebar,sticky-post,theme-options, custom-background, custom-menu, editor-style, featured-images, threaded-comments
Version: 3.2.7
Text Domain: workreap
Domain Path: /languages
License: GPL Themeforest Split Licence
License URI: https://themeforest.net/user/amentotech
*/

.page-template-search-projects .wr-find-projects>a {
    background-color: #F7F7F7;
}

.wrapper-upload-fields {
    flex-direction: column;
}

.wrapper-upload-fields input[type="file"] {
    height: auto;
    padding: 5px;
}

.form-group:has(.wr-totalamout) {
    padding: 0;
}

body .wr-select .select2-container--default .select2-search--inline .select2-search__field{
    width: 100% !important;
}

body .wr-select .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #999 !important;
}

.wr-educationpopup .wr-savebtn .wr-btn {
    justify-content: center !important;
}

.wr-dhbbtnarea em,
.wr-savebtn em {
    display: none !important;
}


.page-template-add-project .wr-choices {
display: flex;
gap: 40px;
}

input[value="logement-en-construction-cuisine-neuve"] + .wr-choice-label img {
max-height: 64px;
}

.wr-choice-card {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.wr-themeform__wrap > .form-group:not(:last-child) {margin-bottom: 10px;}

.logged-in .wr-step-nav .wr-next {
position: relative !important;
right: 0 !important;
transform: none !important;
}

.wr-project-tag.new {
    background:#faebc2;
    border-color:#faebc2;
}

.the-product  {
    align-items: center;
    display:flex;
    gap:60px;
    margin-bottom: 60px !important;
}

.the-product h1 {
    font-size: 26px;
}

.upsells h2 {
    margin-bottom: 20px;
    font-size: 30px;
}

@media (max-width: 767px) {
    .the-product  {
        flex-direction: column;
        gap:0;
        margin-bottom: 0px !important;
    }
}

.woocommerce-order h2 {
    font-size: 20x !important;
    margin-bottom: 10px !important;
}

.upsells li h2 {
    font-size:18px!important;
    margin-bottom: 0 !important;
}

.upsells a.button {
    margin-top: 10px !important;
}

.the-product img {
    border-radius: 16px;
}

td.value:has(select) {
    background: #fff;
    border-radius: 10px !important;
}

select {
        cursor: pointer;
}

.the-product .woocommerce-product-gallery {
    flex: 40%;
}
.the-product .summary {
    flex: 60%;
}

p + ul {
    margin-top: -15px;
}

.woocommerce-variation-price .price {
    font-weight: 300;
    margin-bottom: 10px;
    font-size:17px !important;
}

bdi,ins {
    text-decoration: none;
}

.project-distance {
    display:block;
    font-size:12px;
    margin: -12px 0 10px 0;
        padding: 4px 8px;
    line-height: 12px;
    border-radius: 999vw;
        width: max-content;
    background:#f3e9fe;
}

.wr-send {
    background: #c5edc7;
    color:rgb(30, 73, 34);
    border-color:#a2e1a6;
}

/* Badge + nom du concepteur (vue cuisiniste) */
.wr-team-proposal-by {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 13px;
    color: #555;
}

/* Badge "Équipe" */
.wr-team-badge {
    background: linear-gradient(135deg, #bc6ff1, #8a3ffc);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.4;
}

/* Nom concepteur */
.wr-team-proposal-by strong {
    font-weight: 600;
    color: #222;
}

/* Optionnel : léger highlight de la card */
.wr-project-wrapper-two:has(.wr-team-proposal-by) {
    border-left: 3px solid #bc6ff1;
    padding-left: 12px;
}

@media (max-width: 767px) {
.wr-dashboard-sidebar-footer-menu {
    margin-bottom: 100px;
}


.upsells .products li.product {
width: 50% !important;
}
}

.wr-sidebar-show .wr-dashboard-sidebar-toggle-btn {
    background: #8c52ff !important;
}

.wr-sidebar-show.wr-expanded .wr-dashboard-sidebar-toggle-btn svg {
    display:none;
}

.wr-sidebar-show .wr-dashboard-sidebar-toggle-btn i {
    display:none !important;
}

.wr-dashboard-sidebar-wrapper {
    margin:20px;
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    height:calc(100vh - 40px) !important;
      border-radius: 20px;
}

.wr-dashboard-sidebar-inner {
  background: linear-gradient(180deg, #ffffff 0%, #fcf5ff 100%);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); /* légère profondeur */
  border-radius: 20px;
}

@media (min-width: 1200px) {
    body:has(.wr-dashboard-sidebar-wrapper.wr-sidebar-show) footer {
        left: 300px;
        position: relative;
        width: calc(100% - 300px);
        transition: width 0.2s ease-in-out, left 0.2s ease-in-out;
    }
}

.single_add_to_cart_button {
    float: none !important;
}

.after-add-to-cart-info {
    font-size: 12px;
    margin-top:15px;
    opacity:.7;
}

.product_title.entry-title {
    color: #9235e5;
}

.wr-hire-freelancer_content > img,
.wr-proposal-list > img,
.wr-project-table-content > img,
.wr-projectinfo_title > img,
.wr-author-iamge {
    display: none !important;
}
