/* Loaded after datatables.min.css on the spells page */

.SpellsPage .dataTables_wrapper {
  color: #f7e7bd !important;
}

.SpellsPage .dataTables_wrapper .dataTables_length,
.SpellsPage .dataTables_wrapper .dataTables_filter,
.SpellsPage .dataTables_wrapper .dataTables_info {
  float: none !important;
  color: #fff2c4 !important;
  font-weight: 900 !important;
  text-shadow: 1px 1px 0 rgba(27, 12, 5, 0.82) !important;
}

.SpellsPage .dataTables_wrapper .dataTables_length,
.SpellsPage .dataTables_wrapper .dataTables_filter {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 42px !important;
  margin: 12px 10px 12px 0 !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(245, 196, 109, 0.30) !important;
  border-radius: 8px !important;
  background: rgba(6, 18, 18, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 244, 198, 0.08) !important;
}

.SpellsPage .dataTables_wrapper .dataTables_filter {
  float: right !important;
  margin-right: 0 !important;
}

.SpellsPage .dataTables_wrapper .dataTables_length label,
.SpellsPage .dataTables_wrapper .dataTables_filter label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #fff2c4 !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.SpellsPage .dataTables_wrapper .dataTables_length select,
.SpellsPage .dataTables_wrapper .dataTables_filter input {
  min-height: 34px !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255, 220, 128, 0.48) !important;
  border-radius: 6px !important;
  color: #2d1b10 !important;
  background: #fff5dc !important;
  font-weight: 800 !important;
  outline: none !important;
  box-shadow: inset 0 1px 2px rgba(45, 27, 16, 0.16) !important;
}

.SpellsPage .dataTables_wrapper .dataTables_filter input {
  min-width: 190px !important;
}

.SpellsPage .dataTables_wrapper .dataTables_info {
  clear: both !important;
  margin: 12px 0 4px !important;
  padding: 8px 10px !important;
  color: #fff2c4 !important;
  background: rgba(6, 18, 18, 0.42) !important;
  border-radius: 7px !important;
}

.SpellsPage .dataTables_wrapper .dataTables_paginate,
.SpellsPage .dataTables_paginate {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  float: none !important;
  margin: 12px 0 4px !important;
  padding: 0 !important;
  color: #f2ddb0 !important;
}

.SpellsPage .dataTables_wrapper .dataTables_paginate .paginate_button,
.SpellsPage .dataTables_wrapper .dataTables_paginate span.paginate_button,
.SpellsPage .dataTables_wrapper .dataTables_paginate a.paginate_button,
.SpellsPage .dataTables_paginate .paginate_button {
  display: inline-flex !important;
  min-width: 34px !important;
  min-height: 34px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 12px !important;
  margin: 0 !important;
  border: 1px solid rgba(245, 196, 109, 0.55) !important;
  border-radius: 6px !important;
  color: #fff3c5 !important;
  background: linear-gradient(180deg, rgba(138, 74, 33, 0.96), rgba(98, 48, 22, 0.96)) !important;
  font-weight: 900 !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 235, 170, 0.22), 0 4px 10px rgba(0, 0, 0, 0.18) !important;
  cursor: pointer !important;
}

.SpellsPage .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.SpellsPage .dataTables_paginate .paginate_button:hover {
  border-color: rgba(255, 231, 163, 0.85) !important;
  color: #fff8df !important;
  background: linear-gradient(180deg, #b8682f, #7c3a18) !important;
}

.SpellsPage .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.SpellsPage .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.SpellsPage .dataTables_paginate .paginate_button.current,
.SpellsPage .dataTables_paginate .paginate_button.current:hover {
  border-color: rgba(255, 244, 209, 0.95) !important;
  color: #2d1b10 !important;
  background: #fff5dc !important;
  box-shadow: 0 0 0 2px rgba(255, 231, 163, 0.28) !important;
}

.SpellsPage .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.SpellsPage .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.SpellsPage .dataTables_paginate .paginate_button.disabled,
.SpellsPage .dataTables_paginate .paginate_button.disabled:hover {
  cursor: default !important;
  border-color: rgba(245, 196, 109, 0.18) !important;
  color: rgba(245, 226, 185, 0.45) !important;
  background: rgba(0, 0, 0, 0.15) !important;
  box-shadow: none !important;
}

.SpellsPage table.dataTable.SpellsTable thead > tr > th,
.SpellsPage .SpellsTable thead > tr > th,
.SpellsTable th {
  border-bottom: 1px solid rgba(255, 229, 132, 0.32) !important;
  background: linear-gradient(180deg, #8c5127, #6f3a1c) !important;
  color: #fff3c5 !important;
  font-size: 0.76rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 1px rgba(37, 15, 4, 0.72) !important;
}

@media (max-width: 760px) {
  .SpellsPage .dataTables_wrapper .dataTables_length,
  .SpellsPage .dataTables_wrapper .dataTables_filter {
    display: flex !important;
    width: 100% !important;
    margin: 10px 0 !important;
    padding: 9px 10px !important;
    float: none !important;
  }

  .SpellsPage .dataTables_wrapper .dataTables_length label,
  .SpellsPage .dataTables_wrapper .dataTables_filter label {
    width: 100% !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  .SpellsPage .dataTables_wrapper .dataTables_length select,
  .SpellsPage .dataTables_wrapper .dataTables_filter input {
    flex: 1 1 150px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .SpellsPage .dataTables_wrapper .dataTables_info {
    text-align: center !important;
  }

  .SpellsPage .dataTables_wrapper .dataTables_paginate,
  .SpellsPage .dataTables_paginate {
    justify-content: center !important;
  }
}
