:root {
--page-bg: #091124;
  --pillar-bg: #252b4a;
  --pillar-text: #cbd5e1;
  --pillar-width: min(1200px, 92vw);
  --pillar-radius: 4px;
  --pillar-padding: 2rem;
  --accent: #ffffff;
  --nav-bg: #2e3657;
  --nav-text: #d6dfec;
  --nav-hover: #3b446a;
  --nav-active: #4c5685;
}

body {
  margin: 0;
  padding: 0;

  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.010) 0px,
      rgba(255,255,255,0.010) 2px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 6px
    ),

    radial-gradient(circle at center,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.15) 55%,
      rgba(0, 0, 0, 0.40) 100%
    ),

    var(--page-bg);

  background-size:
    300px 300px,   /* noise tile */
    auto,          /* vignette */
    auto;

  background-attachment: fixed;
}



/**
 *
  --page-bg: #000000;
  --pillar-bg: #2F3B3B;
  --pillar-text: #000000;
  --pillar-width: min(1200px, 92vw);
  --pillar-radius: 4px;
  --pillar-padding: 2rem;
  --accent: #ffffff;
  --nav-bg: #000000;
  --nav-text: #F5A9B8;
  --nav-hover: #e9edf5;
  --nav-active: #dbe4ff;
*/

/**
 * 12 :root·{
 11 ··--page-bg:·#5BCEFA;
 10 ··--pillar-bg:·#F5A9B8;
  9 ··--pillar-text:·#FFFFFF;
  8 ··--pillar-width:·min(1200px,·92vw);
  7 ··--pillar-radius:·4px;
  6 ··--pillar-padding:·2rem;
  5 ··--accent:·#ffffff;
  4 ··--nav-bg:·#FFFFFF;
  3 ··--nav-text:·#F5A9B8;
  2 ··--nav-hover:·#e9edf5;
  1 ··--nav-active:·#dbe4ff;
13  }
 */

html, body {
  margin: 0;
  padding: 0;
  /*background: var(--page-bg);*/
  color: var(--pillar-text);
  font-family: system-ui, sans-serif;
}


body.pillar-page {
    display: block;
}

body.pillar-page .pillar {
    margin-left: auto;
    margin-right: auto;
}


.pillar {
  box-sizing: border-box;
  width: var(--pillar-width);
  background: var(--pillar-bg);
  padding: var(--pillar-padding);
  border-radius: var(--pillar-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 2rem 0;
}

.pillar h1, .pillar h2, .pillar h3 { margin: 0.3em 0; }

/* Navbar */

.pillar-nav {
  margin-top: 0.75rem;
  margin-bottom: 15px;
  background: var(--nav-bg);
  color: var(--nav-text);
  border-radius: 10px;
  padding: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.pillar-nav .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--nav-text);
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.pillar-nav .nav-btn:hover {
  background: var(--nav-hover);
}

.pillar-nav .nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pillar-nav .nav-btn.is-active {
  background: var(--nav-active);
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--nav-text);
}

/* Wrapper prevents table from overflowing container */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

/* Table */
.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;       /* ensures fixed column widths */
    background: #161616;
    border-radius: 8px;
    overflow: hidden;
}

.table-wrapper tr:nth-child(even) {
    background: #FFF1;
}

/* General cell styling */
.table-wrapper td {
    padding: 8px 10px;
    color: #ddd;
    vertical-align: top;
}

/* Scrollable content inside cells */
.table-cell-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}

/* Small date column */
.table-wrapper td.date {
    width: 120px;         /* fixed small width */
    min-width: 100px;     /* prevents collapsing */
    max-width: 140px;
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;  /* keeps date on one line */
}

.table-wrapper td.name {
    width: 60px;
    min-width: 140px;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
}

.ml-name-inner {
   display: flex;
   flex-direction: row;
   align-items: center;
   gap: 5px; 
}

.table-wrapper td.name>img {
    width: 20px;
    height: 20px;
    background: #FFF;
}

.search-form {
    width: 100%;
    max-width: 420px;
    display: flex;
}

/* Input (left side) */
.search-input {
    flex: 1;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-right: none;       /* <-- removes the gap */
    border-radius: 10px 0 0 10px; /* round only left side */
    outline: none;
}

.search-input:focus {
    border-color: #4c5685;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

/* Button (right side) */
.search-btn {
    padding: 0.7rem 1.2rem;
    border: 1px solid #414e86;
    border-radius: 0 10px 10px 0; /* round only right side */
    background: #4c5685;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease;
}

.search-btn:hover {
    background: #626c99;
}
