@charset "utf-8";
/* CSS Document */

/* =========================
   Guide Widget Base
   ========================= */

#the-guide {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  max-width: 900px;
  margin: 0 auto;
}

#the-guide .messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

form input{width: 60%;
  padding: 5px;
margin: 20px auto;}

/* =========================
   Guide Messages
   ========================= */

#the-guide .guide {
  align-self: flex-start;
  background: #f4f7fa;
  border-left: 4px solid #66ccff;
  padding: 14px 16px;
  border-radius: 8px;
  max-width: 90%;
  color: #1f2933;
  line-height: 1.5;
}

/* =========================
   User Messages
   ========================= */

#the-guide .user {
  align-self: flex-end;
  background: #e8f5e9;
  border-right: 4px solid #11c500;
  padding: 12px 14px;
  border-radius: 8px;
  max-width: 85%;
  color: #0f5132;
  line-height: 1.4;
  text-align: left;
}

/* =========================
   Lists & Spacing
   ========================= */

#the-guide ul {
  margin: 8px 0 8px 20px;
  padding: 0;
}

#the-guide li {
  margin: 4px 0;
}

/* =========================
   Question Emphasis
   ========================= */

#the-guide .guide strong {
  font-weight: 600;
  color: #0b3a53;
}

#the-guide em {
  font-style: normal;
  color: #5f6c7b;
  font-size: 0.95rem;
}

	.guide-widget {
  border: 1px solid #ddd;
  max-width: 420px;
  font-family: system-ui, sans-serif;
}

.guide-header {
  padding: 10px;
  background: #222;
  color: #fff;
  font-weight: bold;
}

.guide-messages {
  padding: 10px;
  height: 300px;
  overflow-y: auto;
}

.guide-message.user {
  text-align: right;
  margin-bottom: 8px;
}

.guide-message.guide {
  text-align: left;
  margin-bottom: 8px;
}

.guide-input input {
  width: 100%;
  padding: 10px;
  border: none;
  border-top: 1px solid #ddd;
}

#the-guide .messages {
  max-height: 60vh;
  overflow-y: auto;
}

/* =========================
   Thinking Indicator
   ========================= */

#the-guide .thinking {
  font-style: italic;
  color: #5f6c7b;
  padding: 10px 14px;
  align-self: flex-start;
}

#the-guide .input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5e7eb;
}

#the-guide .input-row input {
  flex: 1;
  padding: 10px 12px;
  font-size: 1rem;
}

#the-guide .input-row button {
  padding: 10px 16px;
  font-size: 0.95rem;
  cursor: pointer;
  background: #0b5ed7;
  color: #fff;
  border: none;
  border-radius: 4px;
}

#the-guide .input-row button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#the-guide .input-row button.send:hover{background: #0a902c;}

#the-guide .restart {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

#the-guide .restart:hover {
  background: #ff0000;
}

@media (max-width: 768px) {
#the-guide .input-row{
display:block;
}	
	
  #the-guide .input-row input {
    min-height: 48px;
    font-size: 16px; /* prevents iOS zoom */
    padding: 12px 14px;
	width:90%;
  }
}