/***
    Couleurs utilisées — Charte Fondation PFG

    Bleu PFG: #32285a
    Orange PFG: #c54f31
    Vanille: #fff0be
    Jaune logo: #fde735
    Jaune accent: #ffc35a
    Lavande: #dcd2dc
    Corail: #e1a5a5
    Abricot: #f0c8a0
    Rouge PFG: #9a3b49
***/

:focus {
    outline: 2px solid blue !important;
}

/* Fix modal-header : rétablir flex pour Bootstrap 5 (override essentials.css display:block) */
.modal-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

/*Jvector Map*/

.jvectormap-goback{
    top: 10px;
    bottom: inherit;
    background: #32285a;
    z-index: 999;
}

.jvectormap-goback:hover{
    background: #32285a;
}


div.vector-map{
    background-color: transparent;
    border: none;
}

/* Général*/
section {
    padding: 40px 0;
}
.ls-overflow-visible{
    padding: 0 !important;
}

a:hover {
    color: #FFF !important;
}

#contact-links a, #contact-links a:hover {
    color: #999946 !important;
}



.mouseOverWhite:hover {
    color: #fff !important;
}


blockquote {
    font-size: 1.1em !important;
    margin-top: 10px !important;
}

.btn>i.fa-spin{
    padding: 0px;
}
.btn-success{
    background-color: #32285a !important;
    border-color:  #32285a !important;
}

.btn-success:hover{
    background-color: #c54f31 !important;
    border-color:  #c54f31 !important;
}

.btn-translucid:hover {
    background-color: #FFF;
}

.btn-xlg {
    padding: 5px 0;
}
.btn-default{
    background-color: #32285a;
    color: #FFF;
    border: none;
}
.btn-default:hover{
    background-color: #32285a;
    color: #FFF !important;
}

.btn-default.focus, .btn-default:focus{
    background-color: #32285a;
    color: #FFF;
    border: none;
}


.btn-default[disabled], .btn-default.disabled.focus, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled].focus, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover{
    background-color: #32285a !important;
    color: #FFF !important;
}


.btn-inverse{
    background-color: #32285a;
    color: #FFF;
    border: none;
}
.btn-inverse:hover{
    background-color: #32285a;
    color: #FFF !important;
}

.btn-inverse.focus, .btn-inverse:focus{
    background-color: #32285a;
    color: #FFF;
    border: none;
}


.btn-inverse[disabled], .btn-inverse.disabled.focus, .btn-inverse.disabled:focus, .btn-inverse.disabled:hover, .btn-inverse[disabled].focus, .btn-inverse[disabled]:focus, .btn-inverse[disabled]:hover, fieldset[disabled] .btn-inverse.focus, fieldset[disabled] .btn-inverse:focus, fieldset[disabled] .btn-inverse:hover{
    background-color: #32285a !important;
    color: #FFF !important;
}


#slider:not(.custom-form) .btn-default, .slider .btn-default {
    background: #32285a
}

.btn-green {
    background-color: #32285a !important;
}

.btn-orange {
    background-color: #c54f31 !important;
}

.btn-red{
    background-color: #9a3b49 !important;
}




.media:first-child{
    margin-top: 15px !important;
}





.PostSlider-Title, .tp-caption.PostSlider-Title{
    font-family: 'Albert Sans', sans-serif;
}

.orange {
    color: #32285a !important;
}

.border-orange{
    border: 1px solid #32285a !important;
    padding: 5px !important;
}

.search-result i {
    color: #32285a !important;
}

/* Modal */
.modal {
    background-color: rgba(0, 0, 0, 0.5);
}
.modal-title{
    margin-right: 20px;
}



/* Home Slider */

.homeSliderLink{
    color: #FFF !important;
}

.homeSliderLink:hover {
    color: #FFF !important;
    text-decoration: underline
}

/* Callout */
/*
.callout{
    background-color: #fff0be !important;
    color: #FFF !important;
    border-left: 5px solid #32285a !important;
}
*/

.callout-dark p{
    color: #FFF !important;
}

/* Tabs */



#contentMap .tab-pane {
    overflow-y: scroll !important;
    height: 520px !important;
}




/*Tool tips*/
.tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    white-space: normal;
    filter: alpha(opacity=0);
    opacity: 0;

    line-break: auto;
}
.tooltip.in {
    filter: alpha(opacity=100);
    opacity: 1;
}
.tooltip.top {
    padding: 5px 0;
    margin-top: -3px;
}
.tooltip-inner {
    background-color: #32285a;
}

.tooltip.top .tooltip-arrow, .tooltip.top-left .tooltip-arrow, .tooltip.top-right .tooltip-arrow {
    border-top-color: #32285a;
}
.tooltip.right .tooltip-arrow {
    border-right-color: #32285a;
}
.tooltip.left .tooltip-arrow {
    border-left-color: #32285a;
}
.tooltip.bottom .tooltip-arrow, .tooltip.bottom-left .tooltip-arrow, .tooltip.bottom-right .tooltip-arrow {

    border-bottom-color: #32285a;
}

.modal-extralg{
    width: 70%;
}



/*
Formulaires
*/


input.err, input.error, textarea.err, textarea.error, select.err, select.error {
    border: #9a3b49 2px dashed !important;
    background-color: rgba(154, 59, 73, 0.05) !important;
}

#steps .sky-form .btn {
    margin: 10px 0 0 0;
    font-weight: 600;
}

#steps .sky-form .btn>span{
    font-weight: 400;
}


#steps .sky-form .btn>i{
    position: absolute;
    font-size: 40px;
    top: 7px;
}

#steps .sky-form .btn .lefti {
    left: 10px;
}
#steps .sky-form .btn .righti {
    right: 10px;
}

.sky-form fieldset {
    margin-bottom: 0px !important;
    padding: 0px !important;
}

form em {
    font-size: 1em;
}

form.validate p.error {
    position: absolute;
    bottom:-55px;
    left: 44px !important;
    background-color:#32285a;
    color:#fff;
    left:0;
    z-index:10;
    font-size:11px;
    font-weight:400;
    padding:3px;;

}

form.validate p.error_pj, form.validate p.error_ed {
    display: none;
    position: relative;
    top: 0;
    color: #9a3b49;
    background-color: rgba(154, 59, 73, 0.08) !important;
    border-color: rgba(154, 59, 73, 0.25) !important;
    border-left-color: #9a3b49;
    border-width: 1px;
    border-left-width: 5px;
    border-radius: 3px;
    padding: .75rem 1.25rem !important;
    margin-bottom: 1rem !important;
    font-size: 14px;
}

#form-comment .row{
    margin: 0 !important;
}

form label {
    font-weight: normal !important;
    font-size: 1.1em !important;
    padding: 10px 0;
}
form.validate label.error{
    /*background-color: #32285a !important;*/

}

form h4{
    font-size: 1.2em !important;
    margin-bottom: 0px !important;
}

.select2-container--default .select2-selection--multiple{
    border: #ddd 2px solid !important;
    border-radius: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #32285a;
    border: none;
    font-weight: 700;
    color: #FFF;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    color: #FFF
}

.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background-color: #32285a;
}
.select2-container--default .select2-results__option[aria-selected=true]{
    background-color: #32285a;
    color: #FFF
}

.select2-search--inline{
    width: auto;
}
.select2-search__field{
    width: auto;
}

.select2-selection.select2-error{
    border: #9a3b49 2px dashed !important;
    background-color: rgba(154, 59, 73, 0.05) !important;
}


.formModal label{
    display: inline
}


