/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/ui/StatusBadge.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.StatusBadge_badge__TNe2N {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
}

.StatusBadge_label__bTUqi {
  line-height: 1;
}

.StatusBadge_dot__9wnmO {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.StatusBadge_pulseDot__99NvS {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: relative;
}

.StatusBadge_pulseDot__99NvS::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  animation: StatusBadge_ping__xgxkX 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes StatusBadge_ping__xgxkX {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Status Colors */

.StatusBadge_thinking___9xQp {
  color: var(--status-thinking);
  border-color: rgba(245, 158, 11, 0.2);
  background-color: rgba(245, 158, 11, 0.05);
}
.StatusBadge_thinking___9xQp .StatusBadge_dot__9wnmO { background-color: var(--status-thinking); }

.StatusBadge_executing__fHJ1T {
  color: var(--status-executing);
  border-color: rgba(59, 130, 246, 0.2);
  background-color: rgba(59, 130, 246, 0.05);
}
.StatusBadge_executing__fHJ1T .StatusBadge_dot__9wnmO { background-color: var(--status-executing); }

.StatusBadge_awaiting__xnnGA {
  color: var(--status-awaiting);
  border-color: rgba(239, 68, 68, 0.3);
  background-color: rgba(239, 68, 68, 0.05);
}
.StatusBadge_awaiting__xnnGA .StatusBadge_pulseDot__99NvS { background-color: var(--status-awaiting); }
.StatusBadge_awaiting__xnnGA .StatusBadge_pulseDot__99NvS::after { background-color: var(--status-awaiting); }

.StatusBadge_idle__U0V1t {
  color: var(--text-muted);
}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/sidebar/ProjectList.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.ProjectList_listContainer__TKeZz {
  flex: 1 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ProjectList_loading__q4FnO {
  padding: 20px;
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
}

.ProjectList_projectItem__H25Rr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid transparent;
  background-color: transparent;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.ProjectList_projectItem__H25Rr:hover {
  background-color: var(--bg-tertiary);
}

.ProjectList_selected__gSUO5 {
  background-color: rgba(59, 130, 246, 0.1) !important;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.ProjectList_projectInfo__LlqvT {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.ProjectList_projectName__ibgsx {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ProjectList_lastActive__iU_1s {
  color: var(--text-muted);
  font-size: 11px;
}

/* ── 새 에이전트 열기 버튼 ── */
.ProjectList_footerActions__AOxpQ {
  padding: 12px;
  border-top: 1px solid var(--border-color);
}

.ProjectList_newFolderBtn__p_O4R {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ProjectList_newFolderBtn__p_O4R:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.ProjectList_newFolderBtn__p_O4R:active {
  transform: scale(0.98);
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/sidebar/ExplorerModal.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.ExplorerModal_overlay__ib2gq {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.ExplorerModal_modal__Zjcc0 {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 500px;
  height: 80vh;
  max-height: 600px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.ExplorerModal_header__bWKP8 {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-primary);
}

.ExplorerModal_titleArea__q_FIJ {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
  min-width: 0;
}

.ExplorerModal_title__Why_b {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1;
  direction: rtl;
  text-align: left;
}

.ExplorerModal_iconButton__jBqwT {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.ExplorerModal_iconButton__jBqwT:hover:not(:disabled) {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.ExplorerModal_iconButton__jBqwT:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ExplorerModal_content__tr_lF {
  flex: 1 1;
  overflow-y: auto;
  padding: 8px;
}

.ExplorerModal_loading__mBv8K {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 14px;
}

.ExplorerModal_list__bxUtC {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ExplorerModal_item__9A9qZ {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.1s;
}

.ExplorerModal_item__9A9qZ:hover:not(.ExplorerModal_disabled__BfjgH) {
  background-color: var(--bg-hover);
}

.ExplorerModal_item__9A9qZ.ExplorerModal_disabled__BfjgH {
  opacity: 0.5;
  cursor: default;
}

.ExplorerModal_folderIcon__YL05J {
  color: #fbbf24;
}

.ExplorerModal_fileIcon__uhrVh {
  color: var(--text-muted);
}

.ExplorerModal_itemName__LojGo {
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ExplorerModal_footer__dFGdR {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-primary);
}

.ExplorerModal_launchButton__pzfCl {
  width: 100%;
  padding: 14px;
  background-color: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.1s;
}

.ExplorerModal_launchButton__pzfCl:hover:not(:disabled) {
  filter: brightness(1.1);
}

.ExplorerModal_launchButton__pzfCl:active:not(:disabled) {
  transform: scale(0.98);
}

.ExplorerModal_launchButton__pzfCl:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/chat/ChatInput.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.ChatInput_container__XhxGs {
  width: 100%;
  padding: 0; 
  background: transparent; 
  position: relative;
  z-index: 50;
  box-sizing: border-box;
}

.ChatInput_formBox__DJ0JS {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary, rgba(255, 255, 255, 0.04));
  border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 16px 16px 24px 16px;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.ChatInput_formBox__DJ0JS:focus-within {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ChatInput_textarea__Yb2yK {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-size: 16px;
  letter-spacing: -0.2px;
  line-height: 1.5;
  resize: none;
  max-height: 200px;
  padding: 0 4px 16px 4px;
  outline: none;
}

.ChatInput_textarea__Yb2yK::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

/* Toolbars row inside the form box, below the input */
.ChatInput_toolbarRow__auUQK {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.ChatInput_leftTools__8gvWo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1;
  min-width: 0; /* allows shrinking */
  overflow-x: auto;
  scrollbar-width: none; /* hide scrollbar for horizontal swipe */
}

.ChatInput_leftTools__8gvWo::-webkit-scrollbar {
  display: none;
}

.ChatInput_rightTools__AB__N {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0; /* Anchor these tools firmly */
  padding-left: 8px;
}

/* Base interactive buttons */
.ChatInput_toolBtn___3UBn, .ChatInput_dropdownBtn__ulmFQ {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.ChatInput_toolBtn___3UBn {
  width: 32px;
  height: 32px;
}

.ChatInput_dropdownBtn__ulmFQ {
  gap: 6px;
  padding: 6px 10px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.1px;
}

.ChatInput_toolBtn___3UBn:hover, .ChatInput_dropdownBtn__ulmFQ:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ChatInput_chevron__ThDJq {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.ChatInput_dropdownBtn__ulmFQ:hover .ChatInput_chevron__ThDJq {
  color: #ffffff;
}

.ChatInput_dropdownWrapper__LfB7T {
  position: relative;
}

.ChatInput_truncate__VFrlG {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Shared Dropdown Styles */
.ChatInput_dropdownMenuModel__RHK7q, .ChatInput_dropdownMenuMode__cHpT1 {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ChatInput_dropdownMenuMode__cHpT1 {
  min-width: 320px;
}

.ChatInput_dropdownMenuModel__RHK7q {
  min-width: 250px;
}

.ChatInput_dropdownHeader__F1s_5 {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  padding: 6px 10px 10px 10px;
  font-weight: 500;
  letter-spacing: -0.1px;
}

/* Base Item Styles */
.ChatInput_menuItem__k4bFS, .ChatInput_modeItem__J5p5m {
  padding: 10px 12px;
  border-radius: 8px;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.ChatInput_modeItem__J5p5m {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ChatInput_menuItem__k4bFS:hover, .ChatInput_modeItem__J5p5m:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Active Item / Outline selection similar to Antigravity */
.ChatInput_activeItem__iRn3k {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.ChatInput_activeModeItem__M7PCd {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #0ea5e9; /* Sleek blue boundary instead of hard orange */
  color: #ffffff;
}

.ChatInput_modeTitle__E5HQv {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.ChatInput_modeDesc__x_m_j {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
  letter-spacing: -0.1px;
}

/* Send Button */
.ChatInput_sendButton__jBjCq {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ChatInput_sendActive__h_nyK {
  background-color: #0ea5e9; /* True Antigravity blue */
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

.ChatInput_sendActive__h_nyK:hover {
  background-color: #0284c7;
  transform: scale(1.05);
}

.ChatInput_sendButton__jBjCq:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

/* Scrollbar styling */
.ChatInput_textarea__Yb2yK::-webkit-scrollbar {
  width: 4px;
}
.ChatInput_textarea__Yb2yK::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/chat/MessageBubble.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.MessageBubble_wrapper__UwlCW {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.MessageBubble_userWrapper__P1CzU {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.MessageBubble_agentWrapper__6RobD {
  align-self: flex-start;
}

.MessageBubble_avatar__sgUAQ {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.MessageBubble_userWrapper__P1CzU .MessageBubble_avatar__sgUAQ {
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--accent-primary);
}

.MessageBubble_bubble__DQcU2 {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 12px;
  position: relative;
}

.MessageBubble_userBubble__3XujL {
  background-color: var(--accent-primary);
  color: white;
  border-top-right-radius: 4px;
}

.MessageBubble_agentBubble__Ir3mt {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-top-left-radius: 4px;
}

.MessageBubble_content__FE2cN {
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.MessageBubble_timestamp__Dfx64 {
  font-size: 11px;
  margin-top: 8px;
  opacity: 0.7;
  text-align: right;
}

/* System Message */
.MessageBubble_systemMessage__ThaK3 {
  display: flex;
  justify-content: center;
  margin: 8px 0;
}

.MessageBubble_systemContent__9dITS {
  background-color: var(--bg-secondary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/chat/ChatView.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.ChatView_container__Ct3a0 {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.ChatView_header__fx9BR {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  flex-shrink: 0;
}

.ChatView_headerInfo__e_9tv {
  display: flex;
  flex-direction: column;
}

.ChatView_projectName__cUK6J {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}

.ChatView_projectId__T6XMk {
  font-size: 12px;
  color: var(--text-muted);
}

.ChatView_messageList__kIv4J {
  flex: 1 1;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.ChatView_scrollPadding__P3vKt {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
}

.ChatView_inputContainer__DMJRN {
  padding: 0;
  background-color: var(--bg-primary);
  flex-shrink: 0;
}

/* Hide desktop header on mobile since we have mobile header */
@media (max-width: 768px) {
  .ChatView_header__fx9BR {
    display: none;
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./components/auth/Login.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Login_container__33giG {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: var(--bg-primary);
}

.Login_card__L5fZa {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 320px;
}

.Login_logo__Fmktj {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.Login_subtitle__3v02P {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

.Login_input__J8Xa3 {
  width: 100%;
  padding: 16px;
  font-size: 24px;
  letter-spacing: 0.5em;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}

.Login_input__J8Xa3:focus {
  border-color: var(--accent-primary);
}

.Login_error__ZnAh6 {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 16px;
  height: 20px;
}

.Login_button__ALLMY {
  width: 100%;
  padding: 14px;
  background-color: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, background-color 0.2s;
}

.Login_button__ALLMY:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.Login_button__ALLMY:active:not(:disabled) {
  transform: scale(0.98);
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[2]!../../node_modules/.pnpm/next@15.0.0-rc.0_react-dom@19.0.0-rc-f994737d14-20240522_react@19.0.0-rc-f994737d14-20240522__ru4vnckpyyafgw46z2uaeehbny/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[12].oneOf[5].use[3]!./app/page.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.page_container__jZF7q {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Mobile Header */
.page_mobileHeader__nVvN2 {
  display: none; /* Hidden on desktop */
  height: var(--header-height);
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
  z-index: 10;
}

.page_menuButton__3y3__ {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

.page_headerTitle__Jd54L {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* Main Layout */
.page_mainLayout__UkJq8 {
  display: flex;
  flex: 1 1;
  overflow: hidden;
  position: relative;
}

/* Sidebar */
.page_sidebar__p2GLB {
  width: var(--sidebar-width);
  background-color: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
}

.page_sidebarHeader__PaTZp {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--border-color);
}

.page_sidebarHeader__PaTZp h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.page_closeSidebarBtn__iff_q {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 4px;
  cursor: pointer;
}

/* Chat Area */
.page_chatArea__IWCH_ {
  flex: 1 1;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.page_emptyState__j9MME {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 40px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(16, 18, 27, 0.5) 0%, var(--bg-primary) 100%);
}

.page_coreGlow__rw82F {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_coreGlow__rw82F::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  animation: page_pulseGlow__jkvIp 3s ease-in-out infinite alternate;
  z-index: 0;
}

.page_coreGlow__rw82F::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.3);
  animation: page_borderRotate__FIRyo 4s linear infinite;
  z-index: 1;
}

.page_coreOrb__JlLwE {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(139, 92, 246, 0.8));
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.3);
  z-index: 2;
  position: relative;
}

@keyframes page_pulseGlow__jkvIp {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

@keyframes page_borderRotate__FIRyo {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.page_emptyStateTitle___q8_8 {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.page_emptyStateDesc__7603H {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  word-break: keep-all;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .page_mobileHeader__nVvN2 {
    display: flex;
  }
  
  .page_sidebar__p2GLB {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
  }

  .page_sidebarOpen__DuH7t {
    transform: translateX(0);
  }

  .page_closeSidebarBtn__iff_q {
    display: block;
  }

  .page_sidebarBackdrop__fURoq {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 15;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
  }
}

