/* General look */
body {
  text-align: center;
  font-family: Arial, sans-serif;
  background-color: #faf3e0;
  margin: 0;
  padding: 0;
}

/* Title styling */
.title {
  font-family: "Luckiest Guy", cursive;
  font-size: 2.2em;
  color: #3a2a00;
  text-shadow: 2px 2px #f6e27a;
  margin-bottom: 20px;
}

/* Intro note */
.intro {
  background-color: #fffbe3;
  border: 1px solid #d8b86d;
  border-radius: 6px;
  display: inline-block;
  padding: 15px;
  width: 80%;
  font-size: 0.9em;
  color: #333;
  margin-bottom: 30px;
}

/* Mode buttons */
.modes {
  display: inline-block;
  text-align: center;
}

.mode-btn {
  background: linear-gradient(#f6e27a, #d8b86d);
  color: #333;
  border: 2px solid #c5a24a;
  border-radius: 6px;
  padding: 10px 25px;
  font-weight: bold;
  cursor: pointer;
  margin: 10px;
  box-shadow: 2px 2px 0 #b3983c;
  transition: 0.2s;
}

.mode-btn:hover {
  background: linear-gradient(#fff5a8, #e7c960);
  transform: translateY(-2px);
}

.desc {
  font-size: 0.85em;
  color: #444;
  margin-top: 5px;
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

.screen {
  text-align: center;
  padding: 30px;
  transition: opacity 0.3s ease;
}

/* Chat Screen */
.chatbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f6e27a;
  padding: 8px 10px;
  border-bottom: 2px solid #d8b86d;
}

.chat-status {
  font-size: 0.9em;
  color: #333;
}

.small-btn {
  background: linear-gradient(#f6e27a, #d8b86d);
  border: 1px solid #b3983c;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
}

.small-btn:hover {
  background: linear-gradient(#fff5a8, #e7c960);
}

.chatbox {
  background-color: #fffdf4;
  border: 2px solid #d8b86d;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  height: 400px;
  margin: 20px auto;
  padding: 10px;
  overflow-y: auto;
  text-align: left;
}

.message {
  padding: 8px 12px;
  border-radius: 10px;
  margin: 6px 0;
  max-width: 70%;
  word-wrap: break-word;
}

.user {
  background-color: #e5f3d3;
  text-align: right;
  margin-left: auto;
}

.bot {
  background-color: #f7e7b2;
  text-align: left;
  margin-right: auto;
}

.input-area {
  margin-top: 10px;
}

.input-area.locked {
  opacity: 0.5;
  pointer-events: none;
}

textarea {
  width: 300px;
  height: 100px;
  margin-top: 10px;
  font-family: inherit;
}

button {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #d6b85e;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #c0a44f;
}

/* === Remove Chrome/Edge blue focus highlight completely === */
textarea:focus,
button:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: inherit !important;
}

/* Chrome + Edge specific */
textarea:focus-visible,
button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Suppress inner highlight in WebKit browsers */
textarea::-webkit-focus-inner,
button::-webkit-focus-inner {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Optional: add a soft gold focus ring that matches your palette */
textarea:focus {
  border: 2px solid #d8b86d !important;
  box-shadow: 0 0 4px rgba(216, 184, 109, 0.4);
}
button:focus {
  border: 2px solid #c5a24a !important;
  box-shadow: 0 0 4px rgba(197, 162, 74, 0.4);
}


