/* --------------------------------------------------- Default Style --------------------------------------------------- */
body{
    font-family: 'Manrope' !important;
}
pre {
    background: transparent;
    border: none;
    font-family: 'Manrope';
    margin: 0px;
    font-size: 16px;
    font-weight: normal;
    text-wrap: wrap;
}

#barChart {
    cursor: pointer !important;
}

/* Sets the cursor to a pointer for all SVG elements*/
svg {
    cursor: pointer;
    font-size: 25px;
}

.deleteIcon {
    font-size: 20px !important;
}

.arrow-back-icon {
    font-size: 16px !important;
}

div,
p {
    cursor: default;
    font-family: 'Manrope' !important;
}

svg.speedometer {
    cursor: default;
}

/*To make cursor as pointor*/
.enablePointerCursor svg.speedometer {
    cursor: pointer !important;
}

/*.inner-speedometer>div>svg {
    cursor: pointer !important;
}*/



/* --------------------------------------------------- Default Style End--------------------------------------------------- */

/* --------------------------------------------------- Page Style --------------------------------------------------- */

/* Page Style */
.pageStyle {
    padding: 40px;
    padding-top: 50px;
    width: calc(100vw - 900px)
}

/* Page Title */
.pageTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* right part of the title(i.e, date or filter */
.pageTitle div:nth-child(2) {
    display: flex;
    justify-content: flex-end;
}

.ec-selectdropdown div {
    margin-bottom: 0;
}

/* --------------------------------------------------- Page Style End --------------------------------------------------- */


/* --------------------------------------------------- scrollbar Style --------------------------------------------------- */

/* Customize the scrollbar to be 8px wide with rounded corners */
*::-webkit-scrollbar {
    width: 8px;
}

*::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* Track color */
}

*::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Scroll handle color */
    border-radius: 4px;
    border: 2px solid #f0f0f0;
    /* Should match the track color */
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Scroll handle color on hover */
}

/* --------------------------------------------------- scrollbar Style End --------------------------------------------------- */

/* --------------------------------------------------- aggrid table Start --------------------------------------------------- */
/* Change the resizer line to white */
.ag-header-cell-resize::after {
    background-color: white !important;
}

/* Set the background color of the AG Grid header area to match the desired theme (blue - #0561A3).*/
.ag-header,
.ag-header-viewport,
.ag-header-container {
    background-color: #0561A3 !important;
}

/* background color while drag */
.ag-header-cell-moving::before {
    background: #0561A3 !important;
}

/* style for disabled checkbox */
.disabled-cell-checkBox .ag-checkbox-input-wrapper {
    opacity: 0.1;
    pointer-events: none;
    /* Prevent interaction */
    visibility: visible;
}


.tableComponent .ag-cell {
    font-weight: 400;
    color: #1F2836;
}

.ag-center-aligned-cell {
    text-align: center;
}

/* Red border for validation error */
.earningModel-cell-error {
    border: 1px solid red !important;
    background-color: #fff4f4 !important;
}

/* Cell diable style */
.earningModel-cell-disable{
    color:grey !important;
    pointer-events: none;
    cursor: default;
}

/*To avoid filter restoring flicker */
.grid-restoring .ag-center-cols-container {
  opacity: 0;
}
/* --------------------------------------------------- aggrid table End --------------------------------------------------- */

/* --------------------------------------------------- API Error Response Style --------------------------------------------------- */
.code-snippet {
    background: #f4f4f4;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
}

/* --------------------------------------------------- API Error Response Style End --------------------------------------------------- */

/* --------------------------------------------------- Card Style --------------------------------------------------- */

.card {
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    padding: 34px;
    width: 100%;
}

.cardNoPadding {
    padding: 0px;
}

.cardNoBorder {
    border-width: 0px;
}

