/* Reset + Base */
body {
  margin: 0;
  font-family: "Courier New", monospace;
  background-color: #0e0e0f;
  color: #d6d3ce;
}

/* Browser Frame */
#browser {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0e0e0f;
  border: 2px solid #8b2e2e;
  box-shadow: 0 0 15px #000;
}

/* Title Bar */
#titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a1a1d;
  color: #d6d3ce;
  padding: 6px 12px;
  border-bottom: 2px solid #8b2e2e;
}

#titlebar .title {
  font-weight: bold;
  letter-spacing: 1px;
}

#titlebar .buttons .btn {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 6px;
}
.btn.red { background: #8b2e2e; }
.btn.yellow { background: #b08935; }
.btn.green { background: #426e4d; }

/* Tabs */
#tabs {
  display: flex;
  background-color: #1a1a1d;
  border-bottom: 1px solid #444448;
}

#tabs .tab {
  padding: 8px 14px;
  cursor: pointer;
  background-color: #1a1a1d;
  color: #888;
  border-right: 1px solid #444448;
  transition: all 0.2s;
}

#tabs .tab.active {
  background-color: #0e0e0f;
  color: #d6d3ce;
  border-bottom: 2px solid #8b2e2e;
}

/* URL Bar */
#urlbar {
  padding: 6px 12px;
  background-color: #0e0e0f;
  color: #8b2e2e;
  font-size: 14px;
  border-bottom: 1px solid #444448;
}
.url { font-style: italic; }

/* Layout */
#file-orderly {
  flex: 1;
  display: flex;
  background-color: #0e0e0f;
}

#sidebar {
  width: 280px;
  background-color: #1a1a1d;
  padding: 16px;
  border-right: 1px solid #444448;
}

#sidebar h3 {
  color: #8b2e2e;
  margin-top: 20px;
  font-size: 14px;
  text-transform: uppercase;
}

#sidebar p {
  margin: 6px 0;
  font-size: 13px;
}

/* Portrait */
.portrait {
  width: 100%;
  border: 2px solid #8b2e2e;
  margin-bottom: 16px;
}

/* Main Panel */
#main {
  flex: 1;
  padding: 20px;
  background-color: #0e0e0f;
  overflow-y: auto;
}

#main h2 {
  color: #8b2e2e;
  font-size: 16px;
  margin-top: 24px;
  border-bottom: 1px solid #444448;
  padding-bottom: 4px;
}

#main p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.5em;
}

/* Blockquote for Logs */
blockquote {
  margin: 16px 0;
  padding: 10px 14px;
  background-color: #1a1a1d;
  border-left: 3px solid #8b2e2e;
  font-style: italic;
  color: #d6d3ce;
}

/* Endnote */
.endnote {
  margin-top: 20px;
  color: #888;
  font-size: 12px;
  text-align: right;
  border-top: 1px solid #444448;
  padding-top: 8px;
}

/* Transcript (Audio Files) */
.transcript {
  padding: 20px;
  background: #0e0e0f;
  font-size: 14px;
  line-height: 1.6em;
}

.transcript h2 {
  color: #8b2e2e;
  border-bottom: 1px solid #444448;
  margin-bottom: 15px;
}
.transcript {
  background: #111; /* dark background */
  border: 2px solid #b00000; /* red outline */
  color: #ddd; /* light text */
  padding: 15px;
  margin: 20px 0;
  font-family: "Courier New", monospace;
  box-shadow: 0 0 10px rgba(176, 0, 0, 0.6);
}

.transcript h2 {
  font-size: 18px;
  color: #ff3333;
  border-bottom: 1px solid #b00000;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
