
@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/cometchat/fonts/Roboto/Roboto-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

:root {
  /* Spacing Units
  Define consistent spacing units to be used throughout the application. These variables provide a range of spacing intervals for padding, margin, and layout styling, ensuring uniformity across components.
    */

  --cometchat-spacing: 2px;
  --cometchat-spacing-1: 4px;
  --cometchat-spacing-2: 8px;
  --cometchat-spacing-3: 12px;
  --cometchat-spacing-4: 16px;
  --cometchat-spacing-5: 20px;
  --cometchat-spacing-6: 24px;
  --cometchat-spacing-7: 28px;
  --cometchat-spacing-8: 32px;
  --cometchat-spacing-9: 36px;
  --cometchat-spacing-10: 40px;
  --cometchat-spacing-11: 44px;
  --cometchat-spacing-12: 48px;
  --cometchat-spacing-13: 52px;
  --cometchat-spacing-14: 56px;
  --cometchat-spacing-15: 60px;
  --cometchat-spacing-16: 64px;
  --cometchat-spacing-17: 68px;
  --cometchat-spacing-18: 72px;
  --cometchat-spacing-19: 76px;
  --cometchat-spacing-20: 80px;
  --cometchat-spacing-max: 1000px;

  /* Padding
  Map padding values to corresponding spacing units for consistent padding across all UI elements,
  enhancing visual rhythm and balance.
    */
  --cometchat-padding: var(--cometchat-spacing);
  --cometchat-padding-1: var(--cometchat-spacing-1);
  --cometchat-padding-2: var(--cometchat-spacing-2);
  --cometchat-padding-3: var(--cometchat-spacing-3);
  --cometchat-padding-4: var(--cometchat-spacing-4);
  --cometchat-padding-5: var(--cometchat-spacing-5);
  --cometchat-padding-6: var(--cometchat-spacing-6);
  --cometchat-padding-7: var(--cometchat-spacing-7);
  --cometchat-padding-8: var(--cometchat-spacing-8);
  --cometchat-padding-9: var(--cometchat-spacing-9);
  --cometchat-padding-10: var(--cometchat-spacing-10);

  /* Margin
    Map margin values to corresponding spacing units to ensure consistent spacing between elements and maintain a cohesive layout throughout the application.
    */
  --cometchat-margin: var(--cometchat-spacing);
  --cometchat-margin-1: var(--cometchat-spacing-1);
  --cometchat-margin-2: var(--cometchat-spacing-2);
  --cometchat-margin-3: var(--cometchat-spacing-3);
  --cometchat-margin-4: var(--cometchat-spacing-4);
  --cometchat-margin-5: var(--cometchat-spacing-5);
  --cometchat-margin-6: var(--cometchat-spacing-6);
  --cometchat-margin-7: var(--cometchat-spacing-7);
  --cometchat-margin-8: var(--cometchat-spacing-8);
  --cometchat-margin-9: var(--cometchat-spacing-9);
  --cometchat-margin-10: var(--cometchat-spacing-10);
  --cometchat-margin-11: var(--cometchat-spacing-11);
  --cometchat-margin-12: var(--cometchat-spacing-12);
  --cometchat-margin-13: var(--cometchat-spacing-13);
  --cometchat-margin-14: var(--cometchat-spacing-14);
  --cometchat-margin-15: var(--cometchat-spacing-15);
  --cometchat-margin-16: var(--cometchat-spacing-16);
  --cometchat-margin-17: var(--cometchat-spacing-17);
  --cometchat-margin-18: var(--cometchat-spacing-18);
  --cometchat-margin-19: var(--cometchat-spacing-19);
  --cometchat-margin-20: var(--cometchat-spacing-20);

  /* Border Radius
   Define border-radius values tied to spacing units,
      providing consistent rounded corners for UI elements,
      aligning with the overall design system.
     */
  --cometchat-radius: var(--cometchat-spacing);
  --cometchat-radius-1: var(--cometchat-spacing-1);
  --cometchat-radius-2: var(--cometchat-spacing-2);
  --cometchat-radius-3: var(--cometchat-spacing-3);
  --cometchat-radius-4: var(--cometchat-spacing-4);
  --cometchat-radius-5: var(--cometchat-spacing-5);
  --cometchat-radius-6: var(--cometchat-spacing-6);
  --cometchat-radius-max: var(--cometchat-spacing-max);
  /*
    These variables define the fonts for different text elements.
    Use these to maintain consistent typography styles throughout your application.
     */
  --cometchat-font-family: 'Roboto', 'Inter';
  --cometchat-font-title-bold: 700 32px/38.4px var(--cometchat-font-family);
  --cometchat-font-title-medium: 500 32px/38.4px var(--cometchat-font-family);
  --cometchat-font-title-regular: 400 32px/38.4px var(--cometchat-font-family);

  --cometchat-font-heading1-bold: 700 24px/28.8px var(--cometchat-font-family);
  --cometchat-font-heading1-medium: 500 24px/28.8px var(--cometchat-font-family);
  --cometchat-font-heading1-regular: 400 24px/28.8px var(--cometchat-font-family);

  --cometchat-font-heading2-bold: 700 20px/24px var(--cometchat-font-family);
  --cometchat-font-heading2-medium: 500 20px/24px var(--cometchat-font-family);
  --cometchat-font-heading2-regular: 400 20px/24px var(--cometchat-font-family);

  --cometchat-font-heading3-bold: 700 18px/21.6px var(--cometchat-font-family);
  --cometchat-font-heading3-medium: 500 18px/21.6px var(--cometchat-font-family);
  --cometchat-font-heading3-regular: 400 18px/21.6px var(--cometchat-font-family);

  --cometchat-font-heading4-bold: 700 16px/19.2px var(--cometchat-font-family);
  --cometchat-font-heading4-medium: 500 16px/19.2px var(--cometchat-font-family);
  --cometchat-font-heading4-regular: 400 16px/19.2px var(--cometchat-font-family);

  --cometchat-font-body-bold: 700 14px/16.8px var(--cometchat-font-family);
  --cometchat-font-body-medium: 500 14px/16.8px var(--cometchat-font-family);
  --cometchat-font-body-regular: 400 14px/16.8px var(--cometchat-font-family);

  --cometchat-font-caption1-bold: 700 12px/14.4px var(--cometchat-font-family);
  --cometchat-font-caption1-medium: 500 12px/14.4px var(--cometchat-font-family);
  --cometchat-font-caption1-regular: 400 12px/14.4px var(--cometchat-font-family);

  --cometchat-font-caption2-bold: 700 10px/12px var(--cometchat-font-family);
  --cometchat-font-caption2-medium: 500 10px/12px var(--cometchat-font-family);
  --cometchat-font-caption2-regular: 400 10px/12px var(--cometchat-font-family);

  --cometchat-font-button-bold: 700 14px/16.8px var(--cometchat-font-family);
  --cometchat-font-button-medium: 500 14px/16.8px var(--cometchat-font-family);
  --cometchat-font-button-regular: 400 14px/16.8px var(--cometchat-font-family);

  --cometchat-font-link: 400 14px/19.6px var(--cometchat-font-family);

  /*Primary & Extended Colors
   Set the primary color and a range of extended shades to be used throughout the application,
    maintaining a consistent visual theme with variations to suit different UI components and states.
     */
  --cometchat-primary-color: #6852D6;
  --cometchat-extended-primary-color-50: #F9F8FD;
  --cometchat-extended-primary-color-100: #EDEAFA;
  --cometchat-extended-primary-color-200: #DCD7F6;
  --cometchat-extended-primary-color-300: #CCC4F1;
  --cometchat-extended-primary-color-400: #BBB1ED;
  --cometchat-extended-primary-color-500: #AA9EE8;
  --cometchat-extended-primary-color-600: #9A8BE4;
  --cometchat-extended-primary-color-700: #8978DF;
  --cometchat-extended-primary-color-800: #7965DB;
  --cometchat-extended-primary-color-900: #5D49BE;

  /*
    Neutral Colors
     Define a neutral color palette, providing versatile shades for backgrounds,text and borders. These neutrals serve as the foundation for the application's color scheme.
     */
  --cometchat-neutral-color-50: #FFFFFF;
  --cometchat-neutral-color-100: #FAFAFA;
  --cometchat-neutral-color-200: #F5F5F5;
  --cometchat-neutral-color-300: #E8E8E8;
  --cometchat-neutral-color-400: #DCDCDC;
  --cometchat-neutral-color-500: #A1A1A1;
  --cometchat-neutral-color-600: #727272;
  --cometchat-neutral-color-700: #5B5B5B;
  --cometchat-neutral-color-800: #434343;
  --cometchat-neutral-color-900: #141414;

  /*
  Alert Colors
   Assign colors for various alerts, such as informational messages, warnings,  success notifications,
and errors.
     */
  --cometchat-info-color: #0B7BEA;
  --cometchat-warning-color: #FFAB00;
  --cometchat-success-color: #09C26F;
  --cometchat-error-color: #F44649;
  --cometchat-error-color-100: #FEF3F2;

  /*
    Static colors
     Assign colors for various alerts, such as informational messages, warnings,  success notifications,
  and errors.
       */

  --cometchat-static-black: #141414;
  --cometchat-static-white: #FFFFFF;

  /*
  Background Colors
   Specify background colors derived from the neutral palette for different sections of the application.
     */
  --cometchat-background-color-01: var(--cometchat-neutral-color-50);
  --cometchat-background-color-02: var(--cometchat-neutral-color-100);
  --cometchat-background-color-03: var(--cometchat-neutral-color-200);
  --cometchat-background-color-04: var(--cometchat-neutral-color-300);



  /*
  Border Colors
Define border colors for UI elements,
    creating clear visual boundaries
      */
  --cometchat-border-color-light: var(--cometchat-neutral-color-200);
  --cometchat-border-color-default: var(--cometchat-neutral-color-300);
  --cometchat-border-color-dark: var(--cometchat-neutral-color-400);
  --cometchat-border-color-highlight: var(--cometchat-primary-color);


  /*
  Text Colors
  Define text colors to ensure readability and contrast against various background shades. These include primary, secondary, tertiary, disabled, and highlight text colors.
      */
  --cometchat-text-color-primary: var(--cometchat-neutral-color-900);
  --cometchat-text-color-secondary: var(--cometchat-neutral-color-600);
  --cometchat-text-color-tertiary: var(--cometchat-neutral-color-500);
  --cometchat-text-color-disabled: var(--cometchat-neutral-color-400);
  --cometchat-text-color-white: var(--cometchat-neutral-color-50);
  --cometchat-text-color-highlight: var(--cometchat-primary-color);

  /*
  Icon Colors
   Assign colors for icons throughout the application. Icon colors align with the text and background palettes.
     */
  --cometchat-icon-color-primary: var(--cometchat-neutral-color-900);
  --cometchat-icon-color-secondary: var(--cometchat-neutral-color-500);
  --cometchat-icon-color-tertiary: var(--cometchat-neutral-color-400);
  --cometchat-icon-color-white: var(--cometchat-neutral-color-50);
  --cometchat-icon-color-highlight: var(--cometchat-primary-color);

  /*
    Styling for shimmer effects shown while loading content in the uikit.
     */
  --cometchat-shimmer-background-color: var(--cometchat-neutral-color-200);
  --cometchat-shimmer-gradient-color: linear-gradient(90deg, #E0E0E0 0%, #EEE 100%);
  --cometchat-text-shimmer-gradient-color: linear-gradient(270deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.70) 50%, rgba(255, 255, 255, 0.00) 100%);


  /*
    Styling for buttons.
     */
  --cometchat-primary-button-background: var(--cometchat-primary-color);
  --cometchat-primary-button-text: var(--cometchat-static-white);
  --cometchat-primary-button-icon: var(--cometchat-static-white);
  --cometchat-secondary-button-background: var(--cometchat-neutral-color-900);
  --cometchat-secondary-button-icon: var(--cometchat-neutral-color-900);
  --cometchat-secondary-button-text: var(--cometchat-neutral-color-900);
  --cometchat-link-button: var(--cometchat-info-color);
  --cometchat-fab-button-background: var(--cometchat-primary-color);
  --cometchat-fab-button-icon: var(--cometchat-static-white);
  --cometchat-white-hover: var(--cometchat-neutral-color-100);
  --cometchat-white-pressed: var(--cometchat-neutral-color-300);
}

[data-theme="dark"] {
  --cometchat-primary-color: #6852D6;
  --cometchat-extended-primary-color-50: #15102B;
  --cometchat-extended-primary-color-100: #1D173C;
  --cometchat-extended-primary-color-200: #251E4D;
  --cometchat-extended-primary-color-300: #2E245E;
  --cometchat-extended-primary-color-400: #362B6F;
  --cometchat-extended-primary-color-500: #3E3180;
  --cometchat-extended-primary-color-600: #473892;
  --cometchat-extended-primary-color-700: #4F3EA3;
  --cometchat-extended-primary-color-800: #5745B4;
  --cometchat-extended-primary-color-900: #7460D9;
  /**
   * Neutral Colors
  * Define a neutral color palette, providing versatile shades for backgrounds,text and borders. These neutrals serve as the foundation for the application's color scheme.
   **/
  --cometchat-neutral-color-50: #141414;
  --cometchat-neutral-color-100: #1A1A1A;
  --cometchat-neutral-color-200: #272727;
  --cometchat-neutral-color-300: #383838;
  --cometchat-neutral-color-400: #4C4C4C;
  --cometchat-neutral-color-500: #858585;
  --cometchat-neutral-color-600: #989898;
  --cometchat-neutral-color-700: #A8A8A8;
  --cometchat-neutral-color-800: #C8C8C8;
  --cometchat-neutral-color-900: #FFFFFF;
  /*
  Alert Colors
  Assign colors for various alerts, such as informational messages, warnings,  success notifications,
  and errors.
     */

  --cometchat-info-color: #0D66BF;
  --cometchat-warning-color: #D08D04;
  --cometchat-success-color: #0B9F5D;
  --cometchat-message-seen-color: #56E8A7;
  --cometchat-error-color: #C73C3E;
  --cometchat-error-color-100: #3A0C05;
  
    /*
    Static colors
     Assign colors for various alerts, such as informational messages, warnings,  success notifications,
  and errors.
       */

       --cometchat-static-black: #141414;
       --cometchat-static-white: #FFFFFF;

  /*
  Background Colors
   Specify background colors derived from the neutral palette for different sections of the application.
     */
  --cometchat-background-color-01: var(--cometchat-neutral-color-50);
  --cometchat-background-color-02: var(--cometchat-neutral-color-100);
  --cometchat-background-color-03: var(--cometchat-neutral-color-200);
  --cometchat-background-color-04: var(--cometchat-neutral-color-300);

  /*
  Border Colors
Define border colors for UI elements,
    creating clear visual boundaries
      */
  --cometchat-border-color-light: var(--cometchat-neutral-color-200);
  --cometchat-border-color-default: var(--cometchat-neutral-color-300);
  --cometchat-border-color-dark: var(--cometchat-neutral-color-400);
  --cometchat-border-color-highlight: var(--cometchat-primary-color);

  /*
  Text Colors
  Define text colors to ensure readability and contrast against various background shades. These include primary, secondary, tertiary, disabled, and highlight text colors.
      */
  --cometchat-text-color-primary: var(--cometchat-neutral-color-900);
  --cometchat-text-color-secondary: var(--cometchat-neutral-color-600);
  --cometchat-text-color-tertiary: var(--cometchat-neutral-color-500);
  --cometchat-text-color-disabled: var(--cometchat-neutral-color-400);
  --cometchat-text-color-white: var(--cometchat-neutral-color-50);
  --cometchat-text-color-highlight: var(--cometchat-primary-color);

  /*
  Icon Colors
   Assign colors for icons throughout the application. Icon colors align with the text and background palettes.
     */
  --cometchat-icon-color-primary: var(--cometchat-neutral-color-900);
  --cometchat-icon-color-secondary: var(--cometchat-neutral-color-500);
  --cometchat-icon-color-tertiary: var(--cometchat-neutral-color-400);
  --cometchat-icon-color-white: var(--cometchat-neutral-color-50);
  --cometchat-icon-color-highlight: var(--cometchat-primary-color);
  /*
  Styling for shimmer effects shown while loading content in the uikit.
   */
  --cometchat-shimmer-background-color: var(--cometchat-background-color-01);
  --cometchat-shimmer-gradient-color: linear-gradient(90deg, #383838 0%, #272727 100%);
  --cometchat-text-shimmer-gradient-color: linear-gradient(270deg, rgba(26, 26, 26, 0.00) 0%, rgba(26, 26, 26, 0.70) 50%, rgba(26, 26, 26, 0.00) 100%);

  /*
   Styling for buttons.
  */
  --cometchat-primary-button-background: var(--cometchat-primary-color);
  --cometchat-primary-button-text: var(--cometchat-static-white);
  --cometchat-primary-button-icon: var(--cometchat-static-white);
  --cometchat-secondary-button-background: var(--cometchat-neutral-color-900);
  --cometchat-secondary-button-text: var(--cometchat-neutral-color-900);
  --cometchat-secondary-button-icon: var(--cometchat-neutral-color-900);
  --cometchat-link-button: var(--cometchat-info-color);
  --cometchat-fab-button-background: var(--cometchat-primary-color);
  --cometchat-fab-button-icon: var(--cometchat-static-white);
  --cometchat-white-hover: var(--cometchat-neutral-color-100);
  --cometchat-white-pressed: var(--cometchat-neutral-color-300);
}
.cometchat-action-bubble {
    display: flex;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-3, 12px);
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    border: 1px solid var(--cometchat-border-color-default);
    background: var(--cometchat-background-color-02);
}

.cometchat-action-bubble__text {
    color: var(--cometchat-text-color-secondary);
    text-align: center;
    font: var(--cometchat-font-caption1-regular);
}

.cometchat-action-bubble__icon {
    display: none;
}.cometchat-action-sheet {
    display: flex;
    width: max-content;
    height: 310px;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    overflow: hidden;
    overflow-y: auto;
    justify-content: flex-start;
}



.cometchat-action-sheet__item-icon {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-icon-color-highlight, #6852D6);
    mask-size: contain;
    -webkit-mask-size: contain;
}

.cometchat-action-sheet__item-body {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-heading4-regular, 400 16px Roboto);
    line-height: 120%;
    text-align: left;
}

.cometchat-action-sheet__item {
    display: flex;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    padding: var(--cometchat-padding-4, 16px);
    cursor: pointer;
    width: 100%;
}

.cometchat-action-sheet__item:hover  {
    background: var(--cometchat-white-hover);
}
.cometchat-popover .cometchat-action-sheet {
    height: inherit;
}.cometchat-ai-assistant-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: var(--cometchat-background-color-02);
    align-items: center;

}
.cometchat-ai-assistant-chat  .cometchat-message-bubble-incoming{
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
    align-self: flex-start;
    padding-top: 3px;
}
.cometchat-ai-assistant-chat__wrapper {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.cometchat-ai-assistant-chat__message-list-wrapper {
    height: inherit;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.cometchat-ai-assistant-chat__header-wrapper {
    height: fit-content;
    width: 100%;
    overflow: hidden;
}

.cometchat-ai-assistant-chat__composer-wrapper {
    height: fit-content;
    width: 100%;
    overflow: hidden;
    background: transparent;
}

/* header */
.cometchat-ai-assistant-chat .cometchat-message-header {
    border-bottom: 1px solid var(--cometchat-border-color-light);
}

.cometchat-ai-assistant-chat .cometchat-message-header .cometchat-list-item {
    gap: var(--cometchat-spacing-2);
}

.cometchat-ai-assistant-chat .cometchat-message-header .cometchat-list-item__body-title {
    display: block;
}

.cometchat-ai-assistant-chat .cometchat-message-header .cometchat-message-header__subtitle {
    color: var(--cometchat-text-color-secondary);
}

.cometchat-ai-assistant-chat .cometchat-ai-assistant-chat__header-auxiliary-view {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cometchat-spacing-2);

}

.cometchat-ai-assistant-chat .cometchat-ai-assistant-chat__header-auxiliary-view .cometchat-button {
    height: fit-content;
    width: fit-content;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    padding: 6px;

}

.cometchat-ai-assistant-chat .cometchat-ai-assistant-chat__header-auxiliary-view .cometchat-button__icon {
    background: var(--cometchat-icon-color-secondary);
    height: 24px;
    width: 24px;
}

.cometchat-ai-assistant-chat .cometchat-ai-assistant-chat__header-auxiliary-view .cometchat-button__icon:hover {
    background: var(--cometchat-icon-color-primary);
    transition: background .4s ease-in-out;
}

/* header css end */

/* composer  */
.cometchat-ai-assistant-chat .cometchat-message-composer__input {
    border: none;

}

.cometchat-ai-assistant-chat .cometchat-message-composer {
    border-radius: var(--cometchat-radius-4);
    border: 1px solid var(--cometchat-border-color-default);
    background: var(--cometchat-background-color-01);
    margin: 0px 8px 8px;
    width: auto;

}

.cometchat-ai-assistant-chat .cometchat-message-bubble__status-info-view-receipts-sent .cometchat-message-list__receipt {
    background-color: var(--cometchat-icon-color-secondary);
}

.cometchat-ai-assistant-chat .cometchat-message-bubble__status-info-view-receipts-wait .cometchat-message-list__receipt {
    background-color: var(--cometchat-icon-color-secondary);
}

.cometchat-ai-assistant-chat .cometchat-message-bubble__status-info-view-receipts-delivered .cometchat-message-list__receipt {
    background-color: var(--cometchat-icon-color-secondary);
}

.cometchat-ai-assistant-chat .cometchat-message-bubble__status-info-view .cometchat-message-bubble__status-info-view-receipts-error {
    height: 12px;
    width: 12px;
    margin-bottom: 2px;
}

.cometchat-ai-assistant-chat .cometchat-message-bubble__status-info-view {
    gap: var(--cometchat-padding-1);
}
.cometchat-ai-assistant-chat__send-button-view {
    height: 44px;
    width: 44px;
    border-radius: var(--cometchat-radius-max);
    padding: var(--cometchat-padding-3);
    border: 1px solid var(--cometchat-border-color-light);
    background: var(--cometchat-background-color-04);
    display: flex;
    justify-content: center;
    align-items: center;

}

.cometchat-ai-assistant-chat__send-button-view .cometchat-ai-assistant-chat__send-button-icon {
    mask: url("/cometchat/assets/send-message.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/send-message.svg") center center no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    height: 20px;
    width: 20px;
    background: var(--cometchat-icon-color-white);
}

.cometchat-ai-assistant-chat__send-button-view--active {
    background: var(--cometchat-secondary-button-background);

}

.cometchat-ai-assistant-chat .cometchat-message-list .cometchat-list__body {
    border: none;
    height: 100%;
}

.cometchat-ai-assistant-chat .cometchat-message-list__shimmer {
    background: transparent;
}

.cometchat-ai-assistant-chat__send-button-view--streaming {
    background: var(--cometchat-secondary-button-background);


}

.cometchat-ai-assistant-chat__send-button-view--streaming .cometchat-ai-assistant-chat__send-button-icon {
    mask: url("/cometchat/assets/stop-message.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/stop-message.svg") center center no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    height: 16px;
    width: 16px;
    background: var(--cometchat-icon-color-white);
    border-radius: 0px;
}

/* composer css end */
/* message list */
.cometchat-ai-assistant-chat .cometchat-list__empty-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: 90%; */
    padding: var(--cometchat-padding-4);

}

.cometchat-ai-assistant-chat__empty-state-suggested-messages {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: var(--cometchat-padding-5);
    max-width: 85%;
}

.cometchat-ai-assistant-chat__suggested-message-icon {
    height: 16px;
    width: 16px;
    mask: url("/cometchat/assets/right-arrow.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/right-arrow.svg") center center no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    background: var(--cometchat-icon-color-secondary);
    display: inline-block;

}
.cometchat-ai-assistant-chat__suggested-message-pill:hover{
    background: var(--cometchat-background-color-01);
    transition: all .4s ease-in-out;
    cursor: pointer;
}
.cometchat-ai-assistant-chat__suggested-message-pill {
    border: 1px solid var(--cometchat-border-color-default);
    background: transparent;
    border-radius: var(--cometchat-radius-max);
    min-height: 32px;
    min-width: 80px;
    color: var(--cometchat-text-color-secondary);
    font: var(--cometchat-font-body-regular);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-spacing-2);
    padding: var(--cometchat-padding-2) var(--cometchat-padding-3);
    box-sizing: border-box;
}

.cometchat-ai-assistant-chat .cometchat-message-list {
    background: transparent;
    max-width: calc(100% + (var(--cometchat-padding-4) * 2));
    margin: 0 auto 17px auto;
}
.cometchat-ai-assistant-chat .cometchat-message-list__body
{
padding: 0 var(--cometchat-padding-1);
padding-bottom: var(--cometchat-padding-2);

}
/* message list css end */

/* mobile view */
@media (max-width: 768px) {
    .cometchat-ai-assistant-chat {
        width: 100vw;
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: 3;
    }

}

/* Empty State */
.cometchat-ai-assistant-chat__empty-state {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.cometchat-ai-assistant-chat__empty-state-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: var(--cometchat-spacing-3); */
    text-align: center;
    padding-top: var(--cometchat-padding-2);
}

.cometchat-ai-assistant-chat .cometchat-list__body > .cometchat-list__body-intersection-top{
    visibility: hidden;
}
.cometchat-ai-assistant-chat__empty-state-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cometchat-ai-assistant-chat__empty-state-icon {
    padding-bottom: var(--cometchat-padding-5);
}

.cometchat-ai-assistant-chat__empty-state-greeting-message {
    color: var(--cometchat-text-color-primary);
    text-align: center;
    font: var(--cometchat-font-heading4-medium);
}

.cometchat-ai-assistant-chat__empty-state-intro-message {
    color: var(--cometchat-text-color-tertiary);
    text-align: center;
    font: var(--cometchat-font-body-regular);
    padding-top: var(--cometchat-padding-1);
}
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-message-bubble__body
,.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-text-bubble
{
    background: var(--cometchat-background-color-03);

}
.cometchat-ai-assistant-chat .cometchat-message-bubble-incoming .cometchat-message-bubble__body
{
    background: transparent;

}
.cometchat-ai-assistant-chat .cometchat-message-bubble__wrapper{
    gap: var(--cometchat-spacing-2);
    padding: var(--cometchat-padding-2);

}
.cometchat-message-bubble__body.agent-assistant_custom{
    padding: 0px;;

}
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing  .cometchat-text-bubble__body-text,
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-date
{
    color: var(--cometchat-text-color-primary);
}
@media (max-width: 768px) {
    .cometchat-ai-assistant-chat__empty-state-suggested-messages {
        max-width: 90%;
    }
}
@media (max-width: 680px) {
    .cometchat-ai-assistant-chat__empty-state-suggested-messages {
        max-width: 100%;
    }
}

/* Chat History Sidebar */
.cometchat-ai-assistant-chat__sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    max-width: 420px;
    height: 100%;
    background: var(--cometchat-background-color-01);
    border-left: 1px solid var(--cometchat-border-color-light);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cometchat-ai-assistant-chat__sidebar--open {
    transform: translateX(0);
}
.cometchat-ai-assistant-chat .cometchat-text-bubble.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text {
    -webkit-line-clamp: initial !important;
    line-clamp: initial !important;
    line-height: 1.75;
}
.cometchat-ai-assistant-chat .cometchat-text-bubble.cometchat-text-bubble-outgoing .cometchat-text-bubble__read-more,
.cometchat-ai-assistant-chat .cometchat-text-bubble.cometchat-text-bubble-outgoing .cometchat-text-bubble__read-less {
    display: none;
}
.cometchat-ai-assistant-chat__sidebar-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--cometchat-background-color-02);
}
.cometchat-ai-assistant-chat__message-composer-view{
    width: 100%;
}
.cometchat-ai-assistant-chat__message-composer-view--disabled {
cursor: not-allowed ;
caret-color: transparent ;
position: relative;
}

.cometchat-ai-assistant-chat__message-composer-view--disabled * {
pointer-events: none;
}

.cometchat-ai-assistant-chat__message-composer-view--disabled:hover::before {
opacity: 1;
background: var(--cometchat-error-color);
}
.cometchat-ai-assistant-chat__message-composer-view--disabled .cometchat-ai-assistant-chat__send-button-view--streaming .cometchat-ai-assistant-chat__send-button-icon{
    cursor: not-allowed ;
    pointer-events: none ;
}
.cometchat-ai-assistant-message-bubble__copy{
    mask: url("/cometchat/assets/Copy.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/Copy.svg") center center no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 20px;
    width: 20px;
    background: var(--cometchat-icon-color-secondary);

}
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-message-bubble__status-info-view{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.cometchat-ai-assistant-chat .cometchat-message-bubble-outgoing .cometchat-message-bubble__status-info-view .cometchat{
    display: flex;
}
.cometchat-ai-assistant-chat__sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}
.cometchat-ai-assistant-chat .cometchat-message-bubble-incoming .cometchat-message-bubble__body-content-view,.cometchat-ai-assistant-chat .cometchat-message-bubble-incoming .cometchat-message-bubble__body-wrapper,.cometchat-ai-assistant-chat 
.cometchat-message-bubble-incoming .cometchat-message-bubble__body.tool-result_agentic,
.cometchat-ai-assistant-chat .cometchat-message-bubble-incoming > div,
.cometchat-ai-assistant-chat .cometchat-message-bubble-incoming .cometchat-message-bubble__body
{
  min-width: 100%  !important;
  width: 100% !important;
  max-width: 100% !important;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Mobile responsive sidebar */
@media (max-width: 768px) {
    .cometchat-ai-assistant-chat__sidebar {
        position: fixed;
        z-index: 1000;
    }
    
    .cometchat-ai-assistant-chat__sidebar--open {
        position: fixed;
        transform: translateX(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .cometchat-ai-assistant-chat__sidebar-overlay {
        position: fixed;
        z-index: 999;
    }
}

@media (max-width: 480px) {
    .cometchat-ai-assistant-chat__sidebar {
        position: fixed;
        z-index: 1000;
    }
    
    .cometchat-ai-assistant-chat__sidebar--open {
        width: 100%;
        max-width: none;
        position: fixed;
        transform: translateX(0);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .cometchat-ai-assistant-chat__sidebar-overlay {
        position: fixed;
        z-index: 999;
    }
}.cometchat-ai-assistant-chat-history {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--cometchat-padding-2);
  padding-top: 0;
}

.cometchat-ai-assistant-chat-history__loading,
.cometchat-ai-assistant-chat-history__empty,
.cometchat-ai-assistant-chat-history__error {
  padding: var(--cometchat-padding-5);
  text-align: center;
  color: var(--cometchat-text-color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.cometchat-ai-assistant-chat-history__list {
  flex: 1;
  overflow-y: auto;
}

.cometchat-ai-assistant-chat-history__header-container {
  background: transparent;
  box-sizing: border-box;
  height: fit-content;
  width: 100%;
}

.cometchat-ai-assistant-chat-history .cometchat-list__header {
  background: transparent;
  border: none;
}

.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container {
  padding-bottom: var(--cometchat-padding-5);
  box-sizing: border-box;

}

.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button {
  height: fit-content;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  padding: var(--cometchat-padding-2);
  gap: var(--cometchat-spacing-2);
  min-height: 44px;
  justify-content: flex-start;
  padding-left: 0;

}
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button__text{
  color: var(--cometchat-text-color-primary);

}
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button__icon {
  background: var(--cometchat-icon-color-secondary);
  height: 24px;
  width: 24px;
}
.cometchat-ai-assistant-chat-history .cometchat-ai-assistant-chat-history__header-container-new-chat-container .cometchat-button:hover {
  background: var(--cometchat-background-color-03);
  border-radius: var(--cometchat-radius-2);

}
.cometchat-ai-assistant-chat-history__list-options{
  visibility: hidden;
}
.cometchat-ai-assistant-chat-history__list-item:hover .cometchat-ai-assistant-chat-history__list-options{
  visibility: visible;
}
.cometchat-ai-assistant-chat-history__list-item {
  padding: var(--cometchat-padding-3) var(--cometchat-padding-2);
  background: var(--cometchat-background-color-02);
  transition: background 0.2s ease;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.cometchat-ai-assistant-chat-history__list-item-date-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  border-radius: var(--cometchat-radius-1, 4px);
  background: transparent;
  width: fit-content;
  min-height: 42px;
  box-sizing: border-box;
  padding: var(--cometchat-padding-5) var(--cometchat-padding-2) var(--cometchat-padding-2) var(--cometchat-padding-2);
  width: 100%;

}

.cometchat-ai-assistant-chat-history__list-item-date-header-start {
  padding: var(--cometchat-padding-2);

}
.cometchat-ai-assistant-chat-history .cometchat-menu-list__menu {
  background-color: transparent;
}

.cometchat-ai-assistant-chat-history .cometchat-menu-list__main-menu-item{
  background-color: transparent;
  box-shadow: none;
}


.cometchat-ai-assistant-chat-history .cometchat-menu-list__main-menu-item-icon-delete {
 -webkit-mask: url("/cometchat/assets/delete_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/delete_icon.svg") center center no-repeat;
  background: var(--cometchat-error-color,#F44649);
  width: 24px;
  height: 24px;
  -webkit-mask-size: contain;
}
.cometchat-ai-assistant-chat-history__list-item-date-header .cometchat-date {
  padding: 0;
}

.cometchat-ai-assistant-chat-history__list-item-container {
  height: fit-content;
  width: 100%;
}

.cometchat-ai-assistant-chat-history__list-item:hover {
  background: var(--cometchat-background-color-03);
  border-radius: var(--cometchat-radius-2);
}

.cometchat-ai-assistant-chat-history__list-item-text {
  line-height: 1.5;
  color: var(--cometchat-text-color-primary);
  font: var(--cometchat-font-body-regular);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cometchat-ai-assistant-chat-history .cometchat-list__body {
  border: none;
  padding: var(--cometchat-padding-2) 0;

}

.cometchat-ai-assistant-chat-history__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--cometchat-padding-2);
  background: var(--cometchat-background-color-02);
  min-height: 65px;
  box-sizing: border-box;
}

.cometchat-ai-assistant-chat-history__title {
  font: var(--cometchat-font-heading3-bold);
  color: var(--cometchat-text-color-primary);
  margin: 0;
}

.cometchat-ai-assistant-chat-history .cometchat-list__body-intersection-top {
  visibility: hidden !important;
}

.cometchat-ai-assistant-chat-history__close {
  background: transparent;
  border: none;
  padding: var(--cometchat-padding-2);
  cursor: pointer;
  border-radius: var(--cometchat-radius-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.cometchat-ai-assistant-chat-history__close:hover {
  background: var(--cometchat-background-color-03);
}

.cometchat-ai-assistant-chat-history__close-icon {
  width: 24px;
  height: 24px;
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  background: var(--cometchat-icon-color-secondary);
}

.cometchat-ai-assistant-chat-history__shimmer {
  width: 100%;
  height: 100%;
  background: transparent;

}

.cometchat-ai-assistant-chat-history__shimmer-item {
  width: 100%;
  height: 48px;
  display: flex;
  width: 100%;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
}

.cometchat-ai-assistant-chat-history__shimmer-item-title {
  width: 100%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-ai-assistant-chat-history__empty-state-view,
.cometchat-ai-assistant-chat-history__error-state-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: transparent;
}



.cometchat-ai-assistant-chat-history__empty-state-view-body,
.cometchat-ai-assistant-chat-history__error-state-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-ai-assistant-chat-history__empty-state-view-body-title,
.cometchat-ai-assistant-chat-history__error-state-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
  font-style: normal;
}

.cometchat-ai-assistant-chat-history__empty-state-view-body-description,
.cometchat-ai-assistant-chat-history__error-state-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}.cometchat-ai-assistant-message-bubble {
  flex-direction: column;
  display: flex;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cometchat-ai-assistant-message-bubble * {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.75;
  margin: 0;
  margin-bottom: var(--cometchat-margin-2);
}

.cometchat:has(> .cometchat-ai-assistant-message-bubble) {
  margin-top: calc(var(--cometchat-margin-1) * -1)
}

.cometchat-ai-assistant-message-bubble>p:not([class]) {
  text-align: left;
  color: var(--cometchat-text-color-primary);
}

.cometchat-ai-assistant-message-bubble ol:not([class]) {
  padding-left: 0px !important;
  margin-top: 0px !important;
  text-align: left !important;
  color: var(--cometchat-text-color-primary);

}

.cometchat-ai-assistant-message-bubble li:not([class]) {
  text-align: left !important;
  color: var(--cometchat-text-color-primary);

}

.cometchat-ai-assistant-message-bubble img,
.cometchat-ai-assistant-message-bubble pre,
.cometchat-ai-assistant-message-bubble canvas,
.cometchat-ai-assistant-message-bubble svg,
.cometchat-ai-assistant-message-bubble video,
.cometchat-ai-assistant-message-bubble figure,
.cometchat-ai-assistant-message-bubble table {
  vertical-align: top;
}

.cometchat-ai-assistant-message-bubble input[type="checkbox"] {
  margin-right: var(--cometchat-margin-1);
  position: relative;
  top: 1px;
}

.cometchat-ai-assistant-message-bubble ol:not([class]),.cometchat-ai-assistant-message-bubble ul:not([class]) {
  padding-left: var(--cometchat-padding-5) !important;
  text-align: left !important;
  color: var(--cometchat-text-color-primary);

}

.cometchat-ai-assistant-message-bubble ul:not([class]) {
  text-align: left !important;
  color: var(--cometchat-text-color-primary);

}

.cometchat-ai-assistant-message-bubble__code-block {
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--cometchat-border-color-default);
  width: 100%;
}



.cometchat-ai-assistant-message-bubble *:not(pre *) {
  color: var(--cometchat-text-color-primary);
  font-size: 14px;
  font-family: var(--cometchat-font-family);
}
.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__code-block,.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__code-block *{
  font-size: 14px;
}

.cometchat-ai-assistant-message-bubble__code-block::-webkit-scrollbar {
  width: 0px;
  height: 8px;
  background: transparent;
}

.cometchat-ai-assistant-message-bubble__code-block::-webkit-scrollbar-track {
  background: transparent;
}

.cometchat-ai-assistant-message-bubble__code-block::-webkit-scrollbar-thumb {
  background: var(--cometchat-icon-color-secondary);
  border-radius: var(--cometchat-radius-2);
}

.cometchat-ai-assistant-message-bubble table {
  width: fit-content;
  max-width: 100%;
  table-layout: auto;
  display: block;
  overflow-x: auto;
  border-radius: var(--cometchat-radius-2);
  margin: var(--cometchat-margin-2) 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: scroll;
}

/* Round only outer cells */
.cometchat-ai-assistant-message-bubble tr:first-child th:first-child {
  border-top-left-radius: var(--cometchat-radius-2);
}
.cometchat-ai-assistant-message-bubble tr:first-child th:last-child {
  border-top-right-radius: var(--cometchat-radius-2);
}
.cometchat-ai-assistant-message-bubble tr:last-child td:first-child {
  border-bottom-left-radius: var(--cometchat-radius-2);
}
.cometchat-ai-assistant-message-bubble tr:last-child td:last-child {
  border-bottom-right-radius: var(--cometchat-radius-2);
}
.cometchat-ai-assistant-message-bubble th,
.cometchat-ai-assistant-message-bubble td {
  padding: var(--cometchat-padding-2);
  border: 1px solid var(--cometchat-border-color-dark);
  width: fit-content;
  max-width: 100%;
}

.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar {
  width: 0px;
  height: 8px;
  background: transparent;
}

.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar-track {
  background: transparent;
}

.cometchat-ai-assistant-message-bubble table::-webkit-scrollbar-thumb {
  background: var(--cometchat-icon-color-secondary);
  border-radius: var(--cometchat-radius-2);
}

.cometchat-ai-assistant-message-bubble td{
  text-align: left !important;
}
.cometchat-ai-assistant-message-bubble th{
  text-align: center !important;
}
.cometchat-ai-assistant-message-bubble th{
  background: var(--cometchat-background-color-04);
}
.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__link{
  text-decoration: underline;
  color: var(--cometchat-text-color-highlight);
}
.cometchat-ai-assistant-message-bubble ul,.cometchat-ai-assistant-message-bubble ol,.cometchat-ai-assistant-message-bubble hr{
  margin: 0;
}
.cometchat-ai-assistant-message-bubble li{
  overflow: visible !important;
  padding: 0;
}
.cometchat-ai-assistant-message-bubble > ol:first-child > li:first-child,
.cometchat-ai-assistant-message-bubble > ul:first-child > li:first-child
{
  padding-top: 0px;
}

.cometchat-ai-assistant-message-bubble h1,
.cometchat-ai-assistant-message-bubble h2,
.cometchat-ai-assistant-message-bubble h3,
.cometchat-ai-assistant-message-bubble h4,
.cometchat-ai-assistant-message-bubble h5,
.cometchat-ai-assistant-message-bubble h6 {
  font-size: initial;
  padding: var(--cometchat-padding-2) 0px;
  margin: 0;
}

.cometchat-ai-assistant-message-bubble > *:first-child *:first-child:not(:has(*)) ~ img{
  margin-top: var(--cometchat-margin-1);
}

.cometchat-ai-assistant-message-bubble > h1:first-child,
.cometchat-ai-assistant-message-bubble > h2:first-child,
.cometchat-ai-assistant-message-bubble > h3:first-child,
.cometchat-ai-assistant-message-bubble > h4:first-child,
.cometchat-ai-assistant-message-bubble > h5:first-child,
.cometchat-ai-assistant-message-bubble > h6:first-child {
  padding-top: 0px;
}
.cometchat-ai-assistant-message-bubble img{
  max-height: 300px;
  width: fit-content;
  border-radius: var(--cometchat-radius-2);
  margin-top: var(--cometchat-margin-2);
}

.cometchat-ai-assistant-message-bubble__image-intersection-start, .cometchat-ai-assistant-message-bubble__image-intersection-end{
  display: none;
}

.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__image-intersection-start:not(.cometchat-ai-assistant-message-bubble__image-intersection-end ~ .cometchat-ai-assistant-message-bubble__image-intersection-start, input[type="checkbox"] ~ .cometchat-ai-assistant-message-bubble__image-intersection-start) {
  display: block;
  margin-top: -0.5em;
}

.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__image-intersection-start:is(input[type="checkbox"] ~ .cometchat-ai-assistant-message-bubble__image-intersection-start) ~ img{
  margin-top: var(--cometchat-margin-1);
}

.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__image-intersection-end:not(:has(+ .cometchat-ai-assistant-message-bubble__image-intersection-start)) {
  display: block;
}

.cometchat-ai-assistant-message-bubble .cometchat-ai-assistant-message-bubble__image-intersection-end:last-child {
  margin-bottom: 0;
}

.cometchat-ai-assistant-message-bubble > ul:first-child li:first-child > p:first-child{
padding-top: 0px;
}
.cometchat-ai-assistant-message-bubble > ol:first-child li:first-child > p:first-child{
padding-top: 0px;
}

.cometchat-ai-assistant-message-bubble > p:first-child{
  padding-top: 0px;

}/* Base audio bubble container */
.cometchat-audio-bubble {
    border: none;
    display: flex;
    background: transparent;
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-2, 8px) 0px var(--cometchat-padding-2, 8px);
    flex-direction: row;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--cometchat-radius-3, 12px);
    max-width: 240px;
    width: 240px;
}

/* Download icon for the tail view (right side of the audio bubble) */
.cometchat-audio-bubble__tail-view-download {
    mask: url("/cometchat/assets/download.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/download.svg") center center no-repeat;
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    cursor: pointer;
    background: var(--cometchat-static-white);

}

/* Waveform container inside the audio bubble body */
.cometchat-audio-bubble__body-wave {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Container for download progress circle (24x24 size) */
.cometchat-audio-bubble__tail-view-download-progress {
    position: relative;
    width: 24px;
    height: 24px;
}

/* Rotate the SVG progress circle for correct start position */
.cometchat-audio-bubble__tail-view-download-progress svg {
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
}

/* Close/stop icon inside the progress view (positioned in the center) */
.cometchat-audio-bubble__tail-view-download-stop {
    mask: url("/cometchat/assets/close.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
    background: var(--cometchat-static-white);
    display: flex;
    width: 15px;
    height: 15px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-mask-size: contain;
    mask-size: contain;
    cursor: pointer;
}
.cometchat-audio-bubble>div:not([class]) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    flex: 1 0 0;
}

/* Time display (current time / duration) inside the audio bubble body */
.cometchat-audio-bubble__body-time {
    color: var(--cometchat-static-white);
    font: var(--cometchat-font-caption2-regular);
    width: 100%;
    text-align: left;
}

/* Body of the audio bubble, containing waveform and time display */
.cometchat-audio-bubble__body {
    padding: 0px var(--cometchat-padding-2) 0px var(--cometchat-padding-3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--cometchat-padding);
}

/* Play and pause icons for controlling the audio bubble */
.cometchat-audio-bubble__leading-view-play,
.cometchat-audio-bubble__leading-view-pause {
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cometchat-primary-color);
    cursor: pointer;

}

/* Play button icon */
.cometchat-audio-bubble__leading-view-play {
    mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Pause button icon */
.cometchat-audio-bubble__leading-view-pause {
    mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Leading view container (play/pause button) with rounded background */
.cometchat-audio-bubble__leading-view {
    background: var(--cometchat-static-white);
    cursor: pointer;
    display: flex;
    width: 32px;
    border-radius: var(--cometchat-radius-max, 1000px);
    height: 32px;
    justify-content: center;
    align-items: center;
}

/* Background circle of the download progress indicator */
circle.cometchat-audio-bubble__tail-view-download-progress-background {
    stroke: var(--cometchat-static-white);
    stroke-dasharray: 113 113;
    opacity: .2;
    stroke-width: 2;
    fill: none;
}

/* Foreground circle that indicates download progress */
circle.cometchat-audio-bubble__tail-view-download-progress-foreground {
    stroke: var(--cometchat-static-white);
    stroke-dasharray: 0 113;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

/* Outgoing audio bubble (message sent by the user) background */
.cometchat-audio-bubble-outgoing {
    background: var(--cometchat-primary-color);
}

/* Incoming audio bubble (message received by the user) background */
.cometchat-audio-bubble-incoming {
    background: var(--cometchat-neutral-color-300);
}

/* Tail view download button for incoming audio bubble */
.cometchat-audio-bubble-incoming .cometchat-audio-bubble__tail-view-download {
    background: var(--cometchat-primary-color);
}

/* Background circle for download progress in incoming bubble */
.cometchat-audio-bubble-incoming circle.cometchat-audio-bubble__tail-view-download-progress-background {
    stroke: var(--cometchat-primary-color);
    opacity: .2;
}

/* Foreground circle for download progress in incoming bubble */
.cometchat-audio-bubble-incoming circle.cometchat-audio-bubble__tail-view-download-progress-foreground {
    stroke: var(--cometchat-primary-color);
}

/* Stop download icon for incoming audio bubble */
.cometchat-audio-bubble-incoming .cometchat-audio-bubble__tail-view-download-stop {
    background: var(--cometchat-primary-color);
}

/* Time display in incoming audio bubble */
.cometchat-audio-bubble-incoming .cometchat-audio-bubble__body-time {
    color: var(--cometchat-neutral-color-600);
}.cometchat-avatar {
    display: flex;
    width: 48px;
    height: 48px;
    background: var(--cometchat-extended-primary-color-500, #AA9EE8);
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max, 1000px);
}

.cometchat-avatar__image {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: var(--cometchat-primary-button-icon, #FFF);
    text-align: center;
    font: var(--cometchat-font-title-bold, 700 32px Roboto);
    border-radius: var(--cometchat-radius-max, 1000px);
}

.cometchat-avatar__text {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font: var(--cometchat-font-heading3-bold, 700 20px Roboto);
    color: var(--cometchat-primary-button-icon, #FFF);
    text-align: center;
}.cometchat-button {
    display: flex;
    height: 40px;
    width: 160px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    border: none;
    background: var(--cometchat-primary-button-background, #6852D6);
    cursor: pointer;
}

.cometchat-button__text {
    color: var(--cometchat-static-white, #FFFFFF);
    font: var(--cometchat-font-button-medium, 500 14px Roboto);
    line-height: 120%;
    cursor: pointer;
}

.cometchat-button__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cometchat-button__icon-default {
    height: 24px;
    width: 24px;
}

.cometchat-button:hover {
    background: var(--cometchat-extended-primary-color-800, #7A6BD6);
}

.cometchat-button:active {
    background: var(--cometchat-extended-primary-color-900, #5D49BE);
    outline: none;
}

.cometchat-button:focus {
    outline: none;
}

.cometchat-button__loading-view {
    width: 24px;
    height: 24px;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}/**
Represents the overall container for the call bubble component. It is a flexible container that displays its content in a column format and aligns its items centrally.
*/
.cometchat-call-bubble {
    display: flex;
    max-width: 240px;
    width: 240px;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    background: var(--cometchat-primary-color);
    border-radius: var(--cometchat-radius-3, 12px);
    background: inherit;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/**
Defines the main body of the call bubble,
organizing its child elements in a flexible layout and aligning them appropriately.
*/
.cometchat-call-bubble__body {
    display: flex;
    padding: var(--cometchat-padding-3, 12px);
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
}

/**
Represents the title area of the call bubble,
ensuring the text is constrained to a single line and truncates overflowed text with ellipsis.
*/
.cometchat-call-bubble__body-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    overflow: hidden;

    text-overflow: ellipsis;
    font: var(--cometchat-font-body-medium);
    font-style: normal;
}

/**
Specifies the icon within the call bubble,
typically an SVG used to visually represent a type of call (e.g., video or voice).
*/
.cometchat-call-bubble__icon-wrapper-icon {
    mask: url("/cometchat/assets/incoming_video.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/incoming_video.svg") center center no-repeat;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cometchat-primary-color);
    -webkit-mask-size: contain;
    mask-size: contain;
}

/**
Acts as the wrapper for the call bubble icon,
setting its size and background with a rounded appearance.
*/
.cometchat-call-bubble__icon-wrapper {
    display: flex;
    width: 40px;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-static-white);
    height: 40px;

    padding: var(--cometchat-padding-2);
    justify-content: center;
    align-items: center;
}

/**
Represents the subtitle text within the call bubble,
ensuring the text is truncated with ellipsis to fit within the given space.
*/
.cometchat-call-bubble__body-content-subtitle {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--cometchat-font-caption1-regular);
    font-style: normal;
}

/**
Defines the styling of the subtitle date within the body content of the call bubble
*/
.cometchat-call-bubble__body-content-subtitle .cometchat-date {
    padding: 0px;
    color: inherit;
    font: inherit;
  }

/**
Provides additional content styling for the body of the call bubble, aligning the content text to the left.
*/
.cometchat-call-bubble__body-content {
    text-align: left;
}


/**
 Defines the button at the bottom of the call bubble,
 making it fully responsive in width and controlling its appearance with inherited styles.
*/
.cometchat-call-bubble__button {
    display: flex;
    height: 40px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
    border: none;
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
    width: 100%;
    background: inherit;
    border-radius: 0px 0px var(--cometchat-radius-radius_2, 8px) var(--cometchat-radius-radius_2, 8px);
    font: var(--cometchat-font-body-medium);
    font-style: normal;
    cursor: pointer;
}

/**
Represents the visual styling for an incoming call bubble,
providing a background color specific to incoming calls.
*/
.cometchat-call-bubble-incoming {
    background: var(--cometchat-neutral-color-300);
}

/**
Represents the visual styling for an outgoing call bubble,
providing a background color specific to outgoing calls.
*/
.cometchat-call-bubble-outgoing {
    background: var(--cometchat-primary-color);
}

/**
Adjusts the subtitle text color within an incoming call bubble.
*/
.cometchat-call-bubble-incoming .cometchat-call-bubble__body-content-subtitle {
    color: var(--cometchat-neutral-color-600);
}

.cometchat-call-bubble__body-content-title {
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-medium);
}

/**
 Adjusts the title text color for the body content within an incoming call bubble.
*/
.cometchat-call-bubble-incoming .cometchat-call-bubble__body-content-title {
    color: var(--cometchat-neutral-color-900);
}

/**
Adjusts the subtitle text color within an outgoing call bubble.
*/
.cometchat-call-bubble-outgoing .cometchat-call-bubble__body-content-subtitle {
    color: var(--cometchat-static-white);
}

/**
 Adjusts the title text color for the body content within an outgoing call bubble.
*/
.cometchat-call-bubble-outgoing .cometchat-call-bubble__body-content-title {
    color: var(--cometchat-static-white);
}

/**
Defines the styling of the button for incoming call bubbles,
adding a border and setting the button text color.
*/
.cometchat-call-bubble-incoming .cometchat-call-bubble__button {
    border-top: 1px solid var(--cometchat-border-color-dark);
    color: var(--cometchat-neutral-color-900);
}

/**
Defines the styling of the button for outgoing call bubbles,
including a top border and button text color.
*/
.cometchat-call-bubble-outgoing .cometchat-call-bubble__button {
    border-top: 1px solid var(--cometchat-extended-primary-color-800);
    color: var(--cometchat-static-white);
}.cometchat-call-button {
    display: flex;
    align-items: center;
    gap: var(--cometchat-padding-4, 16px);
    height: fit-content;
    width: fit-content;
}

.cometchat-call-button__voice,
.cometchat-call-button__video {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cometchat-call-button .cometchat-button {
    width: 24px;
    height: 24px;
    padding: 0px;
    gap: 0px;
    background: var(--cometchat-background-color-01, #FFFFFF);
}

.cometchat-call-button .cometchat-button__icon {
    background: var(--cometchat-icon-color-primary, #141414);
}

.cometchat-outgoing-call__backdrop {
    display: flex;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.cometchat-call-button .cometchat-button:hover {
    background: transparent;
}

.cometchat-call-button .cometchat-button:active {
    background: transparent;
}
.cometchat-call-logs {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  flex-shrink: 0;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-call-logs__outgoing-call {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

 .cometchat-call-logs__list-item-active .cometchat-list-item {
   background-color: var(--cometchat-white-pressed, #E8E8E8);
 }

.cometchat-call-logs__list-item-trailing-view {
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;  
  background:var(--cometchat-icon-color-primary,#FFF)
}

.cometchat-call-logs__list-item-trailing-view-video {
  -webkit-mask: url("/cometchat/assets/call-log_video.svg") center center no-repeat;
  mask: url("/cometchat/assets/call-log_video.svg") center center no-repeat;
}

.cometchat-call-logs__list-item-trailing-view-audio {
  -webkit-mask: url("/cometchat/assets/call-log-audio.svg") center center no-repeat;
  mask: url("/cometchat/assets/call-log-audio.svg") center center no-repeat;
}

.cometchat-call-logs__list-item-subtitle {
  display: flex;
  gap: 4px;
}

.cometchat-call-logs__list-item-subtitle .cometchat-date{
  overflow: hidden;
  color:var(--cometchat-text-color-secondary,#727272);
  padding: 0px;
 text-overflow: ellipsis;
 font: var(--cometchat-font-body-regular);
}

.cometchat-call-logs__list-item-subtitle-icon {
  height: 16px;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;  
  background:var(--cometchat-icon-color-primary,#FFF);

}

.cometchat-call-logs__list-item-subtitle-icon-missed-call {
  -webkit-mask: url("/cometchat/assets/call_received.svg") center center no-repeat;
  mask: url("/cometchat/assets/call_received.svg") center center no-repeat;
  background-color: var(--cometchat-error-color,#F44649);
}


.cometchat-call-logs__list-item-subtitle-icon-outgoing-call {
  -webkit-mask: url("/cometchat/assets/call_made.svg") center center no-repeat;
  mask: url("/cometchat/assets/call_made.svg") center center no-repeat;
  background-color: var(--cometchat-success-color,#09C26F);

}

.cometchat-call-logs__list-item-subtitle-icon-incoming-call {
  -webkit-mask: url("/cometchat/assets/missedCallIcon.svg") center center no-repeat;
  mask: url("/cometchat/assets/missedCallIcon.svg") center center no-repeat;
  background-color: var(--cometchat-success-color,#09C26F);

}

.cometchat-call-logs__empty-state-view,
.cometchat-call-logs__error-state-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-call-logs__empty-state-view-body,
.cometchat-call-logs__error-state-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-call-logs__empty-state-view-body-title,
.cometchat-call-logs__error-state-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
  font-style: normal;
}

.cometchat-call-logs__empty-state-view-body-description,
.cometchat-call-logs__error-state-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-call-logs__shimmer {
  width: 100%;
  height: 100%;
  background: var(--cometchat-background-color-01, #FFF);

}

.cometchat-call-logs__shimmer-item {
  width: 100%;
  height: 72px;
  display: flex;
  width: 100%;
  min-width: 240px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  align-items: center;
  gap: 12px;
}

.cometchat-call-logs__shimmer-item-avatar {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--cometchat-radius-max,1000px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
}

.cometchat-call-logs__shimmer-item-body {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;

  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-call-logs__shimmer-item-body-title-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cometchat-call-logs__shimmer-item-body-title {
  width: 50%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-call-logs__shimmer-item-body-subtitle {
  width:25%;
  height: 12px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-call-logs__shimmer-item-body-tail {
  width: 32px;
  height: 32px;
  min-height: 32px;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 10.5s infinite linear;
}

.cometchat-call-logs .cometchat-list-item {
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  cursor: pointer;
} 

.cometchat-call-logs .cometchat-list-item__body {
  padding: 0px;
}

@keyframes shimmerAnimation {
    0% {
      background-position: -468px 0;
    }
  
    100% {
      background-position: 468px 0;
    }
  }
.cometchat-change-scope {
    display: flex;
    width: 400px;
    padding: var(--cometchat-padding-6, 24px) var(--cometchat-padding-6, 24px) var(--cometchat-padding-3, 12px) var(--cometchat-padding-6, 24px);
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    border-radius: var(--cometchat-radius-5, 20px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-change-scope__icon-container {
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-background-color-02, #FAFAFA);
}

.cometchat-change-scope__icon {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    mask: url("/cometchat/assets/change_scope.png") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/change_scope.png") center center no-repeat;
    background: var(--cometchat-icon-color-highlight, #6852D6);
    mask-size: contain;
    -webkit-mask-size: contain;
}

.cometchat-change-scope__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
}

.cometchat-change-scope__title {
    align-self: stretch;
    color: var(--cometchat-text-color-primary, #141414);
    text-align: center;
    font: var(--cometchat-font-heading2-medium, 500 20px Roboto);
    line-height: 120%;
}

.cometchat-change-scope__description {
    align-self: stretch;
    color: var(--cometchat-text-color-secondary, #727272);
    text-align: center;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
    line-height: 120%;
}

.cometchat-change-scope__dropdown {
    width: 352px;
    height: 36px;
    gap: var(--cometchat-padding-2, 4px);
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-change-scope__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    height: fit-content;
    overflow: auto;
}



.cometchat-change-scope__list-item {
    display: flex;
    min-width: 240px;
    max-width: 1440px;
    height: 48px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    flex: 1 0 0;
    align-self: stretch;
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-change-scope__list-item:hover {
    background: var(--cometchat-white-hover, #FAFAFA);
    cursor: pointer;
}

.cometchat-change-scope__list-item-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-heading4-medium, 500 16px Roboto);
    flex: 1 0 0;
    text-align: left;
}

.cometchat-change-scope__button-container {
    display: flex;
    padding: var(--cometchat-padding-3, 12px) 0px;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
}
.cometchat-change-scope__submit-button > .cometchat{
    height: 100%;
    width: 100%;
}
.cometchat-change-scope__submit-button{
    height: 40px;
    line-height: 120%;
    flex: 1;
}
.cometchat-change-scope__submit-button .cometchat-button{
    background: var(--cometchat-primary-button-background, #6852D6);
    color: var(--cometchat-primary-button-icon, #FFF);
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
    align-items: center;
    align-self: stretch;
    justify-content: center;
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    font: var(--cometchat-font-body-medium, 500 14px Roboto);

}

.cometchat-change-scope__submit-button-disabled .cometchat-button{
    background: var(--cometchat-background-color-04, #E8E8E8);
    color: var(--cometchat-static-white, #FFF);
    pointer-events: none;
}

.cometchat-change-scope__cancel-button > .cometchat{
    height: 100%;
    width: 100%;
}
.cometchat-change-scope__cancel-button .cometchat-button{
    border: 1px solid var(--cometchat-border-color-dark, #DCDCDC);
    background: var(--cometchat-background-color-01, #FFF);
    color: var(--cometchat-neutral-color-900, #141414);
    font: var(--cometchat-font-body-medium, 500 14px Roboto);
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
    align-items: center;
    align-self: stretch;
    justify-content: center;
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: var(--cometchat-radius-2, 8px);
}
.cometchat-change-scope__button-container .cometchat-button .cometchat-button__text{
    font: inherit;
    color: inherit;
}
.cometchat-change-scope__cancel-button{
    height: 40px;
    line-height: 120%;
    flex: 1;
}
.cometchat-change-scope__error-view{
    color: var(--cometchat-error-color, #F44649);
    font: var(--cometchat-font-body-regular);
    font-style: normal;
    display: flex;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    background: rgba(244, 70, 73, 0.10);

}
.cometchat-checkbox {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.cometchat-checkbox__label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.cometchat-checkbox__checkmark {
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1.5px solid var(--cometchat-border-color-default, #E8E8E8);
}

.cometchat-checkbox:hover .cometchat-checkbox__checkmark {
    border: 1.5px solid var(--cometchat-border-color-dark, #DCDCDC);
    cursor: pointer;
}


.cometchat-checkbox input[type="checkbox"]:checked+.cometchat-checkbox__checkmark {
    border: 1.5px solid var(--cometchat-primary-color, #6852D6);
    background-color: var(--cometchat-primary-color, #6852D6);
}

.cometchat-checkbox__checkmark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: var(--cometchat-static-white, #FFF);
    mask: url('/cometchat/assets/checkbox_tick.svg') center center no-repeat;
    -webkit-mask: url('/cometchat/assets/checkbox_tick.svg') center center no-repeat;
    mask-size: contain;
    -webkit-mask-size: contain;
    transform: translate(-50%, -50%);
    display: none;
}

.cometchat-checkbox input[type="checkbox"]:checked+.cometchat-checkbox__checkmark::after {
    display: block;
}

.cometchat-checkbox__label {
    display: flex;
    align-items: center;
    gap: var(--cometchat-radius-2, 8px);
    color: var(--cometchat-text-color-secondary);
    font: var(--cometchat-font-body-regular);
}/* Single Line Message Composer - Main container */
.cometchat-compact-message-composer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-default);
    background: var(--cometchat-background-color-01);
    width: calc(100% - var(--cometchat-margin-2, 8px) * 2);
    position: relative;
    overflow: visible;
    bottom: 5px;
    margin: var(--cometchat-margin-2, 8px);
}

/* Main row container - single horizontal line layout */
.cometchat-compact-message-composer__row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    min-height: 48px;
    padding: var(--cometchat-padding-2, 8px);
    gap: var(--cometchat-spacing-2, 8px);
    box-sizing: border-box;
}

/* Left section - Attachment button */
.cometchat-compact-message-composer__left {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
    padding-bottom: var(--cometchat-padding-1, 4px);
}

.cometchat-compact-message-composer__left .cometchat-button {
    width: 24px;
    height: 24px;
    background: transparent;
    padding: 0;
    gap: 0;
    border-radius: 0;
}

.cometchat-compact-message-composer__left .cometchat-button:hover {
    background: transparent;
}

.cometchat-compact-message-composer__left .cometchat-button:active {
    background: transparent;
}

.cometchat-compact-message-composer__left .cometchat-button .cometchat-button__icon {
    width: 24px;
    height: 24px;
}

.cometchat-compact-message-composer__left .cometchat-button .cometchat-button__icon-default {
    width: 24px;
    height: 24px;
}

/* Center section - Text input container */
.cometchat-compact-message-composer__center {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    overflow: visible;
    position: relative;
}

/* On desktop, when recording is active, center stays flex-1 but recording bar is pushed right */
.cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__center {
    flex: 1;
    justify-content: flex-end;
}

/* Text input styling */
.cometchat-compact-message-composer__input {
    width: 100%;
    flex: 1;
    outline: none;
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    text-align: left;
    box-sizing: border-box;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-1, 4px);
    color: var(--cometchat-text-color-primary);
    font: var(--cometchat-font-body-regular);
    min-height: 32px;
    max-height: 150px;
    scrollbar-width: none;
    cursor: text;
    user-select: text;
}

.cometchat-compact-message-composer__input::-webkit-scrollbar {
    display: none;
}

/* Placeholder styling when input is empty */
.cometchat-compact-message-composer__input:empty:before {
    content: attr(data-placeholder);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--cometchat-text-color-tertiary);
    font: var(--cometchat-font-body-regular);
}

/* Mentions styling in input - no rich text formatting allowed */
/* Use individual font properties instead of font shorthand so font-family
   can be inherited from parent elements like <code> and <pre> */
.cometchat-compact-message-composer__input .cometchat-mentions > span {
    color: var(--cometchat-text-color-highlight);
    font-size: 14px;
    line-height: 16.8px;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

.cometchat-compact-message-composer__input .cometchat-mentions-you > span {
    color: var(--cometchat-warning-color, #FFAB00);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* Strip rich text formatting from mentions even when wrapped in formatting tags */
.cometchat-compact-message-composer__input b .cometchat-mentions > span,
.cometchat-compact-message-composer__input strong .cometchat-mentions > span,
.cometchat-compact-message-composer__input i .cometchat-mentions > span,
.cometchat-compact-message-composer__input em .cometchat-mentions > span,
.cometchat-compact-message-composer__input u .cometchat-mentions > span,
.cometchat-compact-message-composer__input s .cometchat-mentions > span,
.cometchat-compact-message-composer__input strike .cometchat-mentions > span,
.cometchat-compact-message-composer__input del .cometchat-mentions > span,
.cometchat-compact-message-composer__input b .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input strong .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input i .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input em .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input u .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input s .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input strike .cometchat-mentions-you > span,
.cometchat-compact-message-composer__input del .cometchat-mentions-you > span {
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* Mentions inside inline code should inherit code styling */
.cometchat-compact-message-composer__input code .cometchat-mentions > span,
.cometchat-compact-message-composer__center code .cometchat-mentions > span,
.cometchat .cometchat-compact-message-composer__input code .cometchat-mentions > span,
.cometchat-compact-message-composer__input code .cometchat-mentions-you > span,
.cometchat-compact-message-composer__center code .cometchat-mentions-you > span,
.cometchat .cometchat-compact-message-composer__input code .cometchat-mentions-you > span {
    color: inherit !important;
    font: inherit !important;
    font-family: var(--cometchat-font-family) !important;
    font-size: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none !important;
}

/* Mentions inside code blocks should inherit code block styling */
.cometchat-compact-message-composer__input pre .cometchat-mentions > span,
.cometchat-compact-message-composer__center pre .cometchat-mentions > span,
.cometchat .cometchat-compact-message-composer__input pre .cometchat-mentions > span,
.cometchat-compact-message-composer__input pre .cometchat-mentions-you > span,
.cometchat-compact-message-composer__center pre .cometchat-mentions-you > span,
.cometchat .cometchat-compact-message-composer__input pre .cometchat-mentions-you > span {
    color: inherit !important;
    font: inherit !important;
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none !important;
}

/* Hashtag styling in input */
.cometchat-compact-message-composer__input .hashtag-formatted {
    color: var(--cometchat-success-color);
    font: var(--cometchat-font-body-regular);
}

/* Right section - Action buttons */
/* Right section - Action buttons */
.cometchat-compact-message-composer__right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: var(--cometchat-spacing-3, 12px);
    flex-shrink: 0;
    transition: gap 0.25s ease;
}

/* Buttons container styling */
.cometchat-compact-message-composer__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--cometchat-spacing-3, 12px);
}

.cometchat-compact-message-composer__buttons .cometchat-button {
    width: 24px;
    height: 24px;
    background: transparent;
    padding: 0;
    gap: 0;
}

.cometchat-compact-message-composer__buttons .cometchat-button .cometchat-button__icon {
    width: 24px;
    height: 24px;
    background: var(--cometchat-icon-color-secondary);
}

.cometchat-compact-message-composer__buttons .cometchat-button .cometchat-button__icon-default {
    width: 24px;
    height: 24px;
}

.cometchat-compact-message-composer__buttons .cometchat-button .cometchat-button__icon:hover {
    background: var(--cometchat-primary-color);
}

/* Send button styling */
.cometchat-compact-message-composer__send-button {
    display: flex;
    width: 32px;
    height: 32px;
    padding: var(--cometchat-padding-1, 4px);
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    border-radius: var(--cometchat-radius-max);
    background: var(--cometchat-background-color-04);
    flex-shrink: 0;
}

.cometchat-compact-message-composer__send-button .cometchat-button {
    cursor: default;
}

.cometchat-compact-message-composer__send-button-active {
    cursor: pointer;
    background: var(--cometchat-primary-color);
}

.cometchat-compact-message-composer__buttons .cometchat-compact-message-composer__send-button .cometchat-button .cometchat-button__icon {
    background: var(--cometchat-static-white);
}

.cometchat-compact-message-composer__buttons .cometchat-compact-message-composer__send-button .cometchat-button .cometchat-button__icon:hover {
    background: var(--cometchat-static-white);
}

/* Active button states */
.cometchat-compact-message-composer__buttons .cometchat-compact-message-composer__emoji-keyboard-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}

.cometchat-compact-message-composer__buttons .cometchat-compact-message-composer__secondary-button-view-attachment-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}

.cometchat-compact-message-composer__buttons .cometchat-compact-message-composer__voice-recording-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}

.cometchat-compact-message-composer__buttons .cometchat-compact-message-composer__auxilary-button-view-sticker-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}


/* Header section - Edit/Reply preview */
.cometchat-compact-message-composer__header {
    width: 100%;
    height: fit-content;
    display: flex;
    padding: var(--cometchat-padding-1, 4px);
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--cometchat-border-color-light);
}

/* Error state in header */
.cometchat-compact-message-composer__header-error-state {
    display: flex;
    padding: var(--cometchat-padding-2, 8px);
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    flex: 1 0 0;
    align-self: stretch;
    border-radius: var(--cometchat-radius-1, 4px);
    background: var(--cometchat-background-color-02);
}

.cometchat-compact-message-composer__header-error-state-icon-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-error-color);
    border-radius: var(--cometchat-radius-max);
    flex-shrink: 0;
}

.cometchat-compact-message-composer__header-error-state-icon {
    -webkit-mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    width: 20px;
    height: 20px;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: var(--cometchat-static-white);
}

.cometchat-compact-message-composer__header-error-state-text {
    overflow: hidden;
    color: var(--cometchat-error-color);
    text-overflow: ellipsis;
    font: var(--cometchat-font-caption1-regular);
}

/* Edit preview subtitle */
.cometchat-compact-message-composer .cometchat-edit-preview__subtitle {
    height: fit-content;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mentions list - positioned above composer */
.cometchat-compact-message-composer__mentions-list {
    overflow: auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
    min-height: 45px;
    padding: 0 0 1px 0;
    width: fit-content;
    min-width: 320px;
    bottom: 100%;
    left: 0;
    position: absolute;
    max-height: 336px;
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-background-color-01);
    background: var(--cometchat-background-color-01);
    box-shadow: 0 12px 16px 4px rgba(16, 24, 40, 0.08), 0 4px 6px 4px rgba(16, 24, 40, 0.03);
    scrollbar-width: none;
}

.cometchat-compact-message-composer__mentions-list::-webkit-scrollbar {
    display: none;
}

.cometchat-compact-message-composer__mentions-list > .cometchat {
    border-radius: inherit;
}

.cometchat-compact-message-composer__mentions-list .cometchat-list .cometchat-list__header-title {
    display: none;
}

.cometchat-compact-message-composer__mentions-list .cometchat-list__item-wrapper {
    cursor: pointer;
}

/* Popover content styles */
/* Sticker button popover */
.cometchat-compact-message-composer__auxilary-button-view-sticker-button .cometchat-popover__content {
    height: 300px;
    overflow: hidden;
    width: 272px;
}

/* Emoji keyboard button popover */
.cometchat-compact-message-composer__emoji-keyboard-button .cometchat-popover__content {
    height: 300px;
    width: 300px;
    overflow: hidden;
}

/* Action sheet button popover */
.cometchat-compact-message-composer__secondary-button-view-attachment-button .cometchat-popover__content {
    height: 332px;
    border: none;
}

.cometchat-compact-message-composer__secondary-button-view-attachment-button .cometchat-action-sheet {
    min-width: 200px;
}

/* Dynamic height for action sheet based on number of options */
.cometchat-compact-message-composer__secondary-button-view-attachment-button-1 .cometchat-popover__content {
    height: 58px;
}

.cometchat-compact-message-composer__secondary-button-view-attachment-button-2 .cometchat-popover__content {
    height: 114px;
}

.cometchat-compact-message-composer__secondary-button-view-attachment-button-3 .cometchat-popover__content {
    height: 170px;
}

.cometchat-compact-message-composer__secondary-button-view-attachment-button-4 .cometchat-popover__content {
    height: 230px;
}

.cometchat-compact-message-composer__secondary-button-view-attachment-button-5 .cometchat-popover__content {
    height: 285px;
}

/* ============================================
   Inline Recording Bar Styles
   ============================================ */

/* Hidden text input when recording is active */
.cometchat-compact-message-composer__input--hidden {
    display: none;
}

/* Recording bar container */
/* Desktop: only as wide as content needs, pushed to the right */
.cometchat-compact-message-composer__recording-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 auto;
    width: fit-content;
    min-width: 0;
    gap: 0;
    margin-left: auto;
}

/* Delete button */
.cometchat-compact-message-composer__recording-bar-delete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.cometchat-compact-message-composer__recording-bar-delete-icon {
    width: 24px;
    height: 24px;
    background: var(--cometchat-icon-color-secondary);
    -webkit-mask: url("/cometchat/assets/bin.svg") center center no-repeat;
    mask: url("/cometchat/assets/bin.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-compact-message-composer__recording-bar-delete:hover .cometchat-compact-message-composer__recording-bar-delete-icon {
    background: var(--cometchat-error-color);
}

/* Recording indicator (pulsing red dot) */
@keyframes cometchat-recording-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.cometchat-compact-message-composer__recording-bar-indicator {
    width: 8px;
    height: 8px;
    border-radius: var(--cometchat-radius-max);
    background: var(--cometchat-error-color);
    flex-shrink: 0;
    animation: cometchat-recording-pulse 1.5s ease-in-out infinite;
    margin-left: var(--cometchat-margin-4, 16px);
}

/* Waveform visualization */
/* Desktop: fixed width so bar stays compact on the right */
.cometchat-compact-message-composer__recording-bar-waveform {
    width: 160px;
    min-width: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 var(--cometchat-padding-4, 16px);
}

/* Tablet: wider waveform for better bar density */
@media (min-width: 769px) and (max-width: 1024px) {
    .cometchat-compact-message-composer__recording-bar-waveform {
        width: 240px;
    }
}

.cometchat-compact-message-composer__recording-bar-waveform canvas {
    width: 100%;
    height: 32px;
    display: block;
}

/* Timer display */
.cometchat-compact-message-composer__recording-bar-timer {
    font: var(--cometchat-font-caption1-medium);
    color: var(--cometchat-text-color-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: var(--cometchat-margin-4, 16px);
}

/* Pause/Resume button */
.cometchat-compact-message-composer__recording-bar-pause {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: var(--cometchat-margin-3, 12px);
}

.cometchat-compact-message-composer__recording-bar-pause-icon {
    width: 24px;
    height: 24px;
    background: var(--cometchat-icon-color-secondary);
    -webkit-mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-compact-message-composer__recording-bar-pause-icon--resume {
    -webkit-mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
    mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-compact-message-composer__recording-bar-pause:hover .cometchat-compact-message-composer__recording-bar-pause-icon,
.cometchat-compact-message-composer__recording-bar-pause:hover .cometchat-compact-message-composer__recording-bar-pause-icon--resume {
    background: var(--cometchat-primary-color);
}

/* Pause-circle SVG icon (used while recording is active on right side) */
.cometchat-compact-message-composer__recording-bar-pause-circle-icon {
    width: 24px;
    height: 24px;
    display: block;
    /* Render grey to match other secondary icons; use CSS mask so the color token applies */
    -webkit-mask: url("/cometchat/assets/pause_circle.svg") center center no-repeat;
    mask: url("/cometchat/assets/pause_circle.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: var(--cometchat-icon-color-secondary);
    transition: background 0.15s ease;
}

.cometchat-compact-message-composer__recording-bar-pause:hover .cometchat-compact-message-composer__recording-bar-pause-circle-icon {
    background: var(--cometchat-primary-color);
}

/* Send button - REMOVED from recording bar (uses main composer send button) */

/* Playback button (replaces red dot when recording is paused) */
.cometchat-compact-message-composer__recording-bar-playback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: var(--cometchat-margin-4, 16px);
}

.cometchat-compact-message-composer__recording-bar-playback-icon {
    width: 24px;
    height: 24px;
    background: var(--cometchat-primary-color);
    -webkit-mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
    mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-compact-message-composer__recording-bar-playback-icon--pause {
    -webkit-mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Grey mic icon shown when recording is paused (idle, not playing back) */
.cometchat-compact-message-composer__recording-bar-mic-icon {
    width: 24px;
    height: 24px;
    background: var(--cometchat-icon-color-secondary);
    -webkit-mask: url("/cometchat/assets/mic.svg") center center no-repeat;
    mask: url("/cometchat/assets/mic.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-compact-message-composer__recording-bar-playback:hover .cometchat-compact-message-composer__recording-bar-playback-icon,
.cometchat-compact-message-composer__recording-bar-playback:hover .cometchat-compact-message-composer__recording-bar-playback-icon--pause,
.cometchat-compact-message-composer__recording-bar-playback:hover .cometchat-compact-message-composer__recording-bar-mic-icon {
    background: var(--cometchat-primary-color);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cometchat-compact-message-composer__recording-bar-indicator {
        animation: none;
    }
}

/* ============================================
   Mobile: Recording bar full width
   ============================================ */
@media (max-width: 768px) {
    /* When recording is active, hide left/right sections so the bar owns the full row */
    .cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__left,
    .cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__right {
        display: none;
    }

    /* Center section stretches to fill the entire row */
    .cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__center {
        flex: 1;
        width: 100%;
        justify-content: flex-start;
    }

    /* Recording bar stretches full width on mobile, no right-align */
    .cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__recording-bar {
        flex: 1;
        width: 100%;
        margin-left: 0;
    }

    /* Waveform stretches to fill available space on mobile */
    .cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__recording-bar-waveform {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    /* Pause/mic button must not grow on mobile */
    .cometchat-compact-message-composer__row--recording .cometchat-compact-message-composer__recording-bar-pause {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }

    /* Send button inside recording bar on mobile — fixed size, no stretching */
    .cometchat-compact-message-composer__recording-bar .cometchat-compact-message-composer__send-button {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        min-width: 32px;
        padding: var(--cometchat-padding-1, 4px);
        border-radius: var(--cometchat-radius-max);
        background: var(--cometchat-primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .cometchat-compact-message-composer__recording-bar .cometchat-compact-message-composer__send-button .cometchat-button {
        width: 24px;
        height: 24px;
        background: transparent;
        padding: 0;
    }

    .cometchat-compact-message-composer__recording-bar .cometchat-compact-message-composer__send-button .cometchat-button__icon {
        width: 24px;
        height: 24px;
        background: var(--cometchat-static-white);
    }

    .cometchat-compact-message-composer__recording-bar .cometchat-compact-message-composer__send-button .cometchat-button__icon:hover {
        background: var(--cometchat-static-white);
    }
}

/* Unblock button styling */
.cometchat-compact-message-composer__unblock-button {
    color: var(--cometchat-neutral-color-900);
    font: var(--cometchat-font-body-regular);
    cursor: pointer;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-dark);
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
}

/* Hide scrollbar utility classes */
.cometchat-compact-message-composer-hide-scrollbar .cometchat-action-sheet::-webkit-scrollbar,
.cometchat-compact-message-composer-hide-scrollbar .cometchat-action-sheet::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-compact-message-composer-hide-scrollbar .cometchat-emoji-keyboard__list::-webkit-scrollbar,
.cometchat-compact-message-composer-hide-scrollbar .cometchat-emoji-keyboard__list::-webkit-scrollbar-thumb,
.cometchat-compact-message-composer-hide-scrollbar .cometchat-emoji-keyboard__tabs::-webkit-scrollbar,
.cometchat-compact-message-composer-hide-scrollbar .cometchat-emoji-keyboard__tabs::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-compact-message-composer-hide-scrollbar .cometchat-sticker-keyboard__tabs::-webkit-scrollbar {
    background: transparent;
    height: 0;
    width: 0;
}

.cometchat-compact-message-composer-hide-scrollbar .cometchat-sticker-keyboard__tabs::-webkit-scrollbar-thumb {
    background: var(--cometchat-background-color-04);
    border-radius: var(--cometchat-radius-2, 8px);
}

.cometchat-compact-message-composer-hide-scrollbar .cometchat-sticker-keyboard__list::-webkit-scrollbar {
    background: transparent;
    width: 0;
}

.cometchat-compact-message-composer-hide-scrollbar .cometchat-sticker-keyboard__list::-webkit-scrollbar-thumb {
    background: var(--cometchat-background-color-04);
    border-radius: var(--cometchat-radius-2, 8px);
}

/* Remove vertical padding when code block is active (pre element has its own padding) */
.cometchat-compact-message-composer__input--code-block {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
}

/* Mobile input styling */
.cometchat-compact-message-composer__input-mobile {
    font: var(--cometchat-font-heading4-regular);
}


/* ============================================
   Rich Text Formatting Styles
   ============================================ */

/* Bold text styling */
.cometchat-compact-message-composer__input .cometchat-rich-text-bold,
.cometchat-compact-message-composer__input strong,
.cometchat-compact-message-composer__input b {
    font-weight: 700;
}

/* Italic text styling */
.cometchat-compact-message-composer__input .cometchat-rich-text-italic,
.cometchat-compact-message-composer__input em,
.cometchat-compact-message-composer__input i {
    font-style: italic;
}

/* Underline text styling */
.cometchat-compact-message-composer__input .cometchat-rich-text-underline,
.cometchat-compact-message-composer__input u {
    text-decoration: underline;
}

/* Strikethrough text styling */
.cometchat-compact-message-composer__input .cometchat-rich-text-strikethrough,
.cometchat-compact-message-composer__input s,
.cometchat-compact-message-composer__input strike,
.cometchat-compact-message-composer__input del {
    text-decoration: line-through;
}

/* Combined underline and strikethrough */
.cometchat-compact-message-composer__input u s,
.cometchat-compact-message-composer__input u strike,
.cometchat-compact-message-composer__input u del,
.cometchat-compact-message-composer__input s u,
.cometchat-compact-message-composer__input strike u,
.cometchat-compact-message-composer__input del u {
    text-decoration: underline line-through;
}

/* List styling - remove default margin and padding */
.cometchat-compact-message-composer__input ol,
.cometchat-compact-message-composer__input ul,
.cometchat-compact-message-composer__center ol,
.cometchat-compact-message-composer__center ul,
.cometchat .cometchat-compact-message-composer__input ol,
.cometchat .cometchat-compact-message-composer__input ul {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: var(--cometchat-padding-3, 12px) !important;
    list-style-position: outside !important;
}

.cometchat-compact-message-composer__input ol,
.cometchat-compact-message-composer__center ol,
.cometchat .cometchat-compact-message-composer__input ol {
    list-style-type: decimal !important;
}
.cometchat-compact-message-composer__input ol ol,
.cometchat-compact-message-composer__center ol ol,
.cometchat .cometchat-compact-message-composer__input ol ol {
    list-style-type: lower-alpha !important;
}
.cometchat-compact-message-composer__input ol ol ol,
.cometchat-compact-message-composer__center ol ol ol,
.cometchat .cometchat-compact-message-composer__input ol ol ol {
    list-style-type: lower-roman !important;
}

.cometchat-compact-message-composer__input ul,
.cometchat-compact-message-composer__center ul,
.cometchat .cometchat-compact-message-composer__input ul {
    list-style-type: disc !important;
}
.cometchat-compact-message-composer__input ul ul,
.cometchat-compact-message-composer__center ul ul,
.cometchat .cometchat-compact-message-composer__input ul ul {
    list-style-type: circle !important;
}
.cometchat-compact-message-composer__input ul ul ul,
.cometchat-compact-message-composer__center ul ul ul,
.cometchat .cometchat-compact-message-composer__input ul ul ul {
    list-style-type: square !important;
}

.cometchat-compact-message-composer__input li,
.cometchat-compact-message-composer__center li,
.cometchat .cometchat-compact-message-composer__input li {
    display: list-item !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Blockquote styling with left border */
.cometchat-compact-message-composer__input blockquote,
.cometchat-compact-message-composer__center blockquote,
.cometchat .cometchat-compact-message-composer__input blockquote {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: var(--cometchat-padding-3, 12px) !important;
    border-left: 4px solid var(--cometchat-border-color-default, #E8E8E8) !important;
    color: var(--cometchat-text-color-primary);
}

/* Paragraph styling - remove default margin */
.cometchat-compact-message-composer__input p,
.cometchat-compact-message-composer__center p,
.cometchat .cometchat-compact-message-composer__input p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Inline code styling */
.cometchat-compact-message-composer__input code,
.cometchat-compact-message-composer__center code,
.cometchat .cometchat-compact-message-composer__input code {
    background: var(--cometchat-background-color-03, #F5F5F5);
    color: var(--cometchat-text-color-highlight, #6852D6);
    padding: var(--cometchat-padding) var(--cometchat-padding-1);
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    font: var(--cometchat-font-caption1-regular);
    font-family: var(--cometchat-font-family);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Inline code with explicit class - monospace font via CSS variables */
.cometchat-compact-message-composer__input code.cometchat-rich-text-code-inline,
.cometchat-compact-message-composer__center code.cometchat-rich-text-code-inline,
.cometchat .cometchat-compact-message-composer__input code.cometchat-rich-text-code-inline {
    background: var(--cometchat-background-color-03, #F5F5F5);
    color: var(--cometchat-text-color-highlight, #6852D6);
    padding: var(--cometchat-padding) var(--cometchat-padding-1);
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    display: inline;
}

/* Code block styling */
.cometchat-compact-message-composer__input pre,
.cometchat-compact-message-composer__center pre,
.cometchat .cometchat-compact-message-composer__input pre {
    padding: var(--cometchat-padding-3, 12px);
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    background: var(--cometchat-background-color-02, #FAFAFA);
    margin: 0;
    overflow-x: auto;
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.cometchat-compact-message-composer__input pre code,
.cometchat-compact-message-composer__center pre code,
.cometchat .cometchat-compact-message-composer__input pre code {
    background: transparent;
    color: var(--cometchat-text-color-primary);
    padding: 0;
    border: none;
    border-radius: 0;
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

.cometchat-compact-message-composer__input pre.cometchat-rich-text-code-block code,
.cometchat-compact-message-composer__center pre.cometchat-rich-text-code-block code,
.cometchat .cometchat-compact-message-composer__input pre.cometchat-rich-text-code-block code {
    color: var(--cometchat-text-color-primary);
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-style: normal;
}

/* Formatting toolbar container */
.cometchat-compact-message-composer__formatting-toolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--cometchat-spacing-1, 4px);
    padding: var(--cometchat-padding-2, 8px);
    border-radius: var(--cometchat-radius-2, 8px) var(--cometchat-radius-2, 8px) 0 0;
    background: var(--cometchat-background-color-02);
    border: 1px solid var(--cometchat-border-color-light);
}

/* Formatting toolbar button */
.cometchat-compact-message-composer__formatting-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: var(--cometchat-padding-1, 4px);
    border: none;
    border-radius: var(--cometchat-radius-1, 4px);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.cometchat-compact-message-composer__formatting-button:hover {
    background: var(--cometchat-background-color-03);
}

/* Active state for formatting buttons */
.cometchat-compact-message-composer__formatting-button--active {
    background: var(--cometchat-extended-primary-color-100);
}

.cometchat-compact-message-composer__formatting-button--active:hover {
    background: var(--cometchat-extended-primary-color-200);
}

/* Formatting button icons */
.cometchat-compact-message-composer__formatting-button-icon {
    width: 16px;
    height: 16px;
    background: var(--cometchat-icon-color-secondary);
}

.cometchat-compact-message-composer__formatting-button--active .cometchat-compact-message-composer__formatting-button-icon {
    background: var(--cometchat-primary-color);
}

/* Bold icon */
.cometchat-compact-message-composer__formatting-button-icon--bold {
    -webkit-mask: url("/cometchat/assets/format_bold.svg") center center no-repeat;
    mask: url("/cometchat/assets/format_bold.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Italic icon */
.cometchat-compact-message-composer__formatting-button-icon--italic {
    -webkit-mask: url("/cometchat/assets/format_italic.svg") center center no-repeat;
    mask: url("/cometchat/assets/format_italic.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Underline icon */
.cometchat-compact-message-composer__formatting-button-icon--underline {
    -webkit-mask: url("/cometchat/assets/format_underline.svg") center center no-repeat;
    mask: url("/cometchat/assets/format_underline.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Strikethrough icon */
.cometchat-compact-message-composer__formatting-button-icon--strikethrough {
    -webkit-mask: url("/cometchat/assets/format_strikethrough.svg") center center no-repeat;
    mask: url("/cometchat/assets/format_strikethrough.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Divider between formatting button groups */
.cometchat-compact-message-composer__formatting-divider {
    width: 1px;
    height: 20px;
    background: var(--cometchat-border-color-light);
    margin: 0 var(--cometchat-spacing-1, 4px);
}

/* Link styling in input */
.cometchat-compact-message-composer__input a {
    color: var(--cometchat-primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.cometchat-compact-message-composer__input a:hover {
    text-decoration: underline;
    opacity: 0.8;
}


/* ============================================
   Mic Button Hide/Show Animation (Web + Mobile)
   ============================================ */

@keyframes cometchat-mic-slide-out {
    0% {
        opacity: 1;
        max-width: 40px;
        margin-left: 0;
    }
    100% {
        opacity: 0;
        max-width: 0;
        margin-left: calc(-1 * var(--cometchat-spacing-3, 12px));
    }
}

@keyframes cometchat-mic-slide-in {
    0% {
        opacity: 0;
        max-width: 0;
        margin-left: calc(-1 * var(--cometchat-spacing-3, 12px));
    }
    100% {
        opacity: 1;
        max-width: 40px;
        margin-left: 0;
    }
}

/* Default state: mic visible with slide-in animation */
.cometchat-compact-message-composer__voice-recording-button {
    animation: cometchat-mic-slide-in 0.25s ease forwards;
}

/* Hidden state: mic slides out to the right and collapses */
.cometchat-compact-message-composer__voice-recording-button--hidden {
    animation: cometchat-mic-slide-out 0.25s ease forwards;
    pointer-events: none;
    overflow: hidden;
}
/* Container for the confirmation dialog */
.cometchat-confirm-dialog {
    margin: 0 auto;
    width: 400px;
    box-sizing: border-box;
    display: flex;
    width: 400px;
    padding: var(--cometchat-padding-6, 24px) var(--cometchat-padding-6, 24px) var(--cometchat-padding-3, 12px) var(--cometchat-padding-6, 24px);
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-border-color-light);
    background: var(--cometchat-background-color-01);
    /* Shadow-LG */
    flex-wrap: wrap;
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

/* Title inside the confirmation dialog */
.cometchat-confirm-dialog__content-title {
    color: var(--cometchat-text-color-primary);
    text-align: center;
    font: var(--cometchat-font-heading2-medium);
    font-style: normal;
}

/* Content inside the dialog, typically descriptions and details */
.cometchat-confirm-dialog__content {
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-padding);
}

/* Description inside the dialog */
.cometchat-confirm-dialog__content-description {
    width: 100%;
    color: var(--cometchat-text-color-secondary);
    text-align: center;
    font: var(--cometchat-font-body-regular);
    font-style: normal;

}

/* Button group for the dialog */
.cometchat-confirm-dialog__button-group {
    display: flex;
    padding: var(--cometchat-padding-3, 12px) 0px;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
    width: 100%;
    overflow: hidden;
}

/* Icon wrapper for confirmation dialog */
.cometchat-confirm-dialog__icon-wrapper {
    display: flex;
    width: 80px;
    height: 80px;
    padding: var(--cometchat-padding-4);
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-background-color-02);
    flex-shrink: 1;

}

/* Styling for the confirmation icon */
.cometchat-confirm-dialog__icon-wrapper-icon {
    mask: url("/cometchat/assets/delete.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/delete.svg") center center no-repeat;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cometchat-error-color);
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Submit button inside the confirmation dialog */
.cometchat-confirm-dialog__button-group-submit .cometchat-button {
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
    background: var(--cometchat-error-color);
    border: 1px solid var(--cometchat-border-color-light);
}
.cometchat-confirm-dialog__button-group .cometchat-button{
    height: 100%;
    width: 100%;
}
/* Styling for buttons inside the dialog */
 .cometchat-confirm-dialog__button-group .cometchat-confirm-dialog__button-group-submit,
 .cometchat-confirm-dialog__button-group .cometchat-confirm-dialog__button-group-cancel{
    width: 100%;
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    font: var(--cometchat-font-button-medium);
    font-style: normal;
    cursor: pointer;
}
.cometchat-confirm-dialog__button-group-submit> .cometchat,
.cometchat-confirm-dialog__button-group-cancel> .cometchat{
    height: 100%;
    width: 100%;
}
/* Cancel button inside the confirmation dialog */
.cometchat-confirm-dialog__button-group-cancel  .cometchat-button {
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
    border: 1px solid var(--cometchat-border-color-dark);
    background: var(--cometchat-background-color-01, #FFF);
}
.cometchat-confirm-dialog__button-group-cancel  .cometchat-button .cometchat-button__text{
    color: var(--cometchat-text-color-primary);

}
.cometchat-confirm-dialog__button-group-submit  .cometchat-button .cometchat-button__text{
    color: var(--cometchat-static-white);

}
.cometchat-confirm-dialog-error-view{
    border-radius: var(--cometchat-radius-4, 12px) var(--cometchat-radius-4, 12px) 0px 0px;
   background: linear-gradient(0deg, rgba(244, 70, 73, 0.10) 0%, rgba(244, 70, 73, 0.10) 100%), var(--cometchat-background-color-01, #FFF);
   overflow: hidden;
color: var(--cometchat-error-color, #F44649);
text-overflow: ellipsis;
font:var(--cometchat-font-body-regular);
font-style: normal;
display: flex;
width: 100%;
padding: var(--cometchat-padding-2, 8px);
align-items: flex-start;
height: 48px;
margin-bottom: -16px;
justify-content: center;
}.cometchat-menu-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    background: transparent;
}

.cometchat-menu-list__main-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.cometchat-menu-list__sub-menu-list {
    display: flex;
    position: fixed;
    overflow: hidden;
    z-index: 3;
    width: 160px;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-menu-list__main-menu-item {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 4px;
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    cursor: pointer;
}

.cometchat-menu-list__sub-menu-list-item {
    display: flex;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    padding: var(--cometchat-padding-3, 12px);
    flex: 1 0 0;
    cursor: pointer;
    background: var(--cometchat-background-color-01, #FFF);
}
.cometchat-menu-list__sub-menu-list-item:hover{
    background: var(--cometchat-white-hover);
}
.cometchat-menu-list__menu {
    display: flex;
    height: 48px;
    width: 100%;
    align-items: center;
    gap: var(--cometchat-padding-2, 12px);
    align-self: stretch;
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-menu-list__main-menu-item-icon {
    display: flex;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask-size: contain;
}

.cometchat-menu-list__sub-menu-list-item-icon {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask-size: contain;
}

.cometchat-menu-list__sub-menu-item-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    text-align: left;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
    line-height: 120%;
    
}

.cometchat-menu-list__sub-menu {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.cometchat-menu-list__sub-menu-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask: url('/cometchat/assets/more_icon.svg');
    -webkit-mask-size: contain;
    cursor: pointer;
}

.cometchat-menu-list__menu-wrapper {
    display: flex;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
}
.cometchat-conversations {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  flex-shrink: 0;
  background: var(--cometchat-background-color-01, #FFF);
  position: relative;
}
.cometchat-conversations .cometchat-conversations-header{
min-height: 64px;
box-sizing: border-box;
}
.cometchat-conversations .cometchat-list__body>div:not([class]):first-child {
  display: none;
}


.cometchat-conversations .cometchat-list-item {
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  cursor: pointer;
} 

.cometchat-conversations .cometchat-list-item__body {
  padding: 0px;
  min-height: 43px;
}

.cometchat-conversations .cometchat-list-item__trailing-view{
  width: auto;
  height: 40px;
}

.cometchat-conversations .cometchat-date {
  padding: 0px;
  font: var(--cometchat-font-caption1-regular);
}

.cometchat-conversations__subtitle-receipts {
  height: 16px;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  align-self: center;  
  background:var(--cometchat-icon-color-secondary, #A1A1A1);
  flex-shrink: 0;
}


.cometchat-conversations__subtitle-receipts-sent{
  -webkit-mask: url("/cometchat/assets/conversations_sent.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_sent.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-conversations__subtitle-receipts-wait{
  -webkit-mask: url("/cometchat/assets/status_sending.svg") center center no-repeat;
  mask: url("/cometchat/assets/status_sending.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-receipts-error{
  -webkit-mask: url("/cometchat/assets/error_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/error_icon.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: var(--cometchat-error-color);
}

.cometchat-conversations__subtitle-receipts-delivered{
  -webkit-mask: url("/cometchat/assets/conversations_delivered.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_delivered.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-conversations__subtitle-receipts-read{
  -webkit-mask: url("/cometchat/assets/conversations_read.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_read.svg") center center no-repeat;
  background: var(--cometchat-message-seen-color,#56E8A7);
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-text-wrapper {
  display: flex;
  gap: var(--cometchat-padding, 2px);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cometchat-conversations__subtitle-text-sender {
  overflow: hidden;
  color: var(--cometchat-text-color-secondary, #727272);
  text-overflow: ellipsis;
  font: var(--cometchat-font-body-medium);
  font-style: normal;
  flex-shrink:0;
 }

.cometchat-conversations__subtitle-text{
  overflow: hidden;
  color: var(--cometchat-text-color-secondary, #727272);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-body-regular);
  width: 100%; 
}

/* Inline code styling in conversation subtitle */
.cometchat-conversations__subtitle-text code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 0.9em;
  background: var(--cometchat-background-color-03);
  color: var(--cometchat-text-color-secondary);
  padding: 0 var(--cometchat-padding-1, 2px);
  border-radius: var(--cometchat-radius-1, 4px);
  border: 1px solid var(--cometchat-border-color-light);
}

/* Rich text formatting tags in conversation subtitle */
/* !important needed because the parent uses the `font` shorthand which resets font-weight/style on all descendants */
.cometchat-conversations__subtitle-text b,
.cometchat-conversations__subtitle-text strong {
  font-weight: 700 !important;
}

.cometchat-conversations__subtitle-text i,
.cometchat-conversations__subtitle-text em {
  font-style: italic !important;
}

.cometchat-conversations__subtitle-text u {
  text-decoration: underline !important;
}

.cometchat-conversations__subtitle-text s {
  text-decoration: line-through !important;
}

.cometchat-conversations__subtitle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}

.cometchat-conversations__subtitle-icon-incoming-audio-call{
  -webkit-mask: url("/cometchat/assets/conversations_missed-voice-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_missed-voice-call.svg") center center no-repeat;
  background-color: var(--cometchat-error-color,#F44649);
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-incoming-video-call{
  -webkit-mask: url("/cometchat/assets/conversations_missed-video-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_missed-video-call.svg") center center no-repeat;
  background-color: var(--cometchat-error-color,#F44649);
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-outgoing-audio-call{
  -webkit-mask: url("/cometchat/assets/conversations_outgoing-voice-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_outgoing-voice-call.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;

}

.cometchat-conversations__subtitle-icon-outgoing-video-call{
  -webkit-mask: url("/cometchat/assets/conversations_outgoing-video-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_outgoing-video-call.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-conversations__subtitle-icon-image{
  -webkit-mask: url("/cometchat/assets/conversations_image-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_image-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-file{
  -webkit-mask: url("/cometchat/assets/conversations_file-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_file-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-video{
  -webkit-mask: url("/cometchat/assets/conversations_video-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_video-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-audio{
  -webkit-mask: url("/cometchat/assets/conversations_audio-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_audio-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-poll{
  -webkit-mask: url("/cometchat/assets/conversations_poll-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_poll-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-conversations__subtitle-icon-sticker{
  -webkit-mask: url("/cometchat/assets/conversations_sticker-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_sticker-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-conversations__subtitle-icon-collaborative-document{
  -webkit-mask: url("/cometchat/assets/conversations_collaborative-document-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_collaborative-document-message.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-conversations__subtitle-icon-collaborative-whiteboard{
  -webkit-mask: url("/cometchat/assets/collaborative_whiteboard.svg") center center no-repeat;
  mask: url("/cometchat/assets/collaborative_whiteboard.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.cometchat-conversations__subtitle-icon-deleted{
  -webkit-mask: url("/cometchat/assets/conversations_delete.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_delete.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-link{
  -webkit-mask: url("/cometchat/assets/conversations_link.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_link.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-unsupported {
  -webkit-mask: url("/cometchat/assets/file_unsupported.svg") center center no-repeat;
  mask: url("/cometchat/assets/file_unsupported.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-thread {
  -webkit-mask: url("/cometchat/assets/conversations_thread.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_thread.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-conversations__subtitle-icon-none {
  display: none;
}

.cometchat-conversations__trailing-view {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-conversations__trailing-view-badge {
  display: flex;
  justify-content: flex-end;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-conversations__trailing-view-badge-count {
  display: flex;
  height: 20px;
  padding: 0px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: var(--cometchat-primary-color, #6852D6);
  overflow: hidden;
  color: var( --cometchat-static-white, #FFF);
  text-align: center;
  text-overflow: ellipsis;
  font:var(--cometchat-font-caption1-regular);
  font-style: normal;
}


.cometchat-conversations__subtitle {
  display: flex;
  gap: var(--cometchat-padding-1, 4px);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cometchat-conversations .cometchat-list-item__body-subtitle {
  width: 100%;
}

.cometchat-conversations__list-item-active .cometchat-list-item{
  background-color:var(--cometchat-white-pressed,#E8E8E8)
}

.cometchat-conversations__list-item-online .cometchat-list-item__status {
  width: 14px;
  height: 14px;
  margin-right: -12px;
  position: relative;
  top: 20px;
  right: 15px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background:  var(--cometchat-success-color,#09C26F);
  min-width: 14px;
  border: 2px solid var(--cometchat-neutral-color-50,#FFFFFF);
  display: flex;
  align-items: center;
  justify-content: center;
}


.cometchat-conversations__list-item-password .cometchat-list-item__status{
  width: 14px;
  height: 14px;
  margin-right: -14px;
  position: relative;
  top: 20px;
  right: 15px;
  border-radius: var(--cometchat-radius-max, 1000px);
  min-width: 14px;
  border: 2px solid var(--cometchat-neutral-color-50, #FFF);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cometchat-success-color,#09C26F);
}

.cometchat-conversations__list-item-private .cometchat-list-item__status{
  width: 14px;
  height: 14px;
  margin-right: -14px;
  position: relative;
  top: 20px;
  right: 15px;
  border-radius: var(--cometchat-radius-max, 1000px);
  min-width: 14px;
  border: 2px solid var(--cometchat-neutral-color-50, #FFF);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cometchat-warning-color,#FFAB00);
}

.cometchat-conversations__list-item-password .cometchat-list-item__status-icon {
  -webkit-mask: url("/cometchat/assets/lock.svg") center center no-repeat;
  mask: url("/cometchat/assets/lock.svg") center center no-repeat;
  height: 8px;
  width: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;  
  background:var(--cometchat-static-white,#FFF);
}

.cometchat-conversations__list-item-private .cometchat-list-item__status-icon {
  -webkit-mask: url("/cometchat/assets/shield.svg") center center no-repeat;
  mask: url("/cometchat/assets/shield.svg") center center no-repeat;
  height: 8px;
  width: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  background:var(--cometchat-static-white,#FFF);
}

.cometchat-conversations__trailing-view-options-delete-backdrop {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}


.cometchat-conversations__trailing-view-options .cometchat-menu-list__menu {
  background-color: transparent;
}

.cometchat-conversations__trailing-view-options .cometchat-menu-list__main-menu-item{
  background-color: transparent;
  box-shadow: none;
}

.cometchat-conversations .cometchat-list__header {
  border-bottom: none;
}
.cometchat-conversations__trailing-view-options .cometchat-menu-list__main-menu-item-icon-delete {
 -webkit-mask: url("/cometchat/assets/delete_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/delete_icon.svg") center center no-repeat;
  background: var(--cometchat-error-color,#F44649);
  width: 24px;
  height: 24px;
  -webkit-mask-size: contain;
}

.cometchat-conversations__trailing-view-options .cometchat-menu-list__sub-menu-icon {
width: 20px;
height: 20px;
background: var(--cometchat-icon-color-secondary, #A1A1A1);
}


.cometchat-conversations__trailing-view-options .cometchat-menu-list__sub-menu {
  display: flex;
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  border-radius: var(--cometchat-radius-1, 4px);
  background: var( --cometchat-background-color-04, #E8E8E8);
}

.cometchat-conversations__subtitle-text .cometchat-mentions{
  border-radius: var(--cometchat-radius, 2px);
  background: rgba(104, 82, 214, 0.20);
  padding: 0px var(--cometchat-padding, 2px);

}
.cometchat-conversations__subtitle-text .cometchat-mentions-you{
  border-radius: var(--cometchat-radius, 2px);
  background: rgba(255, 171, 0, 0.20);
  padding: 0px var(--cometchat-padding, 2px);

}
.cometchat-conversations__subtitle-text .cometchat-mentions > span{ 
  color: var(--cometchat-text-color-highlight,#6852D6);
  font: var(--cometchat-font-body-regular);
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}
.cometchat-conversations__subtitle-text .cometchat-mentions-you > span{ 
  color: var(--cometchat-warning-color,#FFAB00);
  font: var(--cometchat-font-body-regular);
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}

.cometchat-conversations__subtitle-typing {
  overflow: hidden;
  color: var(--cometchat-text-color-highlight, #6852D6);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-conversations .cometchat-confirm-dialog {
  width: 320px;
}

.cometchat-conversations__empty-state-view,
.cometchat-conversations__error-state-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-conversations__empty-state-view-icon {
  -webkit-mask: url("/cometchat/assets/conversations_empty_state.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_empty_state.svg") center center no-repeat;
}


.cometchat-conversations__error-state-view-icon {
  -webkit-mask: url("/cometchat/assets/list_error_state_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/list_error_state_icon.svg") center center no-repeat;
}

.cometchat-conversations__empty-state-view-body,
.cometchat-conversations__error-state-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-conversations__empty-state-view-body-title,
.cometchat-conversations__error-state-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
  font-style: normal;
}

.cometchat-conversations__empty-state-view-body-description,
.cometchat-conversations__error-state-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-conversations__shimmer {
  width: 100%;
  height: 100%;
  background: var(--cometchat-background-color-01, #FFF);

}
.cometchat-conversations .cometchat-conversations__list-item-agent .cometchat-list-item__title-container {
  max-width: 90%;
}

.cometchat-conversations__shimmer-item {
  width: 100%;
  height: 72px;
  display: flex;
  width: 100%;
  min-width: 240px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  align-items: center;
  gap: 12px;
}

.cometchat-conversations__shimmer-item-avatar {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--cometchat-radius-max,1000px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
}

 .cometchat-conversations__shimmer-item-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-2, 8px);

}

.cometchat-conversations__shimmer-item-body-title-wrapper {
  display: flex;
  justify-content: space-between;
width: 100%;
}

.cometchat-conversations__shimmer-item-body-title {
  width: 50%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-conversations__shimmer-item-body-subtitle {
  width:100%;
  height: 12px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-conversations__shimmer-item-body-tail {
  width: 60px;
  height: 22px;
  min-height: 22px;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 10.5s infinite linear;
}
.cometchat-conversations .cometchat-menu-list__sub-menu-list-item .cometchat-menu-list__sub-menu-list-item-icon {
  display: none;
  }

.cometchat-conversations .cometchat-search-bar__input{
  cursor: pointer;
}
.cometchat-conversations .cometchat-list-item__body{
  position: relative;
}
.cometchat-conversations .cometchat-list-item__menu-view{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
.cometchat-conversations .cometchat-list-item__trailing-view-hidden {
  visibility: hidden;
  display: initial;
}
@keyframes shimmerAnimation {
    0% {
      background-position: -468px 0;
    }
  
    100% {
      background-position: 468px 0;
    }
  }
.cometchat-conversation-starter {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 8px var(--cometchat-padding-2, 8px);
  align-self: stretch;
  flex-wrap: wrap;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
}

.cometchat-conversation-starter__item {
  display: flex;
  min-height: 33px;
  height: fit-content;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
  align-items: center;
  align-content: center;
  gap: 4px var(--cometchat-padding-1, 4px);
  flex-wrap: wrap;
  border-radius: var(--cometchat-radius-max, 1000px);
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  background: var(--cometchat-background-color-01, #FFF);
  cursor: pointer;
}

.cometchat-conversation-starter__item:hover {
  background: var(--cometchat-white-hover,#FAFAFA);
  cursor: pointer;
}

.cometchat-conversation-starter__item-button {
  background-color: transparent;
  border: none;
  color: var(--cometchat-text-color-primary);
  cursor: pointer;
}

.cometchat-conversation-starter__shimmer-container {
  display: flex;
  width: 70%;
  justify-content: center;
  align-items: flex-start;
  gap: var(--cometchat-padding-2, 8px);
}


.cometchat-conversation-starter__shimmer-item {
  width: 70%;
  display: flex;
  height: 33px;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
  align-items: center;
  align-content: center;
  gap: 4px var(--cometchat-padding-1, 4px);
  align-self: stretch;
  flex-wrap: wrap;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
  background-size: 800px 104px;
  animation: shimmerAnimation 1.5s infinite linear;
}

.cometchat-conversation-starter__error-view {
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}.cometchat-conversation-summary__wrapper {
  width: 100%;
  height: 100%;
  padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
}

.cometchat-conversation-summary {
  display: flex;
  height: 100%;
  width: 100%;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-background-color-01, #FFF);
  box-shadow: 0px 12px 16px -4px rgb(16 24 40 / 2%), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-conversation-summary__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.cometchat-conversation-summary__header-title {
  overflow: hidden;
  color: var(--cometchat-text-color-primary, #141414);
  text-overflow: ellipsis;
  font: var(--cometchat-font-body-medium);
  font-style: normal;
}

.cometchat-conversation-summary__header-close-button {
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  background-color: var(--cometchat-icon-color-primary, #141414);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cometchat-conversation-summary__body {
  width: 100%;
  flex: 1 0 0;
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  text-align: left;
}

.cometchat-conversation-summary__shimmer {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-conversation-summary__shimmer-item {
  width: 100%;
  display: flex;
  height: 14px;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
  align-items: center;
  align-content: center;
  gap: 4px var(--cometchat-padding-1, 4px);
  align-self: stretch;
  flex-wrap: wrap;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
  background-size: 800px 104px;
  /* Increase background size for smooth animation */
  animation: shimmerAnimation 1.5s infinite linear;
  /* Add animation properties */
}

.cometchat-conversation-summary__shimmer .cometchat-conversation-summary__shimmer-item:last-child {
  width: 70%;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.cometchat-conversation-summary__shimmer-item {
  background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
  background-size: 800px 104px;
  /* Consistent background size for animation */
  animation: shimmerAnimation 1.5s infinite linear;
  /* Apply shimmer animation */
}


.cometchat-conversation-summary__error-view,
.cometchat-conversation-summary__empty-view {
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}.cometchat-date {
    display: inline;
    font: var(--cometchat-font-caption2-regular);
    color: var(--cometchat-neutral-color-600);
    background: transparent;
    text-align: center;
    font-style: normal;
    padding: 3px 10px;
}.cometchat-delete-bubble {
    display: flex;
    padding: var(--cometchat-padding-2, 8px);
    flex-direction: column;
    align-items: flex-end;
    border-radius: var(--cometchat-radius-3, 12px);
    max-width: 270px;
}

.cometchat-delete-bubble-outgoing {
    background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-delete-bubble-incoming {
    background: var(--cometchat-neutral-color-300, #383838);
}

.cometchat-delete-bubble__body {
    display: flex;
    padding: 0px;
    justify-content: flex-end;
    align-items: flex-start;
    gap: var(--cometchat-padding-1, 4px);
    border-radius: 0px;
}

.cometchat-delete-bubble__icon {
    display: flex;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    mask: url("/cometchat/assets/message_delete.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/message_delete.svg") center center no-repeat;
    background: var(--cometchat-primary-button-icon, #FFFFFF);
    mask-size: contain;
    -webkit-mask-size: contain;
}

.cometchat-delete-bubble-incoming .cometchat-delete-bubble__icon {
    background: var(--cometchat-neutral-color-600, #727272);
}

.cometchat-delete-bubble-outgoing .cometchat-delete-bubble__icon {
    background: var(--cometchat-static-white, #FFF);
}

.cometchat-delete-bubble__text {
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
    text-align: left;
}

.cometchat-delete-bubble-outgoing .cometchat-delete-bubble__text {
    color: var(--cometchat-static-white, #FFF);
}

.cometchat-delete-bubble-incoming .cometchat-delete-bubble__text {
    color: var(--cometchat-neutral-color-600, #989898);
}.cometchat-document-bubble {
    display: flex;
    width: 240px;
    flex-direction: column;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-1, 4px) 0px var(--cometchat-padding-1, 4px);
    gap: 0px;
    border-radius: var(--cometchat-radius-3, 12px);
    max-width: 240px;

}

.cometchat-document-bubble-incoming {
    background: var(--cometchat-neutral-color-300, #E8E8E8);
}

.cometchat-document-bubble-outgoing {
    background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-document-bubble__body {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) 0px var(--cometchat-padding-2, 8px) 0px;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    align-self: stretch;
    border-radius: var(--cometchat-radius-3, 12px);
}

.cometchat-document-bubble__banner-image {
    border-radius: var(--cometchat-radius-2, 8px);
}

.cometchat-document-bubble__banner-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: var(--cometchat-radius-2, 8px);
}

.cometchat-document-bubble__body-content {
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-padding, 2px);
}

.cometchat-document-bubble__body-content-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-medium);
    font-style: normal;
    line-height: 120%;
    text-align: left;
}

.cometchat-document-bubble-incoming .cometchat-document-bubble__body-content-name {
    color: var(--cometchat-text-color-primary, #141414);
}

.cometchat-document-bubble-outgoing .cometchat-document-bubble__body-content-name {
    color: var(--cometchat-static-white, #FFF);
}

.cometchat-document-bubble__body-content-description {
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--cometchat-font-caption2-regular);
    font-style: normal;
    line-height: 120%;
}

.cometchat-document-bubble-incoming .cometchat-document-bubble__body-content-description {
    color: var(--cometchat-neutral-color-600, #727272);
}

.cometchat-document-bubble-outgoing .cometchat-document-bubble__body-content-description {
    color: var(--cometchat-static-white, #FFF);
}

.cometchat-document-bubble__body-icon {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
}

.cometchat-collaborative-document .cometchat-document-bubble__body-icon {
    -webkit-mask: url("/cometchat/assets/collaborative_document_fill.svg")center center no-repeat;
    mask: url("/cometchat/assets/collaborative_document_fill.svg") center center no-repeat;
}

.cometchat-collaborative-whiteboard .cometchat-document-bubble__body-icon {
    -webkit-mask: url("/cometchat/assets/collaborative_whiteboard_fill.svg")center center no-repeat;
    mask: url("/cometchat/assets/collaborative_whiteboard_fill.svg") center center no-repeat;
}

.cometchat-document-bubble-incoming .cometchat-document-bubble__body-icon {
    background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-document-bubble-outgoing .cometchat-document-bubble__body-icon {
    background: var(--cometchat-static-white, #FFF);
}

.cometchat-document-bubble__button {
    display: flex;
    height: 40px;
    padding: var(--cometchat-padding-5, 20px);
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
    font: var(--cometchat-font-button-medium);
    font-style: normal;
    line-height: 120%;
    cursor: pointer;
}

.cometchat-document-bubble-incoming .cometchat-document-bubble__button {
    color: var(--cometchat-primary-button-background, #6852D6);
    border-top: 1px solid var(--cometchat-border-color-dark, #DCDCDC);
}

.cometchat-document-bubble-outgoing .cometchat-document-bubble__button {
    border-top: 1px solid var(--cometchat-extended-primary-color-800, #7965DB);
    color: var(--cometchat-static-white, #FFF);
}.cometchat-dropdown {
    position: relative;
}

.cometchat-dropdown__placeholder-text {
    display: flex;
    justify-content: space-between;
    height: 36px;
    width: 100%;
    padding: var(--cometchat-padding-2, 8px);
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    background: var(--cometchat-background-color-01, #FFF);
    border: 1px solid var(--cometchat-border-color-default, #F5F5F5);
    overflow: hidden;
    color: var(--cometchat-text-color-tertiary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
    line-height: 120%;
}

.cometchat-dropdown__placeholder-text label {
    color: var(--cometchat-text-color-primary, #141414);
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-dropdown__placeholder-text::after {
    border: 1px solid var(--cometchat-border-color-highlight, #6852D6);
}

.cometchat-dropdown__arrow {
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-icon-color-primary, #6B7280);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask: url('/cometchat/assets/dropdown-arrow.svg');
    cursor: pointer;
}

.cometchat-dropdown__items {
    display: flex;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    position: relative;
    z-index: 20;
}

.cometchat-dropdown__item {
    display: flex;
    padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    align-self: stretch;
    background: var(--cometchat-background-color-01, #FFF);
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
    line-height: 120%;
}

.cometchat-dropdown__item:hover {
    border-right: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-white-hover, #FAFAFA);
    cursor: pointer;
}

.cometchat-dropdown__items-hidden {
    display: none;
}/*
   Main container for the edit preview area.
*/
.cometchat-edit-preview {
    padding: var(--cometchat-padding-2, 8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    min-height: 30px;
    height: 100%;
    width: 100%;
    border: none;
    background: var(--cometchat-background-color-03);
    border-radius: var(--cometchat-radius-1, 4px);
    box-sizing: border-box;
    gap: var(--cometchat-padding-1, 4px);
    position: relative;
}

/*
   Close button for the edit preview.
*/
.cometchat-edit-preview__close {
    mask: url("/cometchat/assets/close.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cometchat-icon-color-primary);
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: var(--cometchat-padding-2, 8px);
    right: var(--cometchat-padding-2, 8px);
    cursor: pointer;
}

/*
   Title text inside the edit preview.
*/
.cometchat-edit-preview__title {
    font: var(--cometchat-font-body-regular);
    color: var(--cometchat-text-color-primary);
    font-style: normal;
    margin: 0;
}

/*
   Subtitle text inside the edit preview, containing the actual text being edited.
*/
.cometchat-edit-preview__subtitle {
    margin: 0;
    font-style: normal;
    text-align: left;
    color: var(--cometchat-text-color-secondary);
    font: var(--cometchat-font-caption1-regular);
    word-break: break-word;
    width: 100%;
    overflow: hidden;
}.cometchat-emoji-keyboard {
    display: flex;
    width: 300px;
    height: 300px;
    overflow: hidden;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    position: absolute;
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-emoji-keyboard__tabs {
    display: flex;
    width: 100%;
    min-height: 48px;
    overflow: scroll hidden;
    padding: var(--cometchat-padding-2, 8px);
    align-items: center;
    gap: var(--cometchat-padding-2, 4px);
    border-bottom: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    cursor: pointer;
  /* Force hardware acceleration */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: scroll-position; /* Hint the browser for performance optimization */
}

.cometchat-emoji-keyboard__search {
    width: 100%;
     height: fit-content;
     padding: var(--cometchat-padding-3, 12px);
}

.cometchat-emoji-keyboard .cometchat-search-bar {
    height: 36px;
}

.cometchat-emoji-keyboard .cometchat-search-bar input,
.cometchat-emoji-keyboard .cometchat-search-bar input::placeholder {
    font: var(--cometchat-font-body-regular, 700 14px Roboto);
}

.cometchat-emoji-keyboard__list .cometchat-search {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: var(--cometchat-radius-max, 1000px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-03, #F5F5F5);
}

.cometchat-emoji-keyboard__list-content {
    display: contents;
}

.cometchat-emoji-keyboard__emoji-list {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: var(--cometchat-spacing-2, 8px);
}

.cometchat-emoji-keyboard__list-item {
    font-size: 24px;
    cursor: pointer;
    border-radius: var(--cometchat-radius-2, 8px);
    display: flex;
    justify-content: center;
    text-align: center;
    height: 32px;
    width: 32px;
}

.cometchat-emoji-keyboard__list-item:hover{
    background-color: var(--cometchat-background-color-03, #F5F5F5);
}

.cometchat-emoji-keyboard__list-item:active{
    background-color: var(--cometchat-background-color-04, #E8E8E8);
}

.cometchat-emoji-keyboard__list-title {
    color: var(--cometchat-text-color-tertiary, #A1A1A1);
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
    line-height: 120%;
    text-align: left;
}

.cometchat-emoji-keyboard__tab-active {
    background: var(--cometchat-extended-primary-color-100, #EDEAFA);
}

.cometchat-emoji-keyboard__tab {
    display: flex;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12.8px;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-2, 8px);
}



.cometchat-emoji-keyboard__list {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    display: flex;
    padding: 0px var(--cometchat-padding-3, 12px) var(--cometchat-padding-3, 12px);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
}

.cometchat-emoji-keyboard__tab-icon {
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    mask-size: contain;
    -webkit-mask-size: contain;
    width: 17px;
    height: 17px;
}

.cometchat-emoji-keyboard__tab-active .cometchat-emoji-keyboard__tab-icon {
    background: var(--cometchat-icon-color-highlight, #6852D6);
}


[data-theme="dark"] .cometchat-emoji-keyboard .cometchat-emoji-keyboard__list-item {
    color: var( --cometchat-neutral-color-500);
}.cometchat-error-view {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--cometchat-padding-4);
  box-sizing: border-box;
  border-radius: var(--cometchat-radius-2);
  border: 1px solid var(--cometchat-border-color-default);
  background: var(--cometchat-error-color-100);
  width: fit-content;
  margin-top: var(--cometchat-margin-2);
}
.cometchat-error-view__message {
  font: var(--cometchat-font-caption1-regular);
  text-align: left;
  line-height: 1.4;
  margin: 0;
  word-wrap: break-word;
  hyphens: auto;
  color: var(--cometchat-error-color);
}
/* Main file bubble container with flex layout, gap, and background settings */
.cometchat-file-bubble {
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
    gap: var(--cometchat-padding-2, 8px);
    border: none;
    border-radius: none;
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-2, 8px) var(--cometchat-padding-2, 8px) var(--cometchat-padding-1, 4px);
    flex-direction: row;
    align-items: center;
    border-radius: var(--cometchat-radius-3, 12px);
    align-self: stretch;
    width: 240px;
    max-width: 240px;
}
.cometchat-file-bubble>div:not([class]) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    flex: 1 0 0;
    width: inherit;
    overflow: hidden;
}
/* Body section of the file bubble with text alignment and overflow settings */
.cometchat-file-bubble__body {
    word-wrap: break-word;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-padding);
}

/* Styling for the name inside the body */
.cometchat-file-bubble__body-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-medium);
    font-style: normal;
}

/* Styling for file details section (file size, type, etc.) */
.cometchat-file-bubble__body-details {
    overflow: hidden;
    text-overflow: ellipsis;
    font: var(--cometchat-font-caption2-regular);
    font-style: normal;

}

/* Leading view section (e.g., file icon) with flex settings */
.cometchat-file-bubble__leading-view {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: fit-content;
}

/* Download icon for the tail view (right side of the file bubble) */
.cometchat-file-bubble__tail-view-download {
    mask: url("/cometchat/assets/download.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/download.svg") center center no-repeat;
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background: var(--cometchat-primary-color);
    cursor: pointer;
}

/* Adjustments for incoming file bubble name text color */
.cometchat-file-bubble-incoming .cometchat-file-bubble__body-name {
    color: var(--cometchat-neutral-color-900);
}

/* Adjustments for incoming file bubble details text color */
.cometchat-file-bubble-incoming .cometchat-file-bubble__body-details {
    color: var(--cometchat-neutral-color-600);
}

/* Adjustments for outgoing file bubble name text color */
.cometchat-file-bubble-outgoing .cometchat-file-bubble__body-name {
    color: var(--cometchat-static-white);
}

/* Adjustments for outgoing file bubble details text color */
.cometchat-file-bubble-outgoing .cometchat-file-bubble__body-details {
    color: var(--cometchat-static-white);
}

/* Background color for incoming file bubbles */
.cometchat-file-bubble-incoming {
    background: var(--cometchat-neutral-color-300);
}

/* Background color for outgoing file bubbles */
.cometchat-file-bubble-outgoing {
    background: var(--cometchat-primary-color);
}


/* Progress circle container with a fixed width and height */
.cometchat-file-bubble__tail-view-download-progress {
    position: relative;
    width: 20px;
    height: 20px;
}

/* SVG within the download progress container with rotation */
.cometchat-file-bubble__tail-view-download-progress svg {
    width: 20px;
    height: 20px;
    transform: rotate(-90deg);
}

/* Close icon in the progress view to stop/cancel download */
.cometchat-file-bubble__tail-view-download-stop {
    mask: url("/cometchat/assets/close.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
    background: var(--cometchat-primary-color);
    display: flex;
    width: 12px;
    height: 12px;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-mask-size: contain;
    mask-size: contain;
    cursor: pointer;
}

/* Background circle for the download progress */
circle.cometchat-file-bubble__tail-view-download-progress-background {
    stroke: var(--cometchat-primary-color);
    stroke-dasharray: 113 113;
    stroke-width: 2;
    fill: none;
    opacity: .2;
}

/* Foreground circle that indicates download progress */
circle.cometchat-file-bubble__tail-view-download-progress-foreground {
    stroke: var(--cometchat-primary-color);
    stroke-dasharray: 0 113;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
}

/* Tail view download button for outgoing file bubble */
.cometchat-file-bubble-outgoing .cometchat-file-bubble__tail-view-download {
    background: var(--cometchat-static-white);
}

/* Background circle for download progress in outgoing bubble */
.cometchat-file-bubble-outgoing circle.cometchat-file-bubble__tail-view-download-progress-background {
    stroke: var(--cometchat-static-white);
    opacity: .2;
}

/* Foreground circle for download progress in outgoing bubble */
.cometchat-file-bubble-outgoing circle.cometchat-file-bubble__tail-view-download-progress-foreground {
    stroke: var(--cometchat-static-white);
}

/* Stop download icon for outgoing file bubble */
.cometchat-file-bubble-outgoing .cometchat-file-bubble__tail-view-download-stop {
    background: var(--cometchat-static-white);
}.cometchat-flag-message-dialog {
  max-width: 400px;
  width: 100%;
  height: fit-content;
  max-height: 100%;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-5);
  border: 1px solid var(--cometchat-border-color-light);
  background: var(--cometchat-background-color-01);
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  overflow: hidden;
}

.cometchat-flag-message-dialog button {
  cursor: pointer;
}

.cometchat-flag-message-dialog__header {
  padding: var(--cometchat-padding-4) var(--cometchat-padding-4);
  border-bottom: 1px solid var(--cometchat-border-color-light);
  border-left: 1px solid var(--cometchat-border-color-light);
  background: var(--cometchat-background-color-01);
}

.cometchat-flag-message-dialog__header-main {
  display: flex;
  margin-bottom: var(--cometchat-padding-2);
  align-items: center;
  gap: var(--cometchat-padding-3);
  align-self: stretch;
}

.cometchat-flag-message-dialog__body {
  width: calc(100% - var(--cometchat-padding-5) * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.cometchat-flag-message-dialog__header-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0px;
  flex: 1 0 0;
  overflow: hidden;
  color: var(--cometchat-text-color-primary);
  text-overflow: ellipsis;
  font: var(--cometchat-font-heading2-medium);
}

.cometchat-flag-message-dialog__header-subtitle {
  text-align: left;
  overflow: hidden;
  color: var(--cometchat-neutral-color-600);
  text-overflow: ellipsis;
  font: var(--cometchat-font-body-regular);
}

.cometchat-flag-message-dialog__reasons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  padding: var(--cometchat-padding-4) 0 0 0;
}

.cometchat-flag-message-dialog__reason {
  color: var(--cometchat-text-color-primary);
  background-color: var(--cometchat-background-color-02);
  border: 1px solid var(--cometchat-border-color-default);
  border-radius: 16px;
  cursor: pointer;
  font: var(--cometchat-font-body-regular);
  padding: 4px 12px;
}

.cometchat-flag-message-dialog__reason:hover {
  background-color: var(--cometchat-neutral-color-200);
}

.cometchat-flag-message-dialog__reasons .cometchat-flag-message-dialog__reason-selected {
  color: var(--cometchat-text-color-highlight);
  background-color: var(--cometchat-extended-primary-color-100);
  border-color: var(--cometchat-extended-primary-color-200);
}

.cometchat-flag-message-dialog__remark {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-2);
  align-items: flex-start;
  margin-top: var(--cometchat-margin-6)
}

.cometchat-flag-message-dialog__remark-label {
  text-align: left;
  font: var(--cometchat-font-body-medium);
  color: var(--cometchat-text-color-primary);
}

.cometchat-flag-message-dialog__remark-label span {
  color: var(--cometchat-text-color-tertiary);
  font: var(--cometchat-font-body-regular);
}

.cometchat-flag-message-dialog__remark-input {
  resize: none;
  width: 100%;
  overflow: auto;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  border: 1px solid var(--cometchat-border-color-light);
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-background-color-02);
  color: var(--cometchat-text-color-primary);
  font: var(--cometchat-font-body-regular);
  padding: var(--cometchat-padding-2);
  caret-color: var(--cometchat-text-color-primary);
}

.cometchat-flag-message-dialog__remark-input:focus {
  outline: none;
}

.cometchat-flag-message-dialog__remark-input::placeholder {
  color: var(--cometchat-text-color-tertiary);
}

.cometchat-flag-message-dialog__error{
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font: var(--cometchat-font-body-regular);
  color: var(--cometchat-error-color);
  padding: var(--cometchat-padding-2) 0 var(--cometchat-padding-4) 0;
}

.cometchat-flag-message-dialog__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--cometchat-padding-3);
  padding: 0 0 var(--cometchat-padding-5) 0;
}

.cometchat-flag-message-dialog__actions-item{
  width: 100%;
}

.cometchat-flag-message-dialog__actions .cometchat:has(> .cometchat-button) {
  width: 100%;
  height: 40px;
  border: none;
}

.cometchat-flag-message-dialog__actions .cometchat-button {
  width: 100%;
  border-radius: var(--cometchat-radius-2, 8px);
  font: var(--cometchat-font-body-medium);
}
.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-cancel .cometchat-button {
  background-color: var(--cometchat-background-color-01);
  border: 1px solid var(--cometchat-border-color-dark);
}
.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-cancel .cometchat-button__text {
  color: var(--cometchat-text-color-primary);
}

.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-submit .cometchat-button__text {
  color: var(--cometchat-static-white);
}

.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-submit .cometchat-button:disabled{
  background-color: var(--cometchat-neutral-color-300);
  border-color: var(--cometchat-neutral-color-300);
  cursor: not-allowed;
}

.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-submit .cometchat-button:has(.cometchat-button__loading-view) {
  background: var(--cometchat-primary-button-background, #6852D6);
}

.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-submit .cometchat-button:disabled .cometchat-button__text{
  color: var(--cometchat-neutral-color-50);
}

.cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-submit .cometchat-button:disabled .cometchat-button__icon, .cometchat-flag-message-dialog__actions .cometchat-flag-message-dialog__actions-submit .cometchat-button:disabled .cometchat-button__text{
  cursor: not-allowed;
}

.cometchat-flag-message-dialog__header-close .cometchat-button {
  height: 24px;
  width: 24px;
  padding: 0px;
  gap: 0px;
  background: transparent;
}

@media (max-width: 420px) {
  .cometchat-flag-message-dialog {
    width: 95%;
  }
}/* CometChatFormattingToolbar - formatting toolbar styles */

/* Base toolbar container */
.cometchat-formatting-toolbar {
  display: flex;
  align-items: center;
  gap: var(--cometchat-padding-4, 16px);
  padding: 0;
  background: var(--cometchat-background-color-02);
  border-radius: 0;
  font-family: var(--cometchat-font-family);
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.cometchat-formatting-toolbar::-webkit-scrollbar {
  display: none;
}

/* Toolbar button base styles */
.cometchat-formatting-toolbar__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: var(--cometchat-radius-1);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
  flex-shrink: 0;
}

/* Override CometChatButton styles for toolbar buttons */
.cometchat-formatting-toolbar__button .cometchat {
  width: 100%;
  height: 100%;
}

.cometchat-formatting-toolbar__button .cometchat-button {
  width: 100%;
  height: 100%;
  min-width: unset;
  min-height: unset;
  padding: 0;
  background: transparent;
  border-radius: var(--cometchat-radius-1);
}

.cometchat-formatting-toolbar__button .cometchat-button:hover {
  background: transparent;
}

.cometchat-formatting-toolbar__button .cometchat-button:active {
  background: transparent;
}

.cometchat-formatting-toolbar__button .cometchat-button__icon-default {
  width: 20px;
  height: 20px;
  background-color: var(--cometchat-icon-color-secondary);
}

.cometchat-formatting-toolbar__button:hover .cometchat-button__icon-default {
  background-color: var(--cometchat-icon-color-primary);
}

/* Button icon styling */
.cometchat-formatting-toolbar__button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: 0.6;
}

/* Button hover state */
.cometchat-formatting-toolbar__button:hover img {
  filter: brightness(0) saturate(100%);
  opacity: 1;
}

/* Button active/pressed state */
.cometchat-formatting-toolbar__button--active {
  border-radius: var(--cometchat-radius-1, 4px);
  background: var(--cometchat-background-color-04);
}

.cometchat-formatting-toolbar__button--active .cometchat-button__icon-default {
  background-color: var(--cometchat-icon-color-primary);
}

.cometchat-formatting-toolbar__button--active img {
  opacity: 1;
  filter: brightness(0) saturate(100%);
}

/* Button disabled state */
.cometchat-formatting-toolbar__button--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.cometchat-formatting-toolbar__button--disabled:hover {
  background: transparent;
}

.cometchat-formatting-toolbar__button--disabled img {
  opacity: 0.4;
}

/* Button focus state for accessibility */
.cometchat-formatting-toolbar__button:focus {
  outline: 2px solid var(--cometchat-border-color-highlight);
  outline-offset: 1px;
}

.cometchat-formatting-toolbar__button:focus:not(:focus-visible) {
  outline: none;
}

/* Separator between button groups */
.cometchat-formatting-toolbar__separator {
  width: 1px;
  height: 20px;
  background: var(--cometchat-border-color-default);
  margin: 0 var(--cometchat-margin-1, 4px);
  flex-shrink: 0;
}

/* Floating toolbar modifier */
.cometchat-formatting-toolbar--floating {
  position: fixed;
  z-index: 1000;
  transform: translateX(-50%);
  background: var(--cometchat-background-color-02);
  border-radius: var(--cometchat-radius-2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--cometchat-border-color-light);
  width: auto;
  padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
  gap: var(--cometchat-spacing-1, 4px);
}

/* Compact buttons in floating toolbar */
.cometchat-formatting-toolbar--floating .cometchat-formatting-toolbar__button {
  width: 22px;
  height: 22px;
}

.cometchat-formatting-toolbar--floating .cometchat-formatting-toolbar__button img {
  width: 16px;
  height: 16px;
}

.cometchat-formatting-toolbar--floating .cometchat-formatting-toolbar__separator {
  height: 16px;
  margin: 0 var(--cometchat-margin-1, 4px);
}

/* Link input popover container */
.cometchat-formatting-toolbar__link-input {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: var(--cometchat-margin-2, 8px);
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-spacing-2, 8px);
  padding: var(--cometchat-padding-3, 12px);
  background: var(--cometchat-background-color-01);
  border: 1px solid var(--cometchat-border-color-default);
  border-radius: var(--cometchat-radius-2, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  z-index: 1001;
}

/* Link input field */
.cometchat-formatting-toolbar__link-input input {
  width: 100%;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
  border: 1px solid var(--cometchat-border-color-default);
  border-radius: var(--cometchat-radius-1, 4px);
  background: var(--cometchat-background-color-01);
  color: var(--cometchat-text-color-primary);
  font: var(--cometchat-font-body-regular);
  outline: none;
  transition: border-color 0.15s ease;
}

.cometchat-formatting-toolbar__link-input input:focus {
  border-color: var(--cometchat-border-color-highlight);
}

.cometchat-formatting-toolbar__link-input input::placeholder {
  color: var(--cometchat-text-color-tertiary);
}

/* Link input error message */
.cometchat-formatting-toolbar__link-input-error {
  color: var(--cometchat-error-color);
  font: var(--cometchat-font-caption1-regular);
}

/* Link input action buttons container */
.cometchat-formatting-toolbar__link-input-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--cometchat-spacing-2, 8px);
}

/* Override CometChatButton styles for link dialog buttons */
.cometchat-formatting-toolbar__link-input-button .cometchat-button {
  width: auto;
  min-width: 80px;
  height: 32px;
  padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-3, 12px);
}

.cometchat-formatting-toolbar__link-input-button--primary .cometchat-button {
  background: var(--cometchat-primary-button-background);
}

.cometchat-formatting-toolbar__link-input-button--primary .cometchat-button:hover {
  background: var(--cometchat-extended-primary-color-800);
}

.cometchat-formatting-toolbar__link-input-button:not(.cometchat-formatting-toolbar__link-input-button--primary) .cometchat-button {
  background: var(--cometchat-background-color-01);
  border: 1px solid var(--cometchat-border-color-default);
}

.cometchat-formatting-toolbar__link-input-button:not(.cometchat-formatting-toolbar__link-input-button--primary) .cometchat-button:hover {
  background: var(--cometchat-background-color-02);
}

.cometchat-formatting-toolbar__link-input-button:not(.cometchat-formatting-toolbar__link-input-button--primary) .cometchat-button__text {
  color: var(--cometchat-text-color-primary);
}

/* Link input buttons */
.cometchat-formatting-toolbar__link-input-button {
  padding: 0;
  border: none;
  border-radius: var(--cometchat-radius-1, 4px);
  background: transparent;
}
.cometchat-fullscreen-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #141414CC;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.cometchat-fullscreen-viewer__header {
  width:fit-content;
  position: absolute;
  left: 10px;
  top: 0px;
}

.cometchat-fullscreen-viewer .cometchat-fullscreen-viewer__header-item .cometchat-list-item {
  background-color: transparent;
}

.cometchat-fullscreen-viewer .cometchat-fullscreen-viewer__header-item .cometchat-avatar img {
  width: 100%;
  height: 100%;
}

.cometchat-fullscreen-viewer .cometchat-fullscreen-viewer__header-item .cometchat-list-item__body-title {
  overflow: hidden;
  color: var(--cometchat-static-white, #FFF);
  text-overflow: ellipsis;
  font: var(--cometchat-font-heading4-medium);
  font-style: normal;
}

.cometchat-fullscreen-viewer .cometchat-fullscreen-viewer__header-item .cometchat-list-item__body-subtitle  {
  overflow: hidden;
  color: var(--cometchat-text-color-tertiary, #A1A1A1);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-caption1-regular);
}

.cometchat-fullscreen-viewer__body-image {
  max-width: 400px;
  max-height: 600px;
  flex-shrink: 0;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-fullscreen-viewer__close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  mask-repeat: no-repeat;
  background-color: var(--cometchat-primary-button-icon, #FFFFFF);
  height: 32px;
  width: 32px;
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
}


.cometchat-fullscreen-viewer__body-download-progress {
  position: relative;
  width: 100px;
  height: 100px;
}

.cometchat-fullscreen-viewer__body-download-progress svg {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
}

circle.cometchat-fullscreen-viewer__body-download-progress-background {
  stroke: var(--cometchat-static-white);
  stroke-dasharray: 113 113;
  stroke-width: 2;
  fill: none;
  opacity: .2;
}

circle.cometchat-fullscreen-viewer__body-download-progress-foreground {
  stroke: var(--cometchat-static-white);
  stroke-dasharray: 0 113;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.cometchat-group-members {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  flex-shrink: 0;
  background: var(--cometchat-background-color-01, #fff);
}

.cometchat-group-members__backdrop {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}


.cometchat-group-members-hide-scrollbar .cometchat-list__body::-webkit-scrollbar {
  background: transparent;
  height: 0px;
  width: 0px;
}

.cometchat-group-members-hide-scrollbar .cometchat-list__body::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 8px;
}

.cometchat-group-members .cometchat-group-members__trailing-view-options {
  display: flex;
  padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-3, 12px);
  justify-content: center;
  align-items: center;
  gap: var(--cometchat-padding-5, 20px);
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-extended-primary-color-100, #edeafa);
  overflow: hidden;
  color: var(--cometchat-text-color-highlight, #6852d6);
  text-overflow: ellipsis;
  font: var(--cometchat-font-caption1-regular);
  font-style: normal;
  text-transform: capitalize;
}

.cometchat-group-members .cometchat-group-members__trailing-view-options-admin {
  border: 1px solid var(--cometchat-border-color-highlight, #6852D6);
}

.cometchat-group-members .cometchat-group-members__trailing-view-options-owner {
  color: var(--cometchat-static-white, #F9F8FD);
  background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-group-members .cometchat-group-members__trailing-view-options-participant {
  display: none;
}

.cometchat-group-members .cometchat-list-item__trailing-view {
  width: auto;
  height: fit-content;
}

.cometchat-group-members .cometchat-menu-list__sub-menu-list-item-icon {
  display: none;
}

.cometchat-group-members .cometchat-menu-list__sub-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  height: 16px;
  width: 16px;
  -webkit-mask: url("/cometchat/assets/dropdown-arrow.svg") center center no-repeat;
  mask: url("/cometchat/assets/dropdown-arrow.svg") center center no-repeat;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
}

.cometchat-group-members .cometchat-menu-list__sub-menu-list {
  border-radius: var(--cometchat-radius-2, 8px);
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  background: var(--cometchat-background-color-01, #FFF);
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-group-members .cometchat-menu-list__sub-menu-list :hover {
  background: var(--cometchat-background-color-02, #fafafa);
}

.cometchat-group-members__empty-state-view {
  display: flex;
  flex-direction: column;
}

.cometchat-group-members__empty-state-view,
.cometchat-group-members__error-state-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #fff);
}

.cometchat-group-members__empty-state-view-body,
.cometchat-group-members__error-state-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-group-members__empty-state-view-body-title,
.cometchat-group-members__error-state-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
  font-style: normal;
}

.cometchat-group-members__empty-state-view-body-description,
.cometchat-group-members__error-state-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-group-members__shimmer {
  width: 100%;
  height: 100%;
  background: var(--cometchat-background-color-01, #fff);
}

.cometchat-group-members__shimmer-item {
  width: 100%;
  height: 72px;
  display: flex;
  width: 100%;
  min-width: 240px;
  max-width: 1440px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  align-items: center;
  gap: 12px;
}

.cometchat-group-members__shimmer-item-avatar {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
}

.cometchat-group-members__shimmer-item-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-group-members__shimmer-item-title {
  width: 50%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;
}

.cometchat-group-members__shimmer-item-body-subtitle {
  width: 25%;
  height: 12px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;
}

.cometchat-group-members__list-item-online .cometchat-list-item__status {
  width: 14px;
  height: 14px;
  margin-right: -12px;
  position: relative;
  top: 20px;
  right: 15px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-success-color, #09c26f);
  min-width: 14px;
  border: 2px solid var(--cometchat-neutral-color-50, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cometchat-group-members .cometchat-menu-list__sub-menu {
  background: none;
  box-shadow: none;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

 .cometchat-group-members-hide-scrollbar .cometchat-change-scope__list::-webkit-scrollbar,
 .cometchat-group-members-hide-scrollbar .cometchat-change-scope__list::-webkit-scrollbar-thumb {
    display: none;
}
.cometchat-groups {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  flex-shrink: 0;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-groups__empty-state-view {
  display: flex;
  flex-direction: column;
}

.cometchat-groups__empty-state-view,
.cometchat-groups__error-state-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-groups__empty-state-view-body,
.cometchat-groups__error-state-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-groups__empty-state-view-body-title,
.cometchat-groups__error-state-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
  font-style: normal;
}

.cometchat-groups__empty-state-view-body-description,
.cometchat-groups__error-state-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-groups__shimmer {
  width: 100%;
  height: 100%;
  background: var(--cometchat-background-color-01, #FFF);

}

.cometchat-groups__shimmer-item {
  width: 100%;
  height: 72px;
  display: flex;
  width: 100%;
  min-width: 240px;
  max-width: 1440px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  align-items: center;
  gap: 12px;
}

.cometchat-groups__shimmer-item-avatar {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--cometchat-radius-max,1000px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
}

.cometchat-groups__shimmer-item-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-groups__shimmer-item-body-title {
  width: 50%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 1.5s infinite linear;
}

.cometchat-groups__shimmer-item-body-subtitle {
  width:25%;
  height: 12px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(
    --cometchat-shimmer-gradient-color,
    linear-gradient(90deg, #e0e0e0 0%, #eee 100%)
  );
  animation: shimmerAnimation 1.5s infinite linear;

}

@keyframes shimmerAnimation {
    0% {
      background-position: -468px 0;
    }
  
    100% {
      background-position: 468px 0;
    }
  }
  .cometchat-groups__list-item {
    cursor: pointer;
  }

  .cometchat-groups__list-item-active .cometchat-list-item{
    background-color:var(--cometchat-white-pressed,#E8E8E8)
  }

  .cometchat-groups__list-item-password .cometchat-list-item__status{
    width: 14px;
    height: 14px;
    margin-right: -14px;
    position: relative;
    top: 20px;
    right: 15px;
    border-radius: var(--cometchat-radius-max, 1000px);
    min-width: 14px;
    border: 2px solid var(--cometchat-neutral-color-50, #FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cometchat-success-color,#09C26F);
  }

  .cometchat-groups__list-item-private .cometchat-list-item__status{
    width: 14px;
    height: 14px;
    margin-right: -14px;
    position: relative;
    top: 20px;
    right: 15px;
    border-radius: var(--cometchat-radius-max, 1000px);
    min-width: 14px;
    border: 2px solid var(--cometchat-neutral-color-50, #FFF);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cometchat-warning-color,#FFAB00);
  }

  .cometchat-groups__list-item-password .cometchat-list-item__status-icon {
    -webkit-mask: url("/cometchat/assets/lock.svg") center center no-repeat;
    mask: url("/cometchat/assets/lock.svg") center center no-repeat;
    height: 8px;
    width: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    border: none;
    align-self: center;  
    background:var(--cometchat-static-white,#FFF);
  }

  .cometchat-groups__list-item-private .cometchat-list-item__status-icon {
    -webkit-mask: url("/cometchat/assets/shield.svg") center center no-repeat;
    mask: url("/cometchat/assets/shield.svg") center center no-repeat;
    height: 8px;
    width: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    border: none;
    align-self: center;
    background:var(--cometchat-static-white,#FFF);
  }

    .cometchat-groups__subtitle {
      overflow: hidden;
      color: var(--cometchat-text-color-secondary, #727272);
      text-overflow: ellipsis;
      white-space: nowrap;
      font: var(--cometchat-font-body-regular);
      font-style: normal;
    }

  .cometchat-groups__list-item .cometchat-avatar {
    width: 40px;
    height: 40px;
  }
  
  .cometchat-groups__list-item .cometchat-list-item__leading-view {
    width: 40px;
    height: 40px;
  }

  .cometchat-groups .cometchat-list-item__body {
    padding: 0px;
  }
/* Styles for the image bubble container */
.cometchat-image-bubble {
    padding: 0;
    background: transparent;
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    max-height: 350px;
    max-width: 250px;
    border-radius: var(--cometchat-radius-3);
    overflow: hidden;
    cursor: pointer;
}

/* Styles for the image inside the bubble */
.cometchat-image-bubble__body {
    margin: 0;
    border-radius: inherit;
    height: 100%;
    width: 100%;
    object-fit: cover;

}

/* Specific styling for incoming image bubbles, giving it a background color
   for differentiation */
.cometchat-image-bubble-incoming {
    background: var(--cometchat-neutral-color-300);
}

/* Specific styling for outgoing image bubbles, using the primary color as
   the background to distinguish it from incoming bubbles */
.cometchat-image-bubble-outgoing {
    background: var(--cometchat-primary-color);
}.cometchat-incoming-call {
    display: flex;
    width: 360px;
    padding: var(--cometchat-padding-5, 20px) var(--cometchat-padding-5, 20px);
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-padding-4, 16px);
    border-radius: var(--cometchat-radius-3, 12px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-03, #F5F5F5);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    position: absolute;
    z-index: 10;
}

.cometchat-incoming-call .cometchat-list-item {
    width: 320px;
    padding: 0px;
    background: var(--cometchat-background-color-03, #F5F5F5);
}

.cometchat-incoming-call .cometchat-list-item__body {
    padding: 0px;
}

.cometchat-incoming-call .cometchat-list-item__body-title {
    color: var(--cometchat-text-color-primary, #FFF);
    font: var(--cometchat-font-heading3-bold, 700 20px Roboto);
}

.cometchat-incoming-call .cometchat-list-item__title-container {
    justify-content: space-around;
}

.cometchat-incoming-call .cometchat-list-item__trailing-view {
    width: fit-content;
    height: fit-content;
}

.cometchat-incoming-call__button-group {
    display: flex;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.cometchat-incoming-call__button-decline {
    display: flex;
    height: 40px;
    width: 152px;
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    background: var(--cometchat-error-color, #C73C3E);
    cursor: pointer;
}

.cometchat-incoming-call__button-decline .cometchat-button {
    width: 152px;
    background: var(--cometchat-error-color, #C73C3E);
}

.cometchat-incoming-call__button-accept {
    display: flex;
    height: 40px;
    width: 152px;
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    background: var(--cometchat-success-color, #0B9F5D);
    cursor: pointer;
}

.cometchat-incoming-call__button-accept .cometchat-button {
    width: 152px;
    background: var(--cometchat-success-color, #0B9F5D);
}

.cometchat-incoming-call__avatar {
    display: flex;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.cometchat-incoming-call__avatar .cometchat-avatar__text {
    color: var(--cometchat-primary-button-icon, #FFF);
    font: var(--cometchat-font-heading3-bold, 700 20px Roboto);
}

.cometchat-incoming-call__subtitle {
    display: flex;
    align-items: center;
    gap: 4px;
    align-self: stretch;
}

.cometchat-incoming-call__subtitle-icon {
    display: flex;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask-size: contain;
}

.cometchat-incoming-call__subtitle-text {
    color: var(--cometchat-text-color-secondary, #727272);
    font: var(--cometchat-font-heading4-regular, 400 16px Roboto);
}

.cometchat-incoming-call .cometchat-button:hover {
    background: transparent;
}

.cometchat-incoming-call .cometchat-button:active {
    background: transparent;
}/* Backdrop overlay for the link dialog */
.cometchat-link-dialog__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Container for the link dialog */
.cometchat-link-dialog {
  width: 400px;
  max-width: 90vw;
  box-sizing: border-box;
  display: flex;
  padding: var(--cometchat-padding-6, 24px);
  flex-direction: column;
  align-items: stretch;
  gap: var(--cometchat-padding-4, 16px);
  border-radius: var(--cometchat-radius-4, 16px);
  border: 1px solid var(--cometchat-border-color-light);
  background: var(--cometchat-background-color-01);
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

/* Header section with title and close button */
.cometchat-link-dialog__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Dialog title */
.cometchat-link-dialog__title {
  color: var(--cometchat-text-color-primary);
  text-align: left;
  font: var(--cometchat-font-heading4-bold);
  font-style: normal;
}

/* Close button */
.cometchat-link-dialog__close-button {
  width: 24px;
  height: 24px;
  cursor: pointer;
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  background: var(--cometchat-icon-color-primary);
}

/* Divider between header and content */
.cometchat-link-dialog__divider {
  height: 1px;
  width: 100%;
  background: var(--cometchat-border-color-light);
}

/* Content section with form fields */
.cometchat-link-dialog__content {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
}

/* Individual form field */
.cometchat-link-dialog__field {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 4px);
}

/* Field label */
.cometchat-link-dialog__label {
  color: var(--cometchat-text-color-primary);
  font: var(--cometchat-font-heading4-medium);
  font-style: normal;
  text-align: left;
}

/* Input field */
.cometchat-link-dialog__input {
  display: flex;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
  align-items: center;
  align-self: stretch;
  border-radius: var(--cometchat-radius-2, 8px);
  border: 1px solid var(--cometchat-border-color-light);
  background: var(--cometchat-background-color-01);
  color: var(--cometchat-text-color-primary);
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  outline: none;
  transition: border-color 0.2s ease;
}

.cometchat-link-dialog__input:focus {
  border-color: var(--cometchat-primary-color);
}

.cometchat-link-dialog__input::placeholder {
  color: var(--cometchat-text-color-tertiary);
}

/* Input field with error */
.cometchat-link-dialog__input--error {
  border-color: var(--cometchat-error-color);
}

.cometchat-link-dialog__input--error:focus {
  border-color: var(--cometchat-error-color);
}

/* Error message */
.cometchat-link-dialog__error {
  color: var(--cometchat-error-color);
  font: var(--cometchat-font-caption2-regular);
  font-style: normal;
}

/* Button group */
.cometchat-link-dialog__button-group {
  display: flex;
  padding-top: var(--cometchat-padding-2, 8px);
  align-items: center;
  gap: var(--cometchat-padding-2, 8px);
  align-self: stretch;
  width: 100%;
}

/* Button containers */
.cometchat-link-dialog__button-cancel,
.cometchat-link-dialog__button-submit {
  flex: 1;
  display: flex;
  height: 40px;
}

.cometchat-link-dialog__button-cancel > .cometchat,
.cometchat-link-dialog__button-submit > .cometchat {
  height: 100%;
  width: 100%;
}

.cometchat-link-dialog__button-cancel .cometchat-button,
.cometchat-link-dialog__button-submit .cometchat-button {
  height: 100%;
  width: 100%;
}

/* Cancel button styling */
.cometchat-link-dialog__button-cancel .cometchat-button {
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
  border: 1px solid var(--cometchat-border-color-dark);
  background: var(--cometchat-background-color-01);
}

.cometchat-link-dialog__button-cancel .cometchat-button .cometchat-button__text {
  color: var(--cometchat-text-color-primary);
}

/* Submit button styling */
.cometchat-link-dialog__button-submit .cometchat-button {
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
  background: var(--cometchat-primary-color);
  border: 1px solid var(--cometchat-primary-color);
}

.cometchat-link-dialog__button-submit .cometchat-button .cometchat-button__text {
  color: var(--cometchat-static-white);
}


/* Disabled submit button styling */
.cometchat-link-dialog__button-submit--disabled .cometchat-button {
  background: var(--cometchat-background-color-04) !important;
  border-color: var(--cometchat-background-color-04) !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.cometchat-link-dialog__button-submit--disabled .cometchat-button .cometchat-button__text {
  color: var(--cometchat-text-color-tertiary) !important;
}
/* CometChatLinkPopover - Link popover shown on click */

.cometchat-link-popover {
  position: absolute;
  z-index: 1000;
  transform: translateY(-100%);
}

.cometchat-link-popover__content {
  position: relative;
  background: var(--cometchat-background-color-01, #fff);
  border-radius: var(--cometchat-radius-4, 16px);
  padding: var(--cometchat-padding-6, 24px);
  width: 320px;
  max-width: 90vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-spacing-3, 12px);
  border: 1px solid var(--cometchat-border-color-light);
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-link-popover__close {
  position: absolute;
  top: var(--cometchat-spacing-4, 16px);
  right: var(--cometchat-spacing-4, 16px);
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: var(--cometchat-icon-color-secondary, #727272);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cometchat-radius-1, 4px);
  padding: 0;
  transition: background-color 0.2s ease;
}

.cometchat-link-popover__close:hover {
  background: var(--cometchat-background-color-02, #f5f5f5);
  color: var(--cometchat-icon-color-primary, #141414);
}

.cometchat-link-popover__text {
  font: var(--cometchat-font-heading4-bold);
  color: var(--cometchat-text-color-primary, #141414);
  padding-right: var(--cometchat-padding-7, 28px);
  word-break: break-word;
  text-align: left;
}

.cometchat-link-popover__url {
  font: var(--cometchat-font-body-regular);
  color: var(--cometchat-primary-color, #6852d6);
  text-decoration: none;
  display: block;
  word-break: break-all;
  text-align: left;
}

.cometchat-link-popover__url:hover {
  text-decoration: underline;
}

.cometchat-link-popover__actions {
  display: flex;
  gap: var(--cometchat-spacing-3, 12px);
}

/* Button wrappers — shared */
.cometchat-link-popover__button-edit,
.cometchat-link-popover__button-remove {
  flex: 1;
  display: flex;
  height: 40px;
}

.cometchat-link-popover__button-edit > .cometchat,
.cometchat-link-popover__button-remove > .cometchat {
  width: 100%;
  height: 100%;
}

/* Shared button styles */
.cometchat-link-popover__button-edit .cometchat-button,
.cometchat-link-popover__button-remove .cometchat-button {
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
  border-radius: var(--cometchat-radius-2, 8px);
  cursor: pointer;
  transition: background-color 0.2s ease;
  height: 100%;
  width: 100%;
}

/* Shared button text */
.cometchat-link-popover__button-edit .cometchat-button .cometchat-button__text,
.cometchat-link-popover__button-remove .cometchat-button .cometchat-button__text {
  font: var(--cometchat-font-button-medium);
}

/* Edit button — specific */
.cometchat-link-popover__button-edit .cometchat-button {
  background: var(--cometchat-background-color-01, #fff);
  border: 1px solid var(--cometchat-border-color-default, #e8e8e8);
}

.cometchat-link-popover__button-edit .cometchat-button:hover {
  background: var(--cometchat-background-color-02, #f5f5f5);
}

.cometchat-link-popover__button-edit .cometchat-button .cometchat-button__text {
  color: var(--cometchat-text-color-primary, #141414);
}

/* Remove button — specific */
.cometchat-link-popover__button-remove .cometchat-button {
  background: var(--cometchat-error-color, #f44336);
  border: none;
}

.cometchat-link-popover__button-remove .cometchat-button .cometchat-button__text {
  color: var(--cometchat-static-white, #fff);
}
/* Main container for the list component, taking full width and height */
.cometchat-list {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    background: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
/* Title section of the header, containing text or other elements */
.cometchat-list__header-title {
    display: flex;
    height: fit-content;
    min-height: 64px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-align: left;
    overflow: hidden;
    color: var(--cometchat-text-color-primary);
    text-overflow: ellipsis;
    font: var(--cometchat-font-heading1-bold);
    font-style: normal;
    width: 100%;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    gap: var(--cometchat-padding-3, 12px);
    flex: 1 0 0;
    align-self: stretch;
}

/* Header section of the list, containing title and possibly other elements */
.cometchat-list__header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: var(--cometchat-background-color-01);
    border-right: 1px solid var(--cometchat-border-color-light);
    border-bottom: 1px solid var(--cometchat-border-color-light);
}


/* Search bar section in the header */
.cometchat-list__header-search-bar {
    display: flex;
    padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
    align-items: flex-start;
    align-self: stretch;
    width: 100%;

}

/* Body section of the list, contains the scrollable content */
.cometchat-list__body {
    overflow: hidden auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-right: 1px solid var(--cometchat-border-color-light);
    position: relative;
}

/* Styles for loading, error, and empty views, taking up the remaining space */
.cometchat-list__loading-view,
.cometchat-list__error-view,
.cometchat-list__empty-view {
    height: calc(100% - 1px);
    overflow: hidden;
    width: 100%;
}
.cometchat-list__loading-view-top{
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}

/* Section header text styling */
.cometchat-list__section-header {
    color: var(--cometchat-primary-color, #6852D6);
    font: var(--cometchat-font-heading4-medium);
    font-style: normal;
    text-align: left;
}

/* Section container, holds section items */
.cometchat-list__section {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px) 0 var(--cometchat-padding-4, 16px);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    align-items: flex-start;
    justify-content: flex-start;
}

.cometchat-list-hide-scrollbar .cometchat-list__body::-webkit-scrollbar,
.cometchat-list-hide-scrollbar .cometchat-list__body::-webkit-scrollbar-thumb {
    display: none;
}

/* Wrapper for each item in the list */
.cometchat-list__item-wrapper {
    display: flex;
    flex-direction: column;
}.cometchat-list-item {
    display: flex;
    width: 100%;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    background: var(--cometchat-background-color-01, #FFF);
    box-sizing: border-box;
}

.cometchat-list-item:hover {
    background: var(--cometchat-white-hover, #FAFAFA);
}

.cometchat-list-item:active {
    background: var(--cometchat-neutral-color-300, #E8E8E8);
}

.cometchat-list-item__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 5px;
    overflow: hidden;
}

.cometchat-list-item__body-title {
    height: 19px;
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--cometchat-font-heading4-medium, 500 16px Roboto);
    line-height: 120%;
    margin-right: var(--cometchat-margin-1);
    width: 100%;

}

.cometchat-list-item__title-container {
    display: flex;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cometchat-padding-1, 4px);
    flex: 1 0 0;
    overflow: hidden;
    width: 100%;
    text-align: left;
}

.cometchat-list-item__menu-view,
.cometchat-list-item__trailing-view {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: flex-end;
    align-items: center;
}

.cometchat-list-item__trailing-view-hidden {
    display: none;
}

.cometchat-list-item__leading-view {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 9px 9px 9px 10px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max, 1000px);
}

.cometchat-list-item__body-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cometchat-list-item__status {
    display: none;
}

.cometchat-list-item__status-icon_right {
    border-radius: 16px;
    width: 10px;
    height: 10px;
    border: none;
    position: relative;
    bottom: 20%;
    margin-left: 20px;
}

.cometchat-list-item__divider {
    height: 1px;
    width: 100%;
    background: grey;
}/**
 * CometChat Markdown Formatter Styles
 * 
 * Styles for rendering markdown in message bubbles.
 * Uses native HTML tags for better compatibility.
 */

/* Text bubble formatting styles */
.cometchat-text-bubble__body-text b,
.cometchat-text-bubble__body-text strong {
  font-weight: var(--cometchat-font-weight-bold, 700);
}

.cometchat-text-bubble__body-text i,
.cometchat-text-bubble__body-text em {
  font-style: italic;
}

.cometchat-text-bubble__body-text s,
.cometchat-text-bubble__body-text strike,
.cometchat-text-bubble__body-text del {
  text-decoration: line-through;
}

.cometchat-text-bubble__body-text u {
  text-decoration: underline;
}

/* Inline code */
.cometchat-text-bubble__body-text code {
  font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 14px;
  background: var(--cometchat-background-color-03);
  color: var(--cometchat-text-color-highlight);
  padding: 0 var(--cometchat-padding);
  border-radius: var(--cometchat-radius);
  border: 1px solid var(--cometchat-border-color-default);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Inline code for incoming messages */
.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text code {
  color: var(--cometchat-text-color-highlight);
  background: var(--cometchat-background-color-03);
  border: 1px solid var(--cometchat-border-color-dark);
}

/* Inline code for outgoing messages */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text code {
  color: var(--cometchat-static-white);
  background: rgba(255, 255, 255, 0.20);
  border: 1px solid rgba(245, 245, 245, 0.10);
}

/* Code block */
.cometchat-text-bubble__body-text pre {
  display: block;
  font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 14px;
  background: var(--cometchat-background-color-02);
  color: var(--cometchat-text-color-primary);
  border: 1px solid var(--cometchat-border-color-light);
  padding: var(--cometchat-padding-2) var(--cometchat-padding-3);
  border-radius: var(--cometchat-radius-2);
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.cometchat-text-bubble__body-text pre code,
.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text pre code,
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
  border-radius: 0;
  display: inline;
  font-family: inherit;
}

/* Blockquote */
.cometchat-text-bubble__body-text blockquote {
  display: block;
  border-left: 3px solid var(--cometchat-primary-color, #3399ff);
  padding: var(--cometchat-padding-2);
  border-radius: var(--cometchat-radius-1);
  margin: var(--cometchat-margin, 4px) 0;
  color: var(--cometchat-text-color-secondary, #727272);
  min-width: 100px;
}

/* Links */
.cometchat-text-bubble__body-text a {
  color: var(--cometchat-primary-color, #3399ff);
  text-decoration: underline;
  cursor: pointer;
}

/* Outgoing message links should be white */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text a {
  color: var(--cometchat-static-white) !important;
}

/* Links inside code/code blocks for outgoing messages */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text code a,
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text pre a,
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text pre code a {
  color: var(--cometchat-static-white) !important;
}

.cometchat-text-bubble__body-text a:hover {
  text-decoration: none;
}

/* List items */
.cometchat-text-bubble__body-text li {
  display: list-item;
  margin-left: var(--cometchat-margin-4, 16px);
}

.cometchat-text-bubble__body-text ol,
.cometchat-text-bubble__body-text ul {
  margin: var(--cometchat-margin, 4px) 0;
  padding-left: var(--cometchat-padding-3, 12px);
}

/* Nested list styling progression */
.cometchat-text-bubble__body-text ol { list-style-type: decimal; }
.cometchat-text-bubble__body-text ol ol { list-style-type: lower-alpha; }
.cometchat-text-bubble__body-text ol ol ol { list-style-type: lower-roman; }
.cometchat-text-bubble__body-text ul { list-style-type: disc; }
.cometchat-text-bubble__body-text ul ul { list-style-type: circle; }
.cometchat-text-bubble__body-text ul ul ul { list-style-type: square; }
.cometchat-text-bubble__body-text li > ol,
.cometchat-text-bubble__body-text li > ul {
  margin-top: 0;
  margin-bottom: 0;
}
.cometchat-media-recorder__recording,
.cometchat-media-recorder__recorded {
    display: flex;
    width: 260px;
    height: inherit;
    padding: var(--cometchat-padding-5, 20px);
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-padding-5, 20px);
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-media-recorder__recording{
    justify-content: space-between;
}
.cometchat-media-recorder {
    width: max-content;
}

.cometchat-media-recorder .cometchat-audio-bubble {
    padding-bottom: var(--cometchat-padding-2);
    max-width: 100%;
    width: 100%;
}

.cometchat-media-recorder .cometchat-audio-bubble .cometchat-audio-bubble__tail-view {
    display: none;
}



.cometchat-media-recorder .cometchat-audio-bubble .cometchat-audio-bubble__body {
    flex-direction: row;
    gap: var(--cometchat-padding-2);
    justify-content: space-between;
    align-items: center;
    padding-right: 0;
}

.cometchat-media-recorder__recording-control,
.cometchat-media-recorder__recorded-control {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cometchat-media-recorder__recording-preview {
    display: flex;
    width: 120px;
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
}

.cometchat-media-recorder__recorded-preview {
    display: flex;
    width: 260px;
    padding: var(--cometchat-padding-2, 8px) 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    border-radius: var(--cometchat-radius-3, 12px);
    background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-media-recorder__recording-control-delete,
.cometchat-media-recorder__recorded-control-delete,
.cometchat-media-recorder__recording-control-stop,
.cometchat-media-recorder__recorded-control-record {
    display: flex;
    width: 40px;
    cursor: pointer;
    height: 40px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-background-color-01, #FFF);
    border-radius: var(--cometchat-radius-max, 1000px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
}

.cometchat-media-recorder__recording-control-stop-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    mask: url("/cometchat/assets/stop.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/stop.svg") center center no-repeat;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recording-control-delete-icon,
.cometchat-media-recorder__recorded-control-delete-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    -webkit-mask: url("/cometchat/assets/delete.svg") center center no-repeat;
    mask: url("/cometchat/assets/delete.svg") center center no-repeat;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recorded-control-record-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    -webkit-mask: url("/cometchat/assets/recording_resume.svg") center center no-repeat;
    mask: url("/cometchat/assets/recording_resume.svg") center center no-repeat;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recording-control-record,
.cometchat-media-recorder__recording-control-pause,
.cometchat-media-recorder__recorded-control-send {
    display: flex;
    cursor: pointer;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
}
.cometchat-media-recorder__recording-control-error>.cometchat-media-recorder__recording-control-record-icon,
.cometchat-media-recorder__recording-control-record-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recording-control-record-icon {
    -webkit-mask: url("/cometchat/assets/recording_resume.svg") center center no-repeat;
    mask: url("/cometchat/assets/recording_resume.svg") center center no-repeat;
    background: var(--cometchat-error-color, #F44649);
}

.cometchat-media-recorder__recording-control-error>.cometchat-media-recorder__recording-control-record-icon {
    -webkit-mask: url("/cometchat/assets/mic_off.svg") center center no-repeat;
    mask: url("/cometchat/assets/mic_off.svg") center center no-repeat;
    background: var(--cometchat-text-color-tertiary, #A1A1A1);
}

.cometchat-media-recorder__recording-control-error {
    pointer-events: none;
}
.cometchat-media-recorder__recording-control-pause-icon {
    -webkit-mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    mask: url("/cometchat/assets/pause.svg") center center no-repeat;
    background: var(--cometchat-error-color, #F44649);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recorded-control-send-icon {
    -webkit-mask: url("/cometchat/assets/send_fill.svg") center center no-repeat;
    mask: url("/cometchat/assets/send_fill.svg") center center no-repeat;
    background: var(--cometchat-icon-color-highlight, #6852D6);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recording-preview-recording,
.cometchat-media-recorder__recording-preview-paused {
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-icon-color-highlight, #6852D6);
}

.cometchat-media-recorder__recording-preview-recording-icon,
.cometchat-media-recorder__recording-preview-paused-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--cometchat-icon-color-white, #FFFFFF);
    -webkit-mask: url("/cometchat/assets/recording_icon.svg") center center no-repeat;
    mask: url("/cometchat/assets/recording_icon.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recording-preview-disabled {
    opacity: 0.2;
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-icon-color-highlight, #6852D6);
}

.cometchat-media-recorder__recording-preview-disabled-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--cometchat-icon-color-white, #FFFFFF);
    -webkit-mask: url("/cometchat/assets/recording_icon.svg") center center no-repeat;
    mask: url("/cometchat/assets/recording_icon.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__recording-preview-duration {
    align-self: stretch;
    color: var(--cometchat-text-color-primary, #141414);
    text-align: center;
    font: var(--cometchat-font-heading4-regular, 400 16px Roboto);
    line-height: 120%;
}
.cometchat-media-recorder__error {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background: var(--cometchat-background-color-02, #FAFAFA);
    border-radius: var(--cometchat-radius-4) var(--cometchat-radius-4) 0px 0px;
    padding: var(--cometchat-padding-2);
    gap: var(--cometchat-padding-2);
    width: 260px;
    position: absolute;
    z-index: 2;
    bottom: 100%;
}

.cometchat-media-recorder__error-content {
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-padding-1);
}

.cometchat-media-recorder__error-content-title {
    font: var(--cometchat-font-caption1-bold);
}

.cometchat-media-recorder__error-content-subtitle {
    font: var(--cometchat-font-caption1-regular);

}

.cometchat-media-recorder__error-content-title,
.cometchat-media-recorder__error-content-subtitle {
    text-align: left;
    color: var(--cometchat-text-color-secondary, #727272);

}

.cometchat-media-recorder__error-icon-wrapper {
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-error-color);
    border-radius: var(--cometchat-radius-max);
}

.cometchat-media-recorder__error-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: var(--cometchat-static-white);
    -webkit-mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    -webkit-mask-size: contain;
    transform: rotate(180deg);
    mask-size: contain;
}

/* Permission denied dialog (centered modal) */
.cometchat-media-recorder__permission-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
}

.cometchat-media-recorder__permission-dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-spacing-3, 12px);
    padding: var(--cometchat-padding-6, 24px);
    width: 320px;
    border-radius: var(--cometchat-radius-4, 16px);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.10), 0px 8px 8px -4px rgba(16, 24, 40, 0.04);
}

.cometchat-media-recorder__permission-dialog-icon-wrapper {
    display: flex;
    width: 64px;
    height: 64px;
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-background-color-03, #F5F5F5);
}

.cometchat-media-recorder__permission-dialog-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--cometchat-error-color, #F44649);
    -webkit-mask: url("/cometchat/assets/mic_off.svg") center center no-repeat;
    mask: url("/cometchat/assets/mic_off.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.cometchat-media-recorder__permission-dialog-title {
    color: var(--cometchat-text-color-primary, #141414);
    text-align: center;
    font: var(--cometchat-font-heading4-bold, 700 16px Roboto);
}

.cometchat-media-recorder__permission-dialog-subtitle {
    color: var(--cometchat-text-color-secondary, #727272);
    text-align: center;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-media-recorder__permission-dialog-button {
    width: 100%;
    padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
    border-radius: var(--cometchat-radius-3, 12px);
    border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    background: var(--cometchat-background-color-01, #FFF);
    color: var(--cometchat-text-color-primary, #141414);
    font: var(--cometchat-font-button-bold, 700 14px Roboto);
    cursor: pointer;
    margin-top: var(--cometchat-margin-1, 4px);
}

.cometchat-media-recorder__permission-dialog-button:hover {
    background: var(--cometchat-background-color-02, #FAFAFA);
}
/* Wrapper for the message bubble */
.cometchat-message-bubble__wrapper {
    display: flex;
    position: relative;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    flex: 1 0 0;
}

.cometchat-message-bubble__body-reply-view{
    width: 100%;
    margin-bottom: 5px;
}

.cometchat-message-bubble .cometchat-menu-list__sub-menu-list{
    height: auto;
    max-height: 216px;
    overflow: auto;
}

.cometchat-message-bubble .cometchat-menu-list__sub-menu-list::-webkit-scrollbar,
.cometchat-message-bubble .cometchat-menu-list__sub-menu-list::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-message-bubble .cometchat-reactions{
    width: 100%;
    margin-top: -4px;
}
.cometchat-message-bubble-outgoing .cometchat-reactions{
    justify-content: flex-end;
}
.cometchat-message-bubble-incoming .cometchat-reactions{
    justify-content: flex-start;
}
/* Avatar styles inside the message bubble */
.cometchat-message-bubble__leading-view {
    position: relative;
    border-radius: inherit;
    display: flex;
    width: fit-content;
    align-self: flex-start;
}

/* Alignment styles for the message bubble */
.cometchat-message-bubble {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    border-radius: inherit;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    width: 100%;
}


/* Alignment for receiver's messages */
.cometchat-message-bubble-incoming {
    justify-content: flex-start;
    align-items: flex-start;
}
.cometchat-message-bubble__text-message .cometchat-message-bubble__body-content-view{
    width: fit-content;
    display: flex;
    align-self: flex-start;
    max-width: 100%;
}
.cometchat-message-bubble  .cometchat-text-bubble__body-text{
text-align: left;
}

/* Alignment for sender's messages */
.cometchat-message-bubble-outgoing {
    justify-content: flex-end;
    align-items: flex-end;
}

/* Alignment for action  messages */
.cometchat-message-bubble-action {
    justify-content: center;
    align-items: center;
}

/* Background for incoming message bubble body */
.cometchat-message-bubble-incoming .cometchat-message-bubble__body {
    background: var(--cometchat-neutral-color-300);
}

/* Background for outgoing message bubble body */
.cometchat-message-bubble-outgoing .cometchat-message-bubble__body {
    background: var(--cometchat-primary-color);
}

/* Body of the message bubble */
.cometchat-message-bubble__body {
    display: flex;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-1, 4px) 0px var(--cometchat-padding-1, 4px);
    flex-direction: column;
    align-items: flex-end;
    border-radius: var(--cometchat-radius-3, 12px);
}

/* Wrapper around the body of the message bubble */
.cometchat-message-bubble__body-wrapper {
    order: 2;
}

/* Title/header styles */
.cometchat-message-bubble__header-view {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Styles for message options */
.cometchat-message-bubble__options {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0px var(--cometchat-padding-2, 8px);
}

/* Options for incoming message bubble */
.cometchat-message-bubble-incoming .cometchat-message-bubble__options {
    order: 3;
}

/* Options for outgoing message bubble */
.cometchat-message-bubble-outgoing .cometchat-message-bubble__options {
    order: 1;
}/* Message Composer container - main wrapper */
.cometchat-message-composer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-self: stretch;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-light);
    background: var(--cometchat-background-color-01);
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

/* Input wrapper - contains input and link popover */
.cometchat-message-composer__input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Send button styling */
.cometchat-message-composer__send-button {
    display: flex;
    width: 32px;
    height: 32px;
    padding: var(--cometchat-padding-1, 4px);
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    border-radius: 60px;
    background: var(--cometchat-background-color-04);
}

/* Default state for the send button */
.cometchat-message-composer__send-button .cometchat-button {
    cursor: default;
}

/* Active state for the send button */
.cometchat-message-composer__send-button-active {
    cursor: pointer;
    background: var(--cometchat-primary-color);
}


/* Sticker button popover content */
.cometchat-message-composer__auxilary-button-view-sticker-button .cometchat-popover__content {
    height: 300px;
    overflow: hidden;
    width: 272px;
}

/* Emoji keyboard button popover content */
.cometchat-message-composer__emoji-keyboard-button .cometchat-popover__content {
    height: 300px;
    width: 300px;
    overflow: hidden;
}

/* Action sheet button popover content */
.cometchat-message-composer__secondary-button-view-attachment-button .cometchat-popover__content {
    height: 332px;
    border: none;
}

/* Voice recording button popover content */ 
.cometchat-message-composer__voice-recording-button .cometchat-popover__content {
    width: fit-content;
    max-height: 300px;
    height: fit-content;
    min-height: 200px;
}

.cometchat-message-composer__voice-recording-button .cometchat-media-recorder {
    max-height: 300px;
    min-height: 220px;
    overflow: hidden;
}

.cometchat-message-composer__voice-recording-button .cometchat-media-recorder__recording {
    max-height: 300px;
    min-height: 220px;
}

.cometchat-message-composer__voice-recording-button .cometchat-media-recorder__recorded {
    max-height: 300px;
    min-height: 220px;
    justify-content: space-between;
}

.cometchat-message-composer__input .cometchat-mentions>span {
    color: var(--cometchat-text-color-highlight, #6852D6);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

.cometchat-message-composer__input .cometchat-mentions-you>span {
    color: var(--cometchat-warning-color, #FFAB00);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* Strip rich text formatting from mentions when wrapped in formatting tags */
.cometchat-message-composer__input b .cometchat-mentions>span,
.cometchat-message-composer__input strong .cometchat-mentions>span,
.cometchat-message-composer__input i .cometchat-mentions>span,
.cometchat-message-composer__input em .cometchat-mentions>span,
.cometchat-message-composer__input u .cometchat-mentions>span,
.cometchat-message-composer__input s .cometchat-mentions>span,
.cometchat-message-composer__input strike .cometchat-mentions>span,
.cometchat-message-composer__input del .cometchat-mentions>span,
.cometchat-message-composer__input b .cometchat-mentions-you>span,
.cometchat-message-composer__input strong .cometchat-mentions-you>span,
.cometchat-message-composer__input i .cometchat-mentions-you>span,
.cometchat-message-composer__input em .cometchat-mentions-you>span,
.cometchat-message-composer__input u .cometchat-mentions-you>span,
.cometchat-message-composer__input s .cometchat-mentions-you>span,
.cometchat-message-composer__input strike .cometchat-mentions-you>span,
.cometchat-message-composer__input del .cometchat-mentions-you>span {
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* Mentions inside inline code should inherit code styling */
.cometchat-message-composer__input code .cometchat-mentions>span,
.cometchat-message-composer__input code .cometchat-mentions-you>span {
    color: inherit !important;
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none !important;
}

/* Mentions inside code blocks should inherit code block styling */
.cometchat-message-composer__input pre .cometchat-mentions>span,
.cometchat-message-composer__input pre .cometchat-mentions-you>span {
    color: inherit !important;
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: inherit !important;
    font-weight: normal !important;
    font-style: normal !important;
    text-decoration: none !important;
}

/* Styling for buttons with no specific class */
 .cometchat-message-composer__buttons .cometchat-button {
    width: fit-content;
    background: transparent;
    padding: 0;
    gap: 0;
    height: 24px;
}

.cometchat-message-composer__unblock-button {
    color: var(--cometchat-neutral-color-900);
    font: var(--cometchat-font-body-regular);
    cursor: pointer;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--cometchat-radius-2, 8px);
    border: 1px solid var(--cometchat-border-color-dark);
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
}

/* Composer header wrapper */
.cometchat-message-composer__header {
    width: 100%;
    height: fit-content;
    display: flex;
    padding: var(--cometchat-padding-1, 4px);
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    flex-direction: column;
}

.cometchat-message-composer__header-error-state {
    display: flex;
    padding: var(--cometchat-padding-2, 8px);
    align-items: center;
    gap: var(--cometchat-padding-1);
    flex: 1 0 0;
    align-self: stretch;
    border-radius: var(--cometchat-radius-1, 4px);
    background: var(--cometchat-background-color-02);
}

.cometchat-message-composer__header-error-state-icon-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-error-color);
    border-radius: var(--cometchat-radius-max);
}

.cometchat-message-composer__header-error-state-icon {
    -webkit-mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    width: 20px;
    height: 20px;
    -webkit-mask-size: contain;
    mask-size: contain;
    background: var(--cometchat-static-white);
}

.cometchat-message-composer__header-error-state-text {
    overflow: hidden;
    color: var(--cometchat-error-color);
    text-overflow: ellipsis;
    font: var(--cometchat-font-caption1-regular);
}

/* Mentions wrapper styling */
.cometchat-mention-list {
    overflow: auto;
    display: flex;
    flex-direction: column;
    z-index: 2;
    min-height: 45px;
    padding: 0 0 1px 0;
    width: fit-content;
    min-width: 320px;
    bottom: 100%;
    left: 0;
    position: absolute;
    max-height: 336px;
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-background-color-01);
    background: var(--cometchat-background-color-01);
    box-shadow: 0 12px 16px 4px rgba(16, 24, 40, 0.08), 0 4px 6px 4px rgba(16, 24, 40, 0.03);
    scrollbar-width: none;
}

.cometchat-mention-list>.cometchat {
    border-radius: inherit;
}

.cometchat-mention-list .cometchat-users .cometchat-list{
    max-height: 336px;
}

.cometchat-mention-list .cometchat-list .cometchat-list__header-title{
    display: none;
}
.cometchat-mention-list .cometchat-list__item-wrapper{
    cursor: pointer;
}

/* Message input area */
.cometchat-message-composer__input {
    width: 100%;
    outline: none;
    background: transparent;
    overflow-y: auto;
    min-height: 30px;
    user-select: text;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    text-align: left;
    box-sizing: border-box;
    border-bottom: 1px solid var(--cometchat-border-color-light);
    padding: var(--cometchat-padding-3, 12px);
    color: var(--cometchat-text-color-primary);
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-regular);
    max-height: 150px;
    scrollbar-width: none;
    cursor: text;
}

/* Auxiliary button container */
.cometchat-message-composer__auxilary-button-view {
    display: flex;
    justify-content: flex-start;
    gap: var(--cometchat-spacing-3, 12px);
    width: 100%;
    align-items: center;
}
/* sticker button placement */
.cometchat-message-composer__sticker-button-view {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    width: fit-content;
    align-items: center;
}
/* default  buttons placement */
.cometchat-message-composer__default-buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: var(--cometchat-padding-4);
    width:fit-content;
    margin-right: auto;
}
/* Placeholder styling when input is empty */
.cometchat-message-composer__input:empty:before {
    content: attr(data-placeholder);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    color: var(--cometchat-text-color-tertiary);
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-regular);
}

/* Send button icon default styling */
 .cometchat-message-composer__buttons .cometchat-message-composer__send-button .cometchat-button .cometchat-button__icon {
    background: var(--cometchat-static-white);
}

/* Icon styling for buttons with no specific class */
 .cometchat-message-composer__buttons .cometchat-button .cometchat-button__icon {
    background: var(--cometchat-icon-color-secondary);
}

 .cometchat-message-composer__buttons .cometchat-button .cometchat-button__icon:hover {
    background: var(--cometchat-primary-color, #6852D6);
}

 .cometchat-message-composer__buttons .cometchat-message-composer__send-button .cometchat-button .cometchat-button__icon:hover {
    background: var(--cometchat-static-white);
}

/* Active emoji keyboard button icon */
 .cometchat-message-composer__buttons .cometchat-message-composer__emoji-keyboard-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}

/* Active action sheet button icon */
 .cometchat-message-composer__buttons .cometchat-message-composer__secondary-button-view-attachment-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}

/* Active voice recording button icon */
 .cometchat-message-composer__buttons .cometchat-message-composer__voice-recording-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}


/* Active stickerkeyboard button icon */
 .cometchat-message-composer__buttons .cometchat-message-composer__auxilary-button-view-sticker-button-active .cometchat-button__icon {
    background: var(--cometchat-primary-color);
}

/* Remove vertical padding when code block is active (pre element has its own padding) */
.cometchat-message-composer__input--code-block {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
}
.cometchat-message-composer__input-mobile{
    font: var( --cometchat-font-heading4-regular);
}
/**
 * Default styling for each options in actionsheet
 */
.cometchat-message-composer__secondary-button-view-attachment-button .cometchat-action-sheet{
    min-width: 200px;
}
.cometchat-message-composer__secondary-button-view-attachment-button-1 .cometchat-popover__content{
height: 58px;
}
.cometchat-message-composer__secondary-button-view-attachment-button-2 .cometchat-popover__content{
    height: 114px; 
}
.cometchat-message-composer__secondary-button-view-attachment-button-3 .cometchat-popover__content{
    height: 170px; 

}
.cometchat-message-composer__secondary-button-view-attachment-button-4 .cometchat-popover__content{
    height: 230px; 

}
.cometchat-message-composer__secondary-button-view-attachment-button-5 .cometchat-popover__content{
    height: 285px; 
}
.cometchat-message-composer .cometchat-edit-preview__subtitle{
    height: fit-content;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap;
}
.cometchat-message-composer-hide-scrollbar .cometchat-action-sheet::-webkit-scrollbar,
.cometchat-message-composer-hide-scrollbar .cometchat-action-sheet::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-message-composer-hide-scrollbar .cometchat-emoji-keyboard__list::-webkit-scrollbar,
.cometchat-message-composer-hide-scrollbar .cometchat-emoji-keyboard__list::-webkit-scrollbar-thumb,
.cometchat-message-composer-hide-scrollbar .cometchat-emoji-keyboard__tabs::-webkit-scrollbar,
.cometchat-message-composer-hide-scrollbar .cometchat-emoji-keyboard__tabs::-webkit-scrollbar-thumb {
    display: none;
}


.cometchat-message-composer-hide-scrollbar .cometchat-sticker-keyboard__tabs::-webkit-scrollbar {
    background: transparent;
    height: 0px;
    width: 0px;
}

.cometchat-message-composer-hide-scrollbar .cometchat-sticker-keyboard__tabs::-webkit-scrollbar-thumb {
    background: rgb(232, 229, 229);
    border-radius: 8px;
}

.cometchat-message-composer-hide-scrollbar .cometchat-sticker-keyboard__list::-webkit-scrollbar {
    background: transparent;
    width: 0px;
}

.cometchat-message-composer-hide-scrollbar .cometchat-sticker-keyboard__list::-webkit-scrollbar-thumb {
    background: rgb(232, 229, 229);
    border-radius: 8px;
}


/* Formatting Toolbar Container - fixed toolbar below input */
.cometchat-message-composer__formatting-toolbar {
    display: flex;
    width: 100%;
    padding: 0;
    border-bottom: none;
    border-top: none;
    border-right: none;
    border-left: none;
    background: var(--cometchat-background-color-02);
    border-radius: var(--cometchat-radius-2, 8px) var(--cometchat-radius-2, 8px) 0 0;
}

/* Link styling in input */
.cometchat-message-composer__input a {
    color: var(--cometchat-primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.cometchat-message-composer__input a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* List styling - remove default margin and padding */
.cometchat-message-composer__input ol,
.cometchat-message-composer__input ul {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: var(--cometchat-padding-3, 12px) !important;
    list-style-position: outside;
}

/* Nested list styling - bullet/number progression */
/* Ordered: 1. → a. → i. */
.cometchat-message-composer__input ol {
    list-style-type: decimal;
}
.cometchat-message-composer__input ol ol {
    list-style-type: lower-alpha;
}
.cometchat-message-composer__input ol ol ol {
    list-style-type: lower-roman;
}

/* Unordered: disc → circle → square */
.cometchat-message-composer__input ul {
    list-style-type: disc;
}
.cometchat-message-composer__input ul ul {
    list-style-type: circle;
}
.cometchat-message-composer__input ul ul ul {
    list-style-type: square;
}

/* Nested lists inside list items need proper spacing */
.cometchat-message-composer__input li > ol,
.cometchat-message-composer__input li > ul {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.cometchat-message-composer__input li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Blockquote styling with left border */
.cometchat-message-composer__input blockquote {
    margin: 0 !important;
    padding: 0 !important;
    padding-left: var(--cometchat-padding-3, 12px) !important;
    border-left: 4px solid var(--cometchat-border-color-default, #E8E8E8) !important;
    color: var(--cometchat-text-color-primary);
}

/* Paragraph styling - remove default margin */
.cometchat-message-composer__input p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Inline code styling */
.cometchat-message-composer__input code {
    background: var(--cometchat-background-color-03, #F5F5F5);
    color: var(--cometchat-text-color-highlight, #6852D6);
    padding: var(--cometchat-padding-1, 2px) var(--cometchat-padding-1, 4px);
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

/* Inline code with explicit class - monospace font via CSS variables */
.cometchat-message-composer__input code.cometchat-rich-text-code-inline {
    background: var(--cometchat-background-color-03, #F5F5F5);
    color: var(--cometchat-text-color-highlight, #6852D6);
    padding: var(--cometchat-padding-1, 2px) var(--cometchat-padding-1, 4px);
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    display: inline;
}

/* Code block styling */
.cometchat-message-composer__input pre {
    background: var(--cometchat-background-color-02, #F5F5F5);
    border: 1px solid var(--cometchat-border-color-light, #E8E8E8);
    border-radius: var(--cometchat-radius-2, 8px);
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
    margin: 0;
    overflow-x: auto;
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.cometchat-message-composer__input pre code {
    background: transparent;
    color: var(--cometchat-text-color-primary);
    padding: 0;
    border: none;
    border-radius: 0;
}

.cometchat-message-composer__input pre.cometchat-rich-text-code-block code {
    color: var(--cometchat-text-color-primary);
    font: var(--cometchat-font-caption1-regular);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-style: normal;
}
/* Container for the message header, aligning items horizontally */

.cometchat-message-header {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    flex: 1 0 0;
    align-self: stretch;
    justify-content: space-between;
    height: 63px;
    background: var(--cometchat-background-color-01);
    width: 100%;
    overflow: hidden;
}

/* Subtitle styling within the message header */

.cometchat-message-header .cometchat-message-header__subtitle {
    overflow: hidden;
    color: var(--cometchat-icon-color-secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--cometchat-font-caption1-regular);
    width: 100%;
    text-align: left;
    height: 100%;
    min-height: 17px;
    display: block;
}

/* Subtitle styling for typing state in the message header */

.cometchat-message-header .cometchat-message-header__subtitle.cometchat-message-header__subtitle-typing {
    color: var(--cometchat-text-color-highlight);
}

/* Container for the title of the list item within the message header */

.cometchat-message-header .cometchat-list-item__title-container {
    gap: 0;
    height: fit-content;
}

/* Flex container for direct children of the message header that have no class */

.cometchat-message-header>div:not([class]) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--cometchat-padding-2, 8px);
    flex: 1 0 0;
    width: 100%;
    overflow: hidden;
}

.cometchat-message-header .cometchat-list-item__trailing-view {
    width: auto;
}

/* Styling for the back button in the message header */

.cometchat-message-header__back-button {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-mask: url('/cometchat/assets//arrow_back.svg');
    -webkit-mask-size: contain;
    background: var(--cometchat-icon-color-primary);
    cursor: pointer;
}

.cometchat-message-header .cometchat-message-header__conversation-summary-button .cometchat-button {
    background: transparent;
    border: none;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    padding: 0;
}

.cometchat-message-header .cometchat-message-header__conversation-summary-button .cometchat-button .cometchat-button__icon {
    height: 24px;
    width: 24px;
    background: var(--cometchat-icon-color-primary, #141414);
}

/* Styling for the search button in the message header */
.cometchat-message-header .cometchat-message-header__search-button .cometchat-button {
    background: transparent;
    border: none;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    padding: 0;
}

.cometchat-message-header .cometchat-message-header__search-button  .cometchat-button__icon,.cometchat-message-header .cometchat-menu-list__sub-menu-icon {
    height: 24px;
    width: 24px;
    background: var(--cometchat-icon-color-primary, #141414);
}

/* Styling for the menu in the message header */
.cometchat-message-header .cometchat-message-header__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
}

.cometchat-message-header .cometchat-message-header__menu .cometchat-button {
    background: transparent;
    border: none;
    justify-content: center;
    align-items: center;
    height: 24px;
    width: 24px;
    padding: 0;
}

.cometchat-message-header .cometchat-menu-list__sub-menu-list {
    width: max-content;
}
/* List item container within the message header */

.cometchat-message-header__listitem {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Menu container within the message header, aligned to the right */

.cometchat-message-header__auxiliary-button-view {
    width: fit-content;
    display: flex;
    gap: var(--cometchat-padding-4, 16px);
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

/* Removes padding for list items within the message header */

.cometchat-message-header .cometchat-list-item {
    padding: 0;

}

.cometchat-message-header .cometchat-list-item:hover {
    background: transparent;
    cursor: default;
}

/* Removes padding for the body of the list item within the message header */

.cometchat-message-header .cometchat-list-item__body {
    padding: 0;
}

/* Title styling within the body of the list item in the message header */

.cometchat-message-header .cometchat-list-item .cometchat-list-item__body-title {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Avatar styling in the message header and shared avatar styling */

.cometchat-message-header .cometchat-list-item .cometchat-avatar {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max);
}

.cometchat-message-header .cometchat-list-item .cometchat-list-item__leading-view {
    height: 40px;
    width: 40px;
    padding: 0;
}

.cometchat-message-header__listitem>.cometchat {
    height: 100%;
    width: 100%;
}

.cometchat-message-header .cometchat-button__icon:hover {
    background: var(--cometchat-primary-color);
}


/* Media query for larger screens to hide the back button */

@media (max-width: 768px) {
    .cometchat-message-header__back-button {
        display: block;
    }

    .cometchat-message-header .cometchat-list-item .cometchat-list-item__body-title {
        display: initial;
    }
}.cometchat-message-information {
    max-width: 420px;
    width: 100%;
    height: fit-content;
    max-height: 100%;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-5, 20px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    overflow: hidden;
}

.cometchat-message-information__header {
    display: flex;
    height: 64px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    align-self: stretch;
    border-bottom: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    border-left: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-message-information__header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    flex: 1 0 0;
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-heading3-bold, 700 20px Roboto);
}

.cometchat-message-information__header-close {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cometchat-message-information__header-close .cometchat-button {
    height: 24px;
    width: 24px;
    padding: 0px;
    gap: 0px;
    background: transparent;
}

.cometchat-message-information__header-close .cometchat-button:hover {
    background: transparent;
}

.cometchat-message-information__header-close .cometchat-button:active {
    background: transparent;
}

.cometchat-message-information__header-close .cometchat-button__icon {
    background: var(--cometchat-icon-color-primary, #141414);
}

.cometchat-message-information__header-close .cometchat-button__icon:hover {
    background: var(--cometchat-icon-color-highlight);
}

.cometchat-message-information__message {
    display: flex;
    padding: var(--cometchat-padding-5, 20px) var(--cometchat-padding-4, 16px);
    align-items: flex-start;
    gap: 0px;
    width: 100%;
    max-height: 300px;
    overflow: hidden auto;
    background: var(--cometchat-background-color-02, #FAFAFA);
    border-bottom: 1px solid var(--cometchat-border-color-light);
}




.cometchat-message-information__message .cometchat-message-bubble__wrapper {
    padding: 0px;
    width: 100%;
}

.cometchat-message-information__receipts {
    display: flex;
    width: 100%;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    height: 260px;
    overflow: hidden auto;
}

.cometchat-message-information__receipts .cometchat-list-item__body-subtitle {
    flex-direction: column;
    gap: 0px;
}
.cometchat-message-information-hide-scrollbar .cometchat-message-information__receipts::-webkit-scrollbar,
.cometchat-message-information-hide-scrollbar .cometchat-message-information__receipts::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-message-information-hide-scrollbar .cometchat-message-information__message::-webkit-scrollbar,
.cometchat-message-information-hide-scrollbar .cometchat-message-information__message::-webkit-scrollbar-thumb {
    display: none;
}
.cometchat-message-information__receipts .cometchat-list-item__body {
    padding: 0px;
}

.cometchat-message-information__receipts .cometchat-list-item:hover {
    background: transparent;
}

.cometchat-message-information__receipts-subtitle {
    display: flex;
    padding: 0px;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cometchat-padding-1, 4px);
    flex: 1 0 0;
}

.cometchat-message-information__receipts-subtitle-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    overflow: hidden;
    color: var(--cometchat-text-color-secondary, #727272);
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);

}

.cometchat-message-information__receipts .cometchat-list-item {
    padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
    align-items: flex-start;
}

.cometchat-message-information__receipts .cometchat-list-item__trailing-view {
    display: none;
}

.cometchat-message-information__receipts .cometchat-list-item__leading-view,
.cometchat-message-information__receipts .cometchat-avatar,
.cometchat-message-information__receipts .cometchat-avatar__image {
    height: 40px;
    width: 40px;
}

.cometchat-message-information__shimmer {
    width: 100%;
    height: 260px;
    background: var(--cometchat-background-color-01, #FFF);

}

.cometchat-message-information__shimmer-item {
    width: 100%;
    height: 72px;
    display: flex;
    width: 100%;
    min-width: 240px;
    max-width: 1440px;
    padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: 12px;
}

.cometchat-message-information__shimmer-item-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--cometchat-radius-max, 1000px);
    background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
    animation: shimmerAnimation 5s infinite linear;
}

.cometchat-message-information__shimmer-item-title {
    background: var(--cometchat-shimmer-gradient-color);
    border-radius: var(--cometchat-radius-2, 8px);
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    animation: shimmerAnimation 5s infinite linear;
}

@keyframes shimmerAnimation {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.cometchat-message-information__receipts-subtite-text,
.cometchat-message-information__receipts-subtitle .cometchat-date,
.cometchat-message-information__receipts-subtite-text .cometchat-date {
    padding: 0px;
    overflow: hidden;
    color: var(--cometchat-text-color-secondary, #727272);
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-message-information__receipts-empty,
.cometchat-message-information__error-state {
    display: flex;
    height: 200px;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: var(--cometchat-text-color-secondary, #727272);
    text-align: center;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-message-information .cometchat-list__header {
    border-bottom: none;
}

.cometchat-message-information .cometchat-message-bubble {
    pointer-events: none;
}/* Error state view container */
.cometchat-message-list__error-state-view {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-padding-5, 20px);
    justify-content: center;
    align-items: center;
}

/* Icon in the error state view */
.cometchat-message-list__error-state-view-icon {
    height: 120px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    border: none;
    align-self: center;
}
.cometchat-message-list .cometchat-message-list__footer-smart-replies,.cometchat-message-list__footer-conversation-starter{
    width: 100%;
}
/* Body of the error state view */
.cometchat-message-list__error-state-view-body {
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-padding, 2px);
}

/* Title in the error state view body */
.cometchat-message-list__error-state-view-body-title {
    width: 280px;
    color: var(--cometchat-text-color-primary);
    text-align: center;
    font: var(--cometchat-font-heading3-bold);
    font-style: normal;
}

/* Description in the error state view body */
.cometchat-message-list__error-state-view-body-description {
    width: 280px;
    color: var(--cometchat-text-color-secondary);
    text-align: center;
    font: var(--cometchat-font-body-regular);
    font-style: normal;
}



/* Thread view replies inside message bubble */
.cometchat-message-bubble__thread-view-replies {
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Date inside outgoing message bubble */
.cometchat-message-bubble-outgoing .cometchat-message-bubble__status-info-view .cometchat-date {
    color: var(--cometchat-static-white);
    font: var(--cometchat-font-caption2-regular);
}

/* Date inside incoming message bubble */
.cometchat-message-bubble-incoming .cometchat-message-bubble__status-info-view .cometchat-date {
    color: var(--cometchat-neutral-color-600);
    font: var(--cometchat-font-caption2-regular);
}

/* Text bubble inside message bubble */
.cometchat-message-bubble .cometchat-text-bubble {
    padding-bottom: 0px;
}

/* Text bubble inside message bubble */
.cometchat-message-bubble .cometchat-delete-bubble {
    padding-bottom: 0px;
}

/* Read more/less inside text bubble */
.cometchat-message-bubble .cometchat-text-bubble .cometchat-text-bubble__read-more,
.cometchat-text-bubble__read-less {
    padding-bottom: 0px;
    padding-right: 0px;
}

/* Status info for whiteboard message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__whiteboard-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
}

/* Status info for delete message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__delete-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
    padding-right: var(--cometchat-padding-2);
}

/* Status info for document message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__document-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
}

/* Status info for whiteboard message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__whiteboad-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
}

/* Status info for poll message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__pol-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
}

/* Status info for audio message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__audio-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
}

/* Status info for file message inside message bubble */
.cometchat-message-bubble .cometchat-message-bubble__file-message .cometchat-message-bubble__status-info-view {
    padding-top: 0px;
}

/* Status info view inside message bubble */
.cometchat-message-bubble__status-info-view {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: fit-content;
    width: fit-content;
    padding: var(--cometchat-padding-1, 4px);
    gap: var(--cometchat-padding-1, 4px);
    border-radius: var(--cometchat-radius-max, 1000px);
}

.cometchat-message-bubble__audio-call .cometchat-call-bubble {
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px) var(--cometchat-padding-2, 8px);
    ;
}
.cometchat-fullscreen-viewer .cometchat-fullscreen-viewer__body-image {
    max-width: 100%;
    max-height: 84vh;
    object-fit: contain;
}

.cometchat-message-bubble__audio-call .cometchat-call-bubble .cometchat-call-bubble__body {
    padding: 0;
}
.cometchat-message-bubble__thread-view-replies .cometchat-button {
    align-items: flex-end;

}
.cometchat-reactions-info-wrapper>.cometchat {
    width: fit-content;
}
.cometchat-message-bubble__thread-view-replies .cometchat-button .cometchat-button__text {
    margin-bottom: -2px;
}
.cometchat-message-bubble__body-footer-view .cometchat-reactions .cometchat {
    width: fit-content;
}
.cometchat-reactions .cometchat-popover, .cometchat-reactions .cometchat-popover__button{
    width: fit-content;
}

/* Date header inside message list */
.cometchat-message-list__date-header {
    position: absolute;
    top: 12px;
    z-index: 2;
}
.cometchat-message-list__bubble-date-header{
    margin: auto;
    width: fit-content;
}
.cometchat-message-list__bubble-date-header,
.cometchat-message-list__date-header {
    display: flex;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-dark);
    background: var(--cometchat-background-color-02);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

/* Helper text for status info view */
.cometchat-message-bubble__status-info-view-helper-text {
    text-align: right;
    color: var(--cometchat-static-white);
    font: var(--cometchat-font-caption2-regular);
    align-self: flex-end;
    padding-bottom: 1.5px;
}

/* Button inside thread view replies */
.cometchat-message-bubble__thread-view-replies .cometchat-button {
    background: transparent;
    gap: var(--cometchat-padding-1, 4px);
    justify-content: flex-start;
    padding: 0;
    height: 100%;
    width: fit-content;
}

/* Thread view replies layout */
.cometchat-message-bubble__thread-view-replies {
    display: flex;
    height: 24px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-1, 4px) 0px var(--cometchat-padding-1, 4px);
    align-items: center;
    align-self: stretch;
}

/* Outgoing thread view replies */
.cometchat-message-bubble-outgoing .cometchat-message-bubble__thread-view-replies {
    justify-content: flex-end;
}

/* Text inside thread view replies button */
.cometchat-message-bubble__thread-view-replies .cometchat-button__text {
    color: var(--cometchat-text-color-primary);
    text-align: right;
    font: var(--cometchat-font-caption1-regular);
}

/* Icon inside thread view replies button */
.cometchat-message-bubble__thread-view-replies .cometchat-button__icon {
    height: 16px;
    background: var(--cometchat-icon-color-secondary);
    width: 16px;
    -webkit-mask-size: contain;
}

/* Helper text for incoming message bubble status info */
.cometchat-message-bubble-incoming .cometchat-message-bubble__status-info-view-helper-text {
    text-align: right;
    color: var(--cometchat-neutral-color-600);
    font: var(--cometchat-font-caption2-regular);
    align-self: flex-end;
    padding-bottom: 1.5px;
}


/* Date inside date header in message list */
.cometchat-message-list__date-header .cometchat-date,
.cometchat-message-list__bubble-date-header .cometchat-date  {
    color: var(--cometchat-text-color-primary);
    font: var(--cometchat-font-caption1-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Date inside message bubble status info view */
.cometchat-message-bubble__status-info-view .cometchat-date {
    padding: 0px;
}

/* Bubble layout in message list */
.cometchat-messagelist__bubble {
    padding: 0px 0px 0px 15px;
    overflow: hidden;
    display: flex;
    margin-right: 8px;
    box-sizing: border-box;
    width: 100%;
}

/* Main message list container */
.cometchat-message-list {
    height: 100%;
    width: 100%;
    flex: 1 1 0;
    order: 2;
    position: relative;
    display: flex;
    border-radius: inherit;
    background: var(--cometchat-background-color-02);
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

/* Header inside message list */
.cometchat-message-list__header {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    height: auto;
}

/* Body inside message list */
.cometchat-message-list__body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    box-sizing: border-box;
}

.cometchat-message-list__body--spacing-top .cometchat-list__body-intersection-top{
    margin-bottom: var(--cometchat-spacing-8);
}

/* Message indicator inside message list */
.cometchat-message-list__message-indicator {
    position: absolute;
    right: 12px;
    bottom: 8px;
}

.cometchat-message-list__message-indicator>.cometchat {
    width: fit-content;
}

/* Button inside message indicator */
.cometchat-message-list__message-indicator .cometchat-button {
    background: var(--cometchat-static-black);
    height: fit-content;
    width: fit-content;
    display: flex;
    padding: var(--cometchat-padding-2, 8px);
    flex-direction: column-reverse;
    align-items: flex-start;
    border-radius: var(--cometchat-radius-max, 4px);
    justify-content: center;
    align-items: center;
    gap: 4px;
}

/* Text inside message indicator button */
.cometchat-message-list__message-indicator .cometchat-button__text {
    color: var(--cometchat-static-white);
    text-align: center;
    font: var(--cometchat-font-caption1-regular);
    background: var(--cometchat-primary-color, #6852D6);
    border-radius: var(--cometchat-radius-max);
    height: 20px;
    padding: 0px var(--cometchat-padding-2, 8px);
    justify-content: center;
    align-items: center;
    display: flex;
}

/* Icon inside message indicator button */
.cometchat-message-list__message-indicator .cometchat-button__icon {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-static-white);
}

/* Footer inside message list */
.cometchat-message-list__footer {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    z-index: 1;
}

/* Leading view inside message bubble */
.cometchat-message-bubble__leading-view {
    display: flex;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

/* Avatar inside leading view of message bubble */
.cometchat-message-bubble__leading-view .cometchat-avatar {
    width: 32px;
    height: 32px;
}

/* Header view inside message bubble */
.cometchat-message-bubble__header-view {
    color: var(--cometchat-text-color-highlight);
    font: var(--cometchat-font-caption1-medium);
    margin-bottom: var(--cometchat-margin-1);
}

/* Receipt icon inside message list */
.cometchat-message-list__receipt {
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Status view for "sending" receipt inside message bubble */
.cometchat-message-bubble__status-info-view-receipts-wait .cometchat-message-list__receipt {
    -webkit-mask: url("/cometchat/assets/status_sending.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background: var(--cometchat-static-white);
}

/* Status view for "sent" receipt inside message bubble */
.cometchat-message-bubble__status-info-view-receipts-sent .cometchat-message-list__receipt {
    -webkit-mask: url("/cometchat/assets/status_sent.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background: var(--cometchat-static-white);

}

.cometchat-message-list__bubble-moderation-disapproved .cometchat-message-bubble__body {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}


.cometchat-message-list__bubble-moderation-disapproved .cometchat-message-bubble__body-content-view .cometchat-video-bubble{
    min-width: 240px;
}

.cometchat-message-list__bubble-moderation-disapproved .cometchat-message-bubble__body-content-view .cometchat-image-bubble{
    min-width: 240px;
}

/* Status view for "delivered" receipt inside message bubble */
.cometchat-message-bubble__status-info-view-receipts-delivered .cometchat-message-list__receipt {
    -webkit-mask: url("/cometchat/assets/status_delivered.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background: var(--cometchat-static-white);

}

/* Status view for "read" receipt inside message bubble */
.cometchat-message-bubble__status-info-view-receipts-read .cometchat-message-list__receipt {
    -webkit-mask: url("/cometchat/assets/status_read.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background: var(--cometchat-message-seen-color,#56E8A7);


}

/* Error receipt status inside message bubble */
.cometchat-message-bubble__status-info-view-receipts-error .cometchat-message-list__receipt {
    -webkit-mask: url("/cometchat/assets/error_info.svg") center center no-repeat;
    background: var(--cometchat-static-white);
    height: 12px;
    width: 12px;
}

/* Error receipt status view inside message bubble */
.cometchat-message-bubble__status-info-view-receipts-error {
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cometchat-error-color);
    border-radius: var(--cometchat-radius-max);
}

/* shimmer */
.cometchat-message-list__shimmer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--cometchat-background-color-01);
    padding: 0px var(--cometchat-padding-4, 16px) var(--cometchat-padding-4, 16px) var(--cometchat-padding-4, 16px);

}

.cometchat-message-list__shimmer-body {
    display: flex;
    width: 286px;
    align-items: center;
    position: relative;
    border-radius: var(--cometchat-radius-2, 8px);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--cometchat-padding-2);
}

.cometchat-message-list__shimmer-leading-view {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: var(--cometchat-radius-max, 8px);
    background: var(--cometchat-shimmer-gradient-color);
    background-size: 200% 100%;
    animation: listLoadingAnimation .8s infinite;
    margin-right: var(--cometchat-margin-2);

}

.cometchat-message-list__shimmer-header {
    display: flex;
    width: 50px;
    height: 22px;
    justify-content: center;
    align-items: center;
    align-self: center;
    border-radius: var(--cometchat-radius-2, 8px);
    margin: auto;
    margin-top: 10px;
    z-index: 1;
    position: relative;


}

.cometchat-message-list__shimmer-header .cometchat-message-list__shimmer-item {
    height: 22px;
}

.cometchat-message-list__shimmer-item-header {
    display: flex;
    width: 120px;
    height: 12px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-shimmer-gradient-color);
    background-size: 200% 100%;
    animation: listLoadingAnimation .8s infinite;
    border-radius: var(--cometchat-radius-2, 8px);
}

.cometchat-message-list__shimmer-item {
    width: 100%;
    height: 53px;
    background: var(--cometchat-shimmer-gradient-color);
    background-size: 200% 100%;
    animation: listLoadingAnimation .8s infinite;
    border-radius: var(--cometchat-radius-2, 8px);
}

/* call status  */
.cometchat-message-bubble .cometchat-message-bubble__video-call,
.cometchat-message-bubble .cometchat-message-bubble__audio-call {
    background: transparent;
    padding: 0px;
}

.cometchat-message-bubble .cometchat-message-bubble__video-call .cometchat-action-bubble__icon,
.cometchat-message-bubble .cometchat-message-bubble__audio-call .cometchat-action-bubble__icon {
    display: flex;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    background: var(--cometchat-icon-color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cometchat-message-bubble__video-call .cometchat-action-bubble,
.cometchat-message-bubble__audio-call .cometchat-action-bubble {
    display: flex;
    height: 32px;
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    border: 1px solid var(--cometchat-border-color-default);
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__missed-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/missed_video_call_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background: var(--cometchat-error-color);
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__ended-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/call_end_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__outgoing-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/outgoing_video_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__incoming-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/incoming_video_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__busy-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/video_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__answered-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/video_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__unanswered-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/video_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__cancelled-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/video_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__video-call .cometchat-message-bubble__rejected-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/video_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}


.cometchat-message-bubble__audio-call .cometchat-message-bubble__missed-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/phone_missed_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background: var(--cometchat-error-color);

}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__ended-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/call_end_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__outgoing-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/phone_outgoing_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__incoming-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/phone_incoming_no_fill.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__busy-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/audio_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__answered-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/audio_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__unanswered-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/audio_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__cancelled-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/audio_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}

.cometchat-message-bubble__audio-call .cometchat-message-bubble__rejected-call .cometchat-action-bubble__icon {
    -webkit-mask: url("/cometchat/assets/audio_call_button.svg") center center no-repeat;
    -webkit-mask-size: contain;
}


@keyframes listLoadingAnimation {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: 0% 200%;
    }


}

/**
 * Setting transparent background and gap for sticker message bubble
 */
.cometchat-message-bubble__body-wrapper .cometchat-message-bubble__sticker-message {
    gap: var(--cometchat-padding-2, 8px);
}

/**
 * Removing cursor from sticker messages
 */
.cometchat-message-bubble__sticker-message .cometchat-image-bubble {
    cursor: default;
    background-color: transparent;
}

/**
 * Adding semi-transparent background to status info view in sticker messages
 */
.cometchat-message-bubble__sticker-message .cometchat-message-bubble__status-info-view {
    background: rgba(20, 20, 20, 0.60);
    align-items: center;
}

.cometchat-message-bubble__sticker-message .cometchat-message-bubble__status-info-view > .cometchat{
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    display: flex;
}

/**
 * Setting text color for date information in the status info view
 */
.cometchat-message-bubble__sticker-message .cometchat-message-bubble__status-info-view .cometchat-date {
    color: var(--cometchat-static-white, #F9F8FD);
}

/**
 * Styling for the message information popup wrapper and flag message dialog wrapper to create a centered overlay
 */
.cometchat-message-information__popup-wrapper, .cometchat-message-list__flag-message-dialog-wrapper {
    display: flex;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.cometchat-message-list__body
{
    justify-content: flex-end;
}

.cometchat-message-list-loaded .cometchat-message-list__body  .cometchat-list__body{
    height: fit-content;
    max-height: 100%;
}

.cometchat-message-list-loaded > .cometchat-message-list__body > .cometchat {
    height: fit-content !important;
    max-height: 100%;
}

.cometchat-message-list__new-message-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--cometchat-spacing-4);
    width: 100%;
    padding: var(--cometchat-margin-4) var(--cometchat-spacing-7);
}

.cometchat-message-list__new-message-divider span{
    text-wrap: nowrap;
    font: var(--cometchat-font-body-medium);
    color: var(--cometchat-error-color);
}

.cometchat-message-list__new-message-divider div {
    width: 100%;
    height: 1px;
    background-color: var(--cometchat-error-color);
}

@keyframes backgroundFade {
    0% { background-color: var(--cometchat-extended-primary-color-200); }
    50% { background-color: var(--cometchat-extended-primary-color-100); }
    75%, 100% { background-color: transparent; }
}

.cometchat-message-list__bubble-highlight {
    animation: backgroundFade 3s ease-out forwards;
}

.cometchat-message-list__bubble-highlight-longer {
    animation: backgroundFade 5s ease-out forwards;
}

.cometchat-message-list-hide-scrollbar .cometchat-reaction-list__list::-webkit-scrollbar,
.cometchat-message-list-hide-scrollbar .cometchat-reaction-list__list::-webkit-scrollbar-thumb,
.cometchat-message-list-hide-scrollbar .cometchat-reaction-list__tabs::-webkit-scrollbar,
.cometchat-message-list-hide-scrollbar .cometchat-reaction-list__tabs::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-message-list-hide-scrollbar .cometchat-emoji-keyboard__list::-webkit-scrollbar,
.cometchat-message-list-hide-scrollbar .cometchat-emoji-keyboard__list::-webkit-scrollbar-thumb,
.cometchat-message-list-hide-scrollbar .cometchat-emoji-keyboard__tabs::-webkit-scrollbar,
.cometchat-message-list-hide-scrollbar .cometchat-emoji-keyboard__tabs::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-message-list__flag-message-dialog-hide-scrollbar .cometchat-flag-message-dialog__remark-input::-webkit-scrollbar,
.cometchat-message-list__flag-message-dialog-hide-scrollbar .cometchat-flag-message-dialog__remark-input::-webkit-scrollbar-thumb {
    display: none;
}/*
   Main container for the reply-message preview area.
*/
.cometchat-message-preview {
    padding: var(--cometchat-padding-2, 8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0;
    min-height: 30px;
    height: 100%;
    width: 100%;
    min-width: 100px;
    cursor: pointer;
    border: none;
    border-radius: var(--cometchat-radius-1, 4px);
    box-sizing: border-box;
    gap: var(--cometchat-padding-1, 4px);
    position: relative;
    background-color: var(--cometchat-background-color-03);
  }


.cometchat-message-bubble-incoming .cometchat-message-preview{
  background-color: var(--cometchat-neutral-color-400);
  color: var( --cometchat-primary-color);
}

.cometchat-message-bubble-outgoing .cometchat-message-preview{
  background: var(--cometchat-extended-primary-color-700);
}
  
  /*
     Close button for the reply-message preview.
  */
  .cometchat-message-preview__close {
    mask: url("/cometchat/assets/close.svg") center center no-repeat;
    -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cometchat-icon-color-primary);
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: var(--cometchat-padding-2, 8px);
    right: var(--cometchat-padding-2, 8px);
    cursor: pointer;
  }

  /*
     Text shown when a message is deleted.
  */
  .cometchat-message-bubble-outgoing .cometchat-message-preview-deleted__message{
    color: var(--cometchat-static-white);
  }

  .cometchat-message-preview-deleted__message {
    display: flex;  
    gap: 2px;
    height: 100%;
    justify-content: left;
    width: 100%;
  }

  .cometchat-message-preview-deleted__message__text{
    font: var(--cometchat-font-caption1-regular, 12px);
    white-space: nowrap;    
    overflow: hidden;         
    text-overflow: ellipsis; 
    max-width: 100%;
  }
  .cometchat-message-bubble-incoming .cometchat-message-preview-deleted__message{
    color: var(--cometchat-neutral-color-600);
  }
  
  /*
     Title text inside the reply-message preview.
  */
  .cometchat-message-preview__title {
    font: var(--cometchat-font-caption1-regular, 12px);
    width: 100%; 
    text-align: left;
    color: var(--cometchat-primary-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  /*
     Subtitle text inside the reply-message preview, containing the actual text being reply-messageed.
  */
  .cometchat-message-preview__subtitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: normal;
    width: 100%;    
    text-align: left;
    color: var(--cometchat-text-color-secondary);
    font: var(--cometchat-font-caption1-regular, 12px);
    overflow: hidden;
  }
  
  .cometchat-message-bubble-outgoing .bubble-view{
    border-left: 3px solid var(--cometchat-static-white); 
  }

  .composer-view .cometchat-message-preview {
    border-left: 3px solid var(--cometchat-primary-color); 
  }
  .cometchat-message-bubble-outgoing .bubble-view .cometchat-message-preview__subtitle-icon{
    background-color: var(--cometchat-static-white);
  }

    
  .cometchat-message-bubble-incoming .bubble-view{
    border-left: 3px solid var(--cometchat-primary-color); 
  }

  .cometchat-message-bubble-outgoing .cometchat-message-preview__title, .cometchat-message-bubble-outgoing .cometchat-message-preview__subtitle{
    color: var(--cometchat-static-white);
  }

  .cometchat-message-bubble-outgoing .cometchat-message-preview__subtitle-text a {
    color: var(--cometchat-static-white) !important;
    text-decoration: underline;
  }

  .cometchat-message-bubble-outgoing .cometchat-message-preview__subtitle-text .cometchat-url {
    color: var(--cometchat-static-white) !important;
    text-decoration: underline;
  }

  .bubble-view{
    border-radius: 4px;
  }
  
  .cometchat-message-preview_others{
    border-left: 3px solid var(--cometchat-primary-color);
  }

  .cometchat-message-preview__subtitle-text{
    text-align: left;
    overflow: hidden;
    font: var(--cometchat-font-caption1-regular, 12px);
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }
  
  .cometchat-message-preview__subtitle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    border: none;
    align-self: center;
    background: var(--cometchat-icon-color-secondary, #A1A1A1);
    height: 16px;
    width: 16px;
    flex-shrink: 0;
  }
  
  .cometchat-message-preview__subtitle-icon-image {
    -webkit-mask: url("/cometchat/assets/conversations_image-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_image-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

   .cometchat-message-bubble-incoming  .cometchat-message-preview-deleted__message__icon{
    background: var(--cometchat-neutral-color-600);
  }

  .cometchat-message-bubble-outgoing .cometchat-message-preview-deleted__message__icon{
    background: var(--cometchat-static-white, #fff);
  }


  .cometchat-message-preview-deleted__message__icon{
    height: 14px;
    width: 14px;
    flex: 0 0 auto;
    -webkit-mask: url("/cometchat/assets/message_delete.svg") center center no-repeat;
    mask: url("/cometchat/assets/message_delete.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

.cometchat-message-preview__subtitle-icon-meeting-incoming-audio{
    -webkit-mask: url("/cometchat/assets/phone_incoming.svg") center center no-repeat;
    mask: url("/cometchat/assets/phone_incoming.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

 .cometchat-message-preview__subtitle-icon-meeting-outgoing-audio{
    -webkit-mask: url("/cometchat/assets/phone_outgoing.svg") center center no-repeat;
    mask: url("/cometchat/assets/phone_outgoing.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
.cometchat-message-preview__subtitle-icon-meeting-incoming-video {
    -webkit-mask: url("/cometchat/assets/incoming_video.svg") center center no-repeat;
    mask: url("/cometchat/assets/incoming_video.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

.cometchat-message-preview__subtitle-icon-meeting-outgoing-video{
    -webkit-mask: url("/cometchat/assets/outgoing_video.svg") center center no-repeat;
    mask: url("/cometchat/assets/outgoing_video.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  

  .cometchat-message-preview__subtitle-icon-file {
    -webkit-mask: url("/cometchat/assets/conversations_file-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_file-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  .cometchat-message-preview__subtitle-icon-video {
    -webkit-mask: url("/cometchat/assets/conversations_video-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_video-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  .cometchat-message-preview__subtitle-icon-audio {
    -webkit-mask: url("/cometchat/assets/conversations_audio-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_audio-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  .cometchat-message-preview__subtitle-icon-poll {
    -webkit-mask: url("/cometchat/assets/conversations_poll-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_poll-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  
  .cometchat-message-preview__subtitle-icon-sticker {
    -webkit-mask: url("/cometchat/assets/conversations_sticker-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_sticker-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  
  .cometchat-message-preview__subtitle-icon-collaborative-document {
    -webkit-mask: url("/cometchat/assets/conversations_collaborative-document-message.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_collaborative-document-message.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  
  .cometchat-message-preview__subtitle-icon-collaborative-whiteboard {
    -webkit-mask: url("/cometchat/assets/collaborative_whiteboard.svg") center center no-repeat;
    mask: url("/cometchat/assets/collaborative_whiteboard.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  .cometchat-message-preview__subtitle-icon-link {
    -webkit-mask: url("/cometchat/assets/conversations_link.svg") center center no-repeat;
    mask: url("/cometchat/assets/conversations_link.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  .cometchat-message-preview__subtitle-icon-unsupported {
    -webkit-mask: url("/cometchat/assets/file_unsupported.svg") center center no-repeat;
    mask: url("/cometchat/assets/file_unsupported.svg") center center no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  
  .cometchat-message-preview__subtitle-icon-none {
    display: none;
  }
/* Bottom view for "blocked" messages inside message bubble */
.cometchat-moderation-status__icon{
    min-width: 16px;
    min-height: 16px;
    -webkit-mask: url("/cometchat/assets/message_blocked.svg") center center no-repeat;
    -webkit-mask-size: contain;
    background-color: var(--cometchat-error-color);
    display: inline-block;
}

.cometchat-moderation-status {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: var(--cometchat-error-color-100);
    padding: var(--cometchat-padding-1) var(--cometchat-padding-2);
    gap: var(--cometchat-spacing-1, 4px);
    border-radius: 0 0 var(--cometchat-radius-3, 12px) var(--cometchat-radius-3, 12px);
}

.cometchat-moderation-status .cometchat-moderation-status__message {
    color: var(--cometchat-error-color, #F44649);
    text-align: left;
    font: var(--cometchat-font-body-regular);
    margin: 0;
}.cometchat-ongoing-call,.cometchat:has(> .cometchat-ongoing-call) {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 10;
}
/* Container for the outgoing call UI, responsible for layout and overall styling */
.cometchat-outgoing-call {
    display: flex;
    width: 360px;
    height: 540px;
    padding: var(--cometchat-padding-5, 20px) 0px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-5, 20px);
    border: 1px solid var(--cometchat-border-color-light);
    background: var(--cometchat-background-color-01);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

/* Title for the outgoing call UI */
.cometchat-outgoing-call__title {
    color: var(--cometchat-text-color-primary);
    text-align: center;
    font: var(--cometchat-font-title-medium);
}

.cometchat-outgoing-call__title-container {
    display: flex;
    flex-direction: column;
    gap: var(--cometchat-spacing-2);
}

/* Subtitle text for the outgoing call UI */
.cometchat-outgoing-call__subtitle {
    color: var(--cometchat-text-color-secondary);
    text-align: center;
    font: var(--cometchat-font-heading4-regular);
}

/* Avatar container for the outgoing call, controlling its size and layout */
.cometchat-outgoing-call__avatar {
    display: flex;
    width: 160px;
    height: 160px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max);
}

/* Avatar image inside the avatar container */
.cometchat-outgoing-call__avatar .cometchat-avatar {
    width: 160px;
    height: 160px;
}

/* Avatar text inside the avatar container */
.cometchat-outgoing-call__avatar .cometchat-avatar__text {
    font: 700 64px/76.8px var(--cometchat-font-family);
    height: fit-content;
    width: fit-content;
    font-style: normal;
}

/* Button container for actions during the outgoing call */
.cometchat-outgoing-call__button .cometchat-button {
    display: flex;
    padding: var(--cometchat-padding-4);
    align-items: center;
    gap: var(--cometchat-padding-2);
    border-radius: var(--cometchat-radius-max);
    background: var(--cometchat-error-color);
    justify-content: center;
    height: fit-content;
    width: fit-content;
    cursor: pointer;
}

/* Icon inside the outgoing call button */
.cometchat-outgoing-call__button .cometchat-button .cometchat-button__icon {
    -webkit-mask-size: contain;
    width: 24px;
    height: 24px;
    background: var(--cometchat-static-white);
}

/* Media query for screens with a max width of 600px */
@media (max-width: 600px) {
    .cometchat-outgoing-call{
        padding: var(--cometchat-spacing-20) var(--cometchat-spacing-5) var(--cometchat-spacing-15) var(--cometchat-spacing-5);
    }

    /* Font size for avatar text in smaller screens */
    .cometchat-outgoing-call__avatar .cometchat-avatar__text {
        font: 700 50px/60px var(--cometchat-font-family);
    }

    /* Avatar size adjustment for smaller screens */
    .cometchat-outgoing-call .cometchat-outgoing-call__avatar .cometchat .cometchat-avatar {
        width: 120px;
        height: 120px;
    }

    /* Font size adjustment for title in smaller screens */
    .cometchat-outgoing-call__title {
        font: var(--cometchat-font-heading1-bold);
    }

    /* Font size adjustment for subtitle in smaller screens */
    .cometchat-outgoing-call__subtitle {
        font: var(--cometchat-font-body-regular);
    }
    .cometchat-outgoing-call__avatar{
        margin-bottom: auto;
        margin-top: var(--cometchat-margin-10);
    }

    /* Size and border radius adjustment for the container in smaller screens */
    .cometchat-outgoing-call,.cometchat:has(> .cometchat-outgoing-call) {
        height: 100%;
        width: 100%;
        border-radius: 0;
    }


}.cometchat-popover__content {
    position: fixed;
    height: fit-content;
    width: fit-content;
    z-index: 2;
    border-radius: var(--cometchat-radius-5, 16px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-popover__content-tooltip-top,
.cometchat-popover__content-tooltip-bottom {
  position: absolute;
  width: 100%;
  height: 6px;
  background: var(--cometchat-static-black, #141414);
  -webkit-mask: url("/cometchat/assets/tooltip.svg") center center no-repeat;
  -webkit-mask-size: contain;
}

.cometchat-popover__content-tooltip-top {
  bottom: -7px;
}

.cometchat-popover__content-tooltip-bottom {
  transform: rotate(180deg);
  top: -7px;
}.cometchat-quick-view {
    position: relative;
    min-width: 190px;
    padding: 5px;
    box-sizing: border-box;
    background: #efefef;
    height: fit-content;
    width: 100%;
    border-radius: 8px;
}

.cometchat-quick-view__content {
    margin-left: 14px;
}

.cometchat-quick-view__container {
    display: flex;
    align-items: center;
}

.cometchat-quick-view-button {
    position: absolute;
    top: 2px;
    right: 4px;
    height: 16px;
    width: 16px;
    border: none;
    border-radius: 0;
    background: transparent;
}

.cometchat-quick-view-bar {
    position: absolute;
    height: 90%;
    top: 5%;
    left: 5px;
    border-radius: 5px;
    background: "black";
    width: "4px";
}

.cometchat-quick-view-title {
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 0px;
    font: "600 13px Inter, sans-serif";
    color: "grey";
}

.cometchat-quick-view-subtitle {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0px;
    text-align: left;
    font: "400 13px Inter, sans-serif";
    color: "grey";
}.cometchat-radiobutton {
    display: inline-flex;
    align-items: center;
    position: relative;

}

.cometchat-radiobutton__label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.cometchat-radiobutton__selected {
    display: inline-block;
    position: relative;
    height: 24px;
    width: 24px;
    flex-shrink: 0;
    border-radius: var(--cometchat-radius-max, 1000px);
    border: 1.5px solid var(--cometchat-border-color-default, #E8E8E8);
}

.cometchat-radiobutton:hover .cometchat-radiobutton__selected {
    border: 1.5px solid var(--cometchat-border-color-dark, #DCDCDC);
    cursor: pointer;
}

.cometchat-radiobutton input[type="radio"]:checked+.cometchat-radiobutton__selected {
    border: 1.5px solid var(--cometchat-primary-color, #6852D6);
}

.cometchat-radiobutton input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.cometchat-radiobutton__selected::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    border-radius: var(--cometchat-radius-max, 1000px);
    background-color: var(--cometchat-primary-color, #6852D6);
    transform: translate(-50%, -50%);
    display: none;
}

.cometchat-radiobutton input[type="radio"]:checked+.cometchat-radiobutton__selected::after {
    display: block;
}

.cometchat-radiobutton__label {
    display: flex;
    align-items: center;
    gap: var(--cometchat-radius-2, 8px);
    color: var(--cometchat-text-color-secondary);
    font: var(--cometchat-font-body-regular);
}.cometchat-reaction-info {
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    border-radius: var(--cometchat-radius-2, 8px);
}

.cometchat-reaction-info__content {
    display: flex;
    padding: 8px var(--cometchat-padding-2, 8px);
    flex-direction: column;
    align-items: center;
    border-radius: var(--cometchat-radius-1, 4px);
    background: var(--cometchat-static-black, #141414);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
    margin: -1px;
    min-height: 77px;
    min-width: 77px;
    justify-content: center;
}


.cometchat-reaction-info__emoji-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
}

.cometchat-reaction-info__emoji {
    color: var(--cometchat-static-white, #F9F8FD);
    text-align: center;
    font: var(--cometchat-font-heading1-regular, 400 24px Roboto);
}

.cometchat-reaction-info__title {
    color: var(--cometchat-static-white, #F9F8FD);
    text-align: center;
    font: var(--cometchat-font-caption1-regular, 400 12px Roboto);
}

.cometchat-reaction-info__description {
    color: var(--cometchat-text-color-tertiary, #A1A1A1);
    text-align: center;
    font: var(--cometchat-font-caption1-regular, 400 12px Roboto);
}

.cometchat-reaction-info__error {
    color: var(--cometchat-error-color, #F44649);
    text-align: center;
    font: var(--cometchat-font-caption1-regular, 400 12px Roboto);
}

.cometchat-reaction-info__loading {
    -webkit-mask: url("/cometchat/assets/Spinner-Gradient-1.svg") center center no-repeat;
    -webkit-mask-size: contain;
    height: 24px;
    width: 24px;
    border: 4px solid var(--cometchat-background-color-04, #E8E8E8);
    border-radius: 50%;
    border-top: 4px solid transparent;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    
}
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}.cometchat-reaction-list {
    display: flex;
    width: 280px;
    flex-direction: column;
    overflow: hidden;
    align-items: flex-start;
    border-radius: var(--cometchat-radius-5, 20px);
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-reaction-list__error {
    display: flex;
    height: 200px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
    color: var(--cometchat-text-color-secondary, #727272);
    text-align: center;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-reaction-list__tabs {
    display: flex;
    padding-top: var(--cometchat-padding-2, 8px);
    max-width: 280px;
    align-items: center;
    align-self: stretch;
    overflow-x: auto;
    border-bottom: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    background: var(--cometchat-background-color-01, #FFF);
}


.cometchat-reaction-list__tabs-tab {
    display: flex;
    height: 40px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    cursor: pointer;
    border-radius: 4px 4px 0px 0px;
}

.cometchat-reaction-list__tabs-tab-active {
    border-bottom: 2px solid var(--cometchat-primary-color, #6852D6);
}

.cometchat-reaction-list__tabs-tab-emoji,
.cometchat-reaction-list__tabs-tab-count {
    color: var(--cometchat-text-color-secondary, #727272);
    text-align: center;
    font: var(--cometchat-font-body-medium, 500 14px Roboto);
}

.cometchat-reaction-list__tabs-tab-count-active,
.cometchat-reaction-list__tabs-tab-emoji-active {
    color: var(--cometchat-text-color-highlight, #6852D6);
}

.cometchat-reaction-list__list {
    display: flex;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--cometchat-radius-0, 0px);
    background: var(--cometchat-background-color-01, #FFF);
    overflow-y: auto;
    height: 200px;
}

.cometchat-reaction-list .cometchat-list-item {
    width: 280px;
    cursor: pointer;
}

.cometchat-reaction-list .cometchat-list-item__leading-view,
.cometchat-reaction-list .cometchat-list-item__body {
    padding: 0px;
    flex-shrink: inherit;
}

.cometchat-reaction-list .cometchat-list-item__body-title {
    overflow: hidden;
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-body-medium, 500 14px Roboto);
}

.cometchat-reaction-list .cometchat-list-item__body-subtitle {
    overflow: hidden;
    color: var(--cometchat-text-color-secondary, #727272);
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--cometchat-font-caption1-regular, 400 12px Roboto);
}

.cometchat-reaction-list .cometchat-avatar,
.cometchat-reaction-list .cometchat-avatar__image,
.cometchat-reaction-list .cometchat-list-item__leading-view {
    height: 32px;
    width: 32px;
}

.cometchat-reaction-list .cometchat-list-item__title-container {
    gap: 0px;
}

.cometchat-reaction-list__shimmer {
    display: flex;
    width: 280px;
    height: 200px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: var(--cometchat-radius-4, 16px);
    border: 1px solid var(--cometchat-background-color-01, #FFF);
    background: var(--cometchat-background-color-01, #FFF);
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-reaction-list__shimmer-tabs {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px) var(--cometchat-padding-4, 16px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: 20px;
    align-self: stretch;
    border-bottom: 1px solid var(--cometchat-border-color-default, #E8E8E8);
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-reaction-list__shimmer-tab {
    background: var(--cometchat-shimmer-gradient-color);
    display: flex;
    width: 48px;
    height: 16px;
    border-radius: var(--cometchat-radius-2, 8px);
    justify-content: center;
    align-items: center;
    animation: shimmerAnimation 10s infinite linear;
}

.cometchat-reaction-list__shimmer-item {
    display: flex;
    width: 280px;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-3, 12px);
    flex: 1 0 0;
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-reaction-list__shimmer-item-icon {
    background: var(--cometchat-shimmer-gradient-color);
    display: flex;
    border-radius: var(--cometchat-radius-max, 1000px);
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    animation: shimmerAnimation 10s infinite linear;
}

.cometchat-reaction-list__shimmer-item-content {
    background: var(--cometchat-shimmer-gradient-color);
    border-radius: var(--cometchat-radius-2, 8px);
    display: flex;
    height: 20px;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    animation: shimmerAnimation 5s infinite linear;
}

.cometchat-reaction-list__shimmer-item-tailview {
    background: var(--cometchat-shimmer-gradient-color);
    display: flex;
    width: 24px;
    height: 24px;
    border-radius: var(--cometchat-radius-max, 1000px);
    justify-content: center;
    align-items: center;
    animation: shimmerAnimation 10s infinite linear;
}

@keyframes shimmerAnimation {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}.cometchat-reactions {
    display: flex;
    padding: 0px var(--cometchat-padding-1, 4px);
    align-items: flex-start;
    align-content: flex-start;
    gap: 2px;
    align-self: stretch;
    width: fit-content;
    height: fit-content;
}

.cometchat-reactions__reaction,
.cometchat-reactions__more-reaction {
    display: inline-flex;
    height: 24px;
    padding: 2px var(--cometchat-padding-2, 8px);
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
    cursor: pointer;
}

.cometchat-reactions__reaction-you {
    display: inline-flex;
    height: 23px;
    padding: 2px var(--cometchat-padding-2, 8px);
    align-items: center;
    gap: var(--cometchat-padding-1, 4px);
    flex-shrink: 0;
    border-radius: 20px;
    border: 1px solid var(--cometchat-extended-primary-color-300, #CCC4F1);
    background: var(--cometchat-extended-primary-color-100, #EDEAFA);
}

.cometchat-reactions__reaction-emoji {
    color: var(--cometchat-text-color-primary, #141414);
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-reactions__reaction-count,
.cometchat-reactions__more-reaction-count {
    color: var(--cometchat-text-color-primary, #141414);
    font: var(--cometchat-font-caption1-regular, 400 12px Roboto);
}

.cometchat-reactions-info-wrapper .cometchat-popover__content {
    background: transparent;
    box-shadow: none;
    border: none;
}.cometchat-search {
  width: 100%;
  margin: 0 auto;
  background: var(--cometchat-background-color-01);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-3, 12px);

}

.cometchat-search__header {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-start;
  min-height: 64px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  padding-bottom: 0;

}

.cometchat-search__search-bar {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.cometchat-search__input {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
  gap: var(--cometchat-spacing-1, 4px);
  flex: 1 0 0;
  align-self: stretch;
  border-radius: var(--cometchat-radius-max, 1000px);
  border: 1px solid var(--cometchat-border-color-dark, #DCDCDC);
  background: var(--cometchat-background-color-03, #F5F5F5);
  justify-content: flex-start;
  overflow-x: auto;
}

.cometchat-search__input input {
  border: none;
  flex: 1;
  min-width: 50px;
  outline: none;
  background: transparent;
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-heading4-regular);
}

.cometchat-search__input-clear-button {
  border: none;
  background: none;
  cursor: pointer;
  user-select: none;
}

.cometchat-search__input-clear-button .cometchat-button,
.cometchat-search__back-button .cometchat-button {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  height: fit-content;
  width: fit-content;
}

.cometchat-search__input-clear-button .cometchat-button .cometchat-button__icon,
.cometchat-search__back-button .cometchat-button .cometchat-button__icon {
  height: 24px;
  width: 24px;
  background: var(--cometchat-icon-color-secondary);
}

.cometchat-search__back-button .cometchat-button .cometchat-button__icon {
  background: var(--cometchat-icon-color-primary);

}

.cometchat-search__body {
  padding: 0px var(--cometchat-padding-4, 16px);

}

.cometchat-search__body-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cometchat-padding-2, 8px) var(--cometchat-padding-2, 8px);
}

.cometchat-search__body-filter,
.cometchat-search__body-filter .cometchat-button {
  cursor: pointer;
  border-radius: var(--Radius-radius_Max, 1000px);
  background: var(--cometchat-background-color-03);
  display: flex;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
  align-items: center;
  align-content: center;
  gap: 4px var(--cometchat-padding-1, 4px);

}

.cometchat-search__body-filters .cometchat-button {
  flex-wrap: wrap;
}

.cometchat-search__body-filter .cometchat-button {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  height: fit-content;
  width: fit-content;
  font: var(--cometchat-font-body-regular);
  color: var(--cometchat-text-color-secondary, #727272);

}

.cometchat-search__body-filter .cometchat-button .cometchat-button__icon {
  height: 16px;
  width: 16px;
  background: var(--cometchat-icon-color-secondary);
}

.cometchat-search__initial-view {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.cometchat-search__initial-view-icon {
  mask: url("/cometchat/assets/search_message_icon.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/search_message_icon.svg") center center no-repeat;
  background: var(--cometchat-icon-color-secondary);
  mask-size: contain;
  -webkit-mask-size: contain;
  width: 120px;
  height: 120px;
  flex-shrink: 0;

}

.cometchat-search__initial-view-title {
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
}

.cometchat-search__initial-view-subtitle {
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
}





.cometchat-search-conversations__see-more .cometchat-button,
.cometchat-search-messages__see-more .cometchat-button {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  height: fit-content;
  width: fit-content;

}

.cometchat-search-conversations__see-more .cometchat-button__text,
.cometchat-search-messages__see-more .cometchat-button__text {
  color: var(--cometchat-primary-color);
}

.cometchat-search .cometchat-list-item__trailing-view {
  width: fit-content;
  height: fit-content;
  align-self: flex-start;
}

.cometchat-search__conversations .cometchat-search__conversations-subtitle-text-wrapper,
.cometchat-search__conversations .cometchat-search__conversations-subtitle {
  display: flex;
  flex-direction: row;
  gap: var(--cometchat-padding, 2px);


}

.cometchat-search__conversations .cometchat-search__conversations-subtitle-text,
.cometchat-search__conversations .cometchat-search__conversations-subtitle-text-sender,
.cometchat-search-messages__list-item .cometchat-search-messages__subtitle-text {
  overflow: hidden;
  color: var(--cometchat-text-color-secondary, #727272);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-body-regular, 14px);
}

.cometchat-search__conversations-subtitle-text-sender {
  font: var(--cometchat-font-body-bold, 14px);

}

.cometchat-search__conversations-subtitle-receipts {
  height: 16px;
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  align-self: center;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
  flex-shrink: 0;
}


.cometchat-search__conversations-subtitle-receipts-sent {
  -webkit-mask: url("/cometchat/assets/conversations_sent.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_sent.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.cometchat-search__conversations-subtitle-receipts-wait{
  -webkit-mask: url("/cometchat/assets/status_sending.svg") center center no-repeat;
  mask: url("/cometchat/assets/status_sending.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-search__conversations-subtitle-receipts-delivered {
  -webkit-mask: url("/cometchat/assets/conversations_delivered.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_delivered.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.cometchat-search__conversations-subtitle-receipts-error{
  -webkit-mask: url("/cometchat/assets/error_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/error_icon.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  background-color: var(--cometchat-error-color);
}

.cometchat-search__conversations-subtitle-receipts-read {
  -webkit-mask: url("/cometchat/assets/conversations_read.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_read.svg") center center no-repeat;
  background: var(--cometchat-message-seen-color, #56E8A7);
  -webkit-mask-size: contain;
  mask-size: contain;
}


.cometchat-search .cometchat-text-highlight {
  font: var(--cometchat-font-body-bold);
  color: var(--cometchat-text-color-primary);

}
.cometchat-search__results .cometchat-list__header-title {
  min-height: 20px;
  margin-bottom: var(--cometchat-margin-1);
}

.cometchat-search__results,
.cometchat-search__conversations,
.cometchat-search__messages {
  overflow: hidden;
  height: fit-content;
}

.cometchat-search__results {
  overflow: scroll;
  height: 100%;
}


.cometchat-search__conversations-list-item {
  cursor: pointer;
}

.cometchat-search__conversations-list-item-active .cometchat-list-item {
  background-color: var(--cometchat-white-pressed, #E8E8E8);
}

.cometchat-search__conversations-subtitle {
  display: flex;
  gap: var(--cometchat-padding-1, 4px);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cometchat-search__conversations-subtitle-text-wrapper {
  display: flex;
  gap: var(--cometchat-padding, 2px);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cometchat-search__conversations-subtitle-text {
  overflow: hidden;
  color: var(--cometchat-text-color-secondary, #727272);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-body-regular);
  width: 100%;
}

/* Inline code styling in search conversation subtitle */
.cometchat-search__conversations-subtitle-text code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  font-size: 0.9em;
  background: var(--cometchat-background-color-03);
  color: var(--cometchat-text-color-secondary);
  padding: 0 var(--cometchat-padding-1, 2px);
  border-radius: var(--cometchat-radius-1, 4px);
  border: 1px solid var(--cometchat-border-color-light);
}

.cometchat-search__conversations-subtitle-text-sender {
  overflow: hidden;
  color: var(--cometchat-text-color-secondary, #727272);
  text-overflow: ellipsis;
  font: var(--cometchat-font-body-medium);
  flex-shrink: 0;
}

.cometchat-search__conversations-subtitle-typing {
  overflow: hidden;
  color: var(--cometchat-text-color-highlight, #6852D6);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-body-regular);
}

.cometchat-search__conversations-trailing-view {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-search__conversations-trailing-view-date {
  font: var(--cometchat-font-caption1-regular);
}

.cometchat-search__conversations-trailing-view-badge {
  display: flex;
  justify-content: flex-end;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-search__conversations-trailing-view-badge-count {
  display: flex;
  height: 20px;
  padding: 0px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: var(--cometchat-primary-color, #6852D6);
  overflow: hidden;
  color: var(--cometchat-static-white, #FFF);
  text-align: center;
  text-overflow: ellipsis;
  font: var(--cometchat-font-caption1-regular);
}

.cometchat-search__conversations-subtitle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}

.cometchat-search__conversations-subtitle-icon-incoming-audio-call,
.cometchat-search__conversations-subtitle-icon-incoming-video-call {
  background-color: var(--cometchat-error-color, #F44649);
}

.cometchat-search__conversations-subtitle-icon-incoming-audio-call {
  -webkit-mask: url("/cometchat/assets/conversations_missed-voice-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_missed-voice-call.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-incoming-video-call {
  -webkit-mask: url("/cometchat/assets/conversations_missed-video-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_missed-video-call.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-outgoing-audio-call {
  -webkit-mask: url("/cometchat/assets/conversations_outgoing-voice-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_outgoing-voice-call.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-outgoing-video-call {
  -webkit-mask: url("/cometchat/assets/conversations_outgoing-video-call.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_outgoing-video-call.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-image {
  -webkit-mask: url("/cometchat/assets/conversations_image-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_image-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-file {
  -webkit-mask: url("/cometchat/assets/conversations_file-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_file-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-video {
  -webkit-mask: url("/cometchat/assets/conversations_video-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_video-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-audio {
  -webkit-mask: url("/cometchat/assets/conversations_audio-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_audio-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-poll {
  -webkit-mask: url("/cometchat/assets/conversations_poll-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_poll-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-sticker {
  -webkit-mask: url("/cometchat/assets/conversations_sticker-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_sticker-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-collaborative-document {
  -webkit-mask: url("/cometchat/assets/conversations_collaborative-document-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_collaborative-document-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-collaborative-whiteboard {
  -webkit-mask: url("/cometchat/assets/conversations_collaborative-whiteboard-message.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_collaborative-whiteboard-message.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-deleted {
  -webkit-mask: url("/cometchat/assets/conversations_delete.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_delete.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-link {
  -webkit-mask: url("/cometchat/assets/conversations_link.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_link.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-thread {
  -webkit-mask: url("/cometchat/assets/conversations_thread.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_thread.svg") center center no-repeat;
}

.cometchat-search__conversations-subtitle-icon-none {
  display: none;
}

/* See more button */
.cometchat-search-conversations__see-more {
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  display: flex;
  justify-content: flex-start;
}

.cometchat-search-conversations__see-more .cometchat-button {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  height: fit-content;
  width: fit-content;
  padding: 0;
}

.cometchat-search-conversations__see-more .cometchat-button__text {
  color: var(--cometchat-primary-color, #6852D6);
  font: var(--cometchat-font-body-medium);
}

.cometchat-search-messages {
  overflow: hidden;
  height: fit-content;
}

.cometchat-search__shimmer {
  width: 100%;
  height: 100%;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-search__shimmer-item {
  width: 100%;
  height: 72px;
  display: flex;
  min-width: 240px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  align-items: center;
  gap: 12px;
}

.cometchat-search__shimmer-item-avatar {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
}

.cometchat-search__shimmer-item-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-search__shimmer-item-body-title-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cometchat-search__shimmer-item-body-title {
  width: 50%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;
}

.cometchat-search__shimmer-item-body-subtitle {
  width: 100%;
  height: 12px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;
}

.cometchat-search__shimmer-item-body-tail {
  width: 60px;
  height: 22px;
  min-height: 22px;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 3.5s infinite linear;
}

.cometchat-search__empty-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #FFF);
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
}

.cometchat-search__empty-view-icon {
  height: 120px;
  width: 120px;
  mask: url("/cometchat/assets/search_message_icon.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/search_message_icon.svg") center center no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
}

.cometchat-search__empty-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-search__empty-view-body-title {
  max-width: 280px;
  width: auto;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
}

.cometchat-search__empty-view-body-description {
   max-width: 280px;
  width: auto;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
}

/* Error state */
.cometchat-search__error-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-search__error-view-icon {
  height: 120px;
  width: 120px;
  mask: url("/cometchat/assets/list_error_state_icon.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/list_error_state_icon.svg") center center no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  background: var(--cometchat-error-color, #F44649);
}

.cometchat-search__error-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-search__error-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
}

.cometchat-search__error-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
}

.cometchat-search-messages__list-item {
  cursor: pointer;
  width: 100%;
}

.cometchat-search-messages__list-item .cometchat-list-item__body-subtitle,
.cometchat-search-messages__list-item .cometchat-search-messages__subtitle {
  display: block;
  width: 100%;
  max-width: 98%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cometchat-search-messages__subtitle-text {
  overflow: hidden;
  color: var(--cometchat-text-color-secondary, #727272);
  text-overflow: ellipsis;
  white-space: nowrap;
  font: var(--cometchat-font-body-regular);
  width: 100%;
}

.cometchat-search-messages__trailing-view {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-search-messages .cometchat-date {
  font: var(--cometchat-font-caption1-regular);
  color: var(--cometchat-text-color-secondary, #727272);
}

.cometchat-search-messages__see-more {
  gap: var(--cometchat-padding-3, 12px) 0px;
  display: flex;
  justify-content: flex-start;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);

}

.cometchat-search-messages__see-more .cometchat-button {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  height: fit-content;
  width: fit-content;
  padding: 0;
}

.cometchat-search-messages__see-more .cometchat-button__text {
  color: var(--cometchat-primary-color, #6852D6);
  font: var(--cometchat-font-body-medium);
}

/* Animation for shimmer effect */
@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.cometchat-search__messages-leading-view {
  background: var(--cometchat-background-color-01);
  height: 40px;
  width: 48px;
  border-radius: var(--cometchat-radius-max, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cometchat-search__messages-leading-view-link>.cometchat-search__messages-leading-view-icon {
  -webkit-mask: url("/cometchat/assets/link_icon_2x.svg") center center no-repeat;
  mask: url("/cometchat/assets/link_icon_2x.svg") center center no-repeat;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
  height: 16px;
  width: 16px;
  transform: scale(2);


}

.cometchat-search__messages-leading-view-link > img {
  height: 32px;
  width: 32px;
}

.cometchat-search__messages-leading-view-audio.cometchat-search__messages-leading-view {
  background-color: var(--cometchat-primary-color, #6852D6);
}

.cometchat-search__messages-leading-view-audio>.cometchat-search__messages-leading-view-icon {
  mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/play_arrow.svg") center center no-repeat;
  background: var(--cometchat-static-white, #A1A1A1);
  height: 16px;
  width: 16px;
  transform: scale(2);


}

.cometchat-search__body-filter .cometchat-button__text {
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-body-regular);
}



.cometchat-search-messages__subtitle {
  font: var(--cometchat-font-body-regular);
  color: var(--cometchat-text-color-secondary, #727272);
}

.cometchat-search-messages__date-separator .cometchat-date {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--cometchat-text-color-secondary, #727272);
  font: var(--cometchat-font-caption1-regular);

}

.cometchat-search-messages__date-separator {
  padding: 0px var(--cometchat-padding-2, 8px);

}

.cometchat-search__messages-trailing-view {
  min-height: 50px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cometchat-search__messages-trailing-view img,
.cometchat-search__messages-trailing-view video {
  max-height: 80px;
  max-width: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cometchat-search__messages-video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.cometchat-search__messages-video-play-button:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid white;
  margin-left: 3px;
}

.cometchat-search__messages-trailing-view-video {
  position: relative;
}

.cometchat-search .cometchat-list__header-title {
  color: var(--cometchat-text-color-secondary, #727272);

  font: var(--cometchat-font-caption1-medium)
}

.cometchat-search__conversations,
.cometchat-search__messages {
  min-height: 110px;
  height: fit-content;
}
.cometchat-search__conversations-full,
.cometchat-search__messages-full {
  height: 100%;
}

.cometchat-search__results::-webkit-scrollbar,
.cometchat-search__input::-webkit-scrollbar {
  display: none;
}

.cometchat-search__results::-webkit-scrollbar-thumb,
.cometchat-search__input::-webkit-scrollbar-thumb {
  display: none;
}

.cometchat-search__conversations-list-item-online .cometchat-list-item__status,
.cometchat-search__conversations-list-item-password .cometchat-list-item__status,
.cometchat-search__conversations-list-item-private .cometchat-list-item__status {
  width: 14px;
  height: 14px;
  margin-right: -14px;
  position: relative;
  top: 20px;
  right: 15px;
  border-radius: var(--cometchat-radius-max, 1000px);
  min-width: 14px;
  border: 2px solid var(--cometchat-neutral-color-50, #FFF);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cometchat-search__conversations-list-item-online .cometchat-list-item__status {
  margin-right: -12px;
  background: var(--cometchat-success-color, #09C26F);
}

.cometchat-search__conversations-list-item-password .cometchat-list-item__status {
  background-color: var(--cometchat-success-color, #09C26F);
}

.cometchat-search__conversations-list-item-private .cometchat-list-item__status {
  background-color: var(--cometchat-warning-color, #FFAB00);
}

.cometchat-search__conversations-list-item-password .cometchat-list-item__status-icon {
  -webkit-mask: url("/cometchat/assets/lock.svg") center center no-repeat;
  mask: url("/cometchat/assets/lock.svg") center center no-repeat;
  height: 8px;
  width: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  background: var(--cometchat-static-white, #FFF);
}

.cometchat-search__conversations-list-item-private .cometchat-list-item__status-icon {
  -webkit-mask: url("/cometchat/assets/shield.svg") center center no-repeat;
  mask: url("/cometchat/assets/shield.svg") center center no-repeat;
  height: 8px;
  width: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  background: var(--cometchat-static-white, #FFF);
}


.cometchat-search .cometchat-list__header-title {
  padding: 0px var(--cometchat-padding-4, 16px);
}

.cometchat-search__initial-view {
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
}

.cometchat-search .cometchat-list .cometchat-list__header,
.cometchat-search .cometchat-list .cometchat-list__body {
  border: none;
}

.cometchat-search__body-filter-active {
  border-radius: var(--cometchat-radius-max, 1000px);
  border: 1px solid var(--cometchat-neutral-color-800, #434343);
  background: var(--cometchat-neutral-color-900, #141414);

}

.cometchat-search__body-filter-active .cometchat-button__text {
  color: var(--cometchat-neutral-color-50, #141414);
}

.cometchat-search__body-filter-active .cometchat-button__icon {
  background: var(--cometchat-neutral-color-50, #141414);
}

.cometchat-search__messages-leading-view-file {
  height: 32px;
  width: 32px;
}

.cometchat-search__messages  .cometchat-list-item__body-title {
  color: var(--cometchat-text-color-secondary, #727272);
}

.cometchat-search__messages-subtitle-icon-thread{
  height: 16px;
  width: 16px;
  border: none;
  border-radius: 0;
  background: var(--cometchat-icon-color-secondary, #A1A1A1);
  -webkit-mask: url("/cometchat/assets/conversations_thread.svg") center center no-repeat;
  mask: url("/cometchat/assets/conversations_thread.svg") center center no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}   /*
    This class styles the search container.
    It uses flexbox to align items horizontally,
    includes padding, rounded corners, a border,
    and a background color. It also has flexible sizing for layout adjustments.
    */
   .cometchat-search-bar {
       display: flex;
       padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
       align-items: center;
       align-self: stretch;
       border-radius: var(--cometchat-radius-max, 1000px);
       border: 1px solid var(--cometchat-border-color-light);
       background: var(--cometchat-background-color-03);
       flex: 1 0 0;
   }

   /*
    This class styles the search input field.
    It occupies the full width and height,
    has no borders, and inherits the border-radius from its parent.
    The background is transparent to blend with the container.
    */
   .cometchat-search-bar__input {
       width: 100%;
       height: 100%;
       border: none;
       border-radius: none;
       background: transparent;
       color: var(--cometchat-text-color-primary);
       font: var(--cometchat-font-heading4-regular);
       font-style: normal;
       outline: none;
       padding-left: var(--cometchat-padding-1);
   }

   /*
    This class styles the search icon.
    It uses a webkit mask to display the search icon,
    ensures the icon is centered and sized correctly,
    and uses a background color for the icon.
    */
   .cometchat-search-bar__icon {
       -webkit-mask: url("/cometchat/assets/search.svg") center center no-repeat;
       mask: url("/cometchat/assets/search.svg") center center no-repeat;
       display: flex;
       width: 24px;
       height: 24px;
       justify-content: center;
       align-items: center;
       -webkit-mask-size: contain;
       mask-size: contain;
       background: var(--cometchat-icon-color-secondary);
   }

   /*
    This class styles the placeholder text inside the search input field.
    It sets the text color and font style.
    The color is a tertiary text color for search placeholder.
    */
   .cometchat-search-bar__input::placeholder {
       color: var(--cometchat-text-color-tertiary);
       font: var(--cometchat-font-heading4-regular);
       font-style: normal;

   } :host {
     width: 100%;
     text-align: center;
 }

 .cc-single_select-option {
     padding: 10px;
     box-sizing: border-box;
     cursor: pointer;
     min-height: 20px;
     min-width: 80px;
     display: flex;
     justify-content: center;
     align-items: center;
     font: 400 14px Inter;
     color: grey;
     background: white;
     border: 1px solid #dedede;
     border-radius: 2px;

     :hover {
         font: 400 14px Inter;
         color: black;
         background: #efefef;
     }
 }

 .cc-single_select-wrapper {
     height: 100%;
     width: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     border: none;
     border-radius: 6px;
 }
.cometchat-smart-replies__wrapper {
  width: 100%;
  height: 100%;
  padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
}

.cometchat-smart-replies {
  display: flex;
  height: 100%;
  width: 100%;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  border-radius: var(--cometchat-radius-4, 16px);
  background: var(--cometchat-background-color-01, #FFF);
  box-shadow: 0px 12px 16px -4px rgb(16 24 40 / 2%), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-smart-replies__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}

.cometchat-smart-replies__header-title {
  overflow: hidden;
  color: var(--cometchat-text-color-primary, #141414);
  text-overflow: ellipsis;
  font: var(--cometchat-font-body-medium);
  font-style: normal;
}

.cometchat-smart-replies__header-close-button {
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  background-color: var(--cometchat-icon-color-primary, #141414);
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cometchat-smart-replies__body {
  width: 100%;
  flex: 1 0 0;
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  text-align: left;
}

.cometchat-smart-replies__shimmer-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: var(--cometchat-padding-2, 8px);
  flex-direction: row;
}

.cometchat-smart-replies__shimmer-item {
  flex-wrap: wrap;
  width: 20%;
  display: flex;
  height: 33px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
  background-size: 800px 104px;
  animation: shimmerAnimation 1.5s infinite linear;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.cometchat-smart-replies__items-container {
  display: flex;
 flex-direction: column;
  gap: var(--cometchat-padding-2, 8px);
  justify-content: flex-start;
}

.cometchat-smart-replies__item {
  display: flex;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
  align-items: center;
  border-radius: var(--cometchat-radius-max, 1000px);
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  background: var(--cometchat-background-color-01, #FFF);
  cursor: pointer;
  width: 100%;
}

.cometchat-smart-replies__item:hover {
  background: var(--cometchat-white-hover, #FAFAFA);
  cursor: pointer;
}

.cometchat-smart-replies__item-button {
  background-color: transparent;
  border: none;
  color: var(--cometchat-text-color-primary);
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.cometchat-stream-message-bubble * {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  line-height: 1.75;
  margin: 0;
  margin-bottom: var(--cometchat-margin-2);
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__copy {
  mask: url("/cometchat/assets/Copy.svg") center center no-repeat;
  -webkit-mask: url("/cometchat/assets/Copy.svg") center center no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  align-self: flex-start;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: 20px;
  width: 20px;
  background: var(--cometchat-icon-color-secondary);

}

.cometchat:has(> .cometchat-stream-message-bubble) {
  margin-top: calc(var(--cometchat-margin-1) * -1)
}

.cometchat-stream-message-bubble {
  overflow: hidden;
  text-align: left;
}

.cometchat-message-bubble__wrapper {
  align-items: center;
}


/* Target all <p> tags without a class */
.cometchat-stream-message-bubble>p:not([class]) {
  text-align: left;
}

.cometchat-stream-message-bubble>ol:not([class]) {
  padding-left: 0px !important;
  margin-top: 0px !important;
  text-align: left !important;

}

.cometchat-stream-message-bubble img,
.cometchat-stream-message-bubble pre,
.cometchat-stream-message-bubble canvas,
.cometchat-stream-message-bubble svg,
.cometchat-stream-message-bubble video,
.cometchat-stream-message-bubble figure,
.cometchat-stream-message-bubble table {
  vertical-align: top;
}

.cometchat-stream-message-bubble input[type="checkbox"] {
  margin-right: var(--cometchat-margin-1);
  position: relative;
  top: 1px;
}

.cometchat-stream-message-bubble li:not([class]) {
  text-align: left !important;

}

.cometchat-stream-message-bubble ol:not([class]),.cometchat-stream-message-bubble  ul:not([class]) {
  padding-left: var(--cometchat-padding-5) !important;
  text-align: left !important;

}

.cometchat-stream-message-bubble ul:not([class]) {
  text-align: left !important;

}
.cometchat-stream-message-bubble__code-block {
  max-height: 300px;
  overflow: auto;
  border: 1px solid var(--cometchat-border-color-default);
  width: 100%;

}

.cometchat-stream-message-bubble *:not(pre *) {
  color: var(--cometchat-text-color-primary);
  font-size: 14px;
  font-family: var(--cometchat-font-family);
}
.cometchat-stream-message-bubble .cometchat-stream-message-bubble__code-block,.cometchat-stream-message-bubble .cometchat-stream-message-bubble__code-block *{
  font-size: 14px;
}
.cometchat-stream-message-bubble__thinking {
  border-radius: 16px;
  animation: fadeIn 0.5s ease;
  position: relative;
  overflow: hidden;
  color: #717680;
  font: var(--cometchat-font-body-regular);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  height: fit-content;
  width: fit-content;
  min-width: fit-content;
  padding-top: 1px;
}


.cometchat-stream-message-bubble__thinking::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: var( --cometchat-text-shimmer-gradient-color);
  animation: shimmer 1.5s infinite;
  pointer-events: none;
  opacity: 0.7;
}

.cometchat-stream-message-bubble__tool-call-text {
  width: fit-content;
  text-align: left;
  color: var(--cometchat-text-color-secondary);
  padding-top: 1px;

}

.cometchat-stream-message-bubble__thinking {
  align-items: flex-start;
  border-radius: 0px;
}

.cometchat-stream-message-bubble__thinking>.cometchat-stream-message-bubble__thinking-text {
  border-radius: 0px;
  color: var(--cometchat-text-color-secondary);
}
.cometchat-stream-message-bubble__code-block::-webkit-scrollbar {
  width: 0px;
  height: 8px;
  background: transparent;
}

.cometchat-stream-message-bubble__code-block::-webkit-scrollbar-track {
  background: transparent;
}

.cometchat-stream-message-bubble__code-block::-webkit-scrollbar-thumb {
  background: var(--cometchat-icon-color-secondary);
  border-radius: 4px;
}

.cometchat-stream-message-bubble table {
  width: fit-content;
  max-width: 100%;
  table-layout: auto;
  display: block;
  overflow-x: auto;
  border-radius: var(--cometchat-radius-2);
  margin: var(--cometchat-margin-2) 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

/* Round only outer cells */
.cometchat-stream-message-bubble tr:first-child th:first-child {
  border-top-left-radius: var(--cometchat-radius-2);
}
.cometchat-stream-message-bubble tr:first-child th:last-child {
  border-top-right-radius: var(--cometchat-radius-2);
}
.cometchat-stream-message-bubble tr:last-child td:first-child {
  border-bottom-left-radius: var(--cometchat-radius-2);
}
.cometchat-stream-message-bubble tr:last-child td:last-child {
  border-bottom-right-radius: var(--cometchat-radius-2);
}
.cometchat-stream-message-bubble th,
.cometchat-stream-message-bubble td {
  padding: var(--cometchat-padding-2);
  border: 1px solid var(--cometchat-border-color-dark);
  width: fit-content;
  max-width: 100%;
}
.cometchat-stream-message-bubble table::-webkit-scrollbar {
  width: 0px;
  height: 8px;
  background: transparent;
}

.cometchat-stream-message-bubble table::-webkit-scrollbar-track {
  background: transparent;
}

.cometchat-stream-message-bubble table::-webkit-scrollbar-thumb {
  background: var(--cometchat-icon-color-secondary);
  border-radius: var(--cometchat-radius-2);
}

.cometchat-stream-message-bubble th,
.cometchat-stream-message-bubble td {
  padding: var(--cometchat-padding-2);
  border: 1px solid var(--cometchat-border-color-dark);
  width: fit-content;
  max-width: 100%;
}
.cometchat-stream-message-bubble td{
  text-align: left !important;
}
.cometchat-stream-message-bubble th{
  text-align: center !important;
}
.cometchat-stream-message-bubble th{
  background: var(--cometchat-background-color-04);
}
.cometchat-stream-message-bubble .cometchat-stream-message-bubble__link{
  text-decoration: underline;
  color: var(--cometchat-text-color-highlight);
}

.cometchat-stream-message-bubble ul,.cometchat-stream-message-bubble ol,.cometchat-stream-message-bubble hr{
  margin: 0;
}
.cometchat-stream-message-bubble li{
  overflow: visible !important;
  padding: 0;
}
.cometchat-stream-message-bubble img{
  max-height: 300px;
  width: fit-content;
  border-radius: var(--cometchat-radius-2);
  margin-top: var(--cometchat-margin-2);
}

.cometchat-stream-message-bubble > *:first-child *:first-child:not(:has(*)) ~ img{
  margin-top: var(--cometchat-margin-1);
}

.cometchat-stream-message-bubble__image-intersection-start, .cometchat-stream-message-bubble__image-intersection-end{
  display: none;
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-start:not(.cometchat-stream-message-bubble__image-intersection-end ~ .cometchat-stream-message-bubble__image-intersection-start, input[type="checkbox"] ~ .cometchat-stream-message-bubble__image-intersection-start) {
  display: block;
  margin-top: -0.5em;
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-start:is(input[type="checkbox"] ~ .cometchat-stream-message-bubble__image-intersection-start) ~ img{
  margin-top: var(--cometchat-margin-1);
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-end:not(:has(+ .cometchat-stream-message-bubble__image-intersection-start)) {
  display: block;
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-end:last-child {
  margin-bottom: 0;
}

.cometchat-stream-message-bubble > ol:first-child > li:first-child,
.cometchat-stream-message-bubble > ul:first-child > li:first-child
{
  padding-top: 0px;
}

.cometchat-stream-message-bubble h1,
.cometchat-stream-message-bubble h2,
.cometchat-stream-message-bubble h3,
.cometchat-stream-message-bubble h4,
.cometchat-stream-message-bubble h5,
.cometchat-stream-message-bubble h6 {
  font-size: initial;
  padding: var(--cometchat-padding-2) 0px;
  margin: 0;
}
.cometchat-stream-message-bubble > h1:first-child,
.cometchat-stream-message-bubble > h2:first-child,
.cometchat-stream-message-bubble > h3:first-child,
.cometchat-stream-message-bubble > h4:first-child,
.cometchat-stream-message-bubble > h5:first-child,
.cometchat-stream-message-bubble > h6:first-child {
  padding-top: 0px;
}

.cometchat-stream-message-bubble__image-intersection-start, .cometchat-stream-message-bubble__image-intersection-end{
  display: none;
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-start:not(.cometchat-stream-message-bubble__image-intersection-end ~ .cometchat-stream-message-bubble__image-intersection-start) {
  display: block;
  margin-top: -0.5em;
}
.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-end:not(:has(+ .cometchat-stream-message-bubble__image-intersection-start)) {
  display: block;
}

.cometchat-stream-message-bubble .cometchat-stream-message-bubble__image-intersection-end:last-child {
  margin-bottom: 0;
}

.cometchat-stream-message-bubble > ul:first-child li:first-child > p:first-child{
padding-top: 0px;
}
.cometchat-stream-message-bubble > ol:first-child li:first-child > p:first-child{
padding-top: 0px;
}

.cometchat-stream-message-bubble > p:first-child{
  padding-top: 0px;

}
@keyframes shimmer {
  0% {
    left: -60%;
  }

  100% {
    left: 100%;
  }
}/* Container for the text bubble */
.cometchat-text-bubble {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--cometchat-padding-1) var(--cometchat-padding-2) var(--cometchat-padding-2) var(--cometchat-padding-2);
    align-self: flex-end;
    width: auto;
    border-radius: var(--cometchat-radius-3, 12px);
    max-width: 630px;
}

/* Styles for the text content inside the text bubble */
.cometchat-text-bubble__body-text {
    margin: 0;
    word-break: break-word;
    text-align: left;
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    padding-top:var(--cometchat-padding-1);
}

/* When text contains block-level elements like lists or blockquotes,
   switch from -webkit-box to block display so list markers render properly.
   Use max-height for truncation since -webkit-line-clamp doesn't work with display: block */
.cometchat-text-bubble__body-text:has(ol),
.cometchat-text-bubble__body-text:has(ul),
.cometchat-text-bubble__body-text:has(blockquote),
.cometchat-text-bubble__body-text:has(pre) {
    display: block;
    overflow: hidden;
    white-space: normal;
    /* 4 lines * line-height (~22px for body-regular) = ~88px */
    max-height: 88px;
}

/* When expanded, remove max-height restriction for block-level content */
.cometchat-text-bubble__body-text.cometchat-text-bubble__body-text--expanded:has(ol),
.cometchat-text-bubble__body-text.cometchat-text-bubble__body-text--expanded:has(ul),
.cometchat-text-bubble__body-text.cometchat-text-bubble__body-text--expanded:has(blockquote),
.cometchat-text-bubble__body-text.cometchat-text-bubble__body-text--expanded:has(pre) {
    max-height: none;
    overflow: visible;
}

/* Incoming text bubble specific styles */
.cometchat-text-bubble.cometchat-text-bubble-incoming {
    background: var(--cometchat-neutral-color-300);
}

/* Outgoing text bubble specific styles */
.cometchat-text-bubble.cometchat-text-bubble-outgoing {
    background: var(--cometchat-primary-color);
}

/* Styles for the text inside the incoming text bubble */
.cometchat-text-bubble.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text {
    color: var(--cometchat-neutral-color-900);
    font: var(--cometchat-font-body-regular);
    font-style: normal;

}

/* Styles for the text inside the outgoing text bubble */
.cometchat-text-bubble.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text {
    color: var(--cometchat-static-white);
    font: var(--cometchat-font-body-regular);
    font-style: normal;
}

/* Container for the body content of the text bubble */
.cometchat-text-bubble__body {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Styles for the text expanding buttons inside the text bubble */
.cometchat-text-bubble__read-more,
.cometchat-text-bubble__read-less {
    font: var(--cometchat-font-body-regular);
    font-style: normal;
    cursor: pointer;
    display: flex;
    align-self: flex-end;
    width: fit-content;
    padding: var(--cometchat-padding-1);
}

/* text expanding buttons styles for outgoing message bubbles */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__read-more,
.cometchat-text-bubble-outgoing .cometchat-text-bubble__read-less {
    color: var(--cometchat-static-white);
}

/* text expanding buttons styles for incoming message bubbles */
.cometchat-text-bubble-incoming .cometchat-text-bubble__read-more,
.cometchat-text-bubble-incoming .cometchat-text-bubble__read-less {
    color: var(--cometchat-text-color-highlight);

}

.cometchat-text-bubble .cometchat-text-bubble__body-text.cometchat-text-bubble__body-text-emoji{
    font:var(--cometchat-font-title-regular);
}
@media (max-width: 1000px) {
    .cometchat-text-bubble {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .cometchat-text-bubble {
        max-width: 280px;
    }
}

/* Rich Text Formatting Styles */

/* Bold */
.cometchat-text-bubble__body-text b,
.cometchat-text-bubble__body-text strong {
    font-weight: var(--cometchat-font-weight-bold, 700);
}

/* Italic */
.cometchat-text-bubble__body-text i,
.cometchat-text-bubble__body-text em {
    font-style: italic;
}

/* Strikethrough */
.cometchat-text-bubble__body-text s,
.cometchat-text-bubble__body-text strike,
.cometchat-text-bubble__body-text del {
    text-decoration: line-through;
}

/* Underline */
.cometchat-text-bubble__body-text u {
    text-decoration: underline;
}

/* Inline code */
.cometchat-text-bubble__body-text code {
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    background: var(--cometchat-background-color-03);
    color: var(--cometchat-text-color-highlight);
    padding: 0 var(--cometchat-padding);
    border-radius: var(--cometchat-radius);
    border: 1px solid var(--cometchat-border-color-default);
    white-space: pre-wrap;
    word-break: break-word;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Code color for incoming messages */
.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text code {
    color: var(--cometchat-text-color-highlight);
    border-radius: var(--cometchat-radius);
    border: 1px solid var(--cometchat-border-color-dark);
    background: var(--cometchat-background-color-03);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    padding: 0 var(--cometchat-padding);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Code color for outgoing messages */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text code {
    color: var(--cometchat-static-white);
    background: rgba(255, 255, 255, 0.20);
    border: 1px solid rgba(245, 245, 245, 0.10);
    border-radius: var(--cometchat-radius);
    padding: 0 var(--cometchat-padding);
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
}

/* Code block */
.cometchat-text-bubble__body-text pre {
    display: block;
    font-family: 'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    background: var(--cometchat-background-color-02);
    border: 1px solid var(--cometchat-border-color-light);
    border-radius: var(--cometchat-radius-2, 8px);
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-3, 12px);
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text pre {
    background: rgba(255, 255, 255, 0.10);
    border: none;
    border-radius: var(--cometchat-radius-2, 8px);
    color: var(--cometchat-static-white);
}

.cometchat-text-bubble__body-text pre code,
.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text pre code,
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
    border-radius: 0;
    display: inline;
    font-family: inherit !important;
}

/* Blockquote */
.cometchat-text-bubble__body-text blockquote {
    display: block;
    border-left: 3px solid var(--cometchat-border-color-default);
    padding: var(--cometchat-padding-2);
    border-radius: var(--cometchat-radius-1);
    margin: 0;
    font-style: normal;
    min-width: 100px;
}

.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text blockquote {
    color: var(--cometchat-text-color-secondary);
    background: var(--cometchat-neutral-color-400);
    border-left-color: var(--cometchat-primary-color);
}

.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text blockquote {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.10);
    border-left-color: var(--cometchat-static-white);
}

/* Links */
.cometchat-text-bubble__body-text a {
    text-decoration: underline;
    cursor: pointer;
}

.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text a {
    color: var(--cometchat-primary-color, #3399ff);
}

.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text a {
    color: var(--cometchat-static-white);
}

.cometchat-text-bubble__body-text a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* List items */
.cometchat-text-bubble__body-text li {
    display: list-item;
    margin: 0;
    padding: 0;
    white-space: normal;
}

.cometchat-text-bubble__body-text ol,
.cometchat-text-bubble__body-text ul {
    margin: 0;
    padding: 0;
    padding-left: var(--cometchat-padding-3, 12px);
    white-space: normal;
}

/* Nested list styling progression */
.cometchat-text-bubble__body-text ol { list-style-type: decimal; }
.cometchat-text-bubble__body-text ol ol { list-style-type: lower-alpha; }
.cometchat-text-bubble__body-text ol ol ol { list-style-type: lower-roman; }
.cometchat-text-bubble__body-text ul { list-style-type: disc; }
.cometchat-text-bubble__body-text ul ul { list-style-type: circle; }
.cometchat-text-bubble__body-text ul ul ul { list-style-type: square; }
.cometchat-text-bubble__body-text li > ol,
.cometchat-text-bubble__body-text li > ul {
    margin-top: 0;
    margin-bottom: 0;
}


/* Mention styles in text bubbles */

/* Base mention styling - incoming bubbles */
.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text .cometchat-mentions {
    border-radius: var(--cometchat-radius, 2px);
    background: rgba(104, 82, 214, 0.20);
    padding: 0px var(--cometchat-padding, 2px);
}

.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text .cometchat-mentions > span {
    color: var(--cometchat-text-color-highlight, #6852D6);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* "You" mention styling - incoming bubbles */
.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text .cometchat-mentions-you {
    border-radius: var(--cometchat-radius, 2px);
    background: rgba(255, 171, 0, 0.20);
    padding: 0px var(--cometchat-padding, 2px);
}

.cometchat-text-bubble-incoming .cometchat-text-bubble__body-text .cometchat-mentions-you > span {
    color: var(--cometchat-warning-color, #FFAB00);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* Base mention styling - outgoing bubbles */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text .cometchat-mentions {
    border-radius: var(--cometchat-radius, 2px);
    background: rgba(255, 255, 255, 0.20);
    padding: 0px var(--cometchat-padding, 2px);
}

.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text .cometchat-mentions > span {
    color: var(--cometchat-static-white);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/* "You" mention styling - outgoing bubbles */
.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text .cometchat-mentions-you {
    border-radius: var(--cometchat-radius, 2px);
    background: rgba(255, 255, 255, 0.20);
    padding: 0px var(--cometchat-padding, 2px);
}

.cometchat-text-bubble-outgoing .cometchat-text-bubble__body-text .cometchat-mentions-you > span {
    color: var(--cometchat-static-white);
    font: var(--cometchat-font-body-regular);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}
.cometchat-thread-header {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0px;
    flex-shrink: 0;
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-thread-header__top-bar {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    height: 64px;
    align-self: stretch;
    border-bottom: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    border-left: 1px solid var(--cometchat-border-color-light, #F5F5F5);
    background: var(--cometchat-background-color-01, #FFF);
}

.cometchat-thread-header__top-bar-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1 0 0;
    overflow: hidden;
}

.cometchat-thread-header__top-bar-title {
    color: var(--cometchat-text-color-primary, #141414);
    text-overflow: ellipsis;
    font: var(--cometchat-font-heading3-bold, 700 20px Roboto);
}

.cometchat-thread-header__top-bar-subtitle-text{
    color: var(--cometchat-text-color-secondary, #727272);
    font: var(--cometchat-font-caption1-regular, 400 12px Roboto);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.cometchat-thread-header__top-bar-subtitle-text-clickable {
    cursor: pointer;
}

.cometchat-thread-header__top-bar-close {
    display: flex;
    width: 24px;
    height: 24px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cometchat-thread-header__top-bar-close .cometchat-button {
    height: 24px;
    width: 24px;
    padding: 0px;
    gap: 0px;
    background: transparent;
}

.cometchat-thread-header__top-bar-close .cometchat-button:hover {
    background: transparent;
}

.cometchat-thread-header__top-bar-close .cometchat-button:active {
    background: transparent;
}

.cometchat-thread-header__top-bar-close .cometchat-button__icon {
    background: var(--cometchat-icon-color-primary, #141414);
}

.cometchat-thread-header__top-bar-close .cometchat-button__icon:hover {
    background: var(--cometchat-icon-color-highlight);
}

.cometchat-thread-header__body {
    display: flex;
    width: 100%;
    padding-top: var(--cometchat-padding-3, 12px);
    flex-direction: column;
    flex-shrink: 0;
}

.cometchat-thread-header__body-timestamp {
    display: flex;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
    align-self: center;
    border-radius: var(--cometchat-radius-1, 4px);
    border: 1px solid var(--cometchat-border-color-dark, #DCDCDC);
    background: var(--cometchat-background-color-02, #FAFAFA);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.cometchat-thread-header__body-timestamp .cometchat-date {
    color: var(--cometchat-text-color-primary, #141414);
    text-align: center;
    font: var(--cometchat-font-caption1-medium, 500 12px Roboto);
    padding: 0px;
    display: flex;
}

.cometchat-thread-header__message {
    display: flex;
    padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
    gap: 0px;
    min-height: 50px;
    max-height: 300px;
    overflow: hidden auto;
    flex: 1 0 0;
}

.cometchat-thread-header-hide-scrollbar .cometchat-thread-header__message::-webkit-scrollbar,
.cometchat-thread-header-hide-scrollbar .cometchat-thread-header__message::-webkit-scrollbar-thumb {
    display: none;
}

.cometchat-thread-header__message .cometchat-text-bubble .cometchat-text-bubble__read-more {
    display: none;
}

.cometchat-thread-header__message-small {
    min-height: fit-content;
    max-height: 150px;
}

.cometchat-thread-header__message-incoming {
    align-self: flex-start;
}

.cometchat-thread-header__message-outgoing {
    align-self: flex-end;
}

.cometchat-thread-header__message .cometchat-message-bubble__wrapper {
    padding: 0px;
    width: 100%;
}

.cometchat-thread-header__reply-bar {
    display: flex;
    padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-5, 20px);
    justify-content: center;
    align-items: center;
    gap: var(--cometchat-padding-2, 8px);
    align-self: stretch;
}

.cometchat-thread-header__reply-bar-count {
    color: var(--cometchat-text-color-secondary, #727272);
    text-align: center;
    font: var(--cometchat-font-body-regular, 400 14px Roboto);
}

.cometchat-thread-header__reply-bar-divider {
    width: 100%;
    height: 1px;
    background: var(--cometchat-border-color-default, #E8E8E8);
    flex: 1;
}

.cometchat-thread-header__message .cometchat-message-preview {
    cursor: not-allowed;
}.cometchat-toast{
    display: inline-block;
    padding: var(--cometchat-padding-2,8px);
    border-radius: var(--cometchat-radius-1,4ppx);
    background: var(--cometchat-static-black);
    position: fixed;
    color: var(--cometchat-static-white, #F9F8FD);
    font: var(--cometchat-font-caption1-regular);
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    position: absolute;
}.cometchat-toolcall-argument-bubble {
  flex-direction: column;
  gap: 12px;
  display: flex;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 12px;
  border-radius: 8px;
  background: transparent;
}

.cometchat-toolcall-argument-bubble * {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.cometchat-toolcall-argument-bubble .cometchat-toolcall-argument__item {
  margin-bottom: 16px;
}

.cometchat-toolcall-argument-bubble .cometchat-toolcall-argument__item:last-child {
  margin-bottom: 0;
}

.cometchat-toolcall-argument-bubble .cometchat-toolcall-argument__name {
  margin-bottom: 8px;
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-subtitle-medium) !important;
}

.cometchat-toolcall-argument-bubble .cometchat-toolcall-argument__label {
  margin-bottom: 4px;
  /* color: var(--cometchat-text-color-secondary, #666666); */
  font: var(--cometchat-font-body-regular) !important;
  font-size: 12px;
}

.cometchat-toolcall-argument-bubble .cometchat-toolcall-argument__arguments {
  display: flex;
  flex-direction: column;
}

.cometchat-toolcall-argument-bubble pre > div {
  max-height: 200px;
  overflow: scroll;
  border-radius: 4px;
}

@media (min-width: 620px) and (max-width: 780px) {
  .cometchat-toolcall-argument-bubble pre > div {
    max-width: 600px;
  }
}

@media (min-width: 480px) and (max-width: 619px) {
  .cometchat-toolcall-argument-bubble pre > div {
    max-width: 400px;
  }
}

@media (min-width: 320px) and (max-width: 479px) {
  .cometchat-toolcall-argument-bubble pre > div {
    max-width: 320px;
  }
}

.cometchat-toolcall-argument-bubble pre   *{
    font-size: 14px;

  /* font: var(--cometchat-font-body-regular) !important; */
}

/* Target all <p> tags without a class */
.cometchat-toolcall-argument-bubble >  p:not([class]) {
  text-align: left;
  line-height: 1.4 !important;
  /* color: var(--cometchat-text-color-secondary); */
}
.cometchat-toolcall-argument-bubble >  ol:not([class]){
  padding-left: 0px !important;
  margin-top: 0px !important;
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}
.cometchat-toolcall-argument-bubble >  ol:not([class]) ul:not([class]) {
  padding-left: 20px !important;
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}
.cometchat-toolcall-argument-bubble >   ul:not([class]){
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}.cometchat-toolcall-result-bubble {
  flex-direction: column;
  gap: 12px;
  display: flex;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 12px;
  border-radius: 8px;
  background: transparent;
}

.cometchat-toolcall-result-bubble * {
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.cometchat-toolcall-result-bubble .cometchat-toolcall-result__item {
  display: flex;
  flex-direction: column;
}

.cometchat-toolcall-result-bubble .cometchat-toolcall-result__label {
  margin-bottom: 4px;
  /* color: var(--cometchat-text-color-secondary, #666666); */
  font: var(--cometchat-font-body-regular) !important;
  font-size: 12px;
  font-weight: 500;
}

.cometchat-toolcall-result-bubble pre > div {
  max-height: 300px;
  overflow: scroll;
  border-radius: 4px;
}

@media (min-width: 620px) and (max-width: 780px) {
  .cometchat-toolcall-result-bubble pre > div {
    max-width: 600px;
  }
}

@media (min-width: 480px) and (max-width: 619px) {
  .cometchat-toolcall-result-bubble pre > div {
    max-width: 400px;
  }
}

@media (min-width: 320px) and (max-width: 479px) {
  .cometchat-toolcall-result-bubble pre > div {
    max-width: 320px;
  }
}
.cometchat-toolcall-result-bubble pre   *{
  /* font: var(--cometchat-font-body-regular) !important; */
  font-size: 14px;

}

/* Target all <p> tags without a class */
.cometchat-toolcall-result-bubble >  p:not([class]) {
  text-align: left;
  line-height: 1.4 !important;
  /* color: var(--cometchat-text-color-secondary); */
}
.cometchat-toolcall-result-bubble >  ol:not([class]){
  padding-left: 0px !important;
  margin-top: 0px !important;
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}
.cometchat-toolcall-result-bubble >  ol:not([class]) ul:not([class]) {
  padding-left: 20px !important;
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}
.cometchat-toolcall-result-bubble    li:not([class]){
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}
.cometchat-toolcall-result-bubble >   ul:not([class]){
  text-align: left !important;
    /* color: var(--cometchat-text-color-secondary); */

}.cometchat-special-mentions-list .cometchat-special-mentions-list__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-4, 16px);
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-heading4-medium, 500 16px Roboto);
  cursor: pointer;
}

.cometchat-special-mentions-list .cometchat-special-mentions-list__item:hover {
  background: var(--cometchat-white-hover, #FAFAFA);
}

.cometchat-special-mentions-list .cometchat-special-mentions-list__item .cometchat-special-mentions-list__item-name {
  padding: 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cometchat-special-mentions-list .cometchat-special-mentions-list__item .cometchat-special-mentions-list__item-name .cometchat-special-mentions-list__item-name-subtext{
  color: var(--cometchat-neutral-color-700);
  font: var(--cometchat-font-body-regular);
}.cometchat-users {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  flex-shrink: 0;
  background: var(--cometchat-background-color-01, #FFF);
  position: relative;
  /* Prevent native text selection highlight when using Shift+Click to select user ranges */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Allow text selection in input fields */
.cometchat-users input,
.cometchat-users .cometchat-search-bar__input {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Hide selection highlight only for list items (not inputs) */
.cometchat-users__list-item::selection,
.cometchat-users__list-item *::selection {
  background: transparent;
  color: inherit;
}

.cometchat-users__empty-state-view {
  display: flex;
  flex-direction: column;
}

.cometchat-users__empty-state-view,
.cometchat-users__error-state-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: center;
  background: var(--cometchat-background-color-01, #FFF);
}


.cometchat-users__empty-state-view-body,
.cometchat-users__error-state-view-body {
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding, 2px);
}

.cometchat-users__empty-state-view-body-title,
.cometchat-users__error-state-view-body-title {
  width: 280px;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading3-bold);
  font-style: normal;
}

.cometchat-users__empty-state-view-body-description,
.cometchat-users__error-state-view-body-description {
  width: 280px;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-users__shimmer {
  width: 100%;
  height: 100%;
  background: var(--cometchat-background-color-01, #FFF);

}

.cometchat-users__shimmer-item {
  width: 100%;
  height: 72px;
  display: flex;
  width: 100%;
  min-width: 240px;
  max-width: 1440px;
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px);
  align-items: center;
  gap: 12px;
}

.cometchat-users__shimmer-item-avatar {
  display: flex;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
}

.cometchat-users__shimmer-item-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: var(--cometchat-padding-2, 8px);
}

.cometchat-users__shimmer-item-title {
  width: 50%;
  height: 22px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-users__shimmer-item-body-subtitle {
  width: 25%;
  height: 12px;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-2, 8px);
  background: var(--cometchat-shimmer-gradient-color,
      linear-gradient(90deg, #e0e0e0 0%, #eee 100%));
  animation: shimmerAnimation 1.5s infinite linear;

}

.cometchat-users__list-item-online .cometchat-list-item__status {
  width: 14px;
  height: 14px;
  margin-right: -12px;
  position: relative;
  top: 20px;
  right: 15px;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-success-color, #09C26F);
  min-width: 14px;
  border: 2px solid var(--cometchat-neutral-color-50, #FFFFFF);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cometchat-users__list-item-active .cometchat-list-item {
  background-color: var(--cometchat-white-pressed, #E8E8E8)
}

.cometchat-users__list-item {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.cometchat-users__list-item .cometchat-avatar {
  width: 40px;
  height: 40px;
}

.cometchat-users__list-item .cometchat-list-item__leading-view {
  width: 40px;
  height: 40px;
}

.cometchat-users .cometchat-list-item__body {
  padding: 0px;
  min-height: 43px;
}

@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}

.cometchat-users__selected-preview {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-height: 30vh;
  padding-top: var(--cometchat-padding-4, 16px);
  padding-left: var(--cometchat-padding-4, 16px);
  padding-right: var(--cometchat-padding-4, 16px);
  padding-bottom: 0;
  background: var(--cometchat-background-color-01, #FFF);
  border-top: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
}

/* Hide scrollbar when showScrollbar is false */
.cometchat-users__selected-preview-hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.cometchat-users__selected-preview-hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.cometchat-users__selected-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cometchat-padding-2, 8px);
  max-height: calc(2 * (32px + var(--cometchat-padding-2, 8px)));
  overflow-y: auto;
  overflow-x: hidden;
}

/* Hide scrollbar when showScrollbar is false */
.cometchat-users__selected-preview-container-hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.cometchat-users__selected-preview-container-hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.cometchat-users__selected-preview-chip {
  display: flex;
  align-items: center;
  gap: var(--cometchat-padding-2, 8px);
  border: 1px solid var(--cometchat-border-color-default, #E8E8E8);
  padding: var(--cometchat-padding-1, 4px);
  background: var(--cometchat-background-color-03, #F5F5F5);
  border-radius: var(--cometchat-radius-max, 1000px);
  height: 32px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.cometchat-users__selected-preview-chip .cometchat-avatar {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.cometchat-users__selected-preview-chip .cometchat-avatar .cometchat-avatar__text {
  font: var( --cometchat-font-caption1-bold);
}

.cometchat-users__selected-preview-chip-name {
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-body-medium);
  max-width: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cometchat-users__selected-preview-chip-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.cometchat-users__selected-preview-chip-close img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.cometchat-users__selected-preview-chip-close:hover img {
  opacity: 1;
}

.cometchat-users__selected-preview-chip-close-button {
  border: none;
  background: none;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.cometchat-users__selected-preview-chip-close-button .cometchat-button {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  height: fit-content;
  width: fit-content;
}

.cometchat-users__selected-preview-chip-close-button .cometchat-button .cometchat-button__icon {
  height: 24px;
  width: 24px;
  background: var(--cometchat-icon-color-secondary);
}/* The main container for the video bubble, setting up basic layout, width,
   padding, and flex properties for alignment and justification */
.cometchat-video-bubble {
    display: flex;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-radius: var(--cometchat-radius-3, 12px);
    max-width: 250px;
    max-height: 350px;
    overflow: hidden;
    width: auto;
    height: auto;
    cursor: pointer;
}

/* Defines the body of the video bubble, ensuring the video or media inside
   takes up the full available space with inherited border radius */
.cometchat-video-bubble__body {
    margin: 0;
    border-radius: inherit;
    height: 100%;
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

/* Specific styling for incoming video bubbles, giving it a background color
   for differentiation */
.cometchat-video-bubble-incoming {
    background: var(--cometchat-neutral-color-300);
}

/* Specific styling for outgoing video bubbles, using the primary color as
   the background to distinguish it from incoming bubbles */
.cometchat-video-bubble-outgoing {
    background: var(--cometchat-primary-color);
}.cometchat-create-poll {
  display: flex;
  width: 420px;
  height: 480px;
  flex-direction: column;
  align-items: center;
  gap: var(--cometchat-padding-2, 8px);
  flex-shrink: 0;
  align-self: stretch;
  background-color: var(--cometchat-background-color-01, #FFFFFF);
  border-radius: var(--cometchat-radius-3, 12px);
  overflow: hidden;
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
  position: relative;
}

.cometchat-create-poll__header {
  padding: var(--cometchat-radius-3, 12px);
  border-bottom: 1px solid var(--cometchat-border-color-default, #E8E8E8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
}


.cometchat-create-poll__header-title {
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading2-bold);
  font-style: normal;
  line-height: 120%;
}

.cometchat-create-poll__header-close-icon {
  display: flex;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  mask-repeat: no-repeat;
  background-color: var(--cometchat-icon-color-primary, #141414);
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  border: none;
  cursor: pointer;
}

.cometchat-create-poll__body {
  padding: var(--cometchat-padding-4, 16px);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0;
  overflow: hidden;
}

.cometchat-create-poll__body-question {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-create-poll__body-question-title {
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-heading4-medium);
  font-style: normal;
  line-height: 120%;
}


.cometchat-create-poll__body-question-input {
  display: flex;
  height: 36px;
  padding: var(--cometchat-padding-2, 8px);
  align-items: center;
  gap: var(--cometchat-padding-1, 4px);
  flex: 1 0 0;

  border-radius: var(--cometchat-radius-2, 8px);
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  background: var(--cometchat-background-color-01, #FFF);
  flex: 1 0 0;
  width: 100%;
  min-width: 90px;
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  outline: none;
  /* border: none; */
}

.cometchat-create-poll__body-options-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: var(--cometchat-padding-5, 20px);
  gap: var(--cometchat-padding-2, 8px);
  margin-bottom: var(--cometchat-padding-2, 8px);
  overflow: hidden;
  max-height: 64%;
}

.cometchat-create-poll__body-options-title {
  color: var(--cometchat-text-color-primary, #141414);
  font: var(--cometchat-font-heading4-medium);
  font-style: normal;
}

.cometchat-create-poll__body-options {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cometchat-padding-2, 8px);
  scrollbar-width: none;
  overflow-y: scroll;
}

.cometchat-create-poll__body-option-input {
  display: flex;
  height: 36px;
  padding: var(--cometchat-padding-2, 8px);
  align-items: center;
  gap: var(--cometchat-padding-1, 4px);
  flex: 1 0 0;
  border-radius: 8px;
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  background: var(--cometchat-background-color-01, #FFF);
  color: var(--cometchat-text-color-primary, #141414);
  width: 100%;
  min-width: 90px;
  flex: 1 0 0;
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  outline: none;
}

.cometchat-create-poll__body-options-add-button {
  display: flex;
  justify-content: flex-start;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--cometchat-text-color-highlight, #6852D6);
  font: var(--cometchat-font-caption1-medium);
  font-style: normal;
  line-height: 120%;
  padding-bottom: var(--cometchat-padding-2);
}

.cometchat-create-poll__body-option-remove-button {
  -webkit-mask: url("/cometchat/assets/close.svg") center center no-repeat;
  mask: url("/cometchat/assets/close.svg") center center no-repeat;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cometchat-icon-color-secondary, #A1A1A1);
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  cursor: pointer;
}

.cometchat-create-poll__button {
  width: 100%;
  height: 40px;
}


.cometchat-create-poll__button>.cometchat{
  height: 100%;
  width: 100%;
}
.cometchat-create-poll__button .cometchat-button{
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--cometchat-primary-button-icon, #FFF);
  font: var(--cometchat-font-button-medium);
  font-style: normal;
  line-height: 120%;
  background: var(--cometchat-primary-button-background, #6852D6);
  border-radius: var(--cometchat-radius-2, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-5, 20px);
  cursor: pointer;
  height: 100%;
  width: 100%;
}
.cometchat-create-poll__button-disabled .cometchat-button {
  background: var(--cometchat-background-color-04, #E8E8E8);
  color: var(--cometchat-static-white, #FFF);
  pointer-events: none;
}

.cometchat-create-poll__body-option {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  align-items: center;
  gap: var(--cometchat-padding-1, 4px);
}

.cometchat-create-poll-backdrop {
  background: #141414CC;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cometchat-create-poll__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  bottom: 0px;
  border-top: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  padding: var(--cometchat-padding-3, 12px) var(--cometchat-padding-4, 16px) var(--cometchat-padding-5) var(--cometchat-padding-4, 16px);
  width: 100%;

}

.cometchat-create-poll__error-icon {
  -webkit-mask: url("/cometchat/assets/error_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/error_icon.svg") center center no-repeat;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cometchat-error-color, #F44649);
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  cursor: pointer;
}

.cometchat-create-poll__error {
  display: flex;
  padding: var(--cometchat-padding-1, 4px) var(--cometchat-padding-2, 8px);
  justify-content: center;
  align-items: center;
  gap: var(--cometchat-padding-1, 4px);
  align-self: stretch;
  border-radius: var(--cometchat-radius-2, 8px);
  background: rgba(244, 70, 73, 0.10);
}

.cometchat-create-poll__error-text{
  color: var(--cometchat-error-color, #F44649);
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-create-poll__loading-icon {
  -webkit-mask: url("/cometchat/assets/loading_icon.svg") center center no-repeat;
  mask: url("/cometchat/assets/loading_icon.svg") center center no-repeat;
  height: 24px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cometchat-static-white, #FFF);
  -webkit-mask-size: contain;
  mask-size: contain;
  border: none;
  align-self: center;
  cursor: pointer;
}
.cometchat-create-poll__body-options-add-button-disabled{
  color: var(--cometchat-text-color-disabled, #DCDCDC);
  font: var(--cometchat-font-caption1-medium);
}

@media (max-width: 768px) {
 .cometchat-create-poll{
  width: 360px;
 }
}.cometchat-link-bubble {
  display: flex;
  padding: 0px;
  flex-direction: column;
  align-items: flex-end;
  align-self: stretch;
  border-radius: var(--cometchat-radius-3, 12px);
  width: 240px;
  max-width: 240px;

}

.cometchat-link-bubble-incoming {
  background: var(--cometchat-neutral-color-300, #E8E8E8);
}

.cometchat-link-bubble-outgoing {
  background: var(--cometchat-primary-color, #6852D6);
}


.cometchat-link-bubble__preview-image {
  height: 50%;
  width: 100%;
  cursor: pointer;
  align-self: stretch;
  background: var(--cometchat-static-black, #0A0914);
  border-radius: var(--cometchat-radius-3, 12px) var(--cometchat-radius-3, 12px) 0px 0px;
}

.cometchat-link-bubble__preview-body {
  display: flex;
  padding: var(--cometchat-padding-2, 8px);
  gap: var(--cometchat-padding-1, 4px);
  align-items: flex-start;
  align-self: stretch;
  border-radius: 0px 0px var(--cometchat-radius-2) var(--cometchat-radius-2);
}

.cometchat-link-bubble__preview-body-rounded {
  border-radius: var(--cometchat-radius-2);
}

.cometchat-link-bubble-incoming .cometchat-link-bubble__preview-body {
  background: var(--cometchat-neutral-color-400, #DCDCDC);
}

.cometchat-link-bubble-outgoing .cometchat-link-bubble__preview-body {
  background: var(--cometchat-extended-primary-color-900, #5D49BE);
}

.cometchat-link-bubble__preview-body-content-title {
  font: var(--cometchat-font-body-bold);
  font-style: normal;
}

.cometchat-link-bubble-incoming .cometchat-link-bubble__preview-body-content-title {
  color: var(--cometchat-neutral-color-900, #141414);
}

.cometchat-link-bubble-outgoing .cometchat-link-bubble__preview-body-content-title {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-link-bubble__preview-body-content-description {
  font: var(--cometchat-font-caption1-regular);
  font-style: normal;
}

.cometchat-link-bubble-incoming .cometchat-link-bubble__preview-body-content-description {
  color: var(--cometchat-neutral-color-900, #141414);
}

.cometchat-link-bubble-outgoing .cometchat-link-bubble__preview-body-content-description {
  color: var(--cometchat-static-white, #FFF);

}

.cometchat-link-bubble__preview-body-content-link {
  font: var(--cometchat-font-caption1-regular);
  font-style: normal;
  opacity: 0.6;
  cursor: pointer;
}

.cometchat-link-bubble-incoming .cometchat-link-bubble__preview-body-content-link {
  color: var(--cometchat-neutral-color-900, #141414);
}

.cometchat-link-bubble-outgoing .cometchat-link-bubble__preview-body-content-link {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-link-bubble__body {
  width: 100%;
}
.cometchat-link-bubble__body .cometchat-url{
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-link-bubble-incoming .cometchat-link-bubble__body {
  color: var(--cometchat-info-color, #0B7BEA);
}

.cometchat-link-bubble-outgoing .cometchat-link-bubble__body {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-link-bubble__preview-body-fav-icon {
  height: 40px;
  width: 40px;
  cursor: pointer;
  border-radius: var(--cometchat-radius-1, 4px);
}


.cometchat-link-bubble__preview-body-content {
  text-align: left;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: var(--cometchat-padding-1, 4px);
}.cometchat-tanslation-bubble {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--cometchat-radius-3, 12px);
  flex: 1 0 0;
  padding: var(--cometchat-padding-2) var(--cometchat-padding-2) 0px var(--cometchat-padding-2);
}

.cometchat-tanslation-bubble-incoming {
  align-items: flex-start;
  background: var(--cometchat-neutral-color-300, #E8E8E8);
}

.cometchat-tanslation-bubble-outgoing {
  align-items: flex-end;
  background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-tanslation-bubble__original-text {
  width: 100%;
  max-width: 500px;
}
.cometchat-tanslation-bubble__original-text 
.cometchat-text-bubble {
  padding: 0px;
}

.cometchat-tanslation-bubble__translated-text {
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  text-align: left;
  max-width: 500px;
  margin: 0px;
  word-break: break-word;
  text-align: left;
  white-space: pre-line;
  overflow: auto;
  width: 100%;
  display: block;
}

.cometchat-tanslation-bubble-incoming .cometchat-tanslation-bubble__translated-text {
  color: var(--cometchat-neutral-color-900, #141414);
}


.cometchat-tanslation-bubble-outgoing .cometchat-tanslation-bubble__translated-text {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-tanslation-bubble__separator {
  height: 1px;
  width: 100%;
}

.cometchat-tanslation-bubble-incoming .cometchat-tanslation-bubble__separator {
  background: var(--cometchat-neutral-color-400, #DCDCDC);
}


.cometchat-tanslation-bubble-outgoing .cometchat-tanslation-bubble__separator {
  background: var(--cometchat-extended-primary-color-800, #7965DB);
}



.cometchat-tanslation-bubble__helper-text {
  padding: var(--cometchat-padding-2) var(--cometchat-padding-2) var(--cometchat-padding-2) 0px;
  text-align: right;
  font: var(--cometchat-font-caption2-regular);
  font-style: normal;
}

.cometchat-tanslation-bubble-incoming .cometchat-tanslation-bubble__helper-text {
  color: var(--cometchat-neutral-color-600, #727272);
}


.cometchat-tanslation-bubble-outgoing .cometchat-tanslation-bubble__helper-text {
  color: var(--cometchat-static-white, #FFF);
}.cometchat-polls-bubble {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--cometchat-padding-2, 8px);
  border-radius: var(--cometchat-radius-3, 12px);
  gap: var(--cometchat-padding-4, 16px);
  width: 240px;
  max-width: 240px;
}
.cometchat-polls-bubble  * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.cometchat-polls-bubble-incoming {
  background: var(--cometchat-neutral-color-300, #E8E8E8);
}

.cometchat-polls-bubble-outgoing {
  background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-polls-bubble .cometchat-avatar {
  padding: 0px;
  width: 20px;
  height: 20px;
}


.cometchat-polls-bubble .cometchat-avatar img {
  width: 20px;
  height: 20px;
  border-radius: var(--cometchat-radius-max, 1000px);
}

.cometchat-polls-bubble-incoming .cometchat-avatar img {
  border: 1px solid var(--cometchat-neutral-color-300, #E8E8E8);
}

.cometchat-polls-bubble-outgoing .cometchat-avatar img {
  border: 1px solid var(--cometchat-primary-color, #6852D6);
}

.cometchat-polls-bubble .cometchat-avatar .cometchat-avatar__text {
  display: flex;
  width: 20px;
  height: 20px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: var(--cometchat-radius-max, 1000px);
  background: var(--cometchat-extended-primary-color-600, #AA9EE8);
  font: var(--cometchat-font-caption2-regular);
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-polls-bubble__question {
  font: var(--cometchat-font-heading4-bold);
  font-style: normal;
  text-align: left;
  width: 100%;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.cometchat-polls-bubble-incoming .cometchat-polls-bubble__question {
  color: var(--cometchat-neutral-color-900, #141414);
}

.cometchat-polls-bubble-outgoing .cometchat-polls-bubble__question {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-polls-bubble__options {
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style-type: none;
  padding-bottom: var(--cometchat-padding-3, 12px);
  gap: var(--cometchat-padding-5, 20px);
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
}

.cometchat-polls-bubble__options>li {
  display: flex;
  gap: var(--cometchat-padding-2, 8px);
  width: 100%;
  position: relative;
}


.cometchat-polls-bubble__option-item {
  width: 100%;
  justify-content: space-between;
  padding: 0px;
}
.cometchat-poll-bubble__option-item-leading-view {
  cursor: pointer;
}

.cometchat-poll-bubble__option-item-leading-view-radio-button {
  width: 20px;
  height: 20px;
  border-radius: var(--cometchat-radius-max, 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-leading-view-radio-button {
  border: 1.5px solid var(--cometchat-icon-color-secondary, #A1A1A1);
}

.cometchat-polls-bubble-outgoing .cometchat-poll-bubble__option-item-leading-view-radio-button {
  border: 1.5px solid var(--cometchat-static-white, #FFFFFF);
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-leading-view-radio-button.checked {
  background: var(--cometchat-icon-color-highlight, #6852D6);
  color: var(--cometchat-background-color-01, #FFF);
  border: var(--cometchat-icon-color-highlight, #6852D6);
}

.cometchat-polls-bubble-outgoing .cometchat-poll-bubble__option-item-leading-view-radio-button.checked {
  background-color: var(--cometchat-static-white, #FFF);
  color: #6852D6;
  border: 1px solid var(--cometchat-icon-color-highlight, #6852D6);
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-leading-view-radio-button.checked::after,
.cometchat-poll-bubble__option-item-leading-view-radio-button.checked::after {
  content: '✓';
  font-size: 12px;
  font-weight: 900;
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-leading-view-radio-button.checked::after {
  color: var(--cometchat-background-color-01, #FFFFFF);
}

.cometchat-poll-bubble__option-item-leading-view-radio-button.checked::after {
  color: var(--cometchat-primary-color, #6852D6);
}


.cometchat-poll-bubble__option-item-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--cometchat-spacing-1, 4px);
  overflow: hidden;
}

.cometchat-poll-bubble__option-item-body-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.cometchat-poll-bubble__option-item-body-content-title {
  font: var(--cometchat-font-body-regular);
  font-style: normal;
  text-align: left;
  word-wrap: break-word;
  width: 100%;
  overflow: hidden;
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-body-content-title {
  color: var(--cometchat-neutral-color-900, #141414);
}

.cometchat-polls-bubble-outgoing .cometchat-poll-bubble__option-item-body-content-title {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-poll-bubble__option-item-body-content-tail {
  display: flex;
  justify-content: flex-end;
  max-width: 100px;
  position: relative;
  height: 20px;
  width: fit-content;
  gap: var(--cometchat-padding-1);
}

.cometchat-poll-bubble__option-item-body-content-tail-avatar {
  height: 20px;
  width: 20px;
  margin-right: -8px;
  z-index: 2;
}

.cometchat-poll-bubble__option-item-body-content-tail-avatar.last {
  margin-right: 0;
  z-index: 0;
}

.cometchat-poll-bubble__option-item-body-content-tail-count {
  font: var(--cometchat-font-body-regular);
  font-style: normal;
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-body-content-tail-count {
  color: var(--cometchat-neutral-color-900, #141414);
}

.cometchat-polls-bubble-outgoing .cometchat-poll-bubble__option-item-body-content-tail-count {
  color: var(--cometchat-static-white, #FFF);
}

.cometchat-poll-bubble__option-item-body-progress {
  margin-top: 3px;
  width: 100%;
  height: 8px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 16px;
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-body-progress {
  background: var(--cometchat-neutral-color-400, #DCDCDC);
}

.cometchat-polls-bubble-outgoing .cometchat-poll-bubble__option-item-body-progress {
  background: var(--cometchat-extended-primary-color-700, #8978DF);
}

.cometchat-poll-bubble__option-item-body-progress-background {
  height: 8px;
  width: 20px;
  border-radius: var(--cometchat-radius-4, 16px);
}

.cometchat-polls-bubble-incoming .cometchat-poll-bubble__option-item-body-progress-background {
  background: var(--cometchat-primary-color, #6852D6);
}

.cometchat-polls-bubble-outgoing .cometchat-poll-bubble__option-item-body-progress-background {
  background: var(--cometchat-static-white, #FFF);
}


.cometchat-polls-bubble-incoming .cometchat-radiobutton__selected {
  border: 1.5px solid var(--cometchat-primary-color, #6852D6);
}

.cometchat-polls-bubble-outgoing .cometchat-radiobutton__selected {
  border: 1.5px solid var(--cometchat-static-white, #FFF);
}

.cometchat-polls-bubble-outgoing .cometchat-radiobutton input[type="radio"]:checked+.cometchat-radiobutton__selected {
  border: 1.5px solid var(--cometchat-static-white, #FFF);
}

.cometchat-polls-bubble-outgoing .cometchat-radiobutton__selected::after {
  background-color: var(--cometchat-static-white, #FFF);
}


.cometchat-sticker-keyboard {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 0px;
  flex-direction: column;
  gap: 0px;
  border-radius: var(--cometchat-radius-4, 16px);
  border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
  background: var(--cometchat-background-color-01, #FFF);
  box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}

.cometchat-sticker-keyboard__tabs {
  min-height: 40px;
  height: 40px;
  display: flex;
  gap: var(--cometchat-padding-2, 8px);
  border-bottom: 1px solid var(--cometchat-border-color-default, #E8E8E8);
  overflow-x: auto;
  overflow-y: hidden;
    /* Force hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: scroll-position; /* Hint the browser for performance optimization */
}


.cometchat-sticker-keyboard__tab{
  padding: var(--cometchat-padding-1, 4px);
}
.cometchat-sticker-keyboard__tab-active{
  border-bottom: 2px solid var(--cometchat-primary-color, #6852D6);
}


.cometchat-sticker-keyboard__tab > img {
  display: flex;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--cometchat-padding-3, 12px);
  border-radius: var(--cometchat-radius-max, 800px);
  cursor: pointer;
}

.cometchat-sticker-keyboard__tab-active > img {
  background: var(--cometchat-extended-primary-color-100, #EDEAFA);
}

.cometchat-sticker-keyboard__list {
  width: 100%;
  display: flex;
  overflow-x: hidden;
  overflow-y: auto;
  flex-wrap: wrap;
  background: inherit;
  padding: var(--cometchat-padding-3) var(--cometchat-padding-3) 0px var(--cometchat-padding-3);
}


.cometchat-sticker-keyboard__list-item {
  min-width: 80px;
  min-height: 80px;
  width: 80px;
  height: 80px;
  display: flex;
  padding: var(--cometchat-padding-2, 8px) var(--cometchat-padding-2, 8px);
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  cursor: pointer;
}




.cometchat-sticker-keyboard__shimmer-tabs {
  display: flex;
  padding: var(--cometchat-padding-2, 8px);
  align-items: center;
  gap: var(--cometchat-padding-2, 8px);
  border-bottom: 1px solid var(--cometchat-border-color-default, #E8E8E8);

}

.cometchat-sticker-keyboard__shimmer-tab {
  display: flex;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--cometchat-radius-max, 800);
  background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
  animation: shimmerAnimation 10s infinite linear;
}

.cometchat-sticker-keyboard__shimmer-list {
  gap: var(--cometchat-padding-3,12px);
}


.cometchat-sticker-keyboard__shimmer-list-item {
  background: var(--cometchat-shimmer-gradient-color, linear-gradient(90deg, #E0E0E0 0%, #EEE 100%));
  animation: shimmerAnimation 5s infinite linear;
  border-radius: 8px;
  min-width: 70px;
  min-height: 70px;
  width: 70px;
  height: 70px;


}

.cometchat-sticker-keyboard__empty-view {
  display: flex;
  height: 272px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--cometchat-padding-3, 12px);
  flex-shrink: 0;
  align-self: stretch;
  color: var(--cometchat-text-color-primary, #141414);
  text-align: center;
  font: var(--cometchat-font-heading4-bold);
  font-style: normal;
}

.cometchat-sticker-keyboard__error-view {
  display: flex;
  height: 272px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  align-self: stretch;
  color: var(--cometchat-text-color-secondary, #727272);
  text-align: center;
  font: var(--cometchat-font-body-regular);
}

.cometchat-sticker-keyboard__empty-view-icon {
  width: 60px;
  height: 60px;
  -webkit-mask-image: url("/cometchat/assets/sticker.svg") center center no-repeat;
  mask-image: url("/cometchat/assets/sticker.svg") center center no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: var(--cometchat-icon-color-tertiary, #DCDCDC);
}




@keyframes shimmerAnimation {
  0% {
    background-position: -468px 0;
  }

  100% {
    background-position: 468px 0;
  }
}