    /* Main container */
    .container {
      max-width: 960px;
      width: 100%;
      height: 90vh; /* Chat height (adjust as needed) */
      margin: 0 20px;
      background: #fff;
      border-radius: 6px;
      border: 1px solid #ddd;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
    }

    /* Chat area */
    .dsrag-chat-area {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* Scrollable messages */
    .dsrag-messages {
      flex: 1;
      overflow-y: auto;
      padding: 2px;
      background-color: #fafafa;
      min-height: 60px;
      max-height: 360px;         /* Sets fixed height */
      overflow-y: auto;      /* Enables vertical scrollbar when content exceeds height */
      overflow-x: hidden;    /* Prevents horizontal scrolling */
    }

    .dsrag-message {
      display: flex;
      margin-bottom: 5px;
    }
    .dsrag-message:last-child {
      margin-bottom: 0;
    }

    .dsrag-bubble {
      padding: 0px 16px;
      border-radius: 16px;
      max-width: 60%;
      line-height: 1.0;
      font-size: 0.95rem;
    }

/* User message styling */
    .dsrag-user-msg {
      justify-content: flex-end;
    }
    .dsrag-user-msg .dsrag-bubble {
      background-color: #007bff;
      color: #fff;
      border-bottom-right-radius: 0;
    }

/* AI message styling */
    .dsrag-ai-msg {
      justify-content: flex-start;
    }
    .dsrag-ai-msg .dsrag-bubble {
      background-color: #eaeaea;
      color: #333;
      border-bottom-left-radius: 0;
    }

    /* Input area */
    .dsrag-input-area {
      border-top: 1px solid #ccc;
      background-color: #fff;
      padding: 2px;
      display: flex;
      align-items: center;
      gap: 2px; /* space between elements */
    }
    .dsrag-input-area input[type="text"] {
      flex: 1;
      padding: 10px;
      font-size: 1rem;
      border-radius: 4px;
      border: 1px solid #ccc;
      margin-right: 8px;
    }

    /* Style the new Send image similarly to a button */
.dsrag-send-icon {
  display: inline-block; /* Ensures margin/padding is shown */
  width: 30px;
  height: 30px;
  cursor: pointer;
  margin-right: 8px; /* Add an actual value if you need space */
  border-radius: 4px;
  background-color: transparent;
  transition: background-color 0.2s ease, transform 0.2s ease; /* Smooth transitions */
}
.dsrag-send-icon:hover {
  /* Visible hover effects, even if the icon is opaque */
  background-color: #e2e6ea; 
  border-radius: 4px;
  transform: scale(1.2); /* Slightly enlarges icon on hover */
}

    .dsrag-input-area button {
      padding: 10px 16px;
      font-size: 1rem;
      border: none;
      border-radius: 4px;
      background-color: #007bff;
      color: #fff;
      cursor: pointer;
    }
    .dsrag-input-area button:hover {
      background-color: #0056b3;
    }

/* Styling for the Clear button with sweep icon */
#dsragClearBtn {
  background-color: transparent; /* Transparent initial background */
  padding: 6px; /* Smaller padding to reduce button size */
  width: 28px; /* Fixed width for a smaller button */
  height: 28px; /* Fixed height for a smaller button */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
#dsragClearBtn:hover {
  background-color: #007bff; /* Blue color on hover, matching Send button */
}
.dsrag-sweep-icon {
  width: 24px; /* Smaller icon size */
  height: 24px;
}

/* New style for radio button group */
.dsrag-radio-group {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start;
    gap: 3px; /* Space between radio buttons */
}

.dsrag-dropdown-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
}
.dsrag-dropdown-item input[type="radio"] {
    margin-right: 3px;
}
    /* Basic styling for code blocks */
    pre, code {
      background-color: #f5f5f5;
      border-radius: 4px;
    }
