/* ==========================================================
   LEVEL 5 — GLOBAL DARK THEME
========================================================== */
.level5-screen {
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  padding: 40px;
}


.level5-screen:not(.hidden) {
  display: block;
}

/* Title (if you ever add one) */
.level5-screen .title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
}

/* ==========================================================
   SCENARIO CARD
========================================================== */

.scenario-card {
  background: #111;
  border: 1px solid #444;
  padding: 18px 22px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #ddd;
}

/* ==========================================================
   CONVERSATION WINDOW
========================================================== */

.conversation-container {
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  height: 55vh;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Scrollbar styling */
.conversation-container::-webkit-scrollbar {
  width: 8px;
}
.conversation-container::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
.conversation-container::-webkit-scrollbar-track {
  background: #1a1a1a;
}

/* ==========================================================
   MESSAGE BUBBLES
========================================================== */

.system-message,
.user-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 1.1rem;
}

/* System bubble */
.system-message {
  background: #222;
  border: 1px solid #444;
  align-self: flex-start;
  color: #eee;
}

/* User bubble */
.user-message {
  background: #2a4b8d;
  border: 1px solid #3a5bb0;
  align-self: flex-end;
  color: #fff;
}

/* ==========================================================
   INPUT AREA
========================================================== */

.conversation-input {
  display: flex;
  gap: 10px;
  align-items: center;
}

.conversation-textbox {
  flex: 1;
  background: #111;
  border: 1px solid #444;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 1.1rem;
  resize: none;
  height: 70px;
  line-height: 1.4;
}

.conversation-textbox:focus {
  outline: none;
  border-color: #666;
}

/* Send button */
.sendBtn {
  background: #222;
  color: #fff;
  border: 1px solid #555;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

.sendBtn:hover {
  background: #333;
}

/* ==========================================================
   END-OF-SCENARIO CONTROLS
========================================================== */

#l5EndControls {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

#l5EndControls .iconBtn {
  background: #222;
  color: #fff;
  border: 1px solid #555;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

#l5EndControls .iconBtn:hover {
  background: #333;
}
