:root {
    --couleur-gris-liseret: #e4e4e7;
    --couleur-gris-clair: #f2f2f2;
    --gouttiereIsotope : 15px;

    --border-radius : 16px;
}


h2 {font-size: 24px; font-weight: 600; margin-bottom: 20px;}
h3 {font-size: 16px;font-weight: 400;margin-bottom: 20px;}
body {background-color:#ffffff}
    main {padding-bottom: 100px;}
    #outil.contientPage {padding : 0 30px; width: 100%; box-sizing: border-box; padding-top: 40px !important;}
    #outil.contientPage.choixActions {padding:0}
	.blocImageDelArtiste .marge {transition: all 0.2s}
	.blocImageDelArtiste .marge {border: 10px solid transparent;}
	.blocImageDelArtiste .marge img {border:0}
	.blocImageDelArtiste .marge.actif {border:10px solid #97F3B5;}
	.blocImageDelArtiste .marge.actif img {border:2px solid #ffffff}
    .margeJambeGaucheCol1 {padding: 0 var(--gouttiereIsotope) 0;}

    .jambeGauche ul {padding:0; list-style: none; padding-right: 20px;}
	
	
	#cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 80px;
        background: white;
        left: 0;
        box-sizing: border-box;
        border-top: 1px solid var(--couleur-gris-liseret);
        -webkit-box-shadow: 0px -9px 40px -14px rgba(0, 0, 0, 0.10);
        -moz-box-shadow: 0px -9px 40px -14px rgba(0, 0, 0, 0.10);
        box-shadow: 0px -9px 40px -14px rgba(0, 0, 0, 0.10);
    }

    .url-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: auto;
    }

    .portfolio-url {
        font-family: monospace;
        padding: 8px 12px;
        background: #f5f5f5;
        border-radius: 4px;
        color: #666;
        font-size: 14px;
    }

    .url-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: #f0f0f0;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .url-button:hover {
        background: #e0e0e0;
    }

    .url-button svg {
        width: 20px;
        height: 20px;
        fill: #666;
    }

    .btnDownload {float: none !important;
        color: white;
        background: #18181b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;}


#outil .contenuDroit .isotopImages {
    margin: calc(var(--gouttiereIsotope)* -1);
}
body.page-template-book_artiste_choix_images #outil .contenuDroit .isotopImages {
    margin: 0;
}



/* Style pour la modale */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    height: calc(100vh - 80px); /* Hauteur totale moins marges */
    overflow-y: auto; /* Permet le scroll */
}

.video-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.video-item {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Personnalisation de la barre de défilement */
.video-modal-content::-webkit-scrollbar {
    width: 8px;
}

.video-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.video-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.video-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.add-video-btn {
    position: absolute;
    bottom: 40px;
    right: 10px;
    background: #97F3B5;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.add-video-btn:hover {
    background: #7ad698;
}

.add-video-btn.added {
    background: #ccc;
    cursor: not-allowed;
}

/* Styles pour la grille isotope */
.isotopImages {
    width: 100%;
    margin: 0 var(--gouttiereIsotope);
}

body.page-template-book_choix_videos #outil .isotopImages .grid-sizer,
.blocVideoDelArtiste, body.page-template-book_artiste_choix_images #outil .isotopImages .grid-sizer, .blocImageDelArtiste {
    width: 33.33333333333333%;
}

.blocVideoDelArtiste .marge {
    margin: var(--gouttiereIsotope);
    position: relative;
}

.blocVideoDelArtiste video {
    width: 100%;
    display: block;
    background: #f5f5f5;
    border-radius: var(--border-radius);
}

.video-artist-name {
    margin-top: 10px;
    color: black;
    font-size: 14px;
}

.blocVideoDelArtiste {
    position: relative;
}

.remove-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.blocVideoDelArtiste:hover .remove-video-btn {
    opacity: 1;
}

.remove-video-btn:hover {
    background: rgba(255, 0, 0, 1);
}

.portfolio-header {
    display: flex;
    align-items: center;
    margin: 0 0 30px;
}

