/* Base page styles */
body {
  background-color: #001204;
  background-image: url("background_image.png");
  background-size: cover;
  color: aliceblue;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

h1,
h2,
p {
  margin: 0;
  padding: 8px 12px;
}

/* Buttons and controls */
button {
  font: inherit;
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid #00b300;
  background: #103010;
  color: #00b300;
  cursor: pointer;
  user-select: none;
}

.button-label {
  font: inherit;
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #00b300;
  background: #103010;
  color: #00b300;
  cursor: pointer;
  user-select: none;
}

.topbuttons {
  padding: 5px 0 5px 10px;
  background-color: #081408;
  user-select: none;
}

.topbuttons button,
.button-label {
  font: inherit;
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #00b300;
  background: #103010;
  color: #00b300;
  cursor: pointer;
  user-select: none;
}

/* Branding and top bar */
.slogo {
  display: block;
  width: 64px;
  height: 64px;
  margin: 12px auto 4px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 0, 0.25));
}

.topbar {
  display: flex;
  justify-content: space-between;
  padding: 4px 10px;
  background-color: #020802;
  color: #00b300;
  font-size: 12px;
  font-weight: bold;
  user-select: none;
  border-bottom: 1px solid #1f6b1f;
}

/* App launcher icons */
.appgrid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  padding: 16px;
  user-select: none;
}

.appicon {
  width: fit-content;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  filter: drop-shadow(0 0 8px black);
}

.appicon img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
}

.appicon p {
  margin: 0;
  color: #00b300;
  font-size: small;
}

/* Window chrome */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(to bottom, #081408, #020802);
  color: #00b300;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: move;
  user-select: none;
  z-index: 10;
  border-bottom: 1px solid #1f6b1f;
}

.header p {
  margin: 0;
}

.window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  padding: 0;
  transform: translate(-50%, -50%);
  overflow: auto;
  background: rgba(2, 12, 2, 0.92);
  color: #9cff9c;
  border: 1px solid #1f6b1f;
  box-shadow: 0 0 18px rgba(0, 255, 0, 0.18);
  text-shadow: 0 0 4px rgba(0, 255, 0, 0.18);
}

#welcome {
  position: absolute;
  z-index: 9;
  text-align: left;
}

#welcome h1 {
  font-size: 16px;
  color: #d8ffd8;
}

#welcome h2 {
  font-size: 13px;
  color: #6bff6b;
  border-top: 1px solid rgba(31, 107, 31, 0.5);
}

#welcome p {
  font-size: 13px;
  line-height: 1.5;
}

.bullet-point {
  list-style-type: square;
}

.sidebar {
  width: 130px;
  flex-shrink: 0;
  padding: 10px 12px 0;
  border-right: 1px solid #444;
  overflow-y: auto;
}

/* Report editor */
#report {
  display: none;
  width: 520px;
}

#reportEditor {
  width: 100%;
  height: 400px;
  padding: 12px;
  color: #0f0;
  background: #111;
  border: 1px solid #333;
  font-family: "JetBrains Mono", monospace;
  resize: none;
}

/* Quote and section layouts */
#quote {
  display: none;
  flex-direction: column;
  width: 720px;
  height: 470px;
  overflow: hidden;
}

#quoteheader {
  flex: 0 0 auto;
}

.quotes {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
}

.quote-layout {
  display: flex;
  gap: 16px;
  height: 100%;
  min-height: 0;
}

.quote-filter,
.edd-filter,
.ore-filter,
.project-filter{
  display: block;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-align: left;
  margin-bottom: 8px;
  padding-left: 5px;
}

/* EDD window */
#edd {
  display: none;
  flex-direction: column;
  width: 800px;
  height: 500px;
  overflow: hidden;
}

#eddheader {
  flex: 0 0 auto;
}

.sections {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
}

.edd-layout {
  display: flex;
  gap: 16px;
  height: 100%;
  min-height: 0;
}

/* ORE Window */

#orientation {
  display: none;
  flex-direction: column;
  width: 800px;
  height: 500px;
  overflow: hidden;
}

#orientationheader {
  flex: 0 0 auto;
}

.sections {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 12px 24px;
}

.ore-layout {
  display: flex;
  gap: 16px;
  height: 100%;
  min-height: 0;
}

/* Project Window */
#project {
  display: none;
  flex-direction: column;
  width: 800px;
  height: 500px;
  overflow: hidden;
}

#projectheader {
  flex: 0 0 auto;
}

.sections {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 12px 24px;
}

.project-layout {
  display: flex;
  gap: 16px;
  height: 100%;
  min-height: 0;
}