
body {
  color: navy;
  padding: 10px;
  font-size: 30px;
  text-align: center;
  background-color: #E8EEF5;
}

h1 {
  text-align: center;
  font-size: 60px;
}

#pros-cons {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 20px 0;
}

#pros-cons > div {
  flex: 1;
  padding: 15px;
  border-radius: 8px;
  background: #E8EEF5;
}

#pros-cons ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.pros {
  color: green;
}


.cons {
  color: red;
}

@media (max-width: 768px) {
  #pros-cons {
    flex-direction: column;
  }
}

#quiz {
  margin-top: 30px;
  padding: 20px;
  background: #eef2f7;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.question-block {
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #ddd;
  text-align: left;
}

.question-block p {
  font-weight: bold;
  margin-bottom: 10px;
}

.inline-logo {
  vertical-align: middle;
  display: inline-block;
  width: 100px;
  height: 100px;
  margin-right: -16px;
  margin-top: -10px;
}
a{
  text-decoration: none;
  padding: none;
}
.recommend-link {
  color: #0077cc;
  text-decoration: underline;
  cursor: pointer;
}

.recommend-link:hover {
  color: #005999;
  text-decoration: none;
}

.question-block label {
  display: block;
  margin: 4px 0;
  cursor: pointer;
}

#submit-answer {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #FF7900;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 24px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#submit-answer:hover {
  background-color: #e56d00;
  transform: translateY(-2px);
}

#feedback {
  margin-top: 15px;
  font-size: 1.1em;
  font-weight: bold;
}

#quiz[style*="display: none"] {
  display: none !important;
}

.concept {
  background-color: #FFF8E7;
  width: 80%;
  padding: 20px;
  margin: 10px auto 25px auto;
  font-size: 30px;
  color: navy;
  border: 1px solid black;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.multi-line-button{
    width: 50%; 
  white-space: normal;
  padding: 10px;
  text-align: center;
}
.concept-btn{
  display: block;
  margin: auto;
  margin-top: 15px;
}
.concept:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#more {
  background-color: #FFF8E7;
  padding: 20px;
  margin: 15px auto;
  font-size: 30px;
  color: navy;
  border: 1px solid black;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#more:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

button {
  background-color: #FFF8E7;
  padding: 20px;
  margin: 10px;
  font-size: 30px;
  color: navy;
  border: 1px solid white;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 4px solid #ccc;
  border-top: 4px solid #0077cc;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-top: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Chatbot Toggle Button */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0078D4;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
}

/* Chat Popup Container */
#chat-popup {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  min-width: 300px;
  max-width: 90%;
  z-index: 999;
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chat-popup.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

#chat-popup.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

/* Chat Container */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Chat Header */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0078D4;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
}

/* Chat Window */
#chat-window {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Message Bubbles */
.message {
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  max-width: 80%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  animation: fadeIn 0.3s ease;
}

.message.user {
  align-self: flex-end;
  background-color: #DCF8C6;
  font-size: 14px;
  text-align: right;
}

.message.bot {
  align-self: flex-start;
  background-color: #F1F0F0;
  font-size: 14px;
  text-align: left;
}

/* Input Area */
.input-area {
  display: flex;
  padding: 25px;
  padding-top: -10px;
  gap: 10px;
  border-top: 1px solid #ddd;
}

.input-area input {
  flex: 1;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: -15px;
}

#user-input {
  font-size: 24px;
}

#send-btn{
    margin-left: 20px;
    padding: 15px;
}
.input-area button {
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Exit Button */

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

/* Responsive Scaling */
@media (max-width: 480px) {
  #chat-popup {
    width: 100%;
    bottom: 0;
    right: 0;
    border-radius: 0;
  }

  .chat-container {
    height: 100vh;
    border-radius: 0;
  }

  .input-area {
    flex-direction: column;
  }

  .input-area button {
    width: 100%;
  }

  #chat-toggle {
    bottom: 10px;
    right: 10px;
    padding: 10px 16px;
    font-size: 16px;
  }
}
#back-btn{
    padding: 15px;
    margin-bottom: -15px;
}
.jersey-10-regular {
  font-family: "Jersey 10", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.jersey-10-title {
  font-family: "Jersey 10", sans-serif;
  font-weight: 800;
  font-style: normal;
}

/* ============================= */
/* Sign-Up Form Styling          */
/* ============================= */

#signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

#signup-form input {
  width: 400px;
  padding: 15px;
  font-size: 22px;
  border: 2px solid navy;
  border-radius: 8px;
  outline: none;
  background-color: #FFF8E7;
  color: navy;
  font-family: "Jersey 10", sans-serif;
  transition: 0.25s ease;
}

#signup-form input:focus {
  border-color: #FF7900;
  box-shadow: 0 0 10px rgba(255, 121, 0, 0.4);
}

#signup-button {
  width: 250px;
  padding: 15px;
  font-size: 26px;
  font-family: "Jersey 10", sans-serif;
  background-color: #FF7900;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

#signup-button:hover {
  background-color: #e56d00;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#signup-status {
  margin-top: 10px;
  font-size: 20px;
  font-family: "Jersey 10", sans-serif;
  color: navy;
}
