/* Styles pour la réinitialisation de mot de passe */
body.account.reset_password #main form {
    position: relative;
    padding-top: 30px;
}

body.account.reset_password #main h2 {
    color: #045080;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

body.account.reset_password #main ul {
    margin-top: 10px;
    width: 500px;
    padding: 15px 20px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    background: #d0ebf3;
}
body.account.reset_password .breadcrumb{
    display:none;
}

body.account.reset_password #main li {
    text-align: left;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000;
}

body.account.reset_password #main li:last-child {
    text-align: right;
}

body.account.reset_password #main input {
    border: 1px solid #115F6C;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    resize: none;
    padding: 2px;
    font-family: 'Amaranth', sans-serif;
    font-size: 18px;
    font-weight: 400;
    padding: 2px 5px;
    color: #000;
    margin: 0;
    margin-bottom: 10px;
    width: 250px;
}

body.account.reset_password #main label {
    display: inline-block;
    width: 200px;
    margin-right: 20px;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

body.account.reset_password #main button {
    border: none;
    padding: 10px;
    background: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-right: 15px;
    margin-top: 20px;
}



/* Styles pour la boutique dans l'espace compte */
body.front.account.shop #shop {
    padding: 10px;
    background: #ACDCED;
    border: 1px solid #98cfe2;
    margin: 0 auto;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.1em;
    min-height: 590px;
    height: auto;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

body.front.account.shop #main {
    padding: 0;
    min-height: 530px;
}

body.front.account.shop form {
    position: relative;
}

body.front.account.shop .wrapper {
    width: 80%;
    margin: 20px auto 0;
}

body.front.account.shop label {
    color: #115f6c;
    font-weight: 700;
}

body.front.account.shop #main h2 {
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 20px;
    padding: 0;
    margin: 0;
    margin-bottom: 16px;
}

body.front.account.shop #main h2:first-letter {
    text-transform: uppercase;
}

body.front.account.shop #main h2 span {
    display: inline-block;
    color: #000;
    background: #fff;
    height: 24px;
    width: 30px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    text-align: center;
    padding-top: 6px;
    margin-right: 15px;
}

body.front.account.shop #main h3 {
    background: #caeff8;
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 16px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}

body.front.account.shop #main h3:first-letter {
    text-transform: uppercase;
}

body.front.account.shop #main h3 span {
    font-size: 14px;
    position: absolute;
    right: 10px;
}

body.front.account.shop #main label {
    display: inline-block;
    width: 200px;
}




/* ============================================
   STYLES AMÉLIORÉS POUR MOT DE PASSE OUBLIÉ ET RÉINITIALISATION
   ============================================ */

/* Conteneur principal */
body.account.lost_password #content,
body.account.reset_password #content {
    position: relative;
    padding-top: 0px;
}

body.account.lost_password #main,
body.account.reset_password #main {
    position: relative;
    z-index: 5;
    padding-top: 0;
}

/* Wrapper principal avec fond bleu clair */
body.account.lost_password .wrapper,
body.account.reset_password .wrapper {
    z-index: 100;
    width: 500px;
    padding: 30px 40px 40px 40px;
    background: #afdfeb;
    border-radius: 15px;
    box-shadow: 0 3px 1px #99a1a4;
    margin: 20px auto;
}

/* Boîtes de formulaire */
body.account.lost_password #lostPassword,
body.account.reset_password #resetPassword {
    padding: 20px 30px 20px;
    border-radius: 15px;
    background: #78c9dd;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    margin-top: 10px;
}

/* Typographie */
body.account.lost_password h2,
body.account.reset_password h2 {
    color: #045080;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 22px;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: center;
}

body.account.lost_password p,
body.account.reset_password p {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 1.5em;
    color: #000;
    margin-bottom: 20px;
}
body.account.lost_password .breadcrumb{
    display:none;
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 20px;
}

/* Champs de formulaire */
body.account.lost_password .wrapper input,
body.account.reset_password .wrapper input {
    border: 1px solid #115F6C;
    border-radius: 5px;
    resize: none;
    padding: 8px 12px;
    font-family: 'Amaranth', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
}

body.account.lost_password label,
body.account.reset_password label {
    width: 100%;
    display: block;
    margin-right: 0;
    font-family: 'Amaranth', Arial, sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #045080;
}

