/*
Theme Name: Hello Elementor Child
Description: Child theme for Hello Elementor. You can now safely customize it and not risk losing your customizations.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: hello-elementor
Version: 1.0
*/

/* Style pour les formulaires de connexion/inscription */
.woocommerce-login-container,
.woocommerce-register-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.woocommerce-login-vendeur,
.woocommerce-register-vendeur {
    border-left: 4px solid #0073aa;
}

.woocommerce-login-investisseur,
.woocommerce-register-investisseur {
    border-left: 4px solid #28a745;
}

.u-columns.col2-set {
    display: flex;
    gap: 20px;
}

.u-column1, .u-column2 {
    flex: 1;
    padding: 20px;
}

.woocommerce-form-login,
.woocommerce-form-register {
    display: flex;
    flex-direction: column;
    border: none !important;
}

.woocommerce-form-row {
    margin-bottom: 15px;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.woocommerce-Input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.woocommerce-Input--select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path d="M0 0l6 6 6-6H0z" fill="%23666"/></svg>') no-repeat right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

.woocommerce-button {
    background: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.woocommerce-button:hover {
    background: #005d8c;
}

.woocommerce-button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.woocommerce-LostPassword a,
.woocommerce-LoginLink a {
    color: #fff;
    text-decoration: none;
}

.woocommerce-LostPassword a:hover,
.woocommerce-LoginLink a:hover {
    text-decoration: underline;
}

.woocommerce-LostPassword .separator,
.woocommerce-LoginLink .separator {
    margin: 0 5px;
    color: #666;
}

/* Style pour l'espace vendeur */
.vendeur-espace {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.vendeur-espace h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.vendeur-espace h2 {
    font-size: 20px;
    margin-top: 20px;
}

.new-bien-button {
    margin-bottom: 20px;
}

.bien-list {
    list-style: none;
    padding: 0;
}

.bien-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.bien-type,
.bien-date,
.bien-avancement {
    flex: 1;
}

/* Style pour la page nouveau bien et nouvelle recherche */
.hero-nouveau-bien {
    position: relative;
    background: url('/wp-content/uploads/2025/06/Villa_-moderne_-avec_-piscine.webp') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-nouveau-bien::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-search, .inscription-hero, .edit-account-hero, .subscription-account-hero {
    position: relative;
    background: url('/wp-content/uploads/2025/06/Design_-interieur_-moderne_-et_-lumineux.webp') no-repeat center center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.subscription-account-hero::before {
    content: "";
    background: rgb(1 30 49 / 74%);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.hero-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-nouveau-bien, .hero-search h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.form-section {
    background-color: transparent;
    background-image: radial-gradient(at bottom left, var(--e-global-color-f46b90b) 9%, var(--e-global-color-secondary) 57%);
    padding: 40px 20px;
}

.nouveau-bien-container, .search-container, .register-container, .edit-account-container {
    max-width: 800px;
    margin: 0 auto;
}

.bien-form, .search-form, .form-register, .form-edit-account {
    background: none;
    max-width: 550px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 10px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0px !important;
    font-size: 16px;
    background: #fafafa;
}

.form-row textarea {
    height: 120px;
    resize: vertical;
}

.form-row select {
    appearance: none;
    background-size: 12px;
    padding-right: 36px;
}

#galerie-images-container {
    margin-bottom: 15px;
}

.image-upload-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.image-upload-button {
    background: #0073aa;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 20px;
    border: 2px solid #fff;
    cursor: pointer;
    text-align: center;
    min-width: 120px;
}

.image-upload-button:hover {
    background: #005d8c;
}

.image-preview {
    max-width: 100px;
    max-height: 100px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.remove-image-button {
    border-radius: 50px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0px !important
}

#add-image-button {
    font-size: 30px !important;
    color: #fff;
    border: none !important;
}

.submit-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Style pour le popup */
.submission-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-container {
    background: var(--e-global-color-f46b90b);
    padding: 30px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
.popup-content{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.popup-left-content{
    width: 100%;
    padding-top: 25px;
}
.popup-right-content{
    width: 100%;
}
.popup-right-content p{
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #fff;
}
.popup-left-content img {
    height: 200px;
    width: auto;
}

.popup-content .woocommerce-button {
    width: 100%;
    padding: 12px;
}

/* Style pour la page connexion-vendeur et connexion-investisseur */
.connexion-wrapper {
    position: relative;
    background: url('/wp-content/uploads/2025/06/Villa_-moderne_-avec_-piscine.webp') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.connexion-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.connexion-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.connexion-content h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.connexion-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.connexion-section {
    position: relative;
    z-index: 2;
    width: 100%;
}

.connexion-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.connexion-form-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0px 60px 0px 60px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.logo-wrapper {
    flex: 0 0 auto;
    margin-right: 20px;
    margin-bottom: 30px;
}

.connexion-logo {
    max-width: 100px !important;
    height: auto;
}

.form-wrapper {
    flex: 1;
}

.woocommerce-form-login {
    margin: 0;
}

.signup-prompt {
    text-align: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
}

.signup-logo {
    max-width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.signup-prompt p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.signup-button {
    background: #28a745;
}

.signup-button:hover {
    background: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-nouveau-bien {
        height: 80vh;
    }

    .hero-nouveau-bien h1 {
        font-size: 1.8rem;
    }

    .connexion-wrapper {
        padding: 20px 10px;
    }

    .connexion-content h1 {
        font-size: 1.8rem;
    }

    .connexion-content p {
        font-size: 1rem;
    }

    .connexion-section {
        padding: 20px 10px;
    }

    .connexion-form-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .logo-wrapper {
        margin-right: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .form-section {
        padding: 20px 10px;
    }

    .bien-form {
        padding: 20px;
    }

    .image-upload-row {
        flex-direction: column;
        align-items: stretch;
    }

    .image-upload-button,
    .remove-image-button,
    #add-image-button {
        width: 100%;
        margin-bottom: 10px;
    }

    .image-preview {
        margin-bottom: 10px;
    }
}

/* Style pour la page investisseur */
.investisseur-wrapper {
    background-color: transparent;
    background-image: radial-gradient(at bottom left, var(--e-global-color-f46b90b) 9%, var(--e-global-color-secondary) 57%);
    min-height: 100vh;
    padding: 40px 20px;
    color: #fff;
}

.logo-separator{
    text-align: center;
}

.logo-separator img{
    width: 500px !important;
}

.investisseur-container {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.investisseur-greeting {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.investisseur-content {
    display: flex;
    gap: 80px;
}

.investisseur-sidebar {
    width: 250px;
    border-radius: 8px;
    text-align: center;
}
.account-section {
    background-color: var(--e-global-color-f46b90b);
    padding: 15px;
    text-align: center;
    margin-bottom: 20px
}
.account-section .account-logo{
    max-width: 96px;
    height: auto;
}

.account-section h2 {
    font-size: 21px;
    font-weight: 400;
    line-height: 30px;
}

.star-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.account-section p {
    margin: 10px 0;
}

.documents-button,
.validate-button {
    background-color: var(--e-global-color-d41ca28);
    font-weight: 400;
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text);
    border-radius: 30px;
    padding: .5rem 1rem;
}

.international-text {
    font-size: 0.9rem;
    color: #ddd;
    margin-top: 15px;
}

.subscription-item {
    background-color: var(--e-global-color-f46b90b);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
}

.subscription-item span {
    font-size: 40px;
    font-weight: 600;
}

.subscription-item p {
    font-size: 17px;
    margin-bottom: 0px !important
}

.promo-section{
    margin-top: 20px;
}

.promo-section p {
    margin-bottom: 10px;
}

.promo-code {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 0px !important;
    background-color: #ffffff;
    color: #fff;
}

.investisseur-main {
    flex: 2;
}

.investisseur-main h2 {
    font-size: 21px;
}

.new-search-button {
    background-color: var(--e-global-color-d41ca28);
    font-weight: 400;
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text);
    border-radius: 30px;
    border: none !important;
    padding: .5rem 1rem;

}

.new-search-button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.searches-table {
    width: 100%;
    border-collapse: collapse;
   overflow: hidden;
}

.searches-table th,
.searches-table td {
    padding: 10px;
    text-align: left;
    border: 6px solid transparent !important;

}
.searches-table td {
    background-color: #fff !important;
    color: var(--e-global-color-text);
}


.search-type,
.search-date,
.search-progress {
    width: 100%;
    padding: 5px;
    border: 1px solid #fff;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.subscription-notice {
    color: #d63638;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .investisseur-content {
        flex-direction: column;
    }
    .investisseur-greeting {
        font-size: 1.5rem;
    }
    .new-search-button {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* Style pour le header personnalisé */
.custom-header-band {
    background-color: transparent;
    background-image: linear-gradient(251deg, var(--e-global-color-secondary) 26%, var(--e-global-color-text) 70%);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-band-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.header-left .header-logo {
    height: 82px;
    width: auto;
}


.user-section {
    position: absolute;
    top: -12%;
    right: 80px;
    text-align: center;
    background: var(--e-global-color-secondary);
    padding: 20px;
    width: 220px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.84);
    z-index: 1000;
}


.user-name {
    font-size: 21px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.menu-items li {
    margin-bottom: 5px;
    border-bottom: 1px solid #fff;
}

.menu-items li:last-child {
    border-bottom: none;
}

.menu-items li a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.menu-items li a:hover {
    color: #fff;
}

.fiche-detail-wrapper {
    width: 100%;
    padding: 20px;
    background: #dbdbdb;
}

.fiche-detail-container {
    max-width: 720px;
    padding: 20px;
    border-radius: 5px;
    margin: auto;
}

.fiche-detail-container h1 {
    text-align: center;
    margin-top: 75px;
    margin-bottom: 75px;
}

.fiche-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fiche-detail-item {
    box-sizing: border-box;
    background: #fff;
    padding: 10px;
    color: #000;
}
.fiche-detail-item p {
    margin: 0px !important;
}

.fiche-details {
    margin-top: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-left: 4px solid #1e3a8a;
}

.back-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #2a5298;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}

.back-button:hover {
    background-color: #1a2a6c;
}
.detail-logo{
    height: 100px;
    width: auto;
    text-align: center;
    display: block;
    margin: auto;
}

.fiche-detail-bottom-logo{
    margin-top: 10px;
    text-align: center;
}

.bottom-detail-logo{
    height: 120px;
    width: auto;
}

.fiche-gallery {
    margin-top: 20px;
}

.gallery-image {
    max-width: 200px;
    height: auto;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
}

.fiche-download {
    margin-top: 20px;
    text-align: center;
}

.download-button {
    background-color: var(--e-global-color-d41ca28);
    font-weight: 400;
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text);
    border-radius: 30px;
    border: none !important;
    padding: .5rem 1rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.button-save-account-details{
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    border-radius: 50px;
    padding: 10px 35px 10px 35px;
}

.button-save-account-details:hover{
    background-color: #1d5d90;
    color: #fff;
}

.email-confirmation{
    font-size: 15px;
}


@media (max-width: 768px) {
    .gallery-image {
        max-width: 100%;
        display: block;
        margin: 5px auto;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .custom-header-band {
        padding: 10px;
    }
    .header-band-container {
        flex-direction: column;
        align-items: center;
    }
    .user-section {
        position: static; /* Désactiver la superposition sur mobile */
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .user-name {
        font-size: 1.2rem;
    }
    .menu-items {
        text-align: center;
    }
    .menu-items li a {
        width: 100%;
        text-align: center;
    }
}


.page-template-investor-page  .subscription-item span.woocommerce-Price-currencySymbol {
    margin-left: 10px;
}

.page-template-investor-page  .woocommerce-form-coupon .validate-button {
    background-color: var(--e-global-color-d41ca28);
    font-weight: 400;
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text);
    border-radius: 30px;
    padding: .5rem 1rem;
    border: none;
}

.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.spinner-icon {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-template-page-commande .investisseur-wrapper {
    display: flex;
    justify-content: center;
}

.page-template-page-commande .woocommerce-checkout  h3 {
    color: #fff;
}

.page-template-page-commande .investisseur-wrapper .woocommerce {
    width: 80%;
}

.page-template-page-commande .woocommerce-checkout .col2-set-wrapper {
    display: flex;
    column-gap: 5%;
}

.woocommerce-checkout #customer_details .col-1 {
    width: 100%;
}

.page-template-page-commande  .woocommerce-checkout-payment #place_order {
    font-weight: 400;
    color: #000;
    font-family: 'Montserrat';
    border-radius: 50px;
    padding: 10px 35px 10px 35px;
    background-color: #fff;
}

.page-template-page-commande .wps_recurring_bifurcation_wrapper {
    display: none !important;
}


.page-template-page-commande #woocommerce-checkout-form-coupon {
    display: flex !important;
    justify-content: center;
    flex-direction: column;
}

.page-template-page-commande #woocommerce-checkout-form-coupon button {
    border-radius: 50px;
}




.woocommerce-billing-fields .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 12px;
}
#add_payment_method #payment div.payment_box, 
.woocommerce-cart #payment div.payment_box, 
.woocommerce-checkout #payment div.payment_box {
    background-color: #fff;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    content: "";
    display: block;
    border: 1em solid #fff;
    border-right-color: transparent !important;
    border-left-color: transparent !important;
    border-top-color: transparent !important;
}

.page-template-form-create-realestate-en .bien-form .form-field-radio span.label_radio, .page-template-form-create-realestate .bien-form .form-field-radio span.label_radio {
    color: #000;
}

.page-template-form-create-realestate-en .bien-form .form-field-radio, .page-template-form-create-realestate .bien-form .form-field-radio {
    display: flex;
    background-color: #fff;
    padding: 12px;
}

.page-template-form-create-realestate-en .form-field-radio .acf-radio-list, .page-template-form-create-realestate .form-field-radio .acf-radio-list {
    list-style: none;
    display: flex;
    column-gap: 15px;
    align-items: center;
}

.page-template-form-create-realestate-en .acf-radio-list input[type="radio"], .page-template-form-create-realestate .acf-radio-list input[type="radio"] {
    margin-right: 5px;
}

.page-template-form-create-realestate-en .form-field-radio li label, .page-template-form-create-realestate .form-field-radio li label{
    display: flex;
    color: #000;
    margin-bottom: 0;
}

.recap-container {
display: flex;
flex-direction: column;
width: 100%;
margin: 0 auto;
font-family: 'Montserrat';
}

.recap-header {
display: flex;
padding: 10px 0;
}

.recap-body {
display: flex;
flex-direction: column;
}

.recap-row {
display: flex;
padding: 5px 0;
gap: 10px
}

.recap-row.no-results {
justify-content: center;
}

.recap-title{
flex: 1 1 25%;
padding-left: 8px;
box-sizing: border-box;
display: flex;
align-items: center;
}
.recap-item {
flex: 1 1 25%;
padding: 2px 10px;
box-sizing: border-box;
display: flex;
align-items: center;
background: #ffffff;
color: #000000;
}

.button-column {
flex: 1 1 25%;
text-align: right;
display: flex;
justify-content: flex-end;
}

.recap-item.full-width {
flex: none;
width: 100%;
text-align: center;
}

.view-fiche-button {
text-decoration: none;
color: #fff;
background-color: var(--e-global-color-d41ca28);
color: var(--e-global-color-text);
fill: var(--e-global-color-text);
border-radius: 30px;
border: none;
padding: 5px 15px;
border-radius: 30px;
display: inline-block;
}

.view-fiche-button:hover {
background-color: #1d5d90;
color: #fff;
box-shadow: 0px 0px 10px 0px #000000a3;
}

@media (max-width: 768px) {
    .recap-body {
        gap: 20px;
    }
    .recap-header {
        display: none;
    }
    .recap-row {
        flex-direction: column;
        gap: 15px;
    }
    .view-fiche-button {
        margin: 0 auto;
    }
    .recap-title,
    .recap-item {
        flex: 1 1 100%;
        text-align: left;
        padding: 10px;
        position: relative;
    }

    .recap-title {
        display: none;
    }

    .recap-item.button-column {
        display: flex;
        justify-content: center;
        text-align: center;
        margin: 10px 0;
    }

    .recap-item.full-width::before {
        content: none;
    }
}