/* ── CCSavès Extranet Élus – front-end styles ── */

/* Login */
.ee-login-wrap {
    margin: 30px auto 40px;
}
@media(min-width:768px){
    .ee-login-wrap {
        margin: 100px auto 120px;
    }
}
@media(min-width:1280px){
    .ee-login-wrap {
        margin: 100px auto 180px;
    }
}
.ee-login-wrap p{
    max-width: 460px;
    margin:0 auto;
    text-align:center;
    margin-bottom:20px;
    font-weight:500;
}
.ee-login-wrap h1 {
    text-align:center;
    line-height: 1;
}
.ee-login-wrap .form-login{
    max-width: 460px;
    margin: 0 auto;
    background-color: #f4f4f4;
    border-radius: 4px;
    padding: 32px;
}

.ee-login-form .ee-field {
    margin-bottom: 1.25rem;
}

.ee-login-form label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 500;
    color:#000;
}

.ee-login-form input[type="text"],
.ee-login-form input[type="password"] {
    width: 100%;
    padding: .6rem 2.5rem .6rem .8rem;
    border: 1px solid #000000;
    border-radius: 30px;
    font-size: 1rem;
}

.ee-password-wrap {
    position: relative;
}

.ee-password-toggle {
    position: absolute !important;
    right: .75rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
}

.ee-password-toggle:hover {
    color: #000;
}

.ee-error {
    background: #fdecea;
    color: #b00020;
    padding: .75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border:1px solid #b00020;
}

/* Dashboard */
.ee-dashboard{
    margin-bottom:100px;
}
.ee-dashboard__header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top:40px;
}
.ee-dashboard__header::before {
    content:"";
    background:url(/wp-content/uploads/2026/03/points-gris.svg);
    background-repeat: no-repeat;
    background-size:contain;
    width:200px;
    height:200px;
    position:absolute;
    top:0px;
    right:5%;
    display:inline-block
}

.ee-dashboard__header h1 {
    line-height: 1;
    margin-bottom:15px;
}

.ee-dashboard__header .intro {
    padding-bottom:10px;
    font-size:18px;
}
@media(min-width:768px){
    .ee-dashboard__header .intro {
        width:70%;
    }
    .ee-dashboard__header {
        justify-content: space-between;
        gap: 1rem;
    }
}
@media(min-width:1024px){
    .ee-dashboard__header .intro {
        width:60%;
    }
    .ee-dashboard__header::before {
        right:20%;
    }
}
@media(min-width:1280px){
    .ee-dashboard__header::before {
        width:220px;
        height:220px;
        top:75px;
        right:25%;
    }
    .ee-dashboard__header .intro {
        width:50%;
    }
}
@media(min-width:1536px){
   .ee-dashboard__header .intro {
        width:40%;
    } 
    .ee-dashboard__header::before {
        width:250px;
        height:300px;
        right:29%;
        top:65px;
    }
}

/* Block */
.ee-block {
    border-radius: 10px;
    background: #FFF;
    padding: 16px;
    box-shadow: -2px 2px 10px 0 rgba(0, 0, 0, 0.25);
    margin-bottom: 2.5rem;
}

.ee-block__title {
    font-size: 1.15rem;
    color:#155F93 !important;
    display:flex;
    align-items: center;
    gap:16px;
    margin:0  0 20px 0 !important;
}
.ee-block__title span{
    flex:1;
}

@media(max-width:767px){
    .ee-block__title {
        font-size: 19px !important;
    }
    .ee-block__title svg{
        display:none;
    }
}
@media(min-width:768px){
    .ee-block {
        padding: 24px;
    }
}
/* Doc list */
.ee-doc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ee-doc-row {
    border-radius: 10px;
    background: #F4F4F4;
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    margin-bottom:10px;
}