/* Liens de formulaire */
.form-links {
    text-align: center;
}

.form-links a {
    color: #045080;
    text-decoration: underline;
    font-family: 'Amaranth', Arial, sans-serif;
    font-size: 14px;
}

.form-links a:hover {
    color: #033857;
}

/* Boutons */
body.account.lost_password .wrapper button,
body.account.reset_password .wrapper button {
    position: relative;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 230px;
    border: none;
    padding: 12px 15px;
    background: #fff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.3em;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    text-align: center;
}

body.account.lost_password .wrapper button:hover,
body.account.reset_password .wrapper button:hover {
    background: #f5f5f5;
}


/* Adaptation pour écrans mobiles */
@media (max-width: 768px) {
    body.account.lost_password .wrapper,
    body.account.reset_password .wrapper {
        width: 90%;
        padding: 20px;
    }
    
    body.account.lost_password #lostPassword,
    body.account.reset_password #resetPassword {
        padding: 15px 20px 90px;
    }
    
    body.account.lost_password .wrapper button,
    body.account.reset_password .wrapper button {
        width: 80%;
    }
}





/* Styles pour le panier dans la boutique */
body.front.account.shop #panier {
    width: 100%;
    background: #fff;
    margin-bottom: 25px;
}

body.front.account.shop #panier th:nth-child(2),
body.front.account.shop #panier td:nth-child(2) {
    text-align: left;
}

body.front.account.shop #panier th {
    color: #fff;
    background: #3091b1;
    text-transform: uppercase;
    padding: 4px 0 4px 10px;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
}

body.front.account.shop #panier td {
    color: #000;
    text-transform: uppercase;
    padding: 20px 0 20px 10px;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-align: center;
}

body.front.account.shop #panier tr.coupon_ok td {
    padding-bottom: 5px;
}

body.front.account.shop #panier td a {
    color: #3091b1;
    text-transform: none;
    padding: 10px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 11px;
    text-align: center;
    position: relative;
    top: 1px;
}

body.front.account.shop #panier tr.coupon td {
    color: #fd6600;
    text-transform: none;
    padding: 0 0 10px 10px;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
}

body.front.account.shop #panier tr.final_ttc td {
    padding: 20px 0 20px 10px;
    font-size: 15px;
    border-top: 1px solid #48aec7;
}

body.front.account.shop #panier tr.final_ttc td:first-child,
body.front.account.shop #panier tr.final_ttc td:last-child {
    width: 2%;
    border: none;
}

body.front.account.shop #panier tr.final_ttc td:nth-child(2) {
    width: 30%;
}

body.front.account.shop #panier tr.final_ttc td:nth-child(3) {
    width: 20%;
}

body.front.account.shop #panier tr.final_ttc td:nth-child(4) {
    width: 20%;
}

body.front.account.shop #panier tr.final_ttc td:nth-child(5) {
    width: 20%;
}

/* Styles pour le coupon de réduction */
body.front.account.shop #coupon_ok {
    text-align: right;
    color: #3091b1;
    text-transform: none;
    padding: 0 0 10px 20px;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
}

body.front.account.shop #coupon {
    padding-bottom: 20px;
    text-align: right;
}

body.front.account.shop #code_coupon {
    text-transform: uppercase;
    font-weight: 700;
}

body.front.account.shop #coupon label {
    width: auto;
    font-family: 'Amaranth', sans-serif;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    margin-right: 10px;
}

body.front.account.shop #coupon input {
    width: 185px;
}

body.front.account.shop #bt_coupon {
    background: #4aa2ba;
    border: none;
    padding: 2px 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-family: 'Amaranth', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-left: 10px;
}

/* Styles pour l'adresse de livraison */
body.front.account.shop #adresse {
    position: absolute;
    left: 0;
    vertical-align: top;
    margin-right: 50px;
}

body.front.account.shop #adresse ul {
    padding: 15px 20px 20px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    background: #9fdef0;
    width: 430px;
}

body.front.account.shop #adresse label:first-letter {
    text-transform: uppercase;
}

body.front.account.shop #adresse label {
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    width: 120px;
}

body.front.account.shop #adresse li {
    margin: 10px 0;
}

