::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: #009bf5;
}

::-webkit-scrollbar-track {
  background: #1A1E21;
}

.main-logo {
  display: block;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: 3%;
  margin-right: auto;
  width: 40%;
  height: 40%;
}

.form-control-icons {
  background-color: #fff;
  color: #000;
  position: relative;
  vertical-align: middle;
  padding: 12px;
}

.shiv-line {
  color: hsla(0, 0%, 0%, 0.5);
  display: block;
  font-size: .7rem;
  margin: 20px 0;
  overflow: hidden;
  text-transform: uppercase;
  white-space: nowrap;
}

.shiv-line span:after,
.shiv-line span:before {
  background-color: hsla(0, 0%, 100%, .2);
  content: "";
  height: 1px;
  position: absolute;
  top: 50%;
  width: 500px;
}

.shiv-text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shiv-news-title {
  font-size: 30px;
  font-weight: 700;
  color: #7a1a1a !important;
}

.card-bg-image {
  background-image: url(../images/dragoniawebbg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#avatarInput {
  display: none;
}

#avatarImage {
  cursor: pointer;
  transition: transform 1s ease, opacity 0.3s ease;
}

#avatarImage:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

#avatarImage:active {
  transform: scale(0.95);
}

.forgot-password-text {
  font-size: small;
  font-style: italic;
  text-align: end;
  text-decoration: none;
  color: #d87070;
}

option {
  background-color: #e6e6e6;
}

.shivaria-container {
  position: relative;
  width: 100%;
  /* Full width of the container */
  overflow: hidden;
}

.shivaria-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  justify-content: center;
}

/* =========================================================
   Tailwind-like skin for DataTables (GLOBAL)
   Works with datatables.net default markup
   ========================================================= */

.dataTables_wrapper {
  width: 100% !important;
  color: rgba(229, 231, 235, .9);
}

/* Top controls (entries + search) */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin: 10px 0 !important;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-weight: 700 !important;
  color: rgba(255, 255, 255, .75) !important;
}

/* Make both controls sit nicely */
.dataTables_wrapper .dataTables_length {
  float: none !important;
}

.dataTables_wrapper .dataTables_filter {
  float: none !important;
  text-align: left !important;
}

/* Input / select */
.dataTables_wrapper select,
.dataTables_wrapper input[type="search"] {
  background: rgba(0, 0, 0, .35) !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  color: rgba(255, 255, 255, .92) !important;
  border-radius: 12px !important;
  padding: 8px 10px !important;
  outline: none !important;
}

.dataTables_wrapper input[type="search"]:focus {
  border-color: rgba(226, 173, 86, .55) !important;
  box-shadow: 0 0 0 3px rgba(226, 173, 86, .14) !important;
}

/* Table */
table.dataTable {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(255, 255, 255, .04) !important;
  border: 1px solid rgba(255, 255, 255, .10) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

table.dataTable thead th {
  background: rgba(0, 0, 0, .45) !important;
  color: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .10) !important;
  padding: 14px 14px !important;
  font-weight: 900 !important;
}

table.dataTable tbody td {
  padding: 14px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
  color: rgba(229, 231, 235, .9) !important;
}

table.dataTable tbody tr:hover {
  background: rgba(226, 173, 86, .06) !important;
}

/* Bottom controls (info + pagination) */
.dataTables_wrapper .dataTables_info {
  color: rgba(255, 255, 255, .65) !important;
  margin-top: 10px !important;
}

.dataTables_wrapper .dataTables_paginate {
  float: none !important;
  margin-top: 10px !important;
}

/* Pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid rgba(255, 255, 255, .10) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: rgba(255, 255, 255, .85) !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
  margin-left: 6px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255, 255, 255, .10) !important;
  color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: rgba(226, 173, 86, .18) !important;
  border-color: rgba(226, 173, 86, .40) !important;
  color: #fff !important;
}

/* Kill weird default sorting icons positioning issues */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
  opacity: .35 !important;
}

/* =========================================================
   FINAL FIX: Bootstrap tabs/pills panes
   (prevents stacked DataTables)
   ========================================================= */

/* Oculta todos los panels por defecto */
.tab-content>.tab-pane {
  display: none !important;
}

/* Muestra SOLO el panel que sea ACTIVE + SHOW (bootstrap fade) */
.tab-content>.tab-pane.active.show {
  display: block !important;
  opacity: 1 !important;
}

/* Para tabs sin fade */
.tab-content>.tab-pane.active:not(.fade) {
  display: block !important;
  opacity: 1 !important;
}

/* Transición normal */
.tab-content>.tab-pane.fade {
  transition: opacity .15s linear;
}