/*--------------------------------------------------------------
# WONDER.LEGAL - 2024 
# Account pages
--------------------------------------------------------------*/

.account-pages .only-on-mobile {
  display: none;
}
.account-pages .only-on-desktop {
  display: block;
}
.account-pages .sidebar {
  background-color: var(--color-white);
  padding: 1.25em 0;
  width: 28%;
}
.account-pages .sidebar ul {
  margin: 0;
}
.account-pages .sidebar ul li {
  padding: 0;
  margin: 0 9%;
  list-style-type: none;
  background-image: none;
}
.account-pages .sidebar ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.account-pages .sidebar ul li a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-color: var(--color-white);
  padding: 0.75em;
  border: none;
  color: var(--color-navy-blue);
  border-radius: 10px;
  transition: all 0.5s;
  font-weight: bold;
}
.account-pages .sidebar ul li a i {
  margin: 0 1em 0 0.5em;
  min-width: 18px;
}
.account-pages .sidebar ul li a span {
  display: flex;
  align-items: center;
}
.account-pages .sidebar ul li a:hover {
  background-color: var(--color-light-gray);
}
.account-pages .sidebar ul li a.active {
  background-color: var(--color-teal-green);
  border-color: transparent;
}
.account-pages .sidebar ul li:last-child a {
  border-bottom: none;
}
.account-pages .alert {
  font-weight: 500;
  font-size: 100%;
  padding: 0 0 1em 0;
  margin: 0;
}
.account-pages .call2action {
  margin-top: 1em;
}
.account-pages .col75 {
  width: 68%;
}
.account-pages .col75 h2 {
  margin-top: 0.3em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: var(--color-black);
}
.account-pages .col75 h2 .btn {
  float: right;
  font-size: 15px;
}
.account-pages .col75 h2 i {
  color: var(--color-navy-blue);
  font-size: 16px;
}
.account-pages .col75 h2.after-table {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
.account-pages .col75 p,
.account-pages .col75 ul,
.account-pages .col75 ol {
  padding-bottom: 0.75em;
}
.account-pages .col75.flex {
  margin-top: 2em;
  display: flex;
  gap: 2em;
}
.account-pages .col75.flex .item-account {
  margin-top: 0;
}
.account-pages.account-index .col75 {
  min-height: 322px;
}
.account-pages.account-index .col75 .alert {
  font-size: 1.8em;
}
.account-pages.account-index .col75 h2 {
  margin: 0;
  padding: 0.5em 0.75em;
  background: var(--color-navy-blue);
  color: var(--color-white);
  font-size: 1.25em;
  border: 1px solid #e0e0e0;
  box-shadow: 0 0 0 3px var(--color-white) inset;
  border-bottom: none;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.account-pages.account-index .col75 h2.after-table {
  margin-top: 1.4em;
}
.account-pages.account-index .col75 .standard-table,
.account-pages.account-index .col75 .conditional-scroll {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  margin: 0;
}
.account-pages.account-index .col75 .standard-table tr:first-child,
.account-pages.account-index .col75 .conditional-scroll tr:first-child {
  border-radius: 0;
}
.account-pages.account-index .col75 .standard-table tr:first-child td,
.account-pages.account-index .col75 .conditional-scroll tr:first-child td {
  border-top: none;
}
.account-pages.account-index .col75 .standard-table .statut_doc a:hover,
.account-pages.account-index .col75 .standard-table .action_signature a:hover,
.account-pages.account-index .col75 .conditional-scroll .statut_doc a:hover,
.account-pages.account-index
  .col75
  .conditional-scroll
  .action_signature
  a:hover {
  color: var(--color-teal-green);
}
.account-pages.account-index .col75 .standard-table .statut_signature span,
.account-pages.account-index .col75 .conditional-scroll .statut_signature span {
  color: var(--color-navy-blue);
  background-color: #cbfff1;
  border-radius: 14px;
  white-space: nowrap;
  padding: 0.1em 0.8em;
  text-align: center;
  font-size: 0.8em;
}
.account-pages.account-index
  .col75
  .standard-table
  .statut_signature
  span:empty,
.account-pages.account-index
  .col75
  .conditional-scroll
  .statut_signature
  span:empty {
  display: none;
}
.account-pages.account-index
  .col75
  .standard-table
  .statut_signature.en_cours
  span,
.account-pages.account-index
  .col75
  .conditional-scroll
  .statut_signature.en_cours
  span {
  background-color: #e0f8ff;
}
.account-pages.account-index
  .col75
  .standard-table
  .statut_signature.annule
  span,
.account-pages.account-index
  .col75
  .conditional-scroll
  .statut_signature.annule
  span {
  color: #f50325;
  background-color: #ffe0ef;
}
.account-pages .standard-form .item {
  max-width: 100%;
  width: auto;
  padding: 0;
  margin: 0 0 0.9em 0;
  /*datepicker fields*/
}
.account-pages .standard-form .item:not(.xl-centered) label {
  display: block;
  line-height: 26px;
  float: left;
  font-size: 15px;
  padding-right: 0.5em;
}
.account-pages .standard-form .item:not(.xl-centered) input[type="text"],
.account-pages .standard-form .item:not(.xl-centered) input[type="password"],
.account-pages .standard-form .item:not(.xl-centered) input[type="email"] {
  height: 26px;
  line-height: 26px;
  float: left;
  width: 300px;
  font-size: 15px;
}
.account-pages .standard-form .item:not(.xl-centered):not(.xl-field) input[type="text"],
.account-pages .standard-form .item:not(.xl-centered):not(.xl-field) input[type="email"] {
  max-width: 60%;
}
.account-pages .standard-form .item:not(.xl-centered) textarea {
  height: auto;
  line-height: 1.3em;
  float: left;
  width: 300px;
  max-width: 60%;
  padding: 4px 8px;
  height: 82px;
  font-size: 15px;
  resize: vertical;
}
.account-pages .standard-form .item .readonly,
.account-pages .standard-form .item .readonly:hover,
.account-pages .standard-form .item .readonly:focus {
  border: none;
  color: #6b6868;
}
.account-pages .standard-form .item textarea.readonly {
  padding: 4px 0 15px 8px;
  resize: none;
}
.account-pages .standard-form .item label.date-label {
  width: 120px;
  height: 40px;
  line-height: 38px;
}
.account-pages .standard-form .item input.datepicker {
  background-color: var(--color-white);
  background-image: url("../img/svg/icon-calendar.svg");
  background-repeat: no-repeat;
  background-position: 5px 5px;
  font-size: 100%;
  padding: 0 0 0 35px;
  width: 110px;
  height: 30px;
  line-height: 28px;
  box-sizing: content-box;
}
.account-pages .standard-form .item select {
  font-size: 105%;
  height: 40px;
}
.account-pages .standard-form .item .date-select {
  float: left;
}
.account-pages .standard-form .xl-field {
  margin-bottom: 1.4em;
}
.account-pages .standard-form .xl-field label {
  padding-bottom: 0;
}
.account-pages .standard-form .xl-field input[type="text"],
.account-pages .standard-form .xl-field input[type="password"],
.account-pages .standard-form .xl-field input[type="email"] {
  width: 440px;
}
.account-pages .standard-form .xl-field textarea {
  width: 410px;
}
.account-pages .standard-form .xl-field.checkbox {
  display: flex;
  align-items: baseline;
}
.account-pages .standard-form .xl-field.checkbox label {
  line-height: 1.3em;
}
.account-pages .standard-form .xl-field.checkbox .pseudo-checkbox {
  margin: 1px 0.5em 0.5em 0;
}

.account-pages .standard-form .xl-centered input[type="text"],
.account-pages .standard-form .xl-centered input[type="password"],
.account-pages .standard-form .xl-centered input[type="email"] {
  height: 46px;
  line-height: 44px;
  width: 100%;
  max-width: 490px;
  float: none;
  display: block;
  font-size: 100%;
}
.account-pages .standard-form .xl-centered textarea {
  width: 400px;
}
.account-pages .standard-form .xl-centered input.xl-text {
  font-size: 100%;
}
.account-pages .standard-form .xl-centered.section_de_paiement {
  margin: 0 auto;
}
.account-pages .standard-form.facturation label {
  text-align: right;
  width: 30%;
}
.account-pages .standard-form.change-password .item {
  display: flex;
  flex-direction: column;
}
.account-pages .standard-form.change-password .item label {
  width: 100%;
  height: auto;
  text-align: left;
}
.account-pages .standard-form.change-password .item .password {
  max-width: 300px;
}
.account-pages .standard-form.readonly-form .item {
  border-bottom: #ededed 1px solid;
}
.account-pages .item-account {
  display: inline-block;
  width: 100%;
  margin-bottom: 0;
  padding: 1.5em;
  box-sizing: border-box;
}
.account-pages .item-account:last-child {
  margin-top: 3em;
  margin-bottom: 0.2em;
}

.confirm-close-account #confirmation-fermeture-compte,
.confirm-close-account #confirmation-sup-sauvegarde,
.confirm-delete #confirmation-fermeture-compte,
.confirm-delete #confirmation-sup-sauvegarde {
  max-width: 716px;
  width: 100%;
  padding: 1.5em;
  margin: 0 auto 2em auto;
}
.confirm-close-account #confirmation-fermeture-compte h3,
.confirm-close-account #confirmation-sup-sauvegarde h3,
.confirm-delete #confirmation-fermeture-compte h3,
.confirm-delete #confirmation-sup-sauvegarde h3 {
  padding-top: 0.5em;
}
.confirm-close-account #confirmation-fermeture-compte p,
.confirm-close-account #confirmation-sup-sauvegarde p,
.confirm-delete #confirmation-fermeture-compte p,
.confirm-delete #confirmation-sup-sauvegarde p {
  text-align: left !important;
}
.confirm-close-account #confirmation-fermeture-compte ul,
.confirm-close-account #confirmation-sup-sauvegarde ul,
.confirm-delete #confirmation-fermeture-compte ul,
.confirm-delete #confirmation-sup-sauvegarde ul {
  text-align: left !important;
}
.confirm-close-account #confirmation-fermeture-compte ul li,
.confirm-close-account #confirmation-sup-sauvegarde ul li,
.confirm-delete #confirmation-fermeture-compte ul li,
.confirm-delete #confirmation-sup-sauvegarde ul li {
  background: transparent url("../img/svg/fleche_droite.svg") no-repeat scroll 0
    12px;
  background-size: 6px;
}
.confirm-close-account #confirmation-fermeture-compte .btn.large,
.confirm-close-account #confirmation-sup-sauvegarde .btn.large,
.confirm-delete #confirmation-fermeture-compte .btn.large,
.confirm-delete #confirmation-sup-sauvegarde .btn.large {
  margin: 0.5em;
}
.confirm-close-account .btn.large,
.confirm-delete .btn.large {
  margin: 0.5em;
}

