/* Reset basics */
body, h1, h2, p, nav, footer {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  background-color: #C8CEDC; /* silver */
  color: #1D1D1D; /* dark/black */
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* Header and Navigation */
header {
  background-color: #4D4D4D; /* carbon steel */
  color: #FFD700; /* gold */
  padding: 1.5em;
  text-align: center;
  border-bottom: 2px solid #696969; /* dark grey edge */
  box-shadow: inset 0 -3px 6px #1D1D1D;
}

nav a {
  margin: 0 12px;
  color: #FFD700; /* gold */
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.2s ease-in-out;
}

nav a:hover {
  border-color: #CD7F32; /* bronze accent */
}

/* Main Content */
main {
  padding: 2em;
  background-color: #C8CEDC; /* silver again for cohesion */
  border: 2px solid #4D4D4D; /* carbon steel */
  box-shadow: 0 0 10px #696969; /* dark grey */
}

/* Section Headings */
h1, h2 {
  color: #B87333; /* copper */
  text-transform: uppercase;
  border-bottom: 1px solid #DCAF46; /* brass */
  margin-bottom: 1em;
}

/* Footer */
footer {
  background-color: #1D1D1D; /* dark/black */
  color: #C8CEDC; /* silver text */
  text-align: center;
  padding: 1em;
  border-top: 1px solid #696969; /* dark grey */
  border-bottom: 1px solid #696969; /* dark grey */
}

/* Footer Links*/
footer a {
  color: inherit;
  text-decoration: none;
}

/* Cards or Utility Panels */
.card {
  background-color: #DCAF46; /* brass highlight */
  border: 2px solid #1D1D1D; /* dark/black */
  padding: 1em;
  margin-bottom: 1.5em;
  box-shadow: 4px 4px 10px #696969; /* dark grey */
  color: #1D1D1D; /* dark/black */
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  border: 1px solid #1D1D1D; /* dark-black outline */
}

th, td {
  border: 1px solid #1D1D1D; /* dark-black cell borders */
  padding: 0.75em;
  text-align: left;
}

/* Button Styling */
button {
  background-color: #FFD700; /* gold */
  color: #1D1D1D; /* dark/black */
  border: 2px solid #4D4D4D; /* carbon steel */
  padding: 0.6em 1.2em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 6px #696969; /* dark grey */
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #CD7F32; /* bronze */
}

#tab-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

#control-panel {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

#tab-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.tab-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.string-label {
  width: 20px;
  font-weight: bold;
}

.fret-input {
  width: 40px;
  padding: 0.2rem;
}

#tab-output {
  margin-top: 1rem;
  line-height: 1.6;
  font-family: monospace;
  white-space: pre;
}
#editor-grid {
  display: flex;
  gap: 2rem;
}

#column-selectors {
  margin-bottom: 1rem;
}

.column-checks {
  display: grid;
  grid-template-columns: repeat(64, 32px); /* match output cell width */
  justify-content: start;
  gap: 2px;
}


.column-check {
  width: 16px;
  height: 16px;
}

#output-panel {
  display: flex;
  flex-direction: column;
}