.columnCard {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.columnCardCenter {
    align-items: center;
    text-align: center;
}

.columnCardStart {
    align-items: flex-start;
}

.rowCard {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.rowCardCenter {
    align-items: center;
}

.rowCardStart {
    align-items: flex-start;
}

/* --------------------------------------------------- Card Style End --------------------------------------------------- */
.cardProgressAlign>div {
    align-items: flex-start;
}

/* --------------------------------------------------- Attainmnets Card Style Start --------------------------------------------------- */

.attainmentHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 24px;
    height: 12%;
}

.attainmentHeader .titleContainer {
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    text-align: start;
    font-weight: 600;
    font-size: 18px;
    color: #676767;
}

.attainmentHeader .selectContainer {
    flex: 0 0 auto;
    min-width: 90px;
}

/* .attainmentContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 40px; 
}

.attainmentCard {
  flex: 0 0 380px; 
  min-width: 380px;
}
*/
@media (min-width: 1500px) {
    .attainmentCard {
        max-width: 420px;
    }
}


/* --------------------------------------------------- Attainmnets Card Style End --------------------------------------------------- */
.link {
    color: #0561A3;
    cursor: pointer !important;
}

/* --------------------------------------------------- simplified Flex property Start --------------------------------------------------- */
.flexEndCenter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* --------------------------------------------------- simplified Flex property End --------------------------------------------------- */
.lastUpdate {
    margin: 0;
    margin-right: 20px;
    color: initial;
    font-size: 14px;
}

.lastUpdateMsg {
    opacity: 75%;
}

/* --------------------------------------------------- speedometer--------------------------------------------------- */

.speedometer-container {
    position: relative;
    width: 271px;
    height: 259px;
}

.outer-speedometer,
.inner-speedometer {
    position: absolute;
    top: 36px;
    left: -19px;
}

.inner-speedometer {
    top: 21.4%;
    left: 0;
}

/* --------------------------------------------------- speedometer End--------------------------------------------------- */

/* --------------------------------------------------- Header Component--------------------------------------------------- */
.logo-subs-dev {
    color: initial;
    font-size: 10px;
    position: relative;
    bottom: -5px;
    left: 5px;
    font-weight: bold;
}

.logoAndViewingAsContainer {
    display: flex;
    align-items: center;
}

.logoContainer {
    min-width: 240px;
    margin-left: 6px;
}

.viewingAsContainer {
    color: initial;
    margin-left: -27px;
}

.viewingAsLabel {
    color: rgb(103, 103, 103);
}

.viewingAsName {
    display: flex;
}

.viewingAsIcon {
    color: #C62D42;
    margin-left: 5px;
    font-size: 20px !important;
    margin-top: 2px;
}

.toggleDrawerButton {
    margin-left: -4px;
}

.ask-ai-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ask-ai-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    padding: 7px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 24px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ask-ai-bar:focus-within {
    border-color: #bdbdbd;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.ask-ai-bar-icon {
    color: #9e9e9e;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Actual text input inside the search bar — no border or background, just the text */
.ask-ai-bar-input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    min-width: 0;
}

.ask-ai-bar-input::placeholder {
    color: #9e9e9e;
}

/* Flower icon is clickable to open the agent page */
.ask-ai-bar-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    cursor: pointer;
    flex-shrink: 0;
}

/* --------------------------------------------------- Header Component End--------------------------------------------------- */

/* --------------------------------------------------- Transaction Page--------------------------------------------------- */
.transactionChip {
    height: 38px;
    min-Width: 148px;
    margin-left: 5px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}


/* --------------------------------------------------- Transaction Page End--------------------------------------------------- */

/* --------------------------------------------------- API error dialogBox styling--------------------------------------------------- */
.error-code-block {
    word-break: auto-phrase;
}

/* --------------------------------------------------- API error dialogBox styling End--------------------------------------------------- */

/* --------------------------------------------------- Month Picker Styling Start--------------------------------------------------- */
/* Month Picker class styling */
.rmp-pad {
    display: block !important;
    font-family: 'Manrope' !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: #ffffff !important;
}

.rmp-btn.range.active {
    background: #0561A3 !important;
}

.rmp-btn.range.select {
    background: #0561a314 !important;
}

.month-picker>.rmp-container .rmp-popup.light .rmp-pad .rmp-btn:hover {
    background: #0561A3 !important;
    color: #ffffff;
}

.monthPickerLabel {
    padding: 8.5px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    min-width: 220px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 12px;
    height: 40px;
}

.monthPicker {
    position: absolute;
    top: 50px;
    right: 190%;
}


/* --------------------------------------------------- Month Picker Styling End--------------------------------------------------- */

/* --------------------------------------------------- Plan Letter Card Styling Start--------------------------------------------------- */

.PlanLetterBadging {
    background-color: grey;
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    margin-right: 25px;
}

