#metro-chat-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 250px;
  height: 60px;
  background: linear-gradient(135deg, #662D91, #662D95);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: white;
  font-family: Arial, sans-serif;
  cursor: pointer;
  z-index: 999999;
  box-shadow: 0 12px 35px rgba(0, 87, 184, 0.35);
  transition: all 0.25s ease;
}

#metro-chat-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 87, 184, 0.45);
}

.metro-chat-logo {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;

  transform: translateY(8px);
}

.metro-chat-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.metro-chat-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

.metro-chat-title {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.metro-chat-subtitle {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 500;
  white-space: nowrap;
}

.metro-quick-replies {
  clear: both;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 14px 10px;
  max-width: 80%;
}

.metro-quick-reply {
  display: block;
  width: auto;
  min-width: 180px;
  max-width: 260px;
  white-space: nowrap;
  border: 1px solid #0057b8;
  background: #fff;
  color: #0057b8;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
}

.metro-quick-reply:hover {
  background: #0057b8;
  color: #fff;
}

.metro-booking-link {
  display: inline-block;
  width: auto;
  min-width: 180px;
  max-width: 260px;
  white-space: nowrap;
  border: 1px solid #662D91;
  background: #662D91;
  color: #fff;
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.metro-booking-link:hover {
  background: #4e2270;
  border-color: #4e2270;
  color: #fff;
}

#metro-chat-box {
  position: fixed;
  right: 24px;
  bottom: 86px;
  width: 360px;
  height: 500px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  z-index: 999999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-family: Arial, sans-serif;
  border: 1px solid #e5e5e5;
}

#metro-chat-header {
  background: #662D91;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#metro-chat-header strong {
  display: block;
  font-size: 15px;
}

#metro-chat-header span {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-top: 2px;
}

#metro-chat-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

#metro-chat-messages {
  height: 370px;
  padding: 14px;
  overflow-y: auto;
  background: #f7f9fc;
  box-sizing: border-box;
}

.user-msg,
.bot-msg {
  max-width: 82%;
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  clear: both;
}

.user-msg {
  background: #662D91;
  color: #ffffff;
  float: right;
  border-bottom-right-radius: 4px;
}

.bot-msg {
  background: #ffffff;
  color: #222222;
  float: left;
  border-bottom-left-radius: 4px;
  border: 1px solid #e7e7e7;
}

.typing {
  opacity: 0.7;
  font-style: italic;
}

#metro-chat-input-area {
  height: 58px;
  display: flex;
  border-top: 1px solid #e5e5e5;
  background: #ffffff;
}

#metro-chat-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
}

#metro-chat-send {
  width: 78px;
  background: #662D91;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

#metro-chat-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  #metro-chat-box {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 92px;
  }

  #metro-chat-button {
    right: 16px;
    bottom: 16px;
    width: calc(100vw - 32px);
    max-width: 340px;
  }
}