/* Modern Himalayan Aesthetic Design System for MySiliguri */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-mist: #f8fafc;
  --surface-card: rgba(255, 255, 255, 0.9);
  --tea-emerald: #064e3b;
  --tea-green-accent: #059669;
  --tea-leaf-light: #10b981;
  --rhododendron-accent: #e11d48;
  --snow-slate: #0f172a;
  --text-muted: #64748b;
  --border-glass: rgba(226, 232, 240, 0.8);
  --shadow-himalaya: 0 20px 25px -5px rgba(6, 78, 59, 0.06), 0 8px 10px -6px rgba(6, 78, 59, 0.04);
  --radius-himalaya: 16px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-mist);
  color: var(--snow-slate);
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Agent Portal Header & Navigation */
.himalayan-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--tea-green-accent);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.2);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--snow-slate);
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--tea-green-accent);
}

/* Voice Search Component Bar */
.voice-search-container {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.35rem 0.5rem 0.35rem 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 460px;
  width: 100%;
}

.voice-search-container:focus-within {
  border-color: var(--tea-green-accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.voice-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.92rem;
  color: var(--snow-slate);
  font-family: inherit;
}

.voice-mic-btn {
  background: var(--tea-emerald);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
  flex-shrink: 0;
}

.voice-mic-btn:hover {
  background: var(--tea-green-accent);
  transform: scale(1.05);
}

.voice-mic-btn.listening {
  background: var(--rhododendron-accent);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* Agent Action Buttons */
.agent-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-agent-ugc {
  background: linear-gradient(135deg, var(--tea-green-accent) 0%, var(--tea-emerald) 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
  transition: all 0.2s ease;
}

.btn-agent-ugc:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

/* Live Transit Banner */
.transit-live-banner {
  background: linear-gradient(135deg, var(--tea-emerald) 0%, #065f46 100%);
  color: #ffffff;
  border-radius: var(--radius-himalaya);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto;
  box-shadow: var(--shadow-himalaya);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .transit-live-banner { grid-template-columns: 1fr; }
  .himalayan-header { flex-direction: column; align-items: stretch; }
  .voice-search-container { max-width: 100%; }
}

.transit-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Modern Himalayan Grid Cards */
.himalaya-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-himalaya);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.himalaya-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-himalaya);
  border-color: var(--tea-green-accent);
}