.PlanLetterEmpty {
    background-color: transparent;
    color: lightgrey;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    border: none;
}

/* --------------------------------------------------- Plan Letter Card Styling End--------------------------------------------------- */

/* --------------------------------------------------- AG Grid table full screen view Styling Start--------------------------------------------------- */
/* .fullscreen-mode {
    background-color: white;
    color: black;
}

.fullscreen-mode .pagination {
    background-color: white;
    color: black;
} */

/* --------------------------------------------------- AG Grid table full screen view Styling End--------------------------------------------------- */


/* --------------------------------------------------- RFJS form styling--------------------------------------------------- */


/* button: background color */
.MuiButton-containedPrimary:has([id^="rjsf_prefix"]) {
    background: #0561A3 !important;
}

/* Font Color  : ignore text color for error(its hould be red)*/
[id^="rjsf_prefix"]:not([id*="error"]) {
    color: rgba(0, 0, 0, 0.75) !important;
}

/* form components Border color : on focus*/
.Mui-focused:has([id^="rjsf_prefix"].MuiOutlinedInput-input) .MuiOutlinedInput-notchedOutline {
    border-color: #0561A3 !important;
}

/* Font Style */
[id^="rjsf_prefix"] {
    font-family: 'Manrope' !important;
}

/* Drop down list styling */
ul[aria-labelledby^="rjsf_prefix_"] li {
    font-size: 16px !important;
    font-weight: 600 !important;
    font-family: 'Manrope' !important;
}

/* To make two fields in a single row*/
/* .rjsf .MuiGrid-item>.field {
    max-width: 100%;
}

.rjsf .MuiGrid-item {
    max-width: 50% !important;
    padding-left: 23px !important;
    margin-bottom: 22px !important;
} */

/* To make two fields in a single row end*/

/* Label Style*/
label[id^="rjsf_prefix"] {
    font-size: 14px !important;
    font-weight: 500 !important;
    background: transparent;
}

/* Input Style */
[id^="rjsf_prefix"].MuiOutlinedInput-input {
    font-size: 14px;
    font-weight: 600 !important;
    height: 0.5em;
    background-color: white;
}

/* select Style */
[id^="rjsf_prefix"].MuiSelect-select {
    padding: 9.5px 14px;
}
/* To make the fields to look same as user page forms*/
.rjsf legend span {
    display: none !important;
}

label[id^="rjsf_prefix"] {
    margin-bottom: 20px !important;
    user-select: auto !important;
    pointer-events: none !important;
    transform: translate(0px, -35px) scale(1) !important;
}

/* To hide default underline for the section title */
.rjsf-title-section hr {
  display: none;
}

.rjsf-title-section h5 {
  font-weight: 600;
  font-size: 2rem;
}

/* section design */
.rjsf-section{
    margin-top: 25px ;
}

/* field section design*/
.rjsf-field-section{
    background-color: #F5F6F6;
    padding-top: 50px;
    border-radius: 10px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

.rjsf-field{
    margin-top:10px;
}

.rjsf-field-boolean .MuiFormControlLabel-label{
    font-weight: 300;
}

/* --------------------------------------------------- RFJS form styling End--------------------------------------------------- */

/* --------------------------------------------------- toggle swtich start--------------------------------------------------- */
.summary-toggle-box-fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 40px;
    width: fit-content;
    box-sizing: border-box;
}

.summary-toggle-box-fixed-without-border {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 12px;
    /* border: 1px solid #ccc;
    border-radius: 5px; */
    height: 40px;
    width: fit-content;
    box-sizing: border-box;
}

.summary-toggle-box-fixed .MuiSwitch-root {
    margin-top: 7px;
}

