/* THEMIS Chat Widget Styles */
.themis-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.chat-button {
  width: 60px;
  height: 60px;
  background: #1A2E5A; /* Navy */
  color: #C9A84C; /* Gold */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.chat-button:hover {
  transform: scale(1.1);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eee;
}

.chat-window.open {
  display: flex;
}

.chat-header {
  background: #1A2E5A;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h4 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #C9A84C;
}

.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.msg.user {
  background: #1A2E5A;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.msg.admin {
  background: #eee;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-footer {
  padding: 16px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chat-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  outline: none;
  font-size: 14px;
}

.btn-send {
  background: #1A2E5A;
  color: #C9A84C;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