body.front.account.shop #adresse input {
    width: 280px;
    font-family: 'Amaranth', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding-left: 5px;
}

body.front.account.shop #adresse select {
    font-family: 'Amaranth', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding-left: 5px;
}

body.front.account.shop #adresse input#code {
    width: 60px;
    margin-right: 10px;
    text-align: center;
    padding-left: 0;
}

body.front.account.shop #adresse input#code+label {
    width: 50px;
}

body.front.account.shop #adresse input#city {
    width: 150px;
}

/* Styles pour les modes de paiement */
body.front.account.shop #modes_paiement ul {
    width: 95%;
    margin: 0 auto;
    padding: 15px 20px 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #FFF;
}

body.front.account.shop #modes_paiement li label {
    width: 80%;
    display: inline-block;
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding-left: 5px;
    margin-top: 2px;
    margin-bottom: 10px;
    vertical-align: top;
}

body.front.account.shop #modes_paiement li label .precision {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #63C0D5;
}

body.front.account.shop #modes_paiement p {
    position: relative;
    top: 20px;
    left: 20px;
}

body.front.account.shop #no_cheque {
    margin-top: 10px;
    font-family: 'Amaranth', sans-serif;
    color: #FFF;
    font-size: 14px;
    font-style: italic;
}

body.front.account.shop #no_cheque a {
    color: #FFF;
}

body.front.account.shop #cgv_ok {
    position: absolute;
    bottom: 10px;
    right: 55px;
}

body.front.account.shop #cgv_ok a {
    color: #000;
    text-decoration: underline;
}

/* Styles pour les boutons de la boutique */
body.front.account.shop #bt_shop {
    display: block;
    margin: 5px auto;
    border: none;
    padding: 16px 30px;
    background: transparent url(../img/front/sprite3.png) 0 -345px no-repeat;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    height: 60px;
    width: 190px;
    padding: 15px 20px 30px;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
}

body.front.account.shop #bt_formules {
    width: 150px;
    height: 20px;
    padding: 20px;
    background: transparent url(../img/front/sprite3.png) 0 -445px no-repeat;
    right: 235px;
    font-size: 22px;
    text-align: center;
    text-decoration: none;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    display: inline-block;
    margin-right: 20px;
    text-align: center;
}

/* Styles pour la page starpass */
#starpass_page {
    padding: 10px;
}

#starpass_page a.button {
    font-size: 14px;
    text-decoration: underline;
}

/* Styles pour la page de paiement réussi */
#paid_view {
    padding: 30px 30px 40px;
    background: #ACDCED;
    border: 1px solid #98cfe2;
    margin: 20px auto 0;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1em;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

#paid_view .ok {
    margin: 0 0 0 10px;
    background: transparent url(../img/front/coche_envoye.png) top left no-repeat;
    min-height: 38px;
    height: auto;
}

#paid_view .ok h1 {
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 2em;
    padding-left: 50px;
    padding-bottom: 10px;
    line-height: 1.3em;
    display: block;
    padding-top: 7px;
}

#paid_view .lien_next {
    text-align: center;
}

#paid_view .lien_next a {
    text-decoration: underline;
}

/* Styles pour le bouton premium */
body.front.account .gopremium {
    margin: 10px;
}

body.front.account .gopremium a {
    width: auto;
    padding: 15px 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #5ec200;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
}

/* Styles pour le bouton de suppression de compte */
body.front.account .suppression {
    margin: 10px 0 15px 0;
}

body.front.account .suppression a {
    color: #A30002;
    font-weight: 400;
    font-size: 12px;
    text-decoration: underline;
}

/* Styles généraux pour les pages de compte */
body.front.account #menuMobile {
    display: none;
}

body.front.account #menu {
    display: block;
}

body.front.account #sidebar {
    padding: 30px 0 0;
    width: 230px;
}

body.front.account #sidebar ul {
    margin-bottom: 0;
}

body.front.account #sidebar li a {
    display: block;
    background: #49aaca;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    width: 190px;
    padding: 1px 10px;
    cursor: pointer;
}

body.front.account #sidebar li a:hover,
body.front.account #sidebar li.current a {
    background: #056c8d url(../img/front/arrow.png) 190px 4px no-repeat;
}

body.front.account #sidebar a {
    color: #fff;
    text-transform: uppercase;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
}

