.chat-body {
  background: linear-gradient(135deg, #0f172a, #020617);
  min-height: 100vh;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-wrapper {
  max-width: 720px;
}

.chat-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-badge {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
  font-weight: 600;
  font-size: 13px;
}

.chat-box {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.chat-box::-webkit-scrollbar {
  width: 6px;
}
.chat-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.chat-bubble.bot {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-top-left-radius: 6px;
}

.chat-bubble.user {
  background: linear-gradient(135deg, #22c55e, #4ade80) !important;
  color: #022c22 !important;
}

.chat-box .bg-white {
  background: transparent !important;
}

.chat-input-area {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.chat-input {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 14px;
}

.chat-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.4);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.send-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #022c22;
  font-size: 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.6);
}

.brand-center {
  line-height: 1.1;
  text-align: center;
}

.brand-name {
  font-weight: 700;
  font-size: 14px;
}

.brand-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.logo-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.6);
  animation: pulse 2.5s infinite;
}

.logo-ring img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
}

.header-logo {
  width: 84px;
  opacity: 0.5;
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.4));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.8);
  }
  100% {
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.5);
  }
}
