/* ===== Base Layout & Typography ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #fafafa;
  color: #333;
}

h2 {
  text-align: center;
}


/* ===== Search Input Styling ===== */
#searchInput {
  width: 100%;
  padding: 2px;
  margin-top: 2px;
  font-size: 16px;
  border: 1px solid #aaa;
  border-radius: 4px;
}


/* ===== Table Wrapper for Scrollable Layout ===== */
.table-scrollable {
  overflow-x: auto;
  display: block;
}

.table-scrollable table {
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 100%;
}


/* ===== Table Headers ===== */
.table-scrollable th {
  background-color: #fef200;
  padding: 6px;
  text-align: center;
}


/* ===== Tabs ===== */
.RankAndFile_Container {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  width: fit-content;
}

.commonHeader {
  display: flex;
  width: fit-content;
  border-bottom: 1px solid #ccc;
  margin-bottom: 0em;
  font-family: 'Segoe UI', sans-serif;
}

.commonHeader .icon {
  height: 24px;
  vertical-align: middle;
  margin: 4px;
}
.commonHeader .tab {
  padding: 2px 2px;
  background: #eee;
  color: #444;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0px 0px 0 0;
  margin-right: 4px;
  margin-left: 4px;
  margin-top: 4px;
  width: 80px
}

.commonHeader .tab:hover {
  background: #ddd;
}

.commonHeader .tab.active {
  background: #FEF200;
  color: #222;
  font-weight: bold;
}

/* ===== Table Row Striping ===== */
.table-scrollable tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.table-scrollable tbody tr:nth-child(odd) {
  background-color: #ffffff;
}


/* ===== Text Alignment Utility Classes ===== */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}


.row-favorite {
  background-color: plum;
}

.col-white {
  background-color: #fff;
  color: #000
}
.col-black {
  background-color: #666;
  color: #fff;
}
.col-unknown {
  background-color: #e0e0e0;
  color: #000;
}

/* Der 50%-Marker */
.mid_marker {
  position: absolute;
  left: 49%;
  top: 0;
  bottom: 0;
  width: 2%;
}

.mid_marker::before,
.mid_marker::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  background-color:#ccc;
}

.mid_marker::before {
  top: 0px;
}

.mid_marker::after {
  bottom: 0px;
}