body.front.account.cartes #sidebar li,
body.front.account.alertes #sidebar li,
body.front.account.view #main li,
body.front.account.forfait #main li
 {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    display: block;
}

body.front.account.sidebared #page {
    padding: 30px 0 0;
    width: 760px;
}

body.front.account.sidebared #main h2 {
    margin-top: 0;
    color: #056c8d;
    border-bottom: 1px solid #056c8d;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
}



body.front.account.sidebared #main button {
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    background: none repeat scroll 0 0 #5EC200;
    color: #FFF;
    text-transform: uppercase;
    font-family: "Amaranth", sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
    margin-right: 10px;
    border: medium none;
    box-shadow: none;
}

body.front.account.sidebared #main h2 .retourMenu {
    display: none;
}

body.front.account h2 {
    font-size: 1.3em;
    padding-bottom: 10px;
    line-height:1.2em;
}

body.front.account h3 {
    padding-top: 10px;
    font-size: 1.1em;
}

body.front.account p {
    font-size: 1.1em;
}

/* Styles pour la page de profil */
body.front.account.view input {
    color: #056c8d;
    font-size: 12px;
    width: 150px;
    padding-left: 3px;
}

body.front.account.view input#email {
    width: 160px;
    border: none;
    background: none;
    padding: 0;
}

body.front.account.view #main ul {
    margin-bottom: 20px;
    position: relative;
}

body.front.account.view #main li {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    margin-top: 10px;
}

body.front.account.view #main li button {
    margin-top: 18px;
    position: absolute;
    right: 0;
}

body.front.account.view #main label {
    display: block;
    color: #000;
}

body.front.account.view #main label:first-letter {
    text-transform: uppercase;
}

body.front.account.view #main #account_view_infos {
    padding-bottom: 40px;
}

body.front.account.view #main a.confirmation {
    text-decoration: underline;
    color: #0a6f8f;
}

body.front.account.view #main a:hover.confirmation {
    color: #000;
}

/* Styles pour la page d'adresse */
body.front.account.adresse input {
    width: 160px;
    color: #056c8d;
    font-size: 12px;
    width: 150px;
    padding-left: 3px;
}

body.front.account.adresse #main ul {
    margin-bottom: 20px;
    position: relative;
}

body.front.account.adresse #main li {
    display: inline-block;
    vertical-align: top;
    margin-right: 5px;
    margin-top: 10px;
}

body.front.account.adresse #main li button {
    margin-top: 18px;
    position: absolute;
    right: 0;
}

body.front.account.adresse #main label {
    display: block;
    color: #000;
}

body.front.account.adresse #main .whole {
    display: block;
}

body.front.account.adresse #main label:first-letter {
    text-transform: uppercase;
}

body.front.account.adresse #main #account_view_address li {
    width: 350px;
}

body.front.account.adresse #main #account_view_address input {
    width: 315px;
}

body.front.account.adresse #main #account_view_address .whole label {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}

body.front.account.adresse #main #account_view_address .whole span {
    display: inline-block;
}

body.front.account.adresse #main #last_name {
    text-transform: uppercase;
}

/* Styles pour la page des cartes */


body.front.account.cartes #mesEnvois {
    padding-bottom:25px;
}

body.front.account.cartes h3 {
    font-size:15px;
}

body.front.account.cartes table {
    width: 100%;
    margin: 10 0;
}

body.front.account.cartes table a {
    color: #056c8d;
    text-decoration: underline;
}

body.front.account.cartes th {
    padding: 5px;
    background: #fff;
    border: 1px solid #777;
    text-transform: uppercase;
    font-weight: 700;
    color: #000;
    padding: 7px;
    text-align: left;
}

body.front.account.cartes td {
    padding: 7px;
    background: #fff;
    border: 1px solid #777;
}

body.front.account.cartes td p.renvoi-info {
    padding: 0 0 7 0;
}

body.front.account.cartes td p {
    font-size: 1em;
    word-wrap: break-word;
}

body.front.account.cartes td span.ouvert {
    color: #00AD35;
}

body.front.account.cartes td:nth-child(1) {
    width: 10%;
}

body.front.account.cartes td:nth-child(2) {
    width: 25%;
}

