.dashboard_chat { display: flex; flex-direction: column; align-self: stretch; background: var(--color-bg); position: relative; height: 100%; flex: 1; min-height: 0; overflow: hidden; font-family: var(--font-family); } /* Grid Layout */ .chat_grid { display: grid; width: 100%; height: 100%; grid-template-rows: 1fr auto; grid-template-columns: 2fr 1fr; gap: 0px; overflow: hidden; box-sizing: border-box; position: relative; } .quadrant { overflow: hidden; background-color: var(--color-bg); display: flex; flex-direction: column; min-height: 0; min-width: 0; box-sizing: border-box; } /* Quadrant specific styles */ .messages_quadrant { grid-row: 1; grid-column: 1; } .file_preview_quadrant { grid-row: 1; grid-column: 2; } .input_quadrant { grid-row: 2; grid-column: 1; } .connected_files_quadrant { grid-row: 2; grid-column: 2; max-height: 200px; /* Fixed height for the connected files area */ overflow: hidden; /* Ensure no overflow at quadrant level */ } /* Chat Messages styles moved to DashboardChatMessages.module.css */ /* Chat Input */ .chat_input { width: 100%; height: 40px; padding: 6px 10px; border: 1px solid var(--color-primary); border-radius: 25px; font-size: 14px; font-family: var(--font-family); background: var(--color-bg); color: var(--color-text); opacity: 0.6; min-width: 120px; transition: all 0.2s ease; box-sizing: border-box; } .chat_input.drag_over { background-color: var(--color-secondary-disabled); border: 2px dashed var(--color-secondary); border-radius: 12px; padding: 8px; } .input_row { display: flex; gap: 10px; align-items: flex-end; width: 100%; } .message_input { flex: 1; padding: 12px 16px; border: 1px solid var(--color-gray-disabled); border-radius: 12px; outline: none; font-size: 14px; font-family: var(--font-family); background-color: var(--color-bg); color: var(--color-text); } .message_input:focus { border-color: var(--color-secondary); } .message_input:disabled { background-color: var(--color-surface); cursor: not-allowed; opacity: 0.6; } .button_secondary { border: 2px dashed var(--color-secondary); border-radius: 30px; padding: 10px 20px; background: var(--color-bg); cursor: pointer; transition: all 0.2s ease; min-width: 100px; text-align: center; font-family: var(--font-family); color: var(--color-secondary); } .button_secondary:hover { background-color: var(--color-secondary); color: var(--color-bg); } .button_secondary:disabled { background-color: var(--color-bg); cursor: not-allowed; opacity: 0.6; color: var(--color-secondary); } .button_primary { border-radius: 30px; border: 1px solid var(--color-secondary); background: var(--color-secondary); color: var(--color-bg); border: none; outline: none; padding: 10px 20px; display: flex; gap: 10px; align-items: center; flex-shrink: 0; transition: background-color 0.2s ease; font-family: var(--font-family); cursor: pointer; min-width: 100px; align-items: center; justify-content: center; } .button_primary:hover { background-color: var(--color-secondary-hover); } .button_primary:disabled { background-color: var(--color-secondary-disabled); border: 1px solid var(--color-secondary-disabled); cursor: not-allowed; opacity: 0.6; } /* Attached Files */ .attached_files { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-bottom: 5px; } .attached_file { display: flex; align-items: center; gap: 6px; padding: 6px 8px; background-color: var(--color-secondary-disabled); border: 1px solid var(--color-secondary); border-radius: 8px; font-size: 12px; color: var(--color-secondary); font-family: var(--font-family); } .attached_file_icon { font-size: 16px; } .attached_file_name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .attached_file_remove { background: none; border: none; color: var(--color-gray); cursor: pointer; padding: 0; margin-left: 4px; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; transition: background-color 0.2s ease, color 0.2s ease; } .attached_file_remove:hover { background-color: var(--color-gray-disabled); color: var(--color-text); } /* Input Area styles moved to DashboardChatAreaInput.module.css */