@import url('./uiTabsStyle.css');
@import url('./uiHeaderStyle.css');
@import url('./appStyle.css');

@font-face {
  font-family: 'Platypi';
  src: url('./assets/fonts/Platypi-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Platypi';
  src: url('./assets/fonts/Platypi-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Archivo';
  src: url('./assets/fonts/Archivo-VariableFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Archivo';
  src: url('./assets/fonts/Archivo-Italic-VariableFont.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Noto Sans Symbols 2';
  src: url('./assets/fonts/NotoSansSymbols2-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: Platypi, serif !important;
  background: #222;
  color: white;
  margin: 0;
  /* padding: 20px; /* Optional padding to prevent clipping at top */
  display: flex;
  justify-content: center; /* Keep content centered horizontally */
  align-items: flex-start; /* Align to top instead of center */
  min-height: 100vh; /* Let content grow vertically */
  overflow-y: auto; /* Enable scrolling */
}

h1, h2, h3, h4, h5 {
	font-family: Platypi, serif;
}

button {
  /* margin: 10px 0; */
  padding: 10px 20px;
  font-size: 1rem;
  background: #48e;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
	background: #18e;
}

input, select {
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 15px;
  /* width: 100%; */
}

.form-row {
  /* display: flex; */
  align-items: center;       /* Vertically centers label and content */
  margin-bottom: 15px;
}

.form-label {
  width: 100px;              /* Fixed width for label column */
  font-weight: bold;
}

.horizontal-radio {
  display: flex;
  gap: 20px;
}

.horizontal-radio label {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

/* Grid layout for checkboxes (replaces .traits-grid) */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 30px;
  margin-bottom: 20px;
}

.checkbox-grid label {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
  cursor: pointer;
}

/* New class for any collapsible section (for clarity and reuse) */
.collapsible-section {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.simple-symbol {
  font-family: 'Noto Sans Symbols 2', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
}


.ability-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ability-grid label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.ability-grid input {
  margin-top: 5px;
}

.ability-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ability-label {
  width: 100px;
  font-weight: bold;
}

.ability-value {
  min-width: 20px;
  text-align: center;
}

.ability-desc {
  margin-left: 10px;
  color: #aaa;
}

.minus-btn, .plus-btn {
  width: 28px;
  height: 28px;
  font-size: 16px;
  font-weight: bold;
  background: #444;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.dice-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 1rem;
  padding: 0 4px;
  cursor: pointer;
  line-height: 1;
}

button.dice-btn:hover {
  background: transparent !important;
}