body.front.account.cartes td:nth-child(3) {
    width: 25%;
}

body.front.account.cartes td:nth-child(4) {
    width: 35%;
}

body.front.account.cartes #envoisFB td.dateEnvoi {
    width: 10%;
}

body.front.account.cartes #envoisFB td.carteEnvoi {
    width: 90%;
}

/* Styles pour les boutons "copier lien" */
.copied-message {
    display: inline-block;
    margin-left: 10px;
    color: #fff !important;
    font-weight: 700;
    font-size: 1.1em;
    animation: fadeIn 0.3s ease-in-out;
    background: #2b97ba;
    padding: 8px 12px;
    border-radius: 8px;
    font-style:normal !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Cartes non-premium */
.non-premium-cards {
    margin: 20px 0;
}

.non-premium-cards h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #2d98bb;
}

.non-premium-cards .info-message {
    background: #f0f7ff;
    border-left: 4px solid #2d98bb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Tableau des envois */
.non-premium-cards .envois-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.non-premium-cards .envois-table thead {
    background: #f5f5f5;
}

.non-premium-cards .envois-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.non-premium-cards .envois-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.non-premium-cards .envois-table .dateEnvoi {
    width: 100px;
    font-weight: bold;
}

.non-premium-cards .envois-table .carteEnvoi {
    font-size: 1.1em;
}

.non-premium-cards .envois-table .carteEnvoi a {
    color: #2d98bb;
    text-decoration: none;
}

.non-premium-cards .envois-table .carteEnvoi a:hover {
    text-decoration: underline;
}

.non-premium-cards .envois-table .destinataireEnvoi ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Ligne floutée */
.non-premium-cards .envois-table tr.blurred-row {
    position: relative;
    background: #fafafa;
}

.non-premium-cards .envois-table tr.blurred-row .blurred-text {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    color: #999;
}

/* Bouton premium */
.gopremium {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.gopremium a {
    display: inline-block;
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: bold;
    font-size:20px;
}


/* Responsive */
@media (max-width: 768px) {
    .non-premium-cards .envois-table .dateEnvoi {
        width: 80px;
        font-size: 0.9em;
    }
    
    .non-premium-cards .envois-table td {
        padding: 10px;
    }
}





/* Styles pour les infobulles */

.tooltip-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.tooltip-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.close-tooltip {
    margin-top: 15px;
    padding: 10px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.filter-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filter-tab {
    padding: 8px 16px;
    border: 1px solid #056c8d !important;
    background-color: white !important;
    color: #056c8d !important;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    background-color: #056c8d !important;
    color: white !important;
    border-color: #056c8d !important;
}

.year-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.year-filter select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.copied-message {
    display: inline-block;
    margin-left: 10px;
    color: green;
    font-style: italic;
}

.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}


@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-tabs, .year-filter {
        width: 100%;
    }
    
    .year-filter {
        margin-top: 15px;
    }
}

/* Styles pour les popups */
body.front.account.cartes #renvoi_popup {
    padding: 30px;
}

body.front.account.cartes .message_popup {
    position: relative;
    padding: 10px 20px;
    background: #fff;
}

body.front.account.cartes .ui-widget {
    font-family: Arial, sans-serif;
    font-size: 11px;
}

body.front.account.cartes .ui-widget .ui-widget {
    font-size: 1em;
}

body.front.account.cartes .ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: Arial, sans-serif;
    font-size: 1em;
}

body.front.account.cartes .ui-widget-content {
    border: 1px solid #aaa;
    background: #fff;
    color: #222;
}

body.front.account.cartes .ui-widget-content p,
body.front.account.cartes .ui-widget-content form,
body.front.account.cartes .ui-widget-content .ui-dialog-buttonset {
    padding: 10px;
}

body.front.account.cartes .no-title-close .ui-dialog-titlebar-close {
    display: none;
}

body.front.account.cartes .ui-widget-content button {
    margin-right: 10px;
    padding: 8px 10px;
}

body.front.account.cartes .ui-widget-content a {
    color: #222;
}

body.front.account.cartes .ui-widget-header {
    border: 1px solid #aaa;
    background: #ccc;
    color: #222;
    font-weight: 700;
    padding: 10px;
}

body.front.account.cartes .ui-widget-header a {
    color: #222;
}

