/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.colors {
  color: var(--info-287798);
  color: var(--validation-18b63a);
  color: var(--modif-f0b63a);
  color: var(--suppr-f05d3a);
}

.valid-btn {
  background-color: var(--validation-18b63a)!important;
}
.modif-btn {
  background-color: var(--modif-f0b63a)!important;
}
.suppr-btn {
  background-color: var(--suppr-f05d3a)!important;
}
.info-btn {
  background-color: var(--info-287798)!important;
}
.valid-btn:hover,
.modif-btn:hover,
.suppr-btn:hover,
.info-btn:hover {
  opacity: 0.8;
}

/* BALISES VIDES SHORTCODE */
p:empty {
  display: none !important;
  margin: 0 !important;
}

/* TABLEAU DE SITES POUR COMMANDE */
.site-element {
  cursor: pointer;
  height: 84px;
}

/* BOX ABSOLUTE INFO COMMANDE */
#box_info_commande {
  display: none;
  position: fixed;
  bottom: 50px;
  left: 50%;
  align-items: center;
  gap: 20px;
  padding: 15px 30px;
  color: #fff;
  background-color: var(--info-287798);
  border-radius: 3px;
  transform: translateX(-50%);
  z-index: 999;
  width: max-content;
}

#box_info_commande p {
  margin: 0;
}

/* SECTION CREDITS */
.credits-bloc-number {
  position: absolute;
  right: 5px;
  top: 50px;
  width: 150px;
  z-index: 500;
}

/* DIV FORMULAIRES */
.inputParent {
  margin-bottom: 40px;
}

/* CAMPAGNE EN COURS */
.container-flex {
  display: flex;
  gap: 20px;
}

.container-flex-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container-flex-sites {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.box-title {
  color: var(--accent);
  font-weight: bold;
  font-size: 18px;
}

.title-info-site {
  margin-bottom: 10px;
}

.box-header-site {
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 32px 8px rgba(1, 24, 38, 0.04);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 16px;
  align-items: center;
  cursor: pointer;
}

.notifs-main-campaign {
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 13px;
  align-items: center;
  cursor: pointer;
  box-shadow: 0px 0px 0px 3px rgb(0 0 0 / 8%);
  margin-top: 10px;
  width: max-content;
}
.notifs-main-campaign button {
  padding: 5px 10px;
  font-size: 12px;
}

.header-edit-campagne {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 20px;
}

.header-bottom {
  margin-top: 20px;
}

.box-form-site {
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 32px 8px rgba(1, 24, 38, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-custom label {
  display: block;
}

.box-info-brief {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  color: var(--violine);
  background-color: #ededfc;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
}

.form-custom input[type="text"],
.form-custom input[type="number"],
.form-custom input[type="url"],
.form-custom select,
.form-custom textarea {
  padding: 8px 16px;
  width: 100%;
  background-color: #fff;
  border: 1px solid #d1d9e5;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.form-custom input[type="text"],
.form-custom input[type="number"],
.form-custom input[type="url"],
.form-custom select{
  height: 45px;
}

.form-custom label {
  color: var(--violine);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.container-flex-checkbox {
  display: flex;
  gap: 5px;
  align-items: center;
}

.container-flex-checkbox label {
  margin: 0;
  cursor: pointer;
}

.radio-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.radio-item label {
  margin: 0;
  cursor: pointer;
}

.form-custom {
  box-shadow: 0px 0px 12px 8px rgb(0 0 0 / 8%);
  padding: 30px;
  border-radius: 12px;
  margin-top: 20px;
}

.form-custom input[type="date"] {
  padding: 8px 8px;
  background-color: #fff;
  border: 1px solid #d1d9e5;
  border-radius: 8px;
  transition: border-color 0.2s;
  font-size: 14px;
}

.edit-campaign-actions {
  display: flex;
  gap: 20px;
  justify-content: end;
  padding: 30px 0px;
}

#refusal_brief_block,
#confirmation_brief_block {
  display: none;
}

.site-box-form {
  display: flex;
}

input[type="checkbox"] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  background: #fff;
  border: 1px solid #d1d9e5;
  border-radius: 3px;
}

/* VERIF CHAMP TEXTE */
.input-error {
  border: 1px solid red !important;
}

.input-success {
  border: 1px solid green !important;
}

.input-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-left: 5px;
}

.gb-button {
  cursor: pointer;
}

/* MESSAGES STATUT */
.message-success {
  color: green;
  margin-bottom: 10px;
}

.message-orange {
  color: #f19e36;
  margin-bottom: 10px;
  font-weight: bold;
}

.name-element {
  font-weight: bold;
}

textarea.disabled {
  background-color: #f2f2f2;
  color: rgba(0, 0, 0, 0.5);
}

/* LISTE ELEMENTS (BRIEFS, PROJETS...) */
.actions-td{
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.general-th-table {
  color: var(--grey-th);
  margin-bottom: 20px;
}
.general-td-table {
  min-height: 64px;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--contrast-bg);
}
.listing-items-table,
.listing-items-table th,
.listing-items-table td {
  border: none;
}

.listing-items-table {
  border-collapse: separate;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  border-spacing: 0 10px;
  margin-bottom: 10px;
}

.listing-items-table thead {
  background-color: var(--info-287798);
  color: white;
}

.listing-items-table th {
  padding: 15px 0px;
}

.listing-items-table td {
  text-align: center;
  border-bottom: 1px solid #e3e3e3;
  border-top: 1px solid #e3e3e3;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-title-box {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

/* Masquer l'input de type checkbox */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Créer le checkmark personnalisé */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
}

.custom-checkbox .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #ccc;
  margin-right: 10px;
  position: relative;
  border-radius: 4px;
}

/* État lorsque le checkbox est coché */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: var(--validation-18b63a);
}