.summary-label-fixed {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.summary-toggle-box-fixed .MuiFormControlLabel-root {
    margin-right: -7px !important;
}

.green-toggle-wrapper .MuiSwitch-switchBase.Mui-checked {
    color: green !important;
}

.green-toggle-wrapper .MuiSwitch-switchBase.Mui-checked+.MuiSwitch-track {
    background-color: green !important;
}



/* --------------------------------------------------- toggle swtich end--------------------------------------------------- */

/* --------------------------------------------------- Manager Dialogue Styles start--------------------------------------------------- */

.manager-name {
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 16px;
}

.grid-headerManager {
  align-items: center;
  margin-bottom: 8px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 13px;
  background-color: #F6F6F6;
  font-weight: 500;
  gap: 16px;
}

.list-item {
  line-height: 1.2;
  min-height: 48px;
  display: block;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 6px 16px;
}

.list-item__container {
  padding: 6px 16px;
}

.list-item__name {
  font-size: 14px;
  color: #000000BF;
  text-wrap: wrap;
}

.list-item__email {
  font-size: 12px;
  color: #00000080;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.listbox {
  font-size: 12px;
}

.listbox li {
  font-size: 12px !important;
  min-height: 20px !important;
  padding: 2px 8px !important;
}

.grid-item_name {
  font-size: 14px;
  font-weight: 400;
  padding-left: 8px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.remove-button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.border-top-add-member-trigger {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.dashed-circle {
  width: 24px;
  height: 24px;
  border: 1.5px dashed #999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
}

.error-icon {
  color: #2e7d32;
  font-size: 22px;
}

.remove-text {
  color: #2e7d32;
  font-size: 14px;
}

.dialog-text {
  font-size: 16px;
  font-family: 'Manrope', sans-serif;
  color: #000000BF;
  margin-bottom: 16px;
}

.add-member-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  width: 170px;
  padding-left: 8px;
  padding-right: 8px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.action-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

/* --------------------------------------------------- Manager Dialogue Styles end--------------------------------------------------- */

/* --------------------------------------------------- Generated Reports Styles start--------------------------------------------------- */

@keyframes reportsDashboardTileFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.insight-report-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid #eaedf5;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(30, 40, 80, 0.06);
}

.insight-report-card:hover {
  border-color: #1976d2; /* theme primary color */
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0ff 100%);
}

.dashboard-card {
  flex-direction: column;
  align-items: flex-start !important;
  /* Card defaults to columnCardCenter (text-align:center); align-items is already
     reset above, this resets the inherited text-align so report table cells fall
     back to left. Numeric/action cells keep their own ag-*-aligned-* classes. */
  text-align: left !important;
  border-radius: 14px;
  border: 1px solid #eaedf5;
  box-shadow: 0 1px 4px rgba(30, 40, 80, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
  padding: 15px 30px !important;
  margin-left: 16px;
}

.additional-report-row {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
}

.additional-report-row:hover {
  opacity: 0.7;
}

.additional-report-name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.01em;
  cursor: pointer;
}


/* --------------------------------------------------- Generated Reports Styles end--------------------------------------------------- */

/* --------------------------------------------------- Report Dashboard Config Styles Start---------------------------------------------------*/

.circle-button{
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background:  #0561A3; /* replace with your theme color */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
/* ── Column headers and drag rows share the same grid ── */
.drag-row-header,
.drag-row {
  display: grid;
  grid-template-columns: 24px 44px 1fr 80px 100px 32px;
  gap: 8px;
  align-items: center;
}

.drag-row-header {
  padding: 0 8px 6px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}

.drag-row {
  padding: 7px 8px;
  margin-bottom: 4px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: #f9f9f9;
  transition: border-color 0.15s, background 0.15s;
  cursor: default;
}

.drag-row:hover {
  border-color: #e3f2fd;
  background: #fafcff;
}

.drag-row.drag-row--over {
  background: #e3f2fd !important;
  border-color: #1976d2 !important;
}

.drag-row.drag-row--over:hover {
  background: #e3f2fd !important;
  border-color: #1976d2 !important;
}

.drag-row-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  background: #e3f2fd;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #1976d2;
  cursor: default;
  user-select: none;
}

.drag-row-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  color: #e53935;
  background: #ffebee;
}
.drag-row-delete:hover {
  color: #e53935;
  background: #ffebee;
}

.additional-report-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
}
.additional-report-row:hover {
  background: #f5f5f5;
}

.drag-row-size-select {
  height: 30px;
  font-size: 11px;
  width: 50%;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0 6px;
  background: #fff;
  color: #555;
  cursor: pointer;
}

.column-Headers {
    font-size: 11px;
    color: '#9e9e9e'; 
    fontWeight: 500;
}
/* --------------------------------------------------- Dashboard Config Styles End---------------------------------------------------*/
/* --------------------------------------------------- EasyComp Agent --------------------------------------------------- */

.agent-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 160px);
    overflow: hidden;
    padding: 0 32px;
    margin: 0px 120px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 6px rgba(0, 0, 0, 0.06);
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.agent-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agent-title {
    font-size: 16px;
    font-weight: 600;
}