/* Styles pour la page des forfaits */
body.front.account.forfait #main ul {
    margin-bottom: 20px;
}

body.front.account.forfait #main li {
    padding: 5px 0;
}

body.front.account.forfait #main ul label {
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

body.front.account.forfait #main ul span {
    color: #056c8d;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

body.front.account.forfait #main ul li.more span {
    color: #000;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 10px;
}

body.front.account.forfait #main ul li.more p {
    margin-bottom: 10px;
}

body.front.account.forfait #main li.more a {
    display: inline-block;
    padding: 5px 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #5ec200;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none;
    margin-right: 10px;
}

body.front.account.forfait #main li.more a:hover {
    background: #71ca1e;
}

body.front.account.forfait table#transactions {
    width: 100%;
}

body.front.account.forfait table#transactions th {
    padding: 5px 0;
    border-bottom: 1px solid #777;
    text-transform: uppercase;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-align: left;
}

body.front.account.forfait table#transactions tr:hover {
    background: #ddd;
}

body.front.account.forfait table#transactions td {
    padding: 5px 0;
}

body.front.account.forfait table#transactions td:nth-child(3),
body.front.account.forfait table#transactions th:nth-child(3) {
    text-align: right;
}

body.front.account.forfait table#transactions td:nth-child(4),
body.front.account.forfait table#transactions th:nth-child(4) {
    text-align: center;
}

body.front.account.forfait table#transactions td a {
    color: #056c8d;
}

body.front.account.forfait #facture_popup {
    position: relative;
}

body.front.account.forfait #facture_popup div {
    position: relative;
    padding: 10px 20px;
    background: #fff;
    height: 225px;
}

body.front.account.forfait #facture_popup ul {
    font-family: 'Amaranth', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-left: 20px;
    color: #057da5;
    line-height: 1.2em;
}

body.front.account.forfait #facture_popup a {
    position: absolute;
    margin-top: 20px;
    display: inline-block;
    background: transparent url(../img/front/sprite2.png) 50% 50% no-repeat;
    width: 170px;
    padding: 20px 10px;
    text-align: center;
    height: 40px;
    color: #000;
    font-family: 'Amaranth', sans-serif;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
}

body.front.account.forfait #facture_popup a.ok {
    right: 20px;
    background-position: 0 -345px;
}

body.front.account.forfait #facture_popup a.not_ok {
    left: 20px;
    background-position: 0 -445px;
}

body.front.account.forfait #main li.parrainages {
    background: #ffce55;
    font-weight: 400;
    font-size: 17px;
    font-family: 'Amaranth', sans-serif;
    line-height: 1.4em;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 5px;
}

body.front.account.forfait #main li.parrainages a {
    text-decoration: underline;
}

body.front.account.forfait #main li.parrainages a:hover {
    color: #000;
}

/* Styles pour la page alertes */
body.front.account.alertes span#date {
    display: inline-block;
    width: 220px;
    text-transform: lowercase;
}

body.front.account.alertes #main button {
    display: inline-block;
    padding: 5px 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #5ec200;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    margin-right: 10px;
    border: none;
    box-shadow: none;
}

body.front.account.alertes #main #alerte {
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 13px;
    width: 250px;
}

body.front.account.alertes #main button:hover {
    background: #71ca1e;
}

body.front.account.alertes table#alertes {
    width: 100%;
}

body.front.account.alertes table#alertes th {
    padding: 10px 10px 5px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-align: left;
}

body.front.account.alertes table#alertes tr {
    border-bottom: 1px solid #aaa;
}

body.front.account.alertes table#alertes tr:hover {
    background: #ddd;
}

body.front.account.alertes table#alertes td {
    padding: 10px;
}

body.front.account.alertes table#alertes td:nth-child(2),
body.front.account.alertes table#alertes th:nth-child(2) {
    text-align: center;
}

body.front.account.alertes table#alertes td:nth-child(4),
body.front.account.alertes table#alertes th:nth-child(4) {
    text-align: center;
}

body.front.account.alertes table#alertes td a {
    color: #056c8d;
}

/* Styles pour la page parrainages */
body.front.account.parrainages h3 {
    color: #000;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 13px;
}

body.front.account.parrainages table {
    width: 500px;
}

