body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5;
  margin: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  color: #333;
}

.chat-box {
  width: 100%;
  max-width: 3000px;
  height: 400px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  background-color: #ffffff;
  overflow-y: auto;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.message {
  margin-bottom: 12px;
  line-height: 1.4;
}



.sender-you {
  color: #0A568C; /* Hat Blue */
  font-size: 1.1rem;
  font-style: italic;
}

.sender-ai {
  color: #009900; /* Green */
  font-size: 1.1rem;
  font-style: italic;
}






/* Container that holds input and button */
#-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Input box */
#user-input {
  width: 100%;
  max-width: 3000px; /* matches  box width */
  height: 2.5rem; /* standard input height */
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* Submit button */
#-form button {
  width: 50%;
  max-width: 300px;
  height: 2.5rem;
  font-size: 1rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

#-form button:hover {
  background-color: #155ab6;
}
#logo {
   top: 0;
  z-index: 1000;
  background: transparent; /* or match your background */
  padding: 1rem;
  max-width: 150px;
  height: auto;
  margin: 0 auto;
  display: block;
  opacity: 1;
  }



.beta-button-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.beta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #2D8EFF; /* WrenchMonkey Blue */
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.beta-button:hover {
  background-color: #176cd9; /* Slightly deeper blue */
  transform: translateY(-2px);
}


.chat-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}


#container {
  width: 100%;
  max-width: none;
}




#feedback-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 999;
  font-family: 'Roboto', sans-serif;
}

#feedback-toggle {
  background-color: #2D8EFF;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#feedback-form {
  display: none;
  flex-direction: column;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 250px;
}

#feedback-form textarea {
  resize: vertical;
  min-height: 80px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

#feedback-form button[type="submit"] {
  background-color: #2D8EFF;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.9rem;
}

#feedback-form.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
}



@keyframes wrench-wiggle {
  0%   { transform: rotate(0deg); }
  15%  { transform: rotate(-20deg); }
  30%  { transform: rotate(15deg); }
  45%  { transform: rotate(-10deg); }
  60%  { transform: rotate(5deg); }
  75%  { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

.loading-icon {
  display: inline-block;
  animation: wrench-wiggle 1.5s ease-in-out infinite;
  margin-right: 0.3em;
}




#disclaimer-banner {
  background-color: #fff8dc;
  color: #333;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #ffa500;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

#dismiss-banner {
  background: none;
  border: none;
  font-size: 1rem;
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  color: #666;
}

#dismiss-banner:hover {
  color: #000;
}



.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: left;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content input {
  display: block;
  width: 100%;
  padding: 0.5rem;
  margin: 0.3rem 0 1rem 0;
  font-size: 1rem;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.error-message {
  color: red;
  margin-top: 0.5rem;
}