/* Ajouter le symbole de checkmark */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

/* Style du checkmark */
.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.sorting-link {
  color: white !important;
}

.sorting-link:hover {
  color: var(--accent) !important;
}

/* MODAL */
.modal {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 50px 0px;
}

.modal-container {
  background-color: #fff;
  padding: 10px 30px 20px 30px;
  border-radius: 5px;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.shadow-box-1 {
  box-shadow: 0 2px 16px 8px rgba(1, 24, 38, 0.04);
}
.modal-header {
  max-height: 20px;
  display: flex;
  justify-content: end;
}
.modal-footer {
  display: flex;
  justify-content: end;
  gap: 20px;
}
.modal-close {
  color: #aaa;
  font-weight: bold;
  font-size: 30px;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.box-performances {
  overflow: hidden;
  background: #f6f6fc;
  border: 1px solid #d0cfea;
  border-radius: 12px;
}

.perf-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}

.perf-line-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px;
  color: #4f4ce0;
  background: #ededfc;
}
.box-performances-scores {
  padding: 0 24px;
}

.box-image-title-modal img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.modal-info-site-price {
  font-weight: bold;
  background: #fff;
  border-radius: 12px;
  border: solid 1px #f0f0f0;
  padding: 10px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.box-site-terms-modal {
  color: #4f4ce0;
  font-size: 14px;
}

.box-price {
  font-size: 24px;
  color: var(--accent);
  font-weight: bold;
}

.modal-info-site-price div:nth-child(2) {
  font-size: 14px;
}

.box-site-title-modal {
  font-size: 18px;
  font-weight: bold;
}

.box-site-url-modal a {
  color: var(--global-blue);
  font-size: 15px;
}

#tooltip {
  display: none;
  position: absolute;
  z-index: 1000;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  font-size: 14px;
}

/*** BOUTONS ***/
button,
.btn-link {
  /* background-color: var(--contrast-2); */
  color: var(--base-3);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 30px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  gap: 5px;
}

/* button:hover,
.btn-link:hover {
  background-color: var(--accent);
  color: var(--base-3);
} */

button svg {
  width: 20px;
  height: 20px;
}

.btn-orange {
  background-color: var(--contrast-3);
}
/******/

select {
  min-width: 150px;
  font-size: 16px;
  cursor: pointer;
}

/* PAGINATION */
.pagination-items {
  text-align: center;
  margin: 0 auto;
}

.pagination-items a,
.pagination-items span {
  display: inline-block;
  margin: 0 5px;
  padding: 5px 10px;
  color: white !important;
  text-decoration: none;
  background-color: var(--info-287798);
  border-radius: 0px;
  border-radius: 3px;
}

.pagination-items a:hover {
  background-color: var(--accent);
  border-radius: 3px;
}

.pagination-items .current {
  background-color: var(--accent);
  color: white;
}

/* PROJETS */
.select-project-box {
  display: flex;
  gap: 5px;
  align-items: center;
}

.select-project-box button {
  padding: 8px 15px;
}

/* ACCUEIL */
.terms-site-home {
  line-height: 18px;
}

.terms-site-home a {
  color: var(--contrast);
  font-size: 14px;
  font-weight: 700;
}