.ee-doc-row__name {
    flex: 1;
    display:flex;
    align-items: center;
    gap:20px;
    font-weight:600;
    font-family: "Quicksand", Sans-serif !important;
}
.ee-doc-row__name span{
    flex:1;
}
.ee-doc-row__actions {
    display: flex;
    gap: .5rem;
    flex-shrink: 0;
}
.text-center{
    text-align:center;
}
@media(min-width:768px){
  .ee-doc-row {
    padding: 10px 15px 10px 15px;
    }   
}
@media(min-width:1024px){
    .ee-doc-row {
        flex-direction: row;
        align-items: center;
        justify-content:space-between;
        gap: 24px;
        padding: 10px 15px 10px 32px;
    }
}
/* Buttons */
.ee-btn {
    display: inline-flex;
    align-items: center;
    padding: .45rem 1rem;
    border-radius: 4px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.ee-btn--primary {
    background: #155F93 !important;
    color: #fff !important;
    border:none !important;
}

.ee-btn--primary:hover {
    background: #2F3841 !important;
    border:none !important;
}

.ee-btn--secondary {
    background: #fff;
    color: #333;
    border-color: #ccc;
}

.ee-btn--secondary:hover {
    background: #f5f5f5;
}

.ee-btn--view {
    background: #fff !important;
    border-radius: 40px;
    border: 1px solid #252446;
    background: #FEFEFE;
    padding: 6px 10px !important;
    display:flex;
    align-items: center;
    gap:8px;
    font-size:14px !important;
    transition:all 0.3s ease-in-out;
    text-decoration: none !important;
    color:#252446 !important;
    font-weight:600 !important;
}

.ee-btn--download{
    border-radius: 40px;
    background: #155F93 !important;
    color:#fff !important;
    text-decoration: none !important;
    padding: 6px 10px !important;
    display:flex;
    align-items: center;
    gap:8px;
    font-size:14px !important;
    transition:all 0.3s ease-in-out;
}

.ee-btn--view:hover {
    background: #f4f4f4 !important;
}

.ee-btn--download:hover {
    background: #252446 !important;
}

.ee-btn--small {
    padding: .3rem .75rem;
    font-size: .8125rem;
}

.ee-btn-logout{
    border-radius: 10px 10px 0 0;
    background: #E55759;
    color:#fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    text-decoration: none !important;
    transition:all 0.3s ease-in-out;
}
.ee-btn-logout:hover{
    background: #d14d4f;
}
@media(max-width:767px){
    .ee-btn--download svg{
        display:none;
    }
}
@media(min-width:768px){
    .ee-btn--view::before {
        content:"";
        width:26px;
        height:18px;
        background:url(../images/voir.svg);
        background-repeat: no-repeat;
        background-size: contain;
        display:inline-block;
    }
    .ee-btn-logout{
        font-size: 16px;
        padding: 12px 18px;
    }
    .ee-btn--view, .ee-btn--download {
         padding: 9px 15px !important;
    }
}
@media(min-width:1280px){
    .ee-btn-logout{
        font-size: 17px;
        padding: 16px 25px;
    }
    .ee-btn--view, .ee-btn--download {
        font-size: 17px !important;
        padding: 9px 20px !important;
    }
}
/* Empty */
.ee-empty {
    color: #888;
    font-style: italic;
}

/* Accordion */
.ee-accordion__item {
    border-radius: 10px;
    border: 1px solid #252446;
    margin-bottom: .5rem;
    overflow: hidden;
    
}

.ee-accordion__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 1rem;
    border: none !important;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 400 !important;
    text-align: left;
    font-family: "Paytone One", Sans-serif;
}
.ee-accordion__trigger:hover, .ee-accordion__trigger:focus{
    background-color:#fff !important;
}

.ee-accordion__icon {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
}

.ee-accordion__icon::before,
.ee-accordion__icon::after {
    content: '';
    position: absolute;
    background: #555;
    border-radius: 1px;
    transition: transform .2s;
}

.ee-accordion__icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.ee-accordion__icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.ee-accordion__trigger[aria-expanded="true"] .ee-accordion__icon::after {
    transform: scaleY(0);
}

.ee-accordion__panel {
    padding: 0 1rem 1rem;
}

/* Modal — kept for potential future use but no longer triggered */
.ee-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ee-modal[hidden] {
    display: none;
}

.ee-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.ee-modal__inner {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 6px;
    width: min(90vw, 900px);
    height: min(85vh, 700px);
    display: flex;
    flex-direction: column;
}

.ee-modal__close {
    position: absolute;
    top: .5rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    color: #555;
    z-index: 2;
}

.ee-modal__close:hover {
    color: #000;
}

.ee-modal__iframe {
    flex: 1;
    border: none;
    border-radius: 0 0 6px 6px;
    width: 100%;
}


body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 25px !important;
    }
@media (min-width: 768px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 35px !important;
    }
}
@media (min-width: 1024px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 5% !important;
    }
}
@media (min-width: 1536px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 6% !important;
    }
}
@media (min-width: 1920px) {
    body:not([class*=elementor-page-]) .site-main {
        max-width: 100% !important;
        padding: 0 7% !important;
    }
}