.back-arrow {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.back-arrow:hover {
    color: #97F3B5;
}

.back-arrow svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.portfolio-title {
    margin: 0;
    font-size: 30px;
    color: #333;
    font-weight: normal;
}

/* PAGE CHOIX DES ACTIONS SUR BOOK VIDEOS ET BOOK ARTISTES */
body.page-template-book_choix_actions_videos,
body.page-template-book_artiste_choix_actions,
body.page-template-home_outil,
body.page-template-book_choix_artistes {background-color:#fff; }

body.page-template-book_choix_actions_videos *,
body.page-template-book_artiste_choix_actions *,
body.page-template-home_outil *,
body.page-template-book_choix_artistes * {box-sizing: border-box;}

body.page-template-book_choix_actions_videos h1,
body.page-template-book_artiste_choix_actions h1,
body.page-template-home_outil h1,
body.page-template-book_choix_artistes h1 {font-size:80px; font-weight: 600; padding: 0 40px; margin-bottom:100px; line-height: 1;}

body.page-template-book_choix_actions_videos .watchout-tools,
body.page-template-book_artiste_choix_actions .watchout-tools,
body.page-template-home_outil .watchout-tools,
body.page-template-book_choix_artistes .watchout-tools {font-size:26px;}


body.page-template-book_choix_actions_videos #outil .jambeGauche,
body.page-template-book_artiste_choix_actions #outil .jambeGauche,
body.page-template-home_outil #outil .jambeGauche,
body.page-template-book_choix_artistes #outil .jambeGauche {
    width:50%;
    border-right: 1px solid #c0c0c0;
    height: 100%;
    padding:40px;
}

body.page-template-book_choix_actions_videos main,
body.page-template-book_artiste_choix_actions main,
body.page-template-home_outil main {
    padding-bottom:0;
}

body.page-template-book_choix_actions_videos #outil .contenuDroit,
body.page-template-book_artiste_choix_actions #outil .contenuDroit,
body.page-template-home_outil #outil .contenuDroit,
body.page-template-book_choix_artistes #outil .contenuDroit {
    width: 50%;
    padding:40px
}

body.page-template-book_choix_actions_videos #outil.contientPage,
body.page-template-book_artiste_choix_actions #outil.contientPage,
body.page-template-home_outil #outil.contientPage,
body.page-template-book_choix_artistes #outil.contientPage {
    max-width: 1200px;
    min-height: 100vh;
    background-color: transparent;
    margin: 0 auto;
   
}
body.page-template-book_choix_actions_videos .jambeGauche ul,
body.page-template-book_artiste_choix_actions .jambeGauche ul,
body.page-template-home_outil .jambeGauche ul,
body.page-template-book_choix_artistes .jambeGauche ul {
    list-style: none;
    padding: 0 40px;
    overflow-y: visible;
}
body.page-template-book_choix_actions_videos .jambeGauche ul li {
    padding:0;
    border-bottom: none;
    justify-content: flex-start;
}
body.page-template-book_artiste_choix_actions .jambeGauche ul li a {
    flex: inherit;
    text-decoration: none;
}

#outil.contientPage.choixActions {
    max-width: 100% !important;
}
#outil.contientPage.choixActions .contenuDroit, #outil.contientPage.choixActions .jambeGauche {
    padding:0;
    width:100%;
    border-top: 1px solid var(--couleur-gris-liseret);
    padding-top: 10px;
    margin-top:40px;
}

#outil.contientPage.choixActions h2 {
    width:50%;
    font-size: 16px;
    font-weight: 600;
    padding: 0 40px;
}

#outil.contientPage.choixActions .jambeGauche, #outil.contientPage.choixActions .contenuDroit {
    width: 100%;
}

/* PAGE CHOIX DES VIDEOS */
body.page-template-book_choix_videos #outil .contenuDroit,
body.page-template-book_artiste_choix_videos #outil .contenuDroit,
body.page-template-book_artiste_choix_images #outil .contenuDroit,
body.page-template-book_artiste_choix_images #outil .contenuDroit {
    width: 80%;
}


/* HEADER OUTILS*/

.portfolio-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-radius: 8px;
    justify-content: space-between;
    border-top: 1px solid var(--couleur-gris-liseret);
    border-bottom: 1px solid var(--couleur-gris-liseret);
}

.back-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--couleur-gris-clair);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.back-arrow:hover {
    background: #000000;
}
.back-arrow:hover path {
    fill: #fff;
}

.back-arrow svg {
    width: 24px;
    height: 24px;
    fill: #333;
}

.create-portfolio-form {
    display: flex;
    width: 50%;
    gap:15px;
    padding: 0 40px;

}


#outil .listeOutils h2 {
    font-size:30px !important;
    padding: 0 !important;
    margin-bottom: 0;
}
#outil .listeOutils .blocOutil {
    padding: 0 40px;
    margin-bottom: 40px;
    border-top: 1px solid var(--couleur-gris-liseret);
}
body.page-template-home_outil #outil.contientPage.choixActions .contenuDroit {
    border-top: none;
}