#main-content {
  max-width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  box-shadow: 0 4px 20px rgba(10, 10, 10, 5);
  border-radius: 10px 10px 0px 0px;
  overflow: hidden;
  background-color: #ffffff;
  transition: box-shadow 0.5s ease;
  border: solid 1px white;
  background: linear-gradient(130deg, #ffffff 88%, #2c3e50 99%);
  margin-bottom: 20px;
}

.checkbox-wrapper-53 input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.checkbox-wrapper-53 {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 20px;
  user-select: none;
}

.table thead a {
  text-decoration: none;
  color: ivory;
  font-size: 19px;
}

.text-checkbox {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: -9px;
}

#programUser {
  border: 10px;
  box-sizing: border-box;
  display: flex;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: default;
  text-decoration: none;
  margin: 4px;
  padding: 0px;
  outline: none;
  font-size: inherit;
  font-weight: inherit;
  position: relative;
  background-color: rgb(224, 224, 224);
  border-radius: 16px;
  white-space: nowrap;
  width: fit-content;
}

#programUserSpan {
  color: rgba(0, 0, 0, 0.87);
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  padding-left: 12px;
  padding-right: 12px;
  user-select: none;
  white-space: nowrap;
}

.table th,
.table td {
  padding: 4px 10px;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.247);
}

thead {
  background: linear-gradient(130deg, #6adadea2 1%, #2c3e50 10%);
}

th,
td {
  padding: 12px 20px;
  text-align: center;
  color: black;
  font-weight: 600;
}

th {
  color: white;
}


.select-program select,
.select-status select {
  appearance: none;
  flex: 1;
  padding: 0 1em;
  border: 5px groove #6adadea2;
  background: aliceblue;
}

select::-ms-expand {
  display: none;
}

.select-status {
  position: relative;
  display: flex;
  width: 10em;
  height: 2em;
  border-radius: .25em;
  overflow: hidden;
  margin-bottom: 3px;
}

.select-program {
  position: relative;
  display: flex;
  width: 12em;
  height: 2em;
  border-radius: .25em;
  overflow: hidden;
  margin-bottom: 3px;
}

.select-status::after,
.select-program::after {
  content: '\25BC';
  position: absolute;
  top: -13px;
  right: 0;
  padding: 1em;
  background-color: #6adadea2;
  transition: .25s all ease;
  pointer-events: none;
}

.select-status:hover::after,
.select-program:hover::after {
  color: #f39c12;
}

#filter_owner:focus-visible {
  outline: none;
}

#filter_owner:-webkit-autofill,
#filter_owner:-webkit-autofill:hover,
#filter_owner:-webkit-autofill:focus {
  -webkit-text-fill-color: white;
  -webkit-background-clip: text;
}

#filter_owner::placeholder {
  color: black;
}

#filter_owner {
  appearance: none;
  flex: 1;
  padding: 0 1em;
  border: 4px groove #6adadea2;
  background: aliceblue;
  width: 116px;
}


tbody tr {
  transition: background-color 0.1s ease;
}

tbody tr:hover {
  background-color: #2c3e5054;
}

.container-table-option {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 10px;
  position: relative;
}

.filter-owner-name {
  display: flex;
  justify-content: end;
  margin-bottom: 10px;
  margin-top: 10px;
}

.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  z-index: 1;
  margin-top: 13px;
}

#filter_owner+.custom-fontawesome-icon {
  margin-left: 10px;
  block-size: 10px;
}

.filter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 11px;
}

.table-container {
  margin-top: 10px;
}

.btn-container {
  display: flex;
  gap: 15px;
  animation: fadeIn 0.5s;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  min-width: 110px;
}

.btn-create {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dp {
  margin-top: 8px;
}

.btn-edit i,
.btn-edit span,
.btn-delete i,
.btn-delete span {
  color: white;
}

.btn-edit:hover i,
.btn-edit:hover span,
.btn-delete:hover i,
.btn-delete:hover span {
  color: #000000;
}

.btn-edit,
.btn-delete,
.btn-delete-selected,
.btn-create {
  padding: 5px 10px;
  border-radius: 10px;
  border: solid 1px black;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}

.btn-edit:hover,
.btn-delete-selected:hover,
.btn-create:hover {
  background: linear-gradient(120deg, #6adbde 70%, #2c3e50 85%);
  color: #000;
  transform: scale(1.02) translateY(-2px);
  text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-delete:hover {
  background: linear-gradient(120deg, #e74c3c 70%, #851414 85%);
  color: #000;
  transform: scale(1.02) translateY(-2px);
  text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-edit::after,
.btn-delete::after,
.btn-create::after,
.btn-delete-selected::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s;
}

.btn-edit:hover::after,
.btn-delete:hover::after,
.btn-create:hover::after,
.btn-delete-selected:hover::after {
  left: 100%;
}

.btn-edit:hover::before,
.btn-delete:hover::before,
.btn-create:hover::before,
.btn-delete-selected:hover::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 2px;
  background-color: white;
  border-radius: 10%;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  animation: rotateLightButtons 0.7s;
  animation-fill-mode: forwards;
  z-index: 10;
}

.btn-edit,
.btn-create {
  background-color: #2980b9;
}

.button-29 {
  align-items: center;
  appearance: none;
  background: linear-gradient(120deg, #6adbde 40%, #2c3e50 85%);
  border: 0;
  border-radius: 6px;
  box-shadow: rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, rgba(58, 65, 111, .5) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.custom-fontawesome-icon i {
  top: -3px;
  position: relative;
  font-size: 30px;
  width: 0px;
  height: 0px;
  color: #6adbde;
  outline: none;
  background: linear-gradient(120deg, #6adbde 40%, #2c3e50 85%);
}

.custom-fontawesome-icon button {
  border: none;
}

.button-29:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #6adbde 0 -3px 0 inset;
}

.btn-delete,
.btn-delete-selected {
  background-color: #e74c3c;
}

/* Animation pour l'effet rotateLight */
@keyframes rotateLightButtons {
  0% {
    transform: rotate(0deg) translateX(0);
  }

  100% {
    transform: rotate(90deg) translateX(50px);
  }
}



.confirm-delete {
  color: red;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-bottom: 10px;
}

.pagination input {
  height: auto;
  padding: 5px 10px;
  margin: 0;
  border-radius: 3px;
}

.pagination a {
  padding: 5px 10px;
  margin: 0 3px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  border-radius: 20px 50px;
}

.pagination a:hover {
  box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(45, 35, 66, .3) 0 7px 13px -3px, #6adbde 0 -3px 0 inset;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
}

.pagination-ellipsis input {
  margin-left: 5px;
}

#page-input {
  text-align: center;
  margin: 0 auto;
  width: 134px;
  border-radius: 20px 50px;
  border-style: dotted;
  border-color: lightcyan;
  color: #6adbde;
  background-color: transparent;
}

#page-input::placeholder {
  color: #6adbde;
}

#page-input:focus-visible {
  outline: none;
}


.table input[type="checkbox"] {
  height: auto;
  width: auto;
  margin: 0;
}

.table th input[type="checkbox"],
.table td input[type="checkbox"] {
  display: inline-block;
  vertical-align: middle;
  margin: auto;
}