/* ==========================================================================
   MediGuide Pakistan - Futuristic Dark Glass Design System
   Color Palette: Deep navy void + glowing cyan/teal accents
   ========================================================================== */

:root {
  /* Design System Color Tokens */
  --void: #050810;
  --bg-deep: #0A1322;
  --bg-deep-2: #0D1B2E;
  --primary-cyan: #22D3EE;
  --secondary-cyan: #67E8F9;
  --dark-teal: #0E7490;
  --light-cyan: #A5F3FC;
  --accent-cyan: #2DD4BF;
  --white: #FFFFFF;
  --silver-light: #0F1B2E;
  --danger-bg: rgba(255, 90, 90, 0.08);
  --danger-border: rgba(255, 110, 110, 0.4);
  --danger-text: #FF8A8A;

  /* Text Colors */
  --text-dark: #E7F6FA;
  --text-muted: #7E9FAE;
  --text-light: #FFFFFF;

  /* Glassmorphism Details */
  --glass-bg: rgba(10, 18, 32, 0.55);
  --glass-border: rgba(34, 211, 238, 0.22);
  --glass-card-bg: rgba(13, 23, 38, 0.65);
  --glass-card-border: rgba(103, 232, 249, 0.18);

  /* Font Face stacks */
  --font-english: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-urdu: 'Noto Nastaliq Urdu', 'Poppins', serif;

  /* Shadows and Transitions */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 22px rgba(34, 211, 238, 0.45);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Reset & Page Layout
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-english);
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 211, 238, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(45, 212, 191, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--void) 0%, var(--bg-deep) 55%, var(--bg-deep-2) 100%);
  color: var(--text-dark);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Subtle moving grid/dot pattern */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(rgba(103, 232, 249, 0.07) 1.5px, transparent 1.5px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 25v30M25 40h30' stroke='rgba(103, 232, 249, 0.05)' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 28px 28px, 80px 80px;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   Floating Background Decorations (Glow Orbs, Icons & Heartbeat)
   ========================================================================== */
.background-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  color: rgba(103, 232, 249, 0.3);
  pointer-events: none;
  user-select: none;
}

/* Glow orbs */
.bubble-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 75%);
  border-radius: 50%;
  filter: blur(10px);
  left: 5%;
  top: 15%;
  animation: floatSlow 25s infinite ease-in-out;
}

.bubble-2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16) 0%, transparent 75%);
  border-radius: 50%;
  filter: blur(8px);
  right: 8%;
  bottom: 12%;
  animation: floatSlow 18s infinite ease-in-out reverse;
}

.bubble-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.10) 0%, transparent 75%);
  border-radius: 50%;
  filter: blur(14px);
  right: 15%;
  top: 8%;
  animation: floatSlow 32s infinite ease-in-out;
}

/* Floating SVG icon particles (replace old emojis) */
.pill-1,
.pill-2 {
  width: 38px;
  height: 38px;
  opacity: 0.3;
}

.pill-1 {
  left: 12%;
  bottom: 25%;
  animation: floatRotate 22s infinite ease-in-out;
}

.pill-2 {
  width: 30px;
  height: 30px;
  right: 25%;
  top: 25%;
  opacity: 0.22;
  animation: floatRotate 28s infinite ease-in-out reverse;
}

.cross-1,
.cross-2 {
  width: 26px;
  height: 26px;
  opacity: 0.28;
}

.cross-1 {
  left: 45%;
  top: 8%;
  animation: floatSlow 15s infinite ease-in-out;
}

.cross-2 {
  width: 20px;
  height: 20px;
  right: 5%;
  top: 50%;
  opacity: 0.2;
  animation: floatSlow 20s infinite ease-in-out reverse;
}

.particle svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Heartbeat ECG Line */
.heartbeat-line {
  position: absolute;
  bottom: 8%;
  left: 5%;
  width: 250px;
  height: 60px;
  opacity: 0.45;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.5));
}

.heartbeat-line svg {
  width: 100%;
  height: 100%;
}

.heartbeat-line path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawECG 4s linear infinite;
}

/* Animations Keyframes */
@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(15px);
  }
}

@keyframes floatRotate {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-40px) rotate(180deg);
  }
}

@keyframes drawECG {
  0% {
    stroke-dashoffset: 400;
  }

  60% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -400;
  }
}

/* ==========================================================================
   App Container (Dark Glass Core + Signature Scan Line)
   ========================================================================== */
.app-container {
  width: 100%;
  max-width: 900px;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  overflow: hidden;
}

/* Signature moving accent: a soft light sweeping across the top edge */
.app-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-cyan), transparent);
  z-index: 20;
  animation: scanSweep 6s linear infinite;
  pointer-events: none;
}

@keyframes scanSweep {
  0% {
    left: -50%;
  }

  100% {
    left: 100%;
  }
}

