/* ===========================
   DEFAULT VIDEO GAME STYLE
   =========================== */

/* Base */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;            /* ensures background covers full viewport */
  background-color: #111111;
  color: #f0f0f0;
  font-family: 'Arial', 'Verdana', sans-serif;

  /* Background image */
  background-image: url('./assets/images/Unified_Realms_bg.png');
  background-size: cover;        /* scale to fill the screen */
  background-position: center;   /* center it */
  background-repeat: no-repeat;  /* prevent tiling */
  background-attachment: fixed;  /* keep it fixed on scroll */
}

/* Force all text inside body to inherit base color */
body * {
  color: #f0f0f0 !important;
  font-family: 'Arial', sans-serif !important;
}

/* Headings */
h1.title, h2.subtitle, h3, h4, h5, h6 {
  margin: 0 0 0.25rem 0;
  color: #3399ff !important;
  text-shadow: 0 0 4px #3399ff;
}

/* Tabs / Navigation */
.tabs {
  display: flex;
  flex-direction: column; /* stack ul rows vertically */
  gap: 1rem; /* space between rows */
}

.tabs ul {
  display: flex;       /* keep buttons in a row */
  justify-content: flex-start;
  gap: 0.2rem;         /* space between buttons */
}

.tabs button {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #3399ff;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.tabs button:hover {
  background-color: #3399ff;
  color: #111111;
}

/* Resources */
.resource {
  background-color: #1a1a1a;
  border: 1px solid #ff9933;
  padding: 0.5rem;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 4px;
}

.resource span {
  color: #ff9933;
  font-weight: bold;
}

/* Boxes / Cards */
.box, .column, .ship, .army-ship {
  background: #1a1a1a;
  border: 1px solid #3399ff;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
}

.box:hover, .ship:hover, .army-ship:hover {
  background-color: #222222;
  border-color: #ff9933;
}

/* Ensure children inherit text color */
.box *, .ship *, .army-ship * {
  color: inherit !important;
}

/* Buttons */
button, .button {
  padding: 0.5rem 1rem;
  border: 1px solid #3399ff;
  background-color: #1a1a1a;
  color: #f0f0f0;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

button:hover, .button:hover {
  background-color: #3399ff;
  color: #111111;
}

/* Form Inputs / Selects / Textareas */
input, select, textarea {
  background-color: #1a1a1a !important;
  color: #f0f0f0 !important;
  border: 1px solid #3399ff !important;
  padding: 0.5rem;
  border-radius: 4px;
}

select option {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Placeholders */
input::placeholder, textarea::placeholder {
  color: #888;
}

/* Small text / labels / strong */
label, small, strong, p, span {
  color: #f0f0f0 !important;
}


.columns .column.is-three-quarters {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


.nav-transparent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-transparent {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove top and bottom margins from multi-line columns */
.columns.is-multiline {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


/* ==========================================
   SPECIAL STYLING FOR RESOURCE BREAKDOWN BOXES
   ========================================== */
.columns.no-equal-height {
    align-items: flex-start;
}

/* ===========================
   PLANET TABLE THEME
   =========================== */
/* Table styling */
.table {
  width: 100%;
  background-color: #1a1a1a;    /* matches box background */
  color: #f0f0f0;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 0 8px rgba(51, 153, 255, 0.3);
}

/* Table header */
.table th {
  background-color: #111122;    /* slightly darker for headers */
  color: #3399ff;
  text-shadow: 0 0 4px #3399ff;
  border-bottom: 1px solid #3399ff;
  padding: 0.75rem 1rem;
  text-align: left;
}

/* Table cells */
.table td {
  background-color: #1a1a1a;
  border-bottom: 1px solid #444;
  padding: 0.75rem 1rem;
}

/* Striped rows */
.table.is-striped tbody tr:nth-child(even) {
  background-color: #222233;
}

.table.is-striped tbody tr:nth-child(odd) {
  background-color: #1a1a1a;
}

/* Hover effect for rows */
.table tbody tr:hover {
  background-color: #222222;
  border-left: 3px solid #ff9933;
}

/* Input styling inside table */
.table input, .table select, .table textarea {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #3399ff;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.table input:focus, .table select:focus, .table textarea:focus {
  border-color: #00d1b2;
  box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25);
  outline: none;
}

/* Buttons inside table */
.table .button {
  background-color: #1a1a1a;
  color: #f0f0f0;
  border: 1px solid #3399ff;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}

.table .button:hover {
  background-color: #3399ff;
  color: #111111;
  border-color: #ff9933;