/*FIX DESIGN TABLEAU COMPTE*/
.conditional-scroll {
  border-bottom: #e0e0e0 1px solid;
  border-radius: 10px;
  max-height: 222px;
  overflow-Y: auto;
  /* pour la page historique de signature */
}
.conditional-scroll.full_height {
  height: auto !important;
}
.conditional-scroll table.standard-table {
  border-bottom: none !important;
  border-top: none !important;
}
.conditional-scroll table.standard-table tbody tr td {
  border-top: 1px solid #dfdfdf;
  border-bottom: none !important;
}
.conditional-scroll table.standard-table tbody tr td.titre {
  width: 100%;
  max-width: 355px;
  min-width: 70px;
  word-break: break-word;
}
/*END FIX*/

/*--------------------------------------------------------------
  # RESPONSIVE
  --------------------------------------------------------------*/
@media (max-width: 767px) {
  body.confirmation_desabonnement .btn-group .btn.cancel {
    margin-bottom: 0.5em;
  }
  .account-pages .only-on-mobile {
    display: block;
  }
  .account-pages .only-on-desktop {
    display: none;
  }
  .account-pages h1 {
    width: 100%;
    padding-left: 0;
  }
  .account-pages .sidebar {
    padding: 0;
    margin-bottom: 1em;
  }
  .account-pages .sidebar ul li {
    margin: 0;
    padding: 0;
  }
  .account-pages .sidebar ul li a {
    padding: 0.5em;
    border-radius: 0;
    border-bottom: 1px solid var(--color-gray);
  }
  .account-pages .sidebar ul li a span {
    width: 206px;
    margin: 0 auto;
  }
  .account-pages.account-index .col-white {
    background: none;
  }
  .account-pages.account-index .col75 h2 {
    background: var(--color-white);
    border: none;
    color: var(--color-navy-blue);
    padding: 0 0 10px 0;
  }
  .account-pages.account-index .col75 h2.after-table {
    margin-top: 1.25em;
  }
  .account-pages.account-pages .col75 {
    margin-top: 0;
    padding: 0;
  }
  .account-pages.account-pages .col75.flex {
    flex-direction: column;
    gap: 0;
  }
  .account-pages.account-pages .col75.flex .item-account {
    padding: 1em;
    margin: 0;
  }
  .account-pages.account-pages .facturation label {
    text-align: left;
    padding-bottom: 0.2em;
    width: 100%;
  }
  .account-pages.account-pages .facturation.readonly-form .item {
    display: flex;
  }
  .account-pages.account-pages .facturation.readonly-form .item .label {
    min-width: 50%;
  }
  .account-pages .conditional-scroll {
    border: 1px solid var(--color-navy-blue);
    overflow-x: hidden;
  }
  .account-pages .standard-table,
  .account-pages .conditional-scroll {
    border-radius: 10px !important;
  }
  .account-pages .standard-table {
    border: none;
  }
  .account-pages .standard-table thead {
    display: none;
  }
  .account-pages .standard-table tbody {
    border-bottom: 0;
    border-right: 0;
  }
  .account-pages .standard-table tbody tr.hide-on-mobile {
    display: none;
  }
  .account-pages .standard-table tbody tr {
    border-bottom: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: var(--color-white);
  }
  .account-pages .standard-table tbody tr:first-child {
    border-top-right-radius: 2px !important;
    border-top-left-radius: 2px !important;
    overflow: hidden;
  }
  .account-pages .standard-table tbody tr td {
    display: block;
    width: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none !important;
    height: auto;
    line-height: 1.3em;
    padding: 10px;
  }
  .account-pages .standard-table tbody tr td a,
  .account-pages .standard-table tbody tr td button {
    font-weight: 400 !important;
  }
  .account-pages .standard-table tbody tr td.date {
    width: 100%;
    background-color: var(--color-navy-blue);
    color: var(--color-white);
    text-align: center;
    line-height: 1;
    padding: 2px;
  }
  .account-pages .standard-table tbody tr td.date:empty {
    display: none;
  }
  .account-pages .standard-table tbody tr td.titre {
    max-width: 100% !important;
    line-height: 1;
  }
  .account-pages .standard-table tbody tr td.statut_signature {
    order: 1;
    width: 100%;
    text-align: center;
    padding-top: 0;
  }
  .account-pages .standard-table tbody tr td.action_signature a:hover {
    padding-bottom: initial;
  }
  .account-pages .standard-table tbody tr td.doc_tab {
    display: flex;
    border: none;
    flex: 1;
    justify-content: center;
    align-items: center;
  }
  .account-pages .standard-table tbody tr td.doc_tab span.doc_tab__message {
    min-width: auto;
  }
  .account-pages table.standard-table.billing-history tbody tr td.id_facture,
  .account-pages table.standard-table.billing-history tbody tr td.date {
    width: 49.5%;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
  }
  .account-pages
    table.standard-table.billing-history
    tbody
    tr
    td.id_facture
    span.inner,
  .account-pages
    table.standard-table.billing-history
    tbody
    tr
    td.date
    span.inner {
    padding-left: 0.8em;
  }
  .account-pages table.standard-table.billing-history tbody tr td.id_facture {
    line-height: 1;
  }
  .account-pages
    table.standard-table.billing-history
    tbody
    tr
    td.id_facture
    .inner:before {
    content: "# ";
  }
  .account-pages table.standard-table.billing-history tbody tr td.date, 
  .account-pages table.standard-table.billing-history tbody tr td.id_facture {
    background-color: var(--color-navy-blue);
    color: var(--color-white);
  }
  .account-pages table.standard-table.billing-history tbody tr td.obj_facture {
    font-weight: 500;
    width: auto;
    clear: both;
  }
  .account-pages table.standard-table.billing-history tbody tr td.prix {
    text-align: left;
  }
  .account-pages
    table.standard-table.billing-history
    tbody
    tr
    td.prix
    .price-mobile {
    display: inline;
  }
  .account-pages .col75 h2 .btn {
    display: inline-block;
    float: none;
    margin: 0.7em 0 0 0;
  }
  .account-pages .standard-form .item,
  .account-pages .standard-form .item:not(.xl-centered) input[type="password"],
  .account-pages .standard-form .item:not(.xl-centered):not(.xl-field) input[type="text"],
  .account-pages .standard-form .item:not(.xl-centered):not(.xl-field) input[type="email"],
  .account-pages .standard-form .item:not(.xl-centered) textarea,
  .account-pages .standard-form .item select {
    width: 100%;
    max-width: 100%;
  }

  .account-pages .standard-form .item:not(.xl-centered) textarea {
    padding: 2.6%;
    float: none;
  }

  .account-pages .standard-form .item input.datepicker {
    padding: 10px 0 10px 13%;
    width: 87%;
  }
  .account-pages .standard-form .btn {
    display: table;
    margin: 0 auto 0.5em auto;
    text-align: center;
  }
  .account-pages
    .standard-form
    .item.xl-centered
    .champ_radio_formulaire_principal {
    width: 100%;
  }
  .account-pages .standard-form.liste-ventes-partenariats .btn.call2action {
    margin-top: 1.5em;
  }
  .account-pages .standard-form.readonly-form .item input[type="text"].readonly,
  .account-pages
    .standard-form.readonly-form
    .item
    input[type="email"].readonly,
  .account-pages
    .standard-form.readonly-form
    .item
    input[type="password"].readonly {
    text-indent: 0;
  }
  .account-pages .standard-form.readonly-form .item textarea {
    padding-left: 0;
  }
  .account-pages .popup .standard-form .item label {
    padding: 0 0 0.7em 0 !important;
  }
  .compte_aide_avocat .account-pages h2 {
    line-height: 1.3em;
    align-items: baseline;
  }
  .compte_aide_avocat .account-pages h2 img {
    transform: translateY(2px);
  }
}