body.front.account.parrainages table a {
    color: #056c8d;
}

body.front.account.parrainages th {
    padding: 5px;
    background: #fff;
    border: 1px solid #777;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left;
}

body.front.account.parrainages tr.valide td {
    font-weight: 700;
    color: #5ec200;
}

body.front.account.parrainages td {
    padding: 5px;
    background: #fff;
    border: 1px solid #777;
}

body.front.account.parrainages td p {
    word-wrap: break-word;
}

body.front.account.parrainages td:nth-child(1) {
    width: 80%;
}

body.front.account.parrainages td:nth-child(2) {
    width: 20%;
}

body.front.account.parrainages #main form textarea {
    height: 100px;
    width: 500px;
    display: block;
}

body.front.account.parrainages #main button {
    display: inline-block;
    position: relative;
    left: 400px;
    width: 100px;
    margin-top: 10px;
    padding: 5px 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #5ec200;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 11px;
    text-decoration: none;
    margin-right: 10px;
    border: none;
    box-shadow: none;
}

body.front.account.parrainages #main a {
    color: #187795;
    text-decoration: underline;
}


/* ============================================
   NOUVEAUX STYLES POUR LE SYSTÈME D'ONGLETS
   ============================================ */

body.account.enter #content {
    position: relative;
    padding-top: 25px; /* Espace pour les onglets */
}

/* Préparation du conteneur principal */
body.account.enter #main {
    position: relative;
    z-index: 5;
    padding-top: 0px; /* Espace additionnel pour les onglets */
}

/* Structure du wrapper */
body.account.enter .wrapper {
    z-index: 100;
    width: 100%;
    padding: 23px 40px 40px 40px;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 3px 1px #99a1a4;
    margin:20px auto 20px auto;
    position:relative;
    z-index:10;
    border-color: #afdfeb;
}


body.account.enter .wrapper div div {
    padding: 15px 20px 80px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;  
}

/* Positionnement des onglets au-dessus du main */
.login-tabs {
    display: flex;
    max-width:600px;
    justify-content: center;
    margin: 0 auto;
    border-bottom: none;
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 50;
}

/* Style des onglets individuels */
.login-tabs .tab {
    padding: 12px 25px;
    background: #afdfeb; /* Fond blanc pour onglet inactif */
    color: #045080;
    font-family: 'Amaranth', sans-serif;
    font-size: 18px;
    font-weight: normal;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    margin: 0 5px;
    border: 1px solid #afdfeb;
    border-bottom: none;
    text-align: center;
    flex: 1;
}

/* Style de l'onglet actif */
.login-tabs .tab.active {
    background: #FFFFFF; /* Même couleur que le main */
    color: #045080;
    border-color: #707070;
}

/* Gestion des panneaux d'onglets */
.tab-panel {
    display: none; /* Caché par défaut */
}

.tab-panel.active {
    display: block; /* Visible quand actif */
}

/* Formulaire de connexion centré */
body.account.enter #login.tab-panel {
    position: relative;
    width: 400px;
    margin: 0 auto;
    left: auto;
    right: auto;
    top: auto;
}

body.account.enter #login.tab-panel .fond_formulaire {
    background: none;
    position: relative;
    /*max-width:92%;*/
    padding-bottom: 100px; /* Espace pour le bouton */
}

/* Formulaire d'inscription à gauche */
body.account.enter #register.tab-panel {
    position: relative;
    width: 45%;
    display: inline-block;
    vertical-align: top;
    left: auto;
    top: auto;
}

body.account.enter #register.tab-panel div {
    background: #78c9dd;
    position: relative;
    padding-bottom: 100px; /* Espace pour le bouton */
}

/* Section des avantages à droite du formulaire d'inscription */
body.account.enter #avantages {
    display: none; /* Caché par défaut */
}

body.account.enter #avantages ul {
    margin-left: 25px;
    padding-top: 10px;
    line-height: 2em;
}

body.account.enter #avantages ul li {
    display: list-item;
    list-style-image: url(../img/front/check.png);
    font-size: 17px;
    line-height: 1.3em;
    margin-bottom: 10px;
}

body.account.enter #avantages .personnage {
    display:block;
    width:142px;
    margin:0 auto;
}

