@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";
/* [project]/apps/web/src/app/globals.css [app-client] (css) */
:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #fff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffffb3;
  --bg-glass: #fff6;
  --bg-hover: #6366f114;
  --border-subtle: #6366f11f;
  --border-medium: #6366f133;
  --border-active: #6366f180;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-accent: #4f46e5;
  --accent-indigo: #4f46e5;
  --accent-violet: #7c3aed;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --accent-sky: #0284c7;
  --gradient-primary: linear-gradient(135deg, #4f46e5, #7c3aed);
  --gradient-card: linear-gradient(135deg, #6366f10d, #8b5cf60d);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), #6366f10f, transparent 40%);
  --shadow-sm: 0 1px 3px #0000001a;
  --shadow-md: 0 4px 12px #0000001a;
  --shadow-lg: 0 8px 32px #0000001a;
  --shadow-glow: 0 0 20px #6366f126;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

[data-theme="dark"] {
  --bg-primary: #0a0b0f;
  --bg-secondary: #12141c;
  --bg-tertiary: #1a1d2b;
  --bg-card: #1a1d2bb3;
  --bg-glass: #1a1d2b66;
  --bg-hover: #6366f114;
  --border-subtle: #6366f11f;
  --border-medium: #6366f133;
  --border-active: #6366f180;
  --text-primary: #f0f1f5;
  --text-secondary: #9ca3b8;
  --text-muted: #6b7280;
  --text-accent: #818cf8;
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-emerald: #34d399;
  --accent-amber: #fbbf24;
  --accent-rose: #fb7185;
  --accent-sky: #38bdf8;
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
  --gradient-card: linear-gradient(135deg, #6366f10d, #8b5cf60d);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), #6366f10f, transparent 40%);
  --shadow-sm: 0 1px 3px #0000004d;
  --shadow-md: 0 4px 12px #0006;
  --shadow-lg: 0 8px 32px #00000080;
  --shadow-glow: 0 0 20px #6366f126;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.agent-selector-page {
  background: var(--bg-primary);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  position: relative;
  overflow: hidden;
}

.agent-selector-page:before {
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 30% 20%, #6366f114 0%, #0000 50%), radial-gradient(circle at 70% 80%, #8b5cf60f 0%, #0000 50%);
  width: 200%;
  height: 200%;
  animation: 8s ease-in-out infinite alternate bgPulse;
  position: absolute;
  top: -50%;
  left: -50%;
}

@keyframes bgPulse {
  0% {
    transform: translate(0)scale(1);
  }

  100% {
    transform: translate(-2%, -2%)scale(1.05);
  }
}

.page-header {
  text-align: center;
  z-index: 1;
  margin-bottom: 3rem;
  position: relative;
}

.page-header h1 {
  background: var(--gradient-primary);
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: .75rem;
  font-size: 2.5rem;
  font-weight: 800;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 500px;
  font-size: 1.1rem;
}

.agent-cards {
  z-index: 1;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  display: grid;
  position: relative;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  cursor: pointer;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 2rem;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}

.agent-card:before {
  content: "";
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity .3s;
  position: absolute;
  inset: 0;
}

.agent-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.agent-card:hover:before {
  opacity: 1;
}

.agent-card-icon {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.agent-card h2 {
  color: var(--text-primary);
  margin-bottom: .5rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.agent-card p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: .9rem;
  line-height: 1.6;
}

.agent-card-tools {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.tool-badge {
  color: var(--text-accent);
  background: #6366f11a;
  border: 1px solid #6366f126;
  border-radius: 100px;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 500;
}

.login-page {
  background: var(--bg-primary);
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  position: relative;
}

.login-container {
  z-index: 1;
  width: 100%;
  max-width: 900px;
  position: relative;
}

.back-button {
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
  padding: .5rem 1rem;
  font-size: .9rem;
  transition: all .2s;
  display: inline-flex;
}

.back-button:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.login-sections {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  display: grid;
}

.login-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 1.75rem;
}

.login-section h3 {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.sso-button {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-tertiary);
  width: 100%;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 500;
  transition: all .2s;
  display: flex;
}

.sso-button:hover {
  border-color: var(--border-active);
  background: var(--bg-hover);
  box-shadow: var(--shadow-glow);
}

.persona-list {
  flex-direction: column;
  gap: .5rem;
  max-height: 500px;
  display: flex;
  overflow-y: auto;
}

.persona-item {
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid #0000;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  transition: all .2s;
  display: flex;
}

.persona-item:hover {
  background: var(--bg-hover);
  border-color: var(--border-subtle);
}

.persona-avatar {
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-size: .85rem;
  font-weight: 700;
  display: flex;
}

.persona-info {
  flex: 1;
  min-width: 0;
}

.persona-name {
  color: var(--text-primary);
  font-size: .9rem;
  font-weight: 600;
}

.persona-meta {
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .75rem;
  display: flex;
}

.persona-badge {
  text-transform: uppercase;
  letter-spacing: .03em;
  border-radius: 100px;
  padding: .125rem .5rem;
  font-size: .65rem;
  font-weight: 600;
}

.badge-employee {
  color: var(--accent-emerald);
  background: #34d39926;
}

.badge-contractor {
  color: var(--accent-amber);
  background: #fbbf2426;
}

.badge-disabled {
  color: var(--accent-rose);
  background: #fb718526;
}

.badge-break-glass {
  color: var(--accent-rose);
  background: #fb718533;
}

.chat-page {
  background: var(--bg-primary);
  height: 100vh;
  display: flex;
}

.chat-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  flex-direction: column;
  flex-shrink: 0;
  gap: 1.5rem;
  width: 280px;
  padding: 1.5rem;
  display: flex;
}

.sidebar-header {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.sidebar-agent-icon {
  font-size: 1.5rem;
}

.sidebar-agent-name {
  font-size: 1rem;
  font-weight: 700;
}

.user-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.user-card-name {
  margin-bottom: .25rem;
  font-size: .9rem;
  font-weight: 600;
}

.user-card-email {
  color: var(--text-muted);
  margin-bottom: .75rem;
  font-size: .75rem;
}

.user-card-details {
  flex-direction: column;
  gap: .35rem;
  display: flex;
}

.user-detail-row {
  justify-content: space-between;
  font-size: .75rem;
  display: flex;
}

.user-detail-label {
  color: var(--text-muted);
}

.user-detail-value {
  color: var(--text-secondary);
  font-weight: 500;
}

.sidebar-actions {
  margin-top: auto;
}

.logout-button {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  width: 100%;
  color: var(--text-secondary);
  cursor: pointer;
  background: none;
  padding: .625rem;
  font-family: inherit;
  font-size: .85rem;
  transition: all .2s;
}

.logout-button:hover {
  border-color: var(--accent-rose);
  color: var(--accent-rose);
  background: #fb718514;
}

.chat-main {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.chat-messages {
  flex-direction: column;
  flex: 1;
  gap: 1.5rem;
  padding: 2rem;
  display: flex;
  overflow-y: auto;
}

.message {
  width: 100%;
  max-width: 720px;
}

.message-user {
  align-self: flex-end;
}

.message-assistant {
  align-self: flex-start;
}

.message-bubble {
  border-radius: var(--radius-md);
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  line-height: 1.7;
}

.message-user .message-bubble {
  background: var(--gradient-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.message-assistant .message-bubble {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.message-denied {
  background: #fb71850d !important;
  border-color: #fb71854d !important;
}

.message-time {
  color: var(--text-muted);
  margin-top: .35rem;
  padding: 0 .25rem;
  font-size: .7rem;
}

.suggested-questions {
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0 0 .875rem;
  animation: .4s ease-out suggestedFadeIn;
  display: flex;
}

@keyframes suggestedFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.suggested-question-chip {
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  border-radius: 100px;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-family: inherit;
  font-size: .8rem;
  font-weight: 500;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  animation: .35s ease-out backwards chipPopIn;
  display: inline-flex;
}

.suggested-question-chip:first-child {
  animation-delay: 50ms;
}

.suggested-question-chip:nth-child(2) {
  animation-delay: .1s;
}

.suggested-question-chip:nth-child(3) {
  animation-delay: .15s;
}

.suggested-question-chip:nth-child(4) {
  animation-delay: .2s;
}

@keyframes chipPopIn {
  from {
    opacity: 0;
    transform: scale(.92)translateY(4px);
  }

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

.suggested-question-chip:hover:not(:disabled) {
  border-color: var(--border-active);
  background: var(--bg-hover);
  color: var(--text-accent);
  transform: translateY(-1px);
  box-shadow: 0 0 16px #6366f11f;
}

.suggested-question-chip:active:not(:disabled) {
  transform: scale(.97);
}

.suggested-question-chip:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.suggested-question-icon {
  font-size: .95rem;
  line-height: 1;
}

.chat-input-area {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 1.25rem 2rem;
}

.chat-input-form {
  align-items: center;
  gap: .75rem;
  width: 100%;
  display: flex;
}

.chat-input {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  resize: none;
  outline: none;
  flex: 1;
  min-height: 60px;
  padding: 1.25rem 1.5rem;
  font-family: inherit;
  font-size: 1.1rem;
  transition: border-color .2s;
}

.chat-input:focus {
  border-color: var(--border-active);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.send-button {
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  padding: .875rem 1.5rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
}

.send-button:hover:not(:disabled) {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.send-button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.typing-indicator {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  gap: 4px;
  width: fit-content;
  padding: 1rem 1.25rem;
  display: flex;
}

.typing-dot {
  background: var(--text-muted);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  animation: 1.4s ease-in-out infinite typingBounce;
}

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

.typing-dot:nth-child(3) {
  animation-delay: .4s;
}

@keyframes typingBounce {
  0%, 60%, 100% {
    opacity: .4;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-6px);
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-active);
}

@media (max-width: 768px) {
  .login-sections, .agent-cards {
    grid-template-columns: 1fr;
  }

  .chat-sidebar {
    display: none;
  }
}

/*# sourceMappingURL=apps_web_src_app_globals_10btyws.css.map*/