.agent-viewas-badge {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 500;
}

.agent-new-chat-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
}

.agent-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
}

.agent-empty-state {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    color: #6b7280;
}

.agent-greeting {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.agent-greeting-sub {
    font-size: 13px;
    margin-bottom: 24px;
}

.agent-suggestions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 4px;
    margin-bottom: 16px;
}

.agent-suggestion-btn {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
    color: #374151;
    font-family: 'Manrope', sans-serif;
    transition: background 0.15s, border-color 0.15s;
}
.agent-suggestion-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.agent-message-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.agent-message-row--user {
    align-items: flex-end;
}

.agent-message-row--assistant {
    align-items: flex-start;
}

.agent-tools {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.agent-tool-badge {
    background: #eef2ff;
    color: #4338ca;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-family: ui-monospace, Menlo, monospace; 
}

.agent-bubble {
    padding: 10px 16px;
    border-radius: 18px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.6;
}

.agent-bubble--user {
    background: #0561A3;
    color: white;
    border-radius: 18px 4px 18px 18px;
}

.agent-bubble--assistant {
    background: #efefef;
    color: #676767;
    border-radius: 4px 18px 18px 18px;
}

.agent-user-text {
    white-space: pre-wrap;
}

.agent-thinking {
    opacity: 0.6;
}

.agent-files {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agent-file-btn {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
    text-align: left;
    font-family: 'Manrope', sans-serif;
}

.agent-input-area {
    border-top: 1px solid #e5e7eb;
    padding: 12px 0;
}

.agent-input-row {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #efefef;
    border-radius: 28px;
    padding: 6px 6px 6px 18px;
}

.agent-textarea {
    flex: 1;
    padding: 6px 0;
    border: none;
    border-radius: 0;
    background: transparent;  
    font-size: 13px;
    font-family: 'Manrope', sans-serif;
    resize: none;
    outline: none;
}

.agent-send-btn {
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agent-send-btn--active {
    background: #0561A3;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(5, 97, 163, 0.35);
}

.agent-send-btn--disabled {
    background: #9ca3af;
    cursor: not-allowed;
}
.agent-send-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.agent-error-wrapper {
    padding: 32px;
}

.agent-error-box {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    color: #991b1b;
    max-width: 640px;
}

.agent-code-block {
    background: #f6f8fa;
    border-radius: 6px;
    padding: 10px 12px;
    overflow: auto;
    font-size: 12px;
    font-family: ui-monospace, Menlo, monospace;
    margin: 8px 0;
    border: 1px solid #d0d7de;
}

.agent-code-block--open {
    border-style: dashed;
}

.agent-table-wrapper {
    overflow-x: auto;
    margin: 8px 0;
}

.agent-table {
    border-collapse: collapse;
    font-size: 12px;
    background: white;
}

.agent-table th {
    border: 1px solid #d1d5db;
    padding: 6px 10px;
    background: #f3f4f6;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.agent-table td {
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    vertical-align: top;
}

.agent-heading {
    margin: 10px 0 4px;
    font-weight: 600;
}

h1.agent-heading { font-size: 18px; }
h2.agent-heading { font-size: 17px; }
h3.agent-heading { font-size: 16px; }
h4.agent-heading { font-size: 15px; }
h5.agent-heading { font-size: 14px; }
h6.agent-heading { font-size: 13px; }

.agent-list {
    margin: 6px 0;
    padding-left: 22px;
}

.agent-para {
    margin: 6px 0;
    white-space: pre-wrap;
}

.agent-actions {
    display: flex;
    gap: 2px;
    margin-top: 4px;
    margin-left: 2px;
}

.agent-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
}

.agent-action-btn:hover {
    color: #4b5563;
    background: #f3f4f6;
}

.agent-action-btn svg {
    font-size: 16px !important;
}

.agent-inline-code {
    background: #f0f1f3;
    border-radius: 3px;
    padding: 1px 5px;
    font-family: ui-monospace, Menlo, monospace;
    font-size: 0.92em;
}
.agent-disclaimer {
    font-size: 12px;
    color: #8e8ea0;
    text-align: center;
    margin: 8px 0 0 0;
    padding: 0;
}

/* --------------------------------------------------- EasyComp Agent End --------------------------------------------------- */