#footer h2 {
    color: #393E41 !important;
    font-weight: 600 !important;
    font-size: 1.1em !important;
    margin-bottom: 25px !important;
    text-shadow: none !important;
}

#footer form input, #footer form textarea{
    color: #000;
}


form p em {
    font-weight: normal !important;
}

input[type="text"]{
    display: inline-block !important;
}

input[type="text"].hide{
    display: none !important;
}


.password + .unmask {
    position:absolute;
    right: 50px; top: -15px;
    width: 25px;
    height: 25px;
    text-indent: -9999px;
    background: #aaa;
    border-radius: 50%;
}
.password + .unmask:before {
    content: "";
    position:absolute;
    top:4px; left:4px;
    z-index:1;
    width: 17px;
    height: 17px;
    background: #e3e3e3;
    border-radius: 50%;
}
.password[type="text"] + .unmask:after {
    content: "";
    position:absolute;
    top:6px; left:6px;
    z-index:2;
    width: 13px;
    height: 13px;
    background: #aaa;
    border-radius: 50%;
}


.final_form_reusable {
    background-color: #508484 !important;
    color: #FFF !important
}

.final_form_reusable:disabled{
    background-color: #508484 !important;
    opacity: 0.7;
    color: #FFF !important
}



.final_form_reusable + .select2-container--default.select2-container--disabled .select2-selection--single{
    background-color: #508484 !important;
    opacity: 0.7;
}

.final_form_reusable::placeholder, .final_form_reusable.error::placeholder{
    color: #FFF !important;
}

.final_form_reusable + .select2-container--default .select2-selection--single .select2-selection__rendered{
    background-color: #508484 !important;
    color: #FFF !important
}

.final_form_reusable + input.err,
.final_form_reusable + input.error,
.final_form_reusable + textarea.err,
.final_form_reusable + textarea.error,
.final_form_reusable + select.err,
.final_form_reusable + select.error{
    background-color: #508484 !important;
    color: #FFF !important;
}

.final_form_reusable .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #FFF
}

/*example line*/
.exampleLine{
    background-color: #eee;
    font-style: italic
}


/*
Tabs
*/

/*
.nav-tabs, .nav-tabs.nav-justified{
    border-bottom: none !important;
}
*/

#artistDetails .nav-tabs, #artistDetails .nav-tabs.nav-justified{
    border-bottom: 1px solid #eee !important;
}

.nav-tabs .nav-link {
    border: 1px solid #ddd;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #90489a !important;
    color: #FFF !important;
    border-color: #90489a !important;
}


/*
Navigation
*/
#toTop {
    background-color: #32285a;
    padding: 10px !important;
    width: 50px !important;
    height: 50px !important;
}
#toTop:hover {
    background-color: #32285a;
}



/*
Header / Heading
*/

#topMain>.dropdown, #topMain>.menuElements {
    font-size: 16px;
}

#topMain>.dropdown-menu li {
    font-size: 14px;
}

#topNav {
    z-index: 1001;
}

#topMain.nav-pills>li>a.dropdown-toggle, #topNav #topMain>li.mega-menu>ul{
    /*border-radius: 4px;*/
}

#topNav div.submenu-dark ul.dropdown-menu{
    background-color: #32285a;
    border: 1px solid #32285a;
}

#topNav div.submenu-dark #topMain>li.mega-menu div.row div>ul>li>span{
    color: #F6F5AE;
}


#topNav div.submenu-dark ul.dropdown-menu>li a{
    color: #F5EFED;
}

#topNav div.submenu-dark ul.dropdown-menu>li a:hover, #topNav div.submenu-dark ul.dropdown-menu>li a:focus{
    color: #FFF !important;
}

#header li.search .search-box{
    width: 600px;
}
#topMain.nav-pills>li:hover>a, #topMain.nav-pills>li:focus>a,#topMain.nav-pills>li.active>a{
    background-color: #32285a;
    color: #FFF !important;
}






#topMain.nav-pills>li.active>a:hover, #topMain.nav-pills>li>a:hover{
    color: #FFF !important;
}


div.heading-title.heading-border-bottom {
    border-bottom: #32285a 2px solid;
}

section.page-header {
    padding: 20px 0;
}



.lead {
    margin-bottom: 40px
}

#topNav ul.nav-pills>li>a>img.flag-lang{
    float: left;
    margin-top: 3px;
    margin-right: 6px;
}

div.heading-title.heading-line-single:before{
    border-top: #195EA6 1px solid !important
}


/**
    Breadcrumb
**/
.breadcrumb>li{
    font-size: 0.9rem !important;
}
section.page-header .breadcrumb a{
    text-decoration: underline !important;
}

section.page-header .breadcrumb a:hover{
    color: #FFF !important;
}

.breadcrumb>li{
    color: #FFF !important;
}

.breadcrumb>li.active{
    color: #FFF !important;
}



/**
Footer
**/


#footer {
    color: rgba(0,0,0,0.6) !important;

    background: #fff0be;
}

#footer a {
    color: rgba(0,0,0,0.6) !important;
}

#footer ul.footer-links>li>a {
    color: rgba(0,0,0,0.6) !important;
}

#footer ul.footer-links>li>a:hover {
    color: #32285a !important;
}

#footer>.copyright{
    background-color: #32285a;
    color: #fff0be;
}
#footer>.copyright a{
    color: #fff0be !important;
}

#footer a:hover{
    color: #32285a !important;
}

#footer>.copyright a:hover{
    color: #000 !important;
}

#footer form .input-group-addon,
#footer form .input-group-text{
    color: #fff0be;
    background-color: #32285a;
    border-color: #32285a;
}

#footer form input, #footer form textarea{
    background-color: #FFF;
    border-color: #32285a;
}

#footer form input[type="submit"]:hover, #footer form input:focus, #footer form textarea:focus{
    background-color: #FFF;
}

#footer ul.footer-posts>li{
    border-bottom: 1px rgba(0,0,0,0.7) dashed;
}

/***
Sections
***/
section.page-header{
    background-color: #32285a;
}
section.page-header h1{
    color: #FFF;
}
section.page-header .breadcrumb a{
    color: #FFF;
}


/*
.box-icon {
    margin: 0 auto !important;
}
*/

.box1 {
    background-color: #32285a !important;;
    color: #FFF !important;
    padding: 20px !important;
}

.box1 a{
    background-color: #32285a !important;
    color: #FFF !important;
}

.box1 a:hover{
    background-color: #FFF !important;
    color: #32285a !important;
}

.box2 {
    background-color: #32285a !important;;
    color: #FFF !important;;
}
.box-icon-title>i{
    color: #FFF !important;
}

.box-icon.box-icon-round .box-icon-title>i{
    background-color: #90489a !important;
}



.box-blue>div:nth-child(1) {
    background-color:#32285a;
}
.box-blue>div:nth-child(2) {
    background-color:rgba(0,0,0);
}
.box-blue>div:nth-child(3) {
    background-color: #32285a;
}
.box-blue>div:nth-child(4) {
    background-color:rgba(0,48,73,.7);
}

.box-blue>div:hover{
    background-color:#32285a;
    cursor: pointer;
}

.box-grey{
    background-color: #d8d9da !important;
}

/*
labels
*/
span.badge-default, span.label-default, .list-group-item.active>.badge.badge-default{
    background-color: #32285a !important;
}

.list-group-item{
    padding: 4px 15px !important;
}

.list-group-item-heading{
    font-size: 15px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
}




/* Modification du portfolio pour avoir une grid avec des lignes de même hauteur*/
#portfolio.portfolio-gutter .item-box .item-box-desc {
    min-height: 100px !important
}
#portfolio.portfolio-gutter .item-box{
    margin-bottom: 45px !important;
}

