body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
}

.app-container {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.title {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.chat-box {
  flex-grow: 1;
  height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: #fafafa;
  margin-bottom: 15px;
}

.message {
  margin: 8px 0;
  padding: 10px;
  border-radius: 12px;
  max-width: 80%;
}

.user {
  align-self: flex-end;
  background: #d0ebff;
  color: #003366;
  margin-left: auto;
}

.ai {
  align-self: flex-start;
  background: #e7f5e6;
  color: #2e6049;
  margin-right: auto;
}

.input-area {
  display: flex;
  gap: 10px;
}

#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  padding: 10px 16px;
  background: #2e86de;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #1b4f72;
}

.clear-btn {
  background: #e74c3c;
  padding: 10px 12px;
}

.clear-btn:hover {
  background: #c0392b;
}

.logo {
  width: 280px;
  max-width: 60vw;
  margin: 30px auto 20px;
  display: block;
}

@media (max-width: 480px) {
  .logo {
    width: 200px;
  }
}

.bottom-logo {
  width: 160px;
  max-width: 40vw;
  margin: 5px auto 20px;
  display: block;
  opacity: 1;
}

@media (max-width: 480px) {
  .bottom-logo {
    width: 130px;
  }
}

.consultation-link {
  margin: 15px 0;
  padding: 15px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

.consultation-message p {
  margin: 8px 0;
  color: #495057;
}

.consultation-btn {
  display: inline-block;
  padding: 12px 20px;
  background: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  margin: 10px 0;
  transition: background 0.3s ease;
}

.consultation-btn:hover {
  background: #218838;
}

.consultation-note {
  font-size: 0.85em;
  color: #6c757d;
  font-style: italic;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.consultation-offer {
  margin: 15px 0;
  padding: 20px;
  background: #fff3cd;
  border: 2px solid #ffeaa7;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

.consultation-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
  flex-wrap: wrap;
}

.dismiss-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
}

.dismiss-btn:hover {
  background: #5a6268;
}



.verse {
  font-style: italic;
  color: #555;
  font-size: 0.8em;
  font-weight: normal;
  margin-bottom: 20px;
  text-align: center;
  padding: 0 10px;
}