body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f8ff;
  color: #333;
  margin-top: 70px;
  font-size: 16px;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #1e90ff !important;
}

.navbar {
  background-color: #1e90ff !important;
}

.navbar-custom {
  background-color: #1e90ff;
  transition: top 0.3s;
  font-size: 14px;
}

header {
  background-color: #1e90ff;
  color: white;
  text-align: left;
  padding: 1em 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.synonyms-container {
  text-align: center;
}

/* 동의어 입력창 스타일 */
#jobInput {
  border: 2px solid #1e90ff;
  background-color: white;
  color: #333;
  font-size: 16px;
  padding: 10px;
  border-radius: 8px;
}

#jobInput:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
  outline: none;
}

#jobList {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  color: #333;
}

#jobList button {
  padding: 5px 10px;
  font-size: 16px;
  width: auto;
  flex: 0 0 auto;
  text-align: center;
  color: #1e90ff;
}

#synonymsContent {
  display: flex;
  justify-content: flex-start;
  height: 400px;
  overflow-y: auto;
  border: 1px solid #1e90ff;
  text-align: left;
  padding: 10px;
  color: #333;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

/* Chat container styling */
.chat-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 300px);
  margin-top: 20px;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  background-color: white;
  border: 1px solid #1e90ff;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.user-message {
  background-color: transparent;
  color: #1e90ff;
  padding: 10px 15px;
  border-radius: 15px;
  margin: 5px 0;
  max-width: 80%;
  align-self: flex-end;
  margin-left: auto;
  font-weight: 500;
  font-size: 16px;
}

.ai-message {
  background-color: transparent;
  color: #333;
  padding: 10px 15px;
  border-radius: 15px;
  margin: 5px 0;
  max-width: 80%;
  align-self: flex-start;
  border: none;
  font-size: 16px;
}

#inputMessage {
  border: 2px solid #1e90ff;
  background-color: white;
  color: #333;
  font-size: 16px;
  padding: 10px;
  border-radius: 8px;
}

#inputMessage:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
  outline: none;
}

.spinner-border {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  align-items: left;
}

hr.dashed-line {
  border: none;
  border-top: 2px dashed #1e90ff;
  margin: 20px 0;
}

/* Button styling */
.btn-outline-secondary {
  color: #1e90ff;
  border: none;
  background-color: white;
  font-size: 24px;
  padding: 10px 20px;
  border-radius: 8px;
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: transform 0.2s;
}

.btn-outline-secondary:hover {
  color: #1e90ff;
  background-color: #f0f8ff;
  border: none;
  transform: scale(1.1);
}

.btn-outline-secondary::after {
  content: attr(data-text);
  position: absolute;
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.btn-outline-secondary:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Input group styling */
.input-group {
  margin-bottom: 1rem;
  gap: 10px;
}

.input-group .form-control {
  border-right: none;
}

.input-group .btn {
  border: none;
  padding: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Navbar brand styling */
.navbar-brand {
  color: white !important;
  font-weight: 500;
}

.navbar-brand:hover {
  color: #f0f8ff !important;
}

#synonymsContent::-webkit-scrollbar {
  width: 8px;
}

#synonymsContent::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#synonymsContent::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

#synonymsContent::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}