/* Afficher les avantages uniquement quand le formulaire d'inscription est actif */
body.account.enter #register.active ~ #avantages {
    display: inline-block;
    width: 50% !important;
    margin: 60px 0 0 30px;
    font-family: 'Amaranth', Arial, Helvetica, sans-serif;
    font-size: 18px;
}

body.account.enter #login.active ~ #avantages {
    display: none;
}

/* Styles pour les formulaires */
body.account.enter .wrapper input {
    border: 1px solid #115f6c;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    resize: none;
    padding: 2px 5px;
    font-family: 'Amaranth', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 10px;
}

body.account.enter .wrapper a {
    color: #045080;
}

body.account.enter .wrapper label {
    font-family: 'Amaranth', sans-serif;
    font-weight: 400;
    font-size: 17px !important;
    color: #045080;
}

body.account.enter .wrapper button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    border: 2px solid #FFF;
    border-radius:8px;
    background: #ffc000;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

/* Styles spécifiques pour le formulaire de connexion */
body.account.enter #login li {
    display: inline-block;
    width: 200px;
}

/* body.account.enter #login li label {
    font-size: 15px;
} */

body.account.enter #login li input {
    width: 200px;
    color: #000;
    margin-top:5px;
}

body.account.enter #login li input[type="checkbox"] {
    width: 15px;
    margin: 0 10px 0 0;
}

body.account.enter #login .repassword {
    position: relative;
    top: 0;
    left: 0;
    text-decoration: underline;
    font-size: 13px;
    font-family: 'Amaranth', sans-serif;
}

/* Styles spécifiques pour le formulaire d'inscription */
body.account.enter #register form {
    padding: 0;
}

body.account.enter #register form a {
    text-decoration: underline;
    font-weight:200 !important;
}

body.account.enter #register input {
    width: 220px;
}

body.account.enter #register .error label {
    color: red;
    background: #F2D4CE;
    padding: 5px;
}

body.account.enter #register .error select {
    color: red;
    background: #F2D4CE;
}

body.account.enter #register input[type="checkbox"] {
    width: 15px;
    margin: 15px 10px 0 0;
}

body.account.enter #register p {
    font-size: 15px;
}

body.account.enter #register ul li label {
    font-size: 15px;
}

/* Centrer les boutons dans les formulaires */
body.account.enter #register.tab-panel button,
body.account.enter #login.tab-panel button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    border: 2px solid #FFF;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

body.account.enter #login.tab-panel button {
    background-position: -800px -250px;
    width: 110px;
    height: 55px;
}

body.account.enter #register.tab-panel button {
    background-position: -800px -350px;
    width: 150px;
    height: 55px;
}

/* Masquer l'élément "déjà membre" qui est redondant avec les onglets */
body.account.enter #dejaMembre {
    display: none;
}

/* Ajustements supplémentaires */
body.account.enter .breadcrumb {
    display:none;
}

/* Espacement des formulaires */
body.account.enter #register div,
body.account.enter #login div {
    margin-top: 10px;
}

/* Styles pour les erreurs de validation */
body.account.enter input.error {
    border-color: #d9534f;
    background-color: #fff6f6;
}


.login-tabs .tab.active {
    background: #FFFFFF; /* Même couleur que le main */
    color: #045080;
    border-color: #afdfeb;
    z-index:0;
}

/* Panneaux d'onglets */
.tab-panel {
    display: none !important; /* Important pour surcharger les positions absolues */
}

.tab-panel.active {
    display: block !important;
}

/* Masquer dejaMembre car redondant */
#dejaMembre {
    display: none;
}

/* Quand l'onglet login est actif, centrer le formulaire */
#login.tab-panel.active {
    position: relative !important;
    margin: 0 auto !important;
    width: 400px !important;
    left: 0 !important;
    right: 0 !important;
}

/* Quand l'onglet register est actif, afficher register et avantages côte à côte */
#register.tab-panel.active {
    display: inline-block !important;
    width: 45% !important;
    vertical-align: top !important;
}

#register.tab-panel.active ~ #avantages {
    display: inline-block !important;
    width: 45% !important;
    margin-left: 30px !important;
    vertical-align: top !important;
}

/* Quand register n'est pas actif, masquer avantages */
#register:not(.active) ~ #avantages {
    display: none !important;
}