/* 2CLICK AMC AI Assistant (ClickMitra) Production Stylesheet */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #334155;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

body {
  margin: 0;
  line-height: inherit;
  font-family: inherit;
  background-color: #020617;
  color: #f1f5f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Base form controls styling in dark mode */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, select {
  text-transform: none;
}
button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}
input, textarea, select {
  background-color: transparent;
}
textarea {
  resize: vertical;
}

/* Scrollbars */
.chat-scroll::-webkit-scrollbar {
  width: 6px;
}
.chat-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.chat-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

/* Utilities */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.top-0 { top: 0px; }
.bottom-0 { bottom: 0px; }
.bottom-5 { bottom: 1.25rem; }
.right-0 { right: 0px; }
.right-5 { right: 1.25rem; }
.inset-0 { inset: 0px; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.w-3 { width: 0.75rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }

.h-3 { height: 0.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-\[580px\] { height: 580px; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[82\%\] { max-width: 82%; }
.max-w-\[86\%\] { max-width: 86%; }
.max-h-\[390px\] { max-height: 390px; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }

.p-0\.5 { padding: 0.125rem; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }

.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-1\.5 { padding-top: 0.375rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-2\.5 { padding-top: 0.625rem; }
.pt-3 { padding-top: 0.75rem; }
.pl-1 { padding-left: 0.25rem; }
.pr-1 { padding-right: 0.25rem; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-tl-sm { border-top-left-radius: 0.125rem; }
.rounded-tr-sm { border-top-right-radius: 0.125rem; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

.border-slate-900 { border-color: #0f172a; }
.border-slate-800 { border-color: #1e293b; }
.border-slate-800\/80 { border-color: rgba(30, 41, 59, 0.8); }
.border-slate-700 { border-color: #334155; }
.border-slate-700\/70 { border-color: rgba(51, 65, 85, 0.7); }
.border-slate-700\/80 { border-color: rgba(51, 65, 85, 0.8); }
.border-sky-500 { border-color: #0ea5e9; }
.border-sky-500\/30 { border-color: rgba(14, 165, 233, 0.3); }
.border-sky-500\/40 { border-color: rgba(14, 165, 233, 0.4); }
.border-sky-500\/50 { border-color: rgba(14, 165, 233, 0.5); }
.border-sky-400\/30 { border-color: rgba(56, 189, 248, 0.3); }
.border-sky-400\/50 { border-color: rgba(56, 189, 248, 0.5); }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }

.bg-slate-950 { background-color: #020617; }
.bg-slate-950\/40 { background-color: rgba(2, 6, 23, 0.4); }
.bg-slate-950\/70 { background-color: rgba(2, 6, 23, 0.7); }
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9); }
.bg-slate-900\/95 { background-color: rgba(15, 23, 42, 0.95); }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-800\/70 { background-color: rgba(30, 41, 59, 0.7); }
.bg-sky-950\/60 { background-color: rgba(8, 47, 73, 0.6); }
.bg-sky-950\/70 { background-color: rgba(8, 47, 73, 0.7); }
.bg-sky-950\/80 { background-color: rgba(8, 47, 73, 0.8); }
.bg-sky-600 { background-color: #0284c7; }
.bg-sky-600\/20 { background-color: rgba(2, 132, 199, 0.2); }
.bg-sky-500\/15 { background-color: rgba(14, 165, 233, 0.15); }
.bg-sky-500\/20 { background-color: rgba(14, 165, 233, 0.2); }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.bg-emerald-400 { background-color: #34d399; }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-black\/30 { background-color: rgba(0, 0, 0, 0.3); }
.bg-black\/75 { background-color: rgba(0, 0, 0, 0.75); }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops, #0ea5e9, #4f46e5)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, #075985, #312e81, #0f172a)); }
.from-sky-500 { --tw-gradient-from: #0ea5e9; --tw-gradient-stops: #0ea5e9, var(--tw-gradient-to, #4f46e5); }
.from-sky-800 { --tw-gradient-from: #075985; --tw-gradient-stops: #075985, var(--tw-gradient-to, #0f172a); }
.via-indigo-900 { --tw-gradient-stops: var(--tw-gradient-from, #075985), #312e81, var(--tw-gradient-to, #0f172a); }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.to-slate-900 { --tw-gradient-to: #0f172a; }

.text-white { color: #ffffff; }
.text-slate-100 { color: #f1f5f9; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-sky-100\/80 { color: rgba(224, 242, 254, 0.8); }
.text-sky-200 { color: #bae6fd; }
.text-sky-300 { color: #7dd3fc; }
.text-sky-400 { color: #38bdf8; }
.text-sky-500 { color: #0ea5e9; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-amber-300 { color: #fcd34d; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration-line: underline; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }

.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-sky-900\/30 { box-shadow: 0 10px 15px -3px rgba(12, 74, 110, 0.3); }
.shadow-sky-900\/40 { box-shadow: 0 10px 15px -3px rgba(12, 74, 110, 0.4); }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Interactive States */
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration-line: underline; }
.hover\:bg-slate-700:hover { background-color: #334155; }
.hover\:bg-slate-800:hover { background-color: #1e293b; }
.hover\:bg-sky-500:hover { background-color: #0ea5e9; }
.hover\:bg-sky-600\/30:hover { background-color: rgba(2, 132, 199, 0.3); }
.hover\:bg-white\/20:hover { background-color: rgba(255, 255, 255, 0.2); }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-sky-200:hover { color: #bae6fd; }
.hover\:text-sky-300:hover { color: #7dd3fc; }
.hover\:border-sky-500\/50:hover { border-color: rgba(14, 165, 233, 0.5); }
.group:hover .group-hover\:text-sky-300 { color: #7dd3fc; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-sky-500:focus { border-color: #0ea5e9; }
.focus\:ring-0:focus { box-shadow: none; }

.placeholder-slate-500::placeholder { color: #64748b; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }

/* Responsive Media Queries */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}


/* 2CLICK AMC V20 Light Green & Warm White Theme Override for /assistant */
html { color-scheme: light !important; font-family: 'Plus Jakarta Sans', 'Inter', 'Manrope', 'Noto Sans Devanagari', sans-serif !important; }
body { background-color: #FAFAF7 !important; color: #24332B !important; }
.bg-slate-950, .bg-slate-950\/80, .bg-slate-950\/90 { background-color: #FAFAF7 !important; color: #24332B !important; }
.bg-slate-900, .bg-slate-900\/80, .bg-slate-900\/90, .bg-slate-900\/60 { background-color: #FFFFFF !important; color: #24332B !important; }
.bg-slate-800, .bg-slate-800\/80, .bg-slate-800\/60 { background-color: #F2F7F3 !important; color: #24332B !important; }
.border-slate-800, .border-slate-700, .border-slate-900 { border-color: #E2E8E3 !important; }
.text-white, .text-slate-100, .text-slate-200 { color: #24332B !important; }
.text-slate-300, .text-slate-400, .text-slate-500 { color: #68756D !important; }
.text-sky-400, .text-sky-300, .text-emerald-400, .text-emerald-300 { color: #176B4D !important; }
.bg-sky-600, .bg-emerald-600, .bg-gradient-to-r { background: #176B4D !important; background-image: none !important; color: #FFFFFF !important; }
.bg-sky-600 *, .bg-emerald-600 *, .bg-gradient-to-r * { color: #FFFFFF !important; }


html, body { max-width: 100vw !important; overflow-x: hidden !important; }
header > div, main, section, aside, div { max-width: 100% !important; min-width: 0 !important; }
@media (max-width: 640px) {
  header > div { flex-wrap: wrap !important; gap: 8px !important; padding: 10px 12px !important; }
  main { padding: 10px !important; }
  table { display: block !important; overflow-x: auto !important; max-width: 100% !important; }
  pre { max-width: 100% !important; overflow-x: auto !important; white-space: pre-wrap !important; word-break: break-all !important; }
  .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr !important; }
}
