* {
  font-family: "cairo", serif !important;
}

body {
  background-color: #f4f4f9;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  direction: rtl;
  gap: 20px;
  background-image: url("../image/5166950.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

main {
  width: 98%;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

input::placeholder {
  color: #cacaca;
  opacity: 1;
}

.send-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px 10px 20px;
}

#chatbox {
  display: flex;
  flex-direction: column;
  min-height: 75vh;
  max-height: 400px;
  overflow-y: auto;
  padding: 0px 10px 0px 10px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

#chatbox::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.form-container {
  border-radius: 0px 0px 10px 10px;
  background: #ffffff;
  border-top: 1px solid #dbdbdb;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.message {
  padding: 10px;
  margin: 10px 0;
  border-radius: 10px;
  line-height: 1.6;
}

.user-message {
  display: flex;
  flex-direction: column;
  width: fit-content;
  align-items: start;
  background-color: #eff2f1;
  border: 1px solid #cad8d3;
  align-self: flex-start;
  text-align: right;
}

.bot-message {
  display: flex;
  flex-direction: column;
  width: fit-content;
  align-items: start;
  background-color: #f2f2f2;
  border: 1px solid #dfdfdf;
  align-self: flex-end;
  text-align: right;
}

.input-container {
  display: flex;
  gap: 10px;
  height: 64px;
}

#userInput {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

button {
  background-color: #3f5c52;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}

#static-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  justify-content: center;
}

#static-questions button {
  background-color: #3f5c52;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}