#portfolio fieldset{
    float: left;
}

#portfolio select{
    height: 50px;
    margin-right: 10px;
}

#portfolio.portfolio-gutter .item-box .item-box-desc .short-description {
    min-height: 100px;
}

#portfolio.portfolio-gutter .item-box .toolInfos h3 {
    min-height: 50px;
}

#portfolio.portfolio-gutter .item-box .toolInfos p {
    margin: 20px 0 10px 0
}

#portfolio.portfolio-gutter .item-box .toolInfos .toolLabel {
    min-height: 50px;
}


/* Modification des réglages des posts*/
.blog-post-item{
    margin-bottom: 20px;
    padding-bottom: 20px;
    border: none;
}

#blog .blog-post-item h2{
    min-height: 70px
}

.list-userContribution{
    padding-left: 10px
}

p.abstract{
    min-height: 200px;
    margin-bottom: 20px !important;
}



/*

*/
.price-clean {
    padding: 2px;
}

/*
Modification des media queries
*/


@media only screen and (max-width: 960px) {
    section {
        padding: 40px 0 0 0;
    }
    section div.row>div {
        margin-bottom: 30px;
    }


}


#presentation-evenement{
    background-color: rgba(50,40,90,1);
    background-position: right top;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-size:cover !important;
    color: #FFF !important;
}


#tableau tr, #tableauTheme tr {
    border: 1px solid #000;
}

#tableau th, #tableauTheme th {
    border: 1px solid #000;
    padding: 10px;
}

#tableau td, #tableauTheme td {
    border: 1px solid #000;
    text-align: center;
}

/*
Horizontal timeline
 */

/*
Media queries
 */
/*Tablette*/

/* Smartphones (portrait and landscape) ----------- */

h2 {
    font-size: 2.5em !important;
}

.list-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

a.evitement {
    display: inline-block;
    color: #555;
    background: #fff;
    padding: .5em;
    position: absolute;
    left: -99999rem;
    z-index: 10000;
}
a.evitement:focus {
    left: 0;
}

@media (max-width: 575.98px){
    .fs-20 {
        font-size: 1.25em !important;
    }
    .fs-30 {
        font-size: 1.2em !important;
    }
    .fs-18 {
        font-size: 0.9em !important;
    }


    .ribbon .ribbon-inner {
        width: 160px;
        left: 8px;
        top: 22px;
        font-size: 0.7em;
        padding: 1px 0 !important;
    }
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .row h1{
        padding-left: 20px
    }

    section div.row>div {
        margin-bottom: 0px;
    }
    .legende ul {
        margin-bottom: 0px;
    }

}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .row h1{
        padding-left: 20px
    }

    section div.row>div {
        margin-bottom: 0px;
    }
    .legende ul {
        margin-bottom: 0px;
    }

    section div.row>div {
        margin-bottom: 0px;
    }
    .legende ul {
        margin-bottom: 0px;
    }

}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {


}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    #mySlider {
        height: 400px;
    }

    .legende {
        padding-top: 100px;
        margin: 0;
    }

    .fs-20 {
        font-size: 1.25em !important;
    }
    .fs-30 {
        font-size: 1.2em !important;
    }
    .fs-18 {
        font-size: 0.9em !important;
    }

}



.wrapperYoutube {
    /*max-width: 680px;*/
    padding: 20px 0;
    background-color: #000;
}

.youtube {
    background-color: #000;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
}
.youtube img {
    width: 100%;
    top: -16.82%;
    left: 0;
    opacity: 0.7;
}
.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}





/* Test */
.tracking-in-expand {
    -webkit-animation: tracking-in-expand 1.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
    animation: tracking-in-expand 1.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.slide-in-tl {
    -webkit-animation: slide-in-tl 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
    animation: slide-in-tl 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1s both;
}


.bg-blue {
    background-color: #32285a !important;
}
.bg-pink{
    background-color: #9a3b49 !important;
}

.bg-green{
    background-color: #04a98b !important;
}

.nav-tabs .nav-item.show .nav-link-pink, .nav-tabs .nav-link-pink.active {
    background-color: #9a3b49 !important;
    color: #FFF !important;
    border-color: #9a3b49 !important;
}

.nav-tabs-pink>li>a.active {
    color: #FFF !important;
}

.box-icon.box-icon-round .box-icon-title .box-icon-blue{
    background-color: #32285a !important;
}

.box-icon.box-icon-round .box-icon-title .box-icon-pink{
    background-color: #9a3b49 !important;
}

.nav-tabs .nav-item.show .nav-link-blue, .nav-tabs .nav-link-blue.active {
    background-color: #32285a !important;
    color: #FFF !important;
    border-color: #32285a !important;
}

.nav-tabs-blue>li>a.active {
    color: #FFF !important;
}


.process-wizard-primary > .process-wizard-step > .process-wizard-dot-pink,
.process-wizard-primary > .process-wizard-step > .progress > .progress-bar-pink  {
    background-color: #9a3b49 !important;
}

.process-wizard-primary > .process-wizard-step > .process-wizard-dot-blue,
.process-wizard-primary > .process-wizard-step > .progress > .progress-bar-blue  {
    background-color: #32285a !important;
}

.process-wizard>.process-wizard-step.disabled>.process-wizard-dot {
    background-color:#f5f5f5 !important;
}

section.page-header-pink {
    background-color: #9a3b49 !important;
}

section.page-header-blue {
    background-color: #32285a !important;
}

div.heading-title.heading-border-bottom-pink{
    border-bottom: #9a3b49 2px solid !important;
}

div.heading-title.heading-border-bottom-blue{
    border-bottom: #32285a 2px solid !important;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-1-17 13:41:58
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation tracking-in-expand
 * ----------------------------------------
 */
@-webkit-keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}
@keyframes tracking-in-expand {
    0% {
        letter-spacing: -0.5em;
        opacity: 0;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes slide-in-tl {
    0% {
        -webkit-transform: translateY(-1000px) translateX(-1000px);
        transform: translateY(-1000px) translateX(-1000px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0) translateX(0);
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
}
@keyframes slide-in-tl {
    0% {
        -webkit-transform: translateY(-1000px) translateX(-1000px);
        transform: translateY(-1000px) translateX(-1000px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0) translateX(0);
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
}

/*
Essentials
 */
.nopadding 			{ padding:0 !important; 		}
.nopadding-left 		{ padding-left:0 !important; 	}
.nopadding-right 	{ padding-right:0 !important; 	}
.nopadding-top 		{ padding-top:0 !important; 	}
.nopadding-bottom	{ padding-bottom:0 !important; 	}
.nomargin 			{ margin:0 !important; 			}
.nomargin-left 		{ margin-left:0 !important; 	}
.nomargin-right 		{ margin-right:0 !important; 	}
.nomargin-top		{ margin-top:0 !important; 	}
.nomargin-bottom	{ margin-bottom:0 !important; 	}
.noborder 			{ border:0 !important; 			}
.nobg				{ background:transparent; 		}


/*
Accessibilité
 */

.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

.sr-only-focusable:focus {
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    margin: auto !important;
    overflow: visible !important;
    width: auto !important;
    white-space: normal !important;
}


/*
Toggle
 */
.toggle.toggle-bordered-full button:hover, .toggle.toggle-bordered-full button {
    border: #ccc 1px solid;
    border-bottom: 0;
    margin: 0;
    background: transparent;
    display: block;
    text-align: left;
    width: 100%;
}

.toggle.toggle-bordered-full div.toggle:last-child>button {
    border-bottom: #ccc 1px solid
}

div.toggle>button:before {
    content: '';
    border: 6px solid transparent;
    border-top-color: inherit;
    position: absolute;
    top: 50%;
    right: 14px;
    margin-top: -3px
}

div.toggle>button {
    color: #333;
    background: rgba(0,0,0,.1);
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 20px;
    position: relative;
    display: block;
    border-bottom: rgba(0,0,0,.03) 1px solid;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all .10s ease-out;
    -moz-transition: all .10s ease-out;
    -o-transition: all .10s ease-out;
    transition: all .10s ease-out;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}


/* BS5 compat aliases */
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.card-header .btn{
    white-space: normal !important;
}

.hiddenElement {
    visibility: hidden !important
}



#formPiecesJustificatives label.error{
    background-color: #9a3b49 !important;
    left: 200px;
    width: 202px;
    padding: 5px 10px;
    font-size: 1em;
    top: 0px;
    height: 30px;
}


/*
Upload
 */

.upload-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.upload-section {
    padding: 20px 20px 0 20px;
    border: 2px dashed #FFF;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    background-color: #eee;
    color: #OOO;
}

.upload-container {
    position: relative;
    margin-top: 30px;
}

.upload-section-message {
    position: absolute;
    top: -22px;
    left: 0;
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.8em;
}

.upload-section-message-non-mandatory {
    color: #FFF;
    background-color: #c54f31;
}

.upload-section-message-mandatory {
    background-color: #198754;
    color: #FFF;
}


.upload-section.show-drag {
    border-color: #3399ff;
    background-color: #e8f4ff;
}

.upload-section.highlight {
    border-color: #007bff;
    background-color: #e0f0ff;
}

.upload-form {
    margin: 0px !important;
}

.progress {
    height: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}

.progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);
    transition: width .4s ease;
}

input[type="file"] {
    display: none;
}

.custom-file-labels {
    display: inline-block;
    padding: 8px 16px;
    background-color: #337ab7;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

button[type="submit"] {
    padding: 8px 16px;
    margin-top: 10px;
    background-color: #32285a;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


.upload-result {
    margin: 20px;
}

.upload-success {
    border: 4px solid #32285a;
    color: #000;
}

.upload-section-message-success {
    background-color: #32285a;
    color: #FFF;
}

.upload-failed {
    background-color: #9a3b49;
    color: #FFF;
}

.upload-missing {
    border: 4px dashed #9a3b49;
}

.upload-status {
    color: #FFF;
    font-size: 2em;
    padding: 0 10px;
    border-radius: 4px;
    display: none;
}
#upload-status-missing, #upload-status-over {
    background-color: #9a3b49;
}

#upload-status-no-folder {
    background-color: #dc3545;
}

#upload-status-waiting{
    background-color: #c54f31;
}

#upload-status-validate, #upload-status-over-ok{
    background-color: #32285a;
}

