body {
    background: #000;
    color: #FF6A00;
    font-family: monospace;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 10px;
    padding: 0;
}

.logo-group {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.logo-text {
    font-size: 1.6em;
    font-weight: bold;
    color: #FF6A00;
}

.menu {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.menu a {
    text-decoration: none;
    color: #FF6A00;
}

.menu a:hover {
    color: #fff;
}

h1, h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #FF6A00;
}

.system-table {
    border-collapse: collapse;
    width: 100%;
    box-sizing: border-box
}

.system-table th, .system-table td {
    border: 1px solid #FF6A00;
    padding: 8px;
    text-align: left;
    white-space: nowrap;
}

.container .system-table {
  width: 100%;
}

td[data-label='Controlling Faction'] {
    max-width: 220px;
    white-space: normal;
}

.system-table th a,
.system-table td a {
    color: #FF6A00;
    text-decoration: none;
}

.system-table th a:hover,
.system-table td a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.system-table tr:hover {
    background-color: rgba(255, 106, 0, 0.2);
}

/* Dot styles */
.dot-fresh, .dot-stale, .dot-old {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-fresh { background-color: green; }
.dot-stale { background-color: orange; }
.dot-old { background-color: red; }

.sector-table {
    width: 100%;
    table-layout: fixed;
}

/* Responsive fallback */
@media (max-width: 768px) {
    .system-table, .system-table thead, .system-table tbody, .system-table th, .system-table td, .system-table tr {
        display: block;
        width: 100%;
    }
    .system-table thead tr {
        display: none;
    }
    .system-table td {
        position: relative;
        padding-left: 50%;
    }
    .system-table td:before {
        position: absolute;
        top: 8px;
        left: 8px;
        width: 45%;
        white-space: nowrap;
    }
}
/* Button default = black bg, orange text; hover = orange bg, black text */
button,
.sector button,
form button {
  background-color: #000;      /* black background */
  color: #FF6A00;             /* orange text */
  border: 2px solid #FF6A00;  /* orange border */
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: monospace;
  font-size: 1em;
}

button:hover,
.sector button:hover,
form button:hover {
  background-color: #FF6A00;  /* orange background on hover */
  color: #000;                /* black text */
  border-color: #FF6A00;
}

button:disabled,
.sector button:disabled,
form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Dropdowns: black background, orange text */
select,
.sector select,
form select {
  background-color: #000;      /* black background */
  color: #FF6A00;             /* orange text */
  border: 2px solid #FF6A00;  /* orange border */
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: monospace;
  font-size: 1em;
}

/* Keep the options themselves styled in the menu */
select option {
  background-color: #000;
  color: #FF6A00;
}
/* Make list items a bit bigger & add some spacing */
.sector li {
  font-size: 1.25em;
  line-height: 1.5;
  margin-bottom: 0.5em;
}

/* Tame button & select sizing so they align nicely */
.sector button,
.sector select {
  font-size: 1em;       /* back to normal text size */
  padding: 4px 8px;     /* a bit less vertical padding */
  line-height: 1.4;     /* tighten up the height */
  vertical-align: middle;
}

/* Give a small margin between controls */
.sector button + select,
.sector select + button,
.sector button + button {
  margin-left: 0.5em;
}
/* Hide bullet points in sector lists */
.sector ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Orange border and padding on each sector card */
.sector {
  border: 2px solid #FF6A00 !important;
  padding: 1em !important;
  margin-bottom: 1em !important;
  border-radius: 4px !important;
}

/* Black background + orange text/Border for inputs & textareas */
input[type="text"],
textarea {
  background-color: #000;      /* black background */
  color: #FF6A00;             /* orange text */
  border: 2px solid #FF6A00;  /* orange border */
  padding: 6px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}

/* Placeholder text in a slightly dimmer orange */
input[type="text"]::placeholder,
textarea::placeholder {
  color: rgba(255,106,0,0.6);
}

/* On focus, invert for clarity */
input[type="text"]:focus,
textarea:focus {
  background-color: #FF6A00;  /* orange bg on focus */
  color: #000;                /* black text */
  outline: none;
}
/* ——— Admin only typography reset ——— */
.admin-area {
  /* nothing here — just a scope hook */
}

/* Base text size within admin pages */
.admin-area {
  font-size: 16px;   /* 1rem == 16px */
  line-height: 1.4;
}

/* Uniform 1rem text on all admin controls & lists */
.admin-area form label,
.admin-area textarea,
.admin-area input[type="text"],
.admin-area select,
.admin-area button,
.admin-area .sector li {
  font-size: 1rem;   /* 16px exactly */
}

/* Keep headings proportionate inside admin */
.admin-area h1 { font-size: 2rem; }   /* 32px */
.admin-area h2 { font-size: 1.5rem; } /* 24px */