@media (min-width: 768px) {
  .app-container {
    height: 88vh;
    border-radius: 24px;
    border: 1.5px solid rgba(103, 232, 249, 0.22);
  }
}

/* ==========================================================================
   Header Layout
   ========================================================================== */
.app-header {
  background: linear-gradient(90deg, var(--bg-deep-2) 0%, var(--bg-deep) 100%);
  color: var(--text-light);
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
  border-bottom: 1.5px solid rgba(34, 211, 238, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-circle {
  width: 90px;
  height: 90px;
  background: transparent;
  padding: 0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.5px solid #00BCD4;
  box-shadow: 0 0 8px #00BCD4, 0 0 12px #00BCD4;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.logo-circle:hover {
  transform: scale(1.05);
  border-color: #00BCD4;
  box-shadow: 0 0 16px #00BCD4, 0 0 24px #00BCD4;
}

.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: normal;
}

.crescent-star {
  width: 28px;
  height: 28px;
  transform: rotate(-10deg);
  color: var(--secondary-cyan);
}

.title-area h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-light);
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}

.title-area .subtitle {
  font-size: 0.95rem;
  font-family: var(--font-urdu);
  color: var(--light-cyan);
  margin-top: -2px;
  letter-spacing: 0;
  opacity: 0.85;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1.5px solid rgba(103, 232, 249, 0.18);
  backdrop-filter: blur(5px);
  color: rgba(231, 246, 250, 0.95);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #2DD4BF;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #2DD4BF;
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* ==========================================================================
   Emergency Warning Banner
   ========================================================================== */
.emergency-banner {
  background-color: var(--danger-bg);
  border-bottom: 1.5px solid var(--danger-border);
  padding: 10px 24px;
  z-index: 8;
  animation: slideDownBanner 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.emergency-content {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.warning-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--danger-text);
  animation: bounceAlert 1.5s infinite ease-in-out;
}

.warning-icon svg {
  width: 100%;
  height: 100%;
}

.warning-text {
  font-size: 0.82rem;
  color: var(--danger-text);
  line-height: 1.4;
  font-weight: 500;
}

.warning-text strong {
  color: #FFB3B3;
  font-weight: 700;
}

@keyframes slideDownBanner {
  from {
    transform: translateY(-40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounceAlert {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* ==========================================================================
   Chat Workspace & Scrolling
   ========================================================================== */
.chat-workspace {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.chat-workspace::-webkit-scrollbar {
  width: 6px;
}

.chat-workspace::-webkit-scrollbar-track {
  background: transparent;
}

.chat-workspace::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.25);
  border-radius: 10px;
}

.chat-workspace::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.45);
}

/* ==========================================================================
   Welcome Screen & Cards
   ========================================================================== */
.welcome-screen {
  margin: auto;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: screenFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes screenFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-card {
  background: var(--glass-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 32px 28px;
  border-radius: 20px;
  border: 1.5px solid var(--glass-card-border);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.welcome-card h2 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.welcome-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.welcome-desc strong {
  color: var(--secondary-cyan);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 540px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: rgba(34, 211, 238, 0.04);
  padding: 18px 14px;
  border-radius: 16px;
  border: 1px solid rgba(103, 232, 249, 0.12);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: var(--shadow-glow);
  border-color: var(--secondary-cyan);
}

.feat-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px auto;
  color: var(--secondary-cyan);
}

.feat-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.suggestion-section h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-cyan);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.chips-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* ==========================================================================
   Suggestion Chips
   ========================================================================== */
.chip {
  background: rgba(34, 211, 238, 0.06);
  color: var(--text-dark);
  border: 1.5px solid rgba(103, 232, 249, 0.25);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chip:hover {
  background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-cyan) 100%);
  color: var(--white);
  border-color: var(--primary-cyan);
  transform: translateY(-2.5px);
  box-shadow: var(--shadow-glow);
}

.chip:active {
  transform: translateY(0);
}

/* ==========================================================================
   Chat Messages & Bubbles
   ========================================================================== */
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.message-wrapper {
  display: flex;
  width: 100%;
  animation: messageSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.message-wrapper.user {
  justify-content: flex-end;
}

.message-wrapper.ai {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 78%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  word-wrap: break-word;
}

.message-wrapper.user .chat-bubble {
  background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-cyan) 100%);
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-wrapper.user .chat-bubble strong {
  color: var(--white);
  text-decoration: underline;
}

.message-wrapper.ai .chat-bubble {
  background: var(--glass-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-card-border);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.bubble-meta {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
  user-select: none;
}

.message-wrapper.user .bubble-meta {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Urdu Layout Settings
   ========================================================================== */
.urdu-message {
  font-family: var(--font-urdu);
  direction: rtl;
  text-align: right;
  line-height: 2.2;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
}

.urdu-message ul,
.urdu-message ol {
  margin-left: 0;
  margin-right: 22px;
  direction: rtl;
  text-align: right;
}

/* ==========================================================================
   Markdown Elements Inside Bubbles
   ========================================================================== */
.chat-bubble p {
  margin-bottom: 8px;
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-bubble strong {
  font-weight: 600;
  color: var(--secondary-cyan);
}

.message-wrapper.user .chat-bubble strong {
  color: var(--white);
}

.chat-bubble ul,
.chat-bubble ol {
  margin-left: 20px;
  margin-bottom: 10px;
}

.chat-bubble li {
  margin-bottom: 6px;
}

.chat-bubble hr {
  border: 0;
  border-top: 1.5px solid rgba(103, 232, 249, 0.15);
  margin: 12px 0;
}

/* ==========================================================================
   Typing Indicator
   ========================================================================== */
.typing-indicator {
  display: flex;
  margin-top: 10px;
  animation: fadeInIndicator 0.2s ease-out;
}

@keyframes fadeInIndicator {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-bubble {
  background: var(--glass-card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-card-border);
  padding: 12px 20px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.bouncing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-bubble .dot {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-cyan);
  border-radius: 50%;
  display: inline-block;
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.typing-bubble .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-bubble .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dotBounce {

  0%,
  80%,
  100% {
    transform: scale(0.3);
    opacity: 0.4;
  }

  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.indicator-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Footer controls & Text inputs
   ========================================================================== */
.app-footer {
  background: rgba(8, 14, 26, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1.5px solid var(--glass-border);
  padding: 12px 20px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 10;
}

.mini-chips-wrapper {
  overflow-x: auto;
  padding: 2px 0 8px 0;
  -webkit-overflow-scrolling: touch;
}

.mini-chips-wrapper::-webkit-scrollbar {
  display: none;
}

.mini-chips {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.mini-chips .chip {
  padding: 6px 14px;
  font-size: 0.78rem;
  border-radius: 16px;
  flex-shrink: 0;
}

.input-container {
  display: flex;
  width: 100%;
}

.chat-form {
  display: flex;
  width: 100%;
  gap: 12px;
  align-items: center;
}

#user-input {
  flex: 1;
  border: 1.5px solid rgba(103, 232, 249, 0.2);
  border-radius: 30px;
  padding: 14px 22px;
  font-size: 0.95rem;
  font-family: var(--font-english);
  outline: none;
  background: var(--silver-light);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

#user-input::placeholder {
  color: var(--text-muted);
}

#user-input:focus {
  border-color: var(--secondary-cyan);
  box-shadow: var(--shadow-glow);
  background: rgba(15, 27, 46, 0.95);
}

#send-btn {
  background: linear-gradient(135deg, var(--dark-teal) 0%, var(--primary-cyan) 100%);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.3);
  flex-shrink: 0;
}

#send-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--secondary-cyan) 100%);
}

#send-btn:active {
  transform: scale(0.95);
}

#send-btn svg {
  margin-left: 2px;
  margin-top: -1px;
}

.disclaimer-bar {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  padding-top: 6px;
  border-top: 1px solid rgba(103, 232, 249, 0.1);
}

.disclaimer-bar strong {
  color: var(--secondary-cyan);
  font-weight: 600;
}

/* ==========================================================================
   Utilities & Mobile Responsiveness
   ========================================================================== */
.hidden {
  display: none !important;
}

@media (max-width: 580px) {
  .app-header {
    padding: 12px 16px;
  }

  .title-area h1 {
    font-size: 1.1rem;
  }

  .title-area .subtitle {
    font-size: 0.85rem;
  }

  .logo-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
  }

  .crescent-star {
    width: 22px;
    height: 22px;
  }

  .status-indicator {
    padding: 4px 10px;
    font-size: 0.7rem;
  }

  .emergency-banner {
    padding: 8px 16px;
  }

  .warning-text {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .warning-icon {
    width: 18px;
    height: 18px;
  }

  .chat-workspace {
    padding: 16px;
  }

  .welcome-card {
    padding: 24px 16px;
  }

  .welcome-card h2 {
    font-size: 1.35rem;
  }

  .welcome-desc {
    font-size: 0.88rem;
    margin-bottom: 20px;
  }

  .feature-card {
    padding: 12px 10px;
  }

  .chat-bubble {
    max-width: 88%;
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  #user-input {
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  #send-btn {
    width: 42px;
    height: 42px;
  }

  .background-decorations {
    display: none;
  }
}

.new-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 10px;
  background: rgba(34, 211, 238, 0.08);
  border: 1.5px solid rgba(103, 232, 249, 0.2);
  border-radius: 50%;
  color: var(--secondary-cyan);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.new-chat-btn svg {
  width: 18px;
  height: 18px;
}

.new-chat-btn:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--secondary-cyan);
  transform: rotate(180deg);
  box-shadow: var(--shadow-glow);
}