.osano-cm-link, .osano-cm-link:hover  {
    color: #32285a !important;
}



/*
Admin
 */



.header {
    background: linear-gradient(135deg, #32285a, #1C5EA6);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
    margin-bottom: 10px;
}

.tab {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.tab:hover:not(.active) {
    background: rgba(50, 40, 90, 0.08);
    color: #32285a;
}

.tab.active {
    color: #32285a;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tab.active::after {
    display: none;
}

.tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    margin-bottom: 40px;
    line-height: 1rem !important;
}

.section-title {
    margin: 0 0 20px 0;
    padding-left: 20px;
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    margin: 0 !important;
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #32285a, #1C5EA6);
    border-radius: 2px;
    flex-shrink: 0;
}

.current-projects {
    display: grid;
    gap: 20px;
}


.project-card {
    /*border: 1px solid #94a3b8;*/
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.border-pink {
    border: 3px solid #9a3b49 !important;
}

.border-blue {
    border: 3px solid #32285a !important;
}

.border-green {
    border: 3px solid #04a98b !important;
}


.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.project-header {
    display: flex;
    justify-content: between;
    align-items: start;
    margin-bottom: 20px;
    gap: 20px;
}

.project-info {
    flex: 1;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.project-id {
    font-size: 0.9rem;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
}

.status-badge {
    display: inline-block; /* ← Clé pour éviter l'étirement */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
}

.status-notstarted {
    background: #eee;
    color: #696969;
}

.status-incomplete {
    background: #fef3c7;
    color: #A75B04;
}

.status-complete {
    background: rgba(50, 40, 90, 0.1);
    color: #32285a;
}

.status-refused {
    background: #9a3b49;
    color: #fff;
}

.status-uptodate {
    background: #dbeafe;
    color: #2563eb;
}

.project-details {
    display: flex;                    /* ← CHANGÉ: Grid → Flex */
    flex-wrap: wrap;                  /* ← AJOUTÉ: Retour à la ligne */
    gap: 20px;                        /* ← MODIFIÉ: 16px → 20px */
    margin-bottom: 20px;
    padding: 16px;                    /* ← AJOUTÉ: Padding interne */
    background: #f8fafc;              /* ← AJOUTÉ: Fond gris clair */
    border-radius: 8px;               /* ← AJOUTÉ: Coins arrondis */
    text-align: center;
}

.detail-item {
    min-width: 120px;                 /* ← AJOUTÉ: Largeur minimale */
    flex: 1;                          /* ← AJOUTÉ: Répartition équitable */
}

.detail-item:first-child {            /* ← NOUVEAU: Priorité au nom */
    flex: 2;                          /* ← AJOUTÉ: Double largeur */
    min-width: 200px;                 /* ← AJOUTÉ: Plus d'espace pour le nom */
    text-align: left;
}

.detail-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;        /* ← AJOUTÉ: Majuscules */
    letter-spacing: 0.5px;            /* ← AJOUTÉ: Espacement lettres */
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    word-wrap: break-word;            /* ← AJOUTÉ: Coupe les mots longs */
    hyphens: auto;                    /* ← AJOUTÉ: Césure automatique */
    line-height: 1.3;                 /* ← AJOUTÉ: Hauteur de ligne */
}

.action-button {
    background: linear-gradient(135deg, #32285a, #1C5EA6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(50, 40, 90, 0.3);
}

.download-icon {
    display: inline-block;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px;
    border-radius: 4px;
    font-size: 1.5rem;
}

.download-icon:hover {
    color: #32285a;
    background: #f1f5f9;
    transform: translateY(-1px);
}

.terminated-projects {
    display: grid;
    gap: 30px;
}

.terminated-project {
    background: white;
    border: 1px solid #94a3b8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.terminated-project-header {
    background: #f8fafc;
    padding: 20px 24px;
    border-bottom: 1px solid #94a3b8;
    display:flex;align-items:center;
}

.terminated-project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.data-table th:nth-child(1),
.data-table td:nth-child(1) {
    width: 12%;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) {
    width: 30%;
}

.data-table th:nth-child(3),
.data-table td:nth-child(3) {
    width: 8%;
}

.data-table th:nth-child(4),
.data-table td:nth-child(4) {
    width: 12%;
}

.data-table th:nth-child(5),
.data-table td:nth-child(5) {
    width: 23%;
}

.data-table th:nth-child(6),
.data-table td:nth-child(6) {
    width: 15%;
    text-align: center;
}

.data-table th {
    background: #f1f5f9;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    border-bottom: 1px solid #94a3b8;
}

.data-table td {
    padding: 16px;
    /*border-bottom: 1px solid #94a3b8;*/
    color: #1e293b;
}

.data-table tr:hover {
    background: #f8fafc;
}

.project-actions {
    padding: 20px 24px;
    background: #f8fafc;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.secondary-button {
    background: white;
    color: #32285a;
    border: 2px solid #32285a;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-button:hover {
    background: #32285a;
    color: white;
}

.download-icon {
    display: inline-block;
    margin-left: 8px;
}

.project-table-container {
    margin: 20px 0;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #94a3b8;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.project-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    border-bottom: 1px solid #94a3b8;
}

.project-table td {
    padding: 16px;
    border-bottom: 1px solid #94a3b8;
    vertical-align: middle;
}

.project-table tr:last-child td {
    border-bottom: none;
}

.form-button {
    background: linear-gradient(135deg, #32285a, #1C5EA6);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.form-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.attachment-button {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #94a3b8;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem !important;
}

.attachment-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.project-actions-bottom {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #94a3b8;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: white;
    border: 2px solid #94a3b8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.action-btn:hover {
    border-color: #32285a;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.action-icon {
    font-size: 1.5rem;
    display: block;
    color: #64748b;
}

.action-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
}

.action-btn:hover .action-text {
    color: #32285a;
}

.action-btn:hover .action-icon {
    color: #32285a;
}

.action-btn.disabled {  /* ← Nouveau bloc ajouté */
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.action-btn.disabled .action-icon,  /* ← Nouveau bloc ajouté */
.action-btn.disabled .action-text {
    color: #94a3b8;
}



.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.workflow-container {
    margin: 20px 0;
    padding: 24px;
    background: white;
    /*border: 1px solid #94a3b8;*/
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #94a3b8;;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #94a3b8;
    z-index: 1;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 10px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 3px solid #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.workflow-step.active .step-circle {
    background: #32285a;
    border-color: #32285a;
    color: white;
}

.workflow-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.step-action {
    margin-top: 8px;
}

.step-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.password-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-input:focus {
    outline: none;
    border-color: #4f46e5;
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: #4f46e5;
}

.save-button {
    background: linear-gradient(135deg, #32285a, #1C5EA6);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(50, 40, 90, 0.3);
}

.error-message {
    color: #9a3b49;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
    padding: 6px 12px;
    background: rgba(154, 59, 73, 0.08);
    border: 1px solid rgba(154, 59, 73, 0.25);
    border-radius: 4px;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

.form-input.error {
    border-color: #9a3b49;
    background: rgba(154, 59, 73, 0.05);
}

.form-input.error:focus {
    border-color: #9a3b49;
    box-shadow: 0 0 0 3px rgba(154, 59, 73, 0.1);
}

/*
Mes documents
 */

.documents-container {
    max-width: 1200px;
    margin: 0 auto;
}


.documents-main-title {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.documents-main-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 2px;
    flex-shrink: 0;
}

.document-section {
    margin-bottom: 50px;
}

.document-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    font-style: italic;
}

.no-documents {
    padding: 48px 32px;
    text-align: center;
    background: linear-gradient(135deg, #f8f7fc 0%, rgba(255, 240, 190, 0.2) 100%);
    border: 2px dashed #dcd2dc;
    border-radius: 12px;
}

.no-documents .no-documents-icon {
    font-size: 2.5rem;
    color: #dcd2dc;
    margin-bottom: 16px;
}

.no-documents .no-documents-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #32285a;
    margin-bottom: 8px;
}

.no-documents .no-documents-text {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}

.documents-table-container {
    background: white;
    border: 1px solid #94a3b8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.documents-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.documents-table th:nth-child(1),
.documents-table td:nth-child(1) {
    width: 12%;
}

.documents-table th:nth-child(2),
.documents-table td:nth-child(2) {
    width: 30%;
}

.documents-table th:nth-child(3),
.documents-table td:nth-child(3) {
    width: 15%;
}

.documents-table th:nth-child(4),
.documents-table td:nth-child(4) {
    width: 8%;
}

.documents-table th:nth-child(5),
.documents-table td:nth-child(5) {
    width: 25%;
}

.documents-table th:nth-child(6),
.documents-table td:nth-child(6) {
    width: 10%;
    text-align: center;
}

.documents-table th {
    background: #f8fafc;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    border-bottom: 1px solid #94a3b8;
}

.documents-table td {
    padding: 16px;
    border-bottom: 1px solid #94a3b8;
    color: #1e293b;
    vertical-align: middle;
}

.documents-table tr:last-child td {
    border-bottom: none;
}

.documents-table tr:hover {
    background: #f8fafc;
}

.download-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.download-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.document-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }

    .tab {
        text-align: center;
    }

    .project-header {
        flex-direction: column;
        gap: 12px;
    }

    .project-details {
        flex-direction: column;
        gap: 12px;
    }

    .detail-item:first-child {
        flex: 1;
        min-width: auto;
    }

    .project-actions {
        flex-direction: column;
    }

    .workflow-steps {
        flex-direction: column;
        gap: 20px;
    }

    .workflow-steps::before {
        display: none;
    }

    .workflow-step {
        flex-direction: row;
        text-align: left;
        gap: 16px;
        align-items: center;
    }

    .step-circle {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .step-info {
        flex: 1;
    }

    .step-action {
        margin-top: 4px;
    }

    .form-button,
    .attachment-button {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .project-actions-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .action-btn {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        min-width: auto;
        text-align: left;
    }

    .action-icon {
        font-size: 1.2rem;
    }

    .action-text {
        font-size: 0.9rem;
    }

    .documents-table-container {
        overflow-x: auto;
    }

    .documents-table {
        min-width: 600px;
    }

    .documents-table th,
    .documents-table td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    .document-actions {
        flex-direction: column;
        gap: 12px;
    }
}

/*
Ressourcerie
 */

.ressourcerie_categories {
    display: block;
    text-align: center !important;

}

.ressourcerie_categories img{
    margin-bottom: 20px;
}

.ressourcerie_categories span {

    font-weight: bold;
    color: #000;
    font-size: 18px;
    line-height: 20px
}

.buttonGroups-centered {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* =============================================================================
   Email Verification Page
   ============================================================================= */

.email-verification-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
    margin: 0 auto;
    width: 100%;
}

.email-verification-container + .email-verification-container {
    display: none;
}

.verification-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    border-top: 5px solid #ccc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.verification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.verification-card.verification-success {
    border-top-color: #32285a;
}

.verification-card.verification-warning {
    border-top-color: #c54f31;
}

.verification-card.verification-error {
    border-top-color: #9a3b49;
}

.verification-card.verification-info {
    border-top-color: #32285a;
}

.verification-icon {
    margin-bottom: 25px;
}

.verification-icon i {
    font-size: 80px;
    line-height: 1;
}

.verification-success .verification-icon i {
    color: #32285a;
}

.verification-warning .verification-icon i {
    color: #c54f31;
}

.verification-error .verification-icon i {
    color: #9a3b49;
}

.verification-info .verification-icon i {
    color: #32285a;
}

.verification-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.verification-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.verification-card .text-muted {
    font-size: 14px;
    color: #999;
}

.btn-verification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 25px;
    border: none;
    cursor: pointer;
}

.btn-verification i {
    font-size: 18px;
}

.btn-verification-primary {
    background: linear-gradient(135deg, #C52E26 0%, #a02520 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(197, 46, 38, 0.3);
}

.btn-verification-primary:hover {
    background: linear-gradient(135deg, #a02520 0%, #801d19 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 46, 38, 0.4);
}

.btn-verification-secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #dee2e6;
}

.btn-verification-secondary:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-verification-info {
    background: linear-gradient(135deg, #32285a 0%, #154a85 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(50, 40, 90, 0.3);
}

.btn-verification-info:hover {
    background: linear-gradient(135deg, #154a85 0%, #103a6a 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 40, 90, 0.4);
}

/* Message de résultat après renvoi */
.verification-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.verification-message.success {
    background: rgba(50, 40, 90, 0.08);
    color: #32285a;
    border: 1px solid rgba(50, 40, 90, 0.25);
}

.verification-message.error {
    background: rgba(154, 59, 73, 0.08);
    color: #9a3b49;
    border: 1px solid rgba(154, 59, 73, 0.25);
}

/* Animation pour l'icône */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.verification-success .verification-icon i {
    animation: pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 576px) {
    .verification-card {
        padding: 35px 25px;
        margin: 0 15px;
    }

    .verification-icon i {
        font-size: 60px;
    }

    .verification-card h2 {
        font-size: 22px;
    }

    .btn-verification {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }
}
/* ============================================================================
   ONGLET INFORMATIONS - Mon Compte
   ============================================================================ */

.infos-container {
    max-width: 600px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-label i {
    color: #32285a;
    width: 20px;
    text-align: center;
}

.info-value {
    font-weight: 500;
    color: #1e293b;
    font-size: 1rem;
    text-align: right;
}

.info-value:empty::after {
    content: "Non renseigné";
    color: #94a3b8;
    font-style: italic;
}

/* Info value avec action (bouton édition inline) */
.info-value-with-action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-edit-inline {
    background: none;
    border: none;
    color: #32285a;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-edit-inline:hover {
    background-color: rgba(50, 40, 90, 0.1);
    color: #154d8a;
}

.btn-edit-inline:focus {
    outline: 2px solid #32285a;
    outline-offset: 2px;
}

/* Modal changement email */
.modal-change-email {
    max-width: 500px;
    width: 90%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.modal-change-email .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-change-email .modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
}

.modal-change-email .modal-header h3 i {
    color: #32285a;
    margin-right: 10px;
}

.modal-change-email .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.modal-change-email .modal-close:hover {
    color: #9a3b49;
}

.modal-change-email .modal-body {
    padding: 24px;
}

.modal-change-email .form-group {
    margin-bottom: 20px;
}

.modal-change-email .form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.modal-change-email .form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-change-email .form-input:focus {
    outline: none;
    border-color: #32285a;
    box-shadow: 0 0 0 3px rgba(50, 40, 90, 0.1);
}

.modal-change-email .form-input.error {
    border-color: #9a3b49;
}

.modal-change-email .form-help {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

.modal-change-email .form-error {
    color: #9a3b49;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}

.modal-change-email .form-error.show {
    display: block;
}

.modal-change-email .current-email {
    background-color: #f1f5f9;
    padding: 12px 16px;
    border-radius: 8px;
    color: #475569;
    font-family: monospace;
    margin-bottom: 20px;
}

.modal-change-email .current-email-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 4px;
}

.modal-change-email .modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.modal-change-email .btn-cancel {
    padding: 10px 20px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.modal-change-email .btn-cancel:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.modal-change-email .btn-save {
    padding: 10px 20px;
    border: none;
    background: #32285a;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.modal-change-email .btn-save:hover {
    background: #154d8a;
}

.modal-change-email .btn-save:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 576px) {
    .info-card {
        padding: 20px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .info-value {
        text-align: left;
    }
}

/* Bouton modifier informations */
.info-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.btn-edit-info {
    background: linear-gradient(135deg, #32285a 0%, #154a85 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(50, 40, 90, 0.3);
}

.btn-edit-info:hover {
    background: linear-gradient(135deg, #154a85 0%, #103a6a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 40, 90, 0.4);
}

/* Modal modification informations */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.modal-edit-info {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-edit-info .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #32285a 0%, #154a85 100%);
    border-radius: 16px 16px 0 0;
}

.modal-edit-info .modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-edit-info .modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #fff;
}

.modal-edit-info .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-edit-info .modal-body {
    padding: 30px 25px;
}

.modal-edit-info .form-group {
    margin-bottom: 20px;
}

.modal-edit-info .form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.modal-edit-info .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.modal-edit-info .form-input:focus {
    outline: none;
    border-color: #32285a;
    box-shadow: 0 0 0 3px rgba(50, 40, 90, 0.1);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.btn-cancel {
    background: #f1f5f9;
    color: #64748b;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    background: #e2e8f0;
    color: #475569;
}

.btn-save {
    background: linear-gradient(135deg, #32285a 0%, #154a85 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(50, 40, 90, 0.3);
}

.btn-save:hover {
    background: linear-gradient(135deg, #154a85 0%, #103a6a 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(50, 40, 90, 0.4);
}

/* Responsive modal */
@media (max-width: 576px) {
    .modal-edit-info {
        width: 95%;
        margin: 20px;
    }

    .modal-edit-info .modal-body {
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }
}

/* ============================================
   UTILITY CLASSES - Replace inline styles
   ============================================ */

/* Card laureats / ressourcerie */
.card-bordered { border: 1px solid; min-height: 450px; }
.card-bordered-top { border-top: 1px solid #000; }
.card-bottom-info { position: absolute; bottom: 60px; left: 20px; }
.card-bottom-btn { position: absolute; bottom: 0; left: 0; width: 100%; }
.text-dark-bold { color: #000; }
.text-theme-blue { color: #32285a; }
.content-border-light { border: 1px solid #eee; }
.footer-link-underline { text-decoration: underline; }
.clear-both { clear: both; }
.covid-logo { width: 150px; }

/* Autocomplete adresse BAN */
.ban-autocomplete-dropdown {
    position: absolute;
    z-index: 1050;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    width: 100%;
}
.ban-autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}
.ban-autocomplete-item:hover {
    background-color: #f0f0f0;
}
.ban-field-locked {
    background-color: #e9ecef !important;
}
input.ban-field-locked,
textarea.ban-field-locked {
    pointer-events: none;
    opacity: 0.7;
}
/* Select verrouille via Select2 : griser le conteneur visible */
select.ban-field-locked + .select2-container .select2-selection {
    background-color: #e9ecef !important;
    cursor: default;
}
select.ban-field-locked + .select2-container .select2-selection__arrow {
    display: none;
}

/* =============================================================================
   Draft Save Bar - Bouton "Enregistrer un brouillon"
   ============================================================================= */
.draft-save-bar {
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    display: none;
}
.draft-save-bar .btn {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =============================================================================
   Homepage — Fondation PFG
   ============================================================================= */

/* Slider homepage */
.slider-homepage {
    background: linear-gradient(180deg, #32285a 349px, #FFF 200px);
    border: none !important;
}

/* Section intro */
.section-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Sections Homepage — fonds charte graphique */
.section-vanille {
    background-color: #fff8e6; /* Vanille #fff0be allégé */
}
.section-lavande {
    background-color: #f0eaf0; /* Lavande #dcd2dc allégé */
}

/* Thématiques AAP */
.aap-themes-list {
    list-style: none;
    padding: 0;
}
.aap-themes-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #fff;
    border-left: 4px solid #c54f31;
    border-radius: 0 8px 8px 0;
}
.aap-themes-list li strong {
    color: #32285a;
}

/* Sections FAQ (éligibilité, porteurs, publics, actions, critères, modalités) */
.section-faq h3 {
    color: #c54f31;
    margin-top: 40px;
    margin-bottom: 15px;
}
.section-faq ul {
    padding-left: 20px;
}
.section-faq ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Timeline des étapes */
.etapes-timeline {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}
.etapes-timeline li {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.etapes-timeline li:last-child {
    border-bottom: none;
}
.etapes-date {
    font-weight: 700;
    color: #32285a;
    min-width: 220px;
    font-family: 'Albert Sans', sans-serif;
}

/* Liste numérotée des critères */
.criteres-list {
    counter-reset: critere;
    list-style: none;
    padding: 0;
}
.criteres-list li {
    counter-increment: critere;
    padding: 15px 20px 15px 60px;
    position: relative;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}
.criteres-list li::before {
    content: counter(critere);
    position: absolute;
    left: 15px;
    top: 15px;
    width: 30px;
    height: 30px;
    background: #32285a;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: 700;
}

/* Tableau des plafonds de financement */
.plafond-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.plafond-table th,
.plafond-table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}
.plafond-table thead th {
    background: #32285a;
    color: #fff;
}

/* Responsive Homepage PFG */
@media (max-width: 576px) {
    .etapes-timeline li {
        flex-direction: column;
        gap: 5px;
    }
    .etapes-date {
        min-width: auto;
    }
    .criteres-list li {
        padding-left: 50px;
    }
    .criteres-list li::before {
        left: 10px;
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 0.9rem;
    }
}

/* Icônes de section */
.section-icon { text-align: center; margin-bottom: 15px; }
.section-icon i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 70px; height: 70px; border-radius: 50%;
    background: #32285a; color: #fff; font-size: 28px;
}

/* Cards thématiques AAP (3 colonnes) */
.theme-card-row {
    display: flex !important; flex-wrap: wrap;
}
.theme-card-row > .col-md-4 {
    float: none !important; display: flex;
}
.theme-card {
    text-align: center; padding: 25px 20px;
    background: #fff; border-radius: 12px; margin-bottom: 20px;
    transition: transform 0.2s ease;
    display: flex; flex-direction: column; flex: 1;
}
.theme-card:hover { transform: translateY(-3px); }
.theme-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 50%;
    background: #c54f31; color: #fff; font-size: 24px; margin-bottom: 15px;
}
.theme-card h4 { color: #32285a; margin-bottom: 10px; }
.theme-card p { font-size: 0.95rem; color: #555; }

/* Cards actions (grille 3×2) */
.action-card {
    padding: 20px; background: #fff; border-radius: 10px;
    margin-bottom: 20px; border-left: 3px solid #c54f31;
}
.action-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 50%;
    background: #32285a; color: #fff; font-size: 18px;
    margin-bottom: 10px;
}
.action-card h4 { font-size: 1.05em; color: #32285a; margin-bottom: 8px; }
.action-card p { font-size: 0.9rem; color: #555; margin: 0; }

/* Photo banners */
.photo-banner { max-height: 350px; overflow: hidden; }
.photo-banner-img { width: 100%; height: 350px; object-fit: cover; object-position: center; display: block; }

/* Responsive illustrations */
@media (max-width: 576px) {
    .section-icon i { width: 55px; height: 55px; font-size: 22px; }
    .photo-banner, .photo-banner-img { max-height: 200px; height: 200px; }
}

/* =============================================
   AAP 2026 — Appels à Projets redesign
   ============================================= */

/* Theme color variants */
.aap-theme-pink {
    --aap-accent: #9a3b49;
    --aap-accent-dark: #c5066a;
    --aap-accent-light: rgba(230, 7, 120, 0.1);
    --aap-bg-light: #fdf0f5;
    --aap-gradient-end: #f4b0d0;
    --aap-shadow: rgba(230, 7, 120, 0.3);
    --aap-shadow-strong: rgba(230, 7, 120, 0.5);
}
.aap-theme-blue {
    --aap-accent: #32285a;
    --aap-accent-dark: #086ba6;
    --aap-accent-light: rgba(10, 124, 193, 0.1);
    --aap-bg-light: #f0f7fc;
    --aap-gradient-end: #b8d8f0;
    --aap-shadow: rgba(10, 124, 193, 0.3);
    --aap-shadow-strong: rgba(10, 124, 193, 0.5);
}

/* Note card (intro callout) */
.note-card {
    background: var(--aap-bg-light);
    border-left: 4px solid var(--aap-accent);
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}
.note-card p { margin: 0; }

/* Exclusion card (intro callout variant) */
.exclusion-card {
    background: var(--aap-bg-light);
    border-left: 4px solid var(--aap-accent);
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}
.exclusion-card h4 {
    color: var(--aap-accent);
    margin-bottom: 8px;
}

/* Procedure steps with numbered circles */
.procedure-step {
    margin-bottom: 25px;
}
.procedure-step h4 {
    color: var(--aap-accent);
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.procedure-step h4 .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--aap-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.procedure-step p {
    margin: 8px 0 0 42px;
    color: #555;
}

/* Timeline 2026 — card-based design */
#cd-timeline:has(.timeline-container)::before { display: none; }
#cd-timeline:has(.timeline-container) { padding: 0; margin: 0; }

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--aap-accent), var(--aap-gradient-end));
    transform: translateX(-50%);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 15px 40px;
}
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 50px;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 50px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 18px;
    height: 18px;
    background: var(--aap-accent);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--aap-accent), 0 3px 10px var(--aap-shadow);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px var(--aap-accent), 0 3px 15px var(--aap-shadow-strong);
}
.timeline-item:nth-child(odd)::before { right: -9px; }
.timeline-item:nth-child(even)::before { left: -9px; }
.timeline-item::after {
    content: '';
    position: absolute;
    top: 32px;
    width: 30px;
    height: 2px;
    background: var(--aap-shadow);
}
.timeline-item:nth-child(odd)::after { right: 10px; }
.timeline-item:nth-child(even)::after { left: 10px; }

.timeline-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}
.timeline-item:nth-child(odd) .timeline-card {
    border-left: none;
    border-right: 4px solid var(--aap-accent);
}
.timeline-item:nth-child(even) .timeline-card {
    border-left: 4px solid var(--aap-accent);
}
.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.timeline-card .tl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--aap-accent-light);
    color: var(--aap-accent);
    border-radius: 50%;
    margin-bottom: 10px;
    font-size: 1rem;
}
.timeline-card .tl-date {
    display: inline-block;
    background: var(--aap-accent);
    color: #fff;
    font-family: 'Cinzel', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 15px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}
.timeline-card .tl-title {
    font-family: 'Cinzel', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 6px;
}
.timeline-card .tl-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Candidature actions (flex button row) */
.candidature-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}
.candidature-actions .btn {
    padding: 16px 30px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 70px;
    text-align: left;
}
.candidature-actions .btn i {
    font-size: 1.3em;
}

/* Info box (Informations importantes) */
.info-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.info-box-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.info-box-header .aap-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--aap-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.info-box-header h3 {
    color: #333;
    margin: 0;
}
.info-box ul {
    padding-left: 20px;
}
.info-box ul li {
    padding-bottom: 10px;
    color: #555;
    line-height: 1.6;
}
.info-box .btn {
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    padding: 10px 24px !important;
    border: none !important;
    transition: all 0.3s ease;
}
.info-box .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* AAP 2026 — Tab styling (overrides essentials.css nav-justified border-radius:0!important) */
.aap-theme-pink .nav-tabs.nav-justified,
.aap-theme-blue .nav-tabs.nav-justified {
    border-bottom: 3px solid var(--aap-accent) !important;
    display: flex !important;
}
.aap-theme-pink .nav-tabs.nav-justified > li,
.aap-theme-blue .nav-tabs.nav-justified > li {
    flex: 1 !important;
    float: none !important;
    margin-bottom: 0 !important;
}
.aap-theme-pink .nav-tabs.nav-justified > li > a,
.aap-theme-blue .nav-tabs.nav-justified > li > a {
    display: block !important;
    padding: 15px 20px !important;
    text-align: center !important;
    font-family: 'Cinzel', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #666 !important;
    background: #f1f1f1 !important;
    border: 1px solid #ddd !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    text-decoration: none !important;
}
.aap-theme-pink .nav-tabs.nav-justified > li > a:hover,
.aap-theme-blue .nav-tabs.nav-justified > li > a:hover {
    background: var(--aap-bg-light) !important;
    color: var(--aap-accent) !important;
}
.aap-theme-pink .nav-tabs.nav-justified > li > a.active,
.aap-theme-blue .nav-tabs.nav-justified > li > a.active {
    background: var(--aap-accent) !important;
    color: #fff !important;
    border-color: var(--aap-accent) !important;
}

/* AAP 2026 — Tab panels */
.aap-theme-pink .tab-panels,
.aap-theme-blue .tab-panels {
    background: #f8f9fa !important;
    padding: 30px;
    border-radius: 0 0 8px 8px;
}
.aap-theme-pink .tab-panels .tab-content,
.aap-theme-blue .tab-panels .tab-content {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* AAP 2026 — Reset old cd-timeline styles */
.aap-theme-pink #cd-timeline,
.aap-theme-blue #cd-timeline {
    padding: 0 !important;
    margin: 0 !important;
}
.aap-theme-pink #cd-timeline::before,
.aap-theme-blue #cd-timeline::before {
    display: none !important;
}

/* Responsive — AAP 2026 */
@media (max-width: 992px) {
    .timeline-container::before { left: 20px; }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 10px 15px 10px 55px !important;
    }
    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }
    .timeline-item::after {
        left: 30px !important;
        right: auto !important;
        width: 15px;
    }
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        border-right: none;
        border-left: 4px solid var(--aap-accent);
    }
}
@media (max-width: 576px) {
    .candidature-actions { flex-direction: column; }
    .candidature-actions .btn { justify-content: center; text-align: center; }
    .info-box-header { flex-direction: column; text-align: center; }
}

/* Fondation PFG - Typographie charte graphique */
h1, h2, h3,
.heading-title h1, .heading-title h2, .heading-title h3 {
    font-family: 'Cinzel', serif;
}

/* Fondation PFG - Classes utilitaires */
.bg-pfg-bleu { background-color: #32285a; }
.text-pfg-bleu { color: #32285a !important; }
.border-pfg-bleu { border: 1px solid #32285a; }

/* Select2 — Erreur de validation (classe ajoutée directement sur .select2-selection par highlight) */
.select2-selection.select2-error {
    border: #9a3b49 2px dashed !important;
    background-color: rgba(154, 59, 73, 0.05) !important;
}

/* Repeatable Row — Champs dynamiques */
.repeatable-row-container { margin-bottom: 10px; }
.repeatable-row { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.repeatable-row-header { margin-bottom: 2px; }
.repeatable-row-header small { font-weight: 600; }
.repeatable-row-col { min-width: 0; }
.repeatable-row-col-4 { flex: 0 0 30%; max-width: 30%; }
.repeatable-row-col-6 { flex: 1 1 0; }
.repeatable-row-col-btn { flex: 0 0 36px; text-align: center; }
.repeatable-row-col select,
.repeatable-row-col input[type="text"] { width: 100%; }
.repeatable-row-add { margin-top: 8px; font-size: 14px; padding: 6px 16px; }
.repeatable-row-remove { width: 32px; height: 32px; padding: 0; line-height: 30px; font-size: 18px; border-radius: 50%; color: #9a3b49; border-color: #9a3b49; }
.repeatable-row-remove:hover { background-color: #9a3b49; color: #fff; border-color: #9a3b49; }
.repeatable-row-remove.hide { display: none; }

/* Repeatable Table */
.repeatable-table-container { margin-bottom: 10px; }
.repeatable-table { width: 100%; border-collapse: collapse; margin-bottom: 0; }
.repeatable-table thead th { background-color: #f8f9fa; font-weight: 600; font-size: 13px; padding: 8px 10px; border: 1px solid #dee2e6; color: #32285a; }
.repeatable-table tbody td { padding: 6px 8px; border: 1px solid #dee2e6; vertical-align: middle; }
.repeatable-table tbody td .form-control { border: none; box-shadow: none; padding: 4px 8px; height: auto; background: transparent; }
.repeatable-table tbody td .form-control:focus { background-color: #fff; border: 1px solid #80bdff; box-shadow: 0 0 0 0.15rem rgba(0,123,255,.15); }
.repeatable-table-col-btn { width: 1%; white-space: nowrap; text-align: center; padding: 6px 10px !important; border: none !important; background: transparent !important; }
.repeatable-table thead th.repeatable-table-col-btn { border: none !important; background: transparent !important; }
.repeatable-table-add { margin-top: 8px; font-size: 14px; padding: 6px 16px; }
.repeatable-table-remove { width: 32px; height: 32px; padding: 0; line-height: 30px; font-size: 18px; border-radius: 50%; color: #9a3b49; border-color: #9a3b49; }
.repeatable-table-remove:hover { background-color: #9a3b49; color: #fff; border-color: #9a3b49; }
.repeatable-table-remove.hide { display: none; }
.repeatable-table tbody td .form-control.is-invalid { border: 1px solid #dc3545 !important; background-color: #fff8f8; }

/* TinyMCE - Erreur de validation sur le conteneur */
.tox-tinymce.tox-tinymce-error {
    border: #dc2626 2px dashed !important;
}

/* TinyMCE - Compteur de mots */
.validate-buttons > div {
    flex: 1 1 0%;
    min-width: 0;
}
.tinymce-word-counter {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
    padding: 4px 8px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-top: none;
}
.tinymce-word-counter.over-limit {
    color: #dc2626;
    font-weight: bold;
}

/* =============================================
   Conditional group wrapper
   ============================================= */
.conditional-group-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #c54f31;
}
.conditional-group-wrapper > .row {
    margin-bottom: 12px;
}
.conditional-group-wrapper > .row:last-child {
    margin-bottom: 0;
}

/* =============================================
   Thématiques candidature — Card layout
   ============================================= */

/* Container principal d'une section thématique (prioritaire ou secondaire) */
.thematique-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}
.thematique-section > .row:first-child h5 {
    color: #32285a;
    margin-bottom: 4px;
    font-size: 1.15rem;
}
.thematique-section > .row:first-child p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Card par catégorie (Deuil / Fin de vie) */
.thematique-category {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
    border-left: 4px solid #c54f31;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.thematique-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.thematique-category-header h6 {
    margin: 0;
    color: #32285a;
    font-size: 1rem;
    font-weight: 600;
}
.thematique-category-header .cat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c54f31;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
}

/* Grille de checkboxes à l'intérieur d'une catégorie */
.thematique-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.thematique-grid .thematique-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}
.thematique-chip:hover {
    border-color: #c54f31;
    background: #fff5f3;
}
.thematique-chip.checked {
    border-color: #c54f31;
    background: #fff5f3;
    box-shadow: 0 0 0 1px #c54f31;
}
.thematique-chip input[type="checkbox"] {
    accent-color: #c54f31;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}
.thematique-chip label {
    margin: 0 !important;
    font-size: 0.92rem;
    line-height: 1.3;
    cursor: pointer;
    color: #333;
}

/* Champ "Précisez" conditionnel à l'intérieur de la grille */
.thematique-grid .thematique-detail-field {
    grid-column: 1 / -1;
}
.thematique-grid .thematique-detail-field label {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 576px) {
    .thematique-grid {
        grid-template-columns: 1fr;
    }
    .thematique-section {
        padding: 16px;
    }
    .thematique-category {
        padding: 14px;
    }
}
