@@ -977,46 +977,78 @@ select {
977977
978978/* Updated Chat Input Styles */
979979.chat-input {
980+ bottom : 0 ;
981+ width : 100% ;
982+ text-align : center;
980983 padding : 15px 0 ;
984+ margin : 0 ;
985+ border : 0 ;
981986 position : relative;
982987}
983988
989+ /* Improved chat wrap sizing */
984990.chat-input .chat_wrap {
985991 width : 90% ; /* Increased from 87% */
986- margin : 0 auto; /* Centered */
987- display : flex;
992+ margin : 0 auto; /* Centered instead of left-aligned */
993+ box-sizing : border-box;
994+ display : flex; /* Use flexbox for better alignment */
988995 align-items : center;
989996 justify-content : center;
990997}
991998
992999/* Enhanced textarea styling */
9931000.chat-input textarea {
994- padding : 16px 18px ; /* More horizontal padding */
1001+ padding : 16px 18px ; /* Slightly more horizontal padding */
1002+ color : var (--textarea-color );
1003+ border : 1px solid var (--textarea-border );
1004+ border-right : none !important ;
1005+ display : block;
9951006 width : 80% ; /* Increased width */
996- min-height : 55px ; /* Fixed height that won't change unless JS is working */
997- font-weight : 500 ; /* Better readability */
998- font-family : -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans' , 'Helvetica Neue' , sans-serif;
999- font-size : 15px ;
1000- line-height : 1.5 ;
1007+ float : left;
1008+ border-bottom-left-radius : 24px ;
1009+ border-top-left-radius : 24px ;
1010+ min-height : 55px ; /* Increased base height */
1011+ max-height : 150px ; /* Set maximum height */
1012+ box-sizing : border-box;
1013+ font-weight : 500 ; /* Reduced from 600 for better readability */
1014+ background-color : var (--textarea-bg );
1015+ font-family : -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans' , 'Helvetica Neue' , sans-serif; /* Improved font stack */
1016+ font-size : 15px ; /* Explicit font size */
1017+ line-height : 1.5 ; /* Better line spacing */
1018+ resize : vertical; /* Allow only vertical resizing */
1019+ overflow-y : auto; /* Add scrollbar when needed */
1020+ transition : min-height 0.2s ease; /* Smooth height transition */
10011021}
10021022
10031023/* Better focus state */
10041024.chat-input textarea : focus {
1005- outline : none;
1006- box-shadow : 0 0 0 2px rgba (117 , 120 , 225 , 0.3 );
1025+ min-height : 80px ; /* Slightly taller when focused */
1026+ }
1027+
1028+ .chat-input textarea [style *= "height" ] {
1029+ transition : height 0.2s ease;
10071030}
10081031
10091032/* Placeholder styling */
10101033textarea # ta_chat ::placeholder {
1034+ color : var (--textarea-placeholder-color );
1035+ font-weight : 400 ; /* Lighter weight for placeholder */
10111036 opacity : 0.8 ;
1012- font-weight : 400 ;
10131037}
10141038
10151039/* Make the records and upload container match */
10161040.wrap_rec_and_up {
1017- min-height : 55px ;
1041+ border : 1px solid var (--textarea-border );
1042+ float : left;
1043+ border-left : none;
1044+ border-bottom-right-radius : 24px ;
1045+ border-top-right-radius : 24px ;
1046+ min-height : 55px ; /* Match textarea height */
10181047 display : flex;
10191048 align-items : center;
1049+ justify-content : center;
1050+ box-sizing : border-box;
1051+ background-color : var (--textarea-bg );
10201052}
10211053
10221054.upload_picture {
0 commit comments