.only-collaborateur {
  display: none !important;
}
body.role-contributor .only-collaborateur {
  display: inline-block !important;
}


.post-1360 .acf-form-submit input {
	background-color: #eee;
	background-color: rgba(0, 0, 0, 0.80);
	border: 1px solid #ddd;
	border: 1px solid rgba(0, 0, 0, 0.9);
	color: #fff;
	color: rgba(255, 255, 255, 1);
	font-size: 16px;
	cursor: pointer;
	transition: 0.2s;
	box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.25);
	padding: .5em;
}

.post-165 .acf-form-submit input {
	background-color: #eee;
	background-color: rgba(0, 0, 0, 0.80);
	border: 1px solid #ddd;
	border: 1px solid rgba(0, 0, 0, 0.9);
	color: #fff;
	color: rgba(255, 255, 255, 1);
	font-size: 16px;
	cursor: pointer;
	transition: 0.2s;
	box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.25);
	padding: .5em;
	margin-bottom: 1em;
}

.post-165 .acf-form-submit {
	text-align: right;
    padding-right: 1em;
}

/* Style général */
.table-membres {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95rem;
    color: #333;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

/* En-têtes */
.table-membres thead {
    background-color: #f7f9fb;
    color: #555;
}

.table-membres th,
.table-membres td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.table-membres tbody tr:hover {
    background-color: #f1f5f9;
}

/* Bouton certifier */
.table-membres .button {
    padding: 6px 12px;
    background-color: #2b7cff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.table-membres .button:hover {
    background-color: #1a61d1;
}

/* Bouton désactivé */
.table-membres td .button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Lien filtrage */
.form-filtre {
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.form-filtre label {
    font-weight: 500;
    margin-right: 6px;
}

.form-filtre select {
    padding: 6px 10px;
    font-size: 0.95rem;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    background: #fff;
}

.form-filtre input[type="submit"] {
    background-color: #2b7cff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-filtre input[type="submit"]:hover {
    background-color: #1a61d1;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .table-membres thead {
        display: none;
    }

    .table-membres tbody tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
    }

    .table-membres td {
        display: flex;
        justify-content: space-between;
        padding: 6px 10px;
        border-bottom: none;
    }

    .table-membres td::before {
        content: attr(data-label);
        font-weight: bold;
        flex-basis: 40%;
        color: #666;
    }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  padding: 8px 12px;
  border: 1px solid #d0d6dc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background-color: #e5f1ff;
  color: #0073aa;
  border-color: #0073aa;
}

.pagination .current {
  background-color: #0073aa;
  color: white;
  border-color: #0073aa;
  font-weight: bold;
}

.table-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
  padding: 15px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.table-filters input[type="text"] {
  flex: 1 1 200px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
  color: #374151;
  transition: all 0.2s ease-in-out;
}

.table-filters input[type="text"]::placeholder {
  color: #9ca3af;
}

.table-filters input[type="text"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  outline: none;
}

/* Responsive */
@media (max-width: 768px) {
  .table-filters {
    flex-direction: column;
  }
  .table-filters input[type="text"] {
    flex: 1 1 100%;
  }
}

/* Pagination container */
#pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* Boutons de page */
#pagination button {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#pagination button:hover {
  background-color: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}

#pagination button:disabled {
  background-color: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  cursor: default;
  opacity: 0.9;
}

/* Responsive : petits écrans */
@media (max-width: 600px) {
  #pagination {
    gap: 5px;
  }

  #pagination button {
    padding: 5px 10px;
    font-size: 13px;
  }
}