.terms-site-home a:hover {
  color: var(--accent);
}

/* BRIEF */
.small-infos-td {
  /* padding-right: 30px; */
  padding-right: 30px;
}
.status-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.status-icon {
  width: 32px;
  height: 32px;
}

.status-text,
.text-small {
  font-size: 12px;
}

.status-text.status-valid {
  color: green;
  font-weight: bold;
}

.ombrage {
  box-shadow: 0px 0px 15px #ccc;
}
.ticket_Titles:after {
  content: "";
  display: block;
  width: 18px;
  height: 5px;
  margin: 0 0 17px;
}
.ticket_Y:after {
  background: var(--global-yellow);
}
.ticket_B:after {
  background: var(--global-blue);
}
.ticket_G:after {
  background: var(--global-green);
} /* GeneratePress Site CSS */ /* Right sidebar */
.wp-block-categories {
  list-style: none;
  margin-left: 0;
}
.wp-block-categories li:not(last-child) {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--base);
}
.wp-block-categories li a {
  font-size: 16px;
}

/* Box shadow */
.box-shadow {
  box-shadow: 0px 0px 25px -12px rgba(0, 0, 0, 0.2);
} /* End GeneratePress Site CSS */

.credits-infos-mini .gb-highlight {
  background-color: var(--accent);
  padding: 4px 6px;
  border-radius: 20px;
}
.woocommerce-MyAccount-navigation-link--customer-logout {
  display: none;
}
/* WOO COMMERCE */
.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
  float: left;
  width: 18%;
}
.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
  width: 77%;
}
.woocommerce div.product form.cart .variations select {
  max-width: 100%;
  min-width: 50%;
  display: inline-block;
  margin-right: 1em;
}
.wc-block-cart__submit-button {
  border: 1px solid;
  border-radius: 5px;
}
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  border: 1px solid;
  border-radius: 0;
  padding: 6px 6px;
  max-width: 100%;
}
#tab-title-reviews,
.woocommerce-product-gallery__trigger {
  display: none !important;
}

/* BOUTON OEIL BRIEF */

.box-brief-project {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.briefs_bt_project_btn {
  padding: 8px 15px;
}

/* FORM FILTRE */
.box-filters-form {
  border: 1px solid #e7e7e7;
  padding: 10px;
}
.form-briefs {
  box-shadow: none;
  display: flex;
  align-items: end;
  padding: 0px 0px;
  justify-content: space-between;
  margin-top: 0px;
}

.filters-title {
  font-size: 13px;
  margin-bottom: 5px;
}

/* RADIO LIENS INTERNES FORM BRIEF */
.liens-internes > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.liens-internes > div label {
  margin: 0;
  cursor: pointer;
}

/* COMMENTAIRE EDITEUR SUR PAGE BRIEF */
.box-note-validation p,
.internal-link-validation {
  font-size: 13px;
}

.brief-links {
  gap: 5px;
}

/* LIEN DE TRI TABLEAU PAGE MES BRIEFS */
.listing-items-table .sorting-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* PAGE STATISTIQUES */
th a {
  text-decoration: underline !important;
  color: #fff !important;
}
th a:hover {
  text-decoration: underline !important;
  color: var(--accent) !important;
}

th a.sorted {
  text-decoration: underline;
  /* Souligner le lien trié */
}

th span {
  display: none;
  /* Masquer la flèche par défaut */
  margin-left: 5px;
}

th a.sorted + span {
  display: inline;
  /* Afficher la flèche quand le lien est trié */
}

th span.asc::after {
  content: " ↑";
  /* Flèche ascendante */
}

th span.desc::after {
  content: " ↓";
  /* Flèche descendante */
}

/* PAGE MES BRIEFS */
.small-infos-brief {
  text-align: left;
  width: max-content;
  padding-left: 20px;
  max-width: 600px;
  /* margin: 0 auto; */
}

.client-brief {
  font-size: 13px;
}

/* MES SITES */
.site-statut {
  font-size: 12px;
  color: #777;
  font-weight: 700;
}

.score-title{
  margin-bottom: 10px;
}

.ttf-container{
  gap: 10px;
}

.ttf-item{
  color: var(--violine);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  border: solid 1px #ccc;
  padding: 3px 5px;
}

#sitesListingBulk{
  min-height: 400px;
  font-size: 13px;
}

.site-bulk-form .input-container{
  margin-bottom: 25px;
}
.site-bulk-form .input-container label{
  font-size: 16px;
}
#importSiteSubmit{
  margin-top: 20px;
}