.fade-in-later {
    display: none;
}

.timeline .timeline-point-email,
.timeline .timeline-point-open {
    background-color: #666cff !important;
    outline: 3px solid rgba(102, 108, 255, 0.12);
}
.timeline.timeline-outline .timeline-point-email,
.timeline.timeline-outline .timeline-point-open {
    border: 2px solid #666cff !important;
}

.timeline .timeline-point-phone {
    background-color: #26c6f9 !important;
    outline: 3px solid rgba(38, 198, 249, 0.12);
}
.timeline.timeline-outline .timeline-point-phone {
    border: 2px solid #26c6f9 !important;
}
.timeline .timeline-point-meeting {
    background-color: #fdb528 !important;
    outline: 3px solid rgba(253, 181, 40, 0.12);
}
.timeline.timeline-outline .timeline-point-meeting {
    border: 2px solid #fdb528 !important;
}
.timeline .timeline-point-note,
.timeline .timeline-point-closed {
    background-color: #6d788d !important;
    outline: 3px solid rgba(109, 120, 141, 0.12);
}
.timeline.timeline-outline .timeline-point-note,
.timeline.timeline-outline .timeline-point-closed {
    border: 2px solid #6d788d !important;
}
.timeline .timeline-point-call {
    background-color: #26c6f9 !important;
    outline: 3px solid rgba(38, 198, 249, 0.12);
}
.timeline.timeline-outline .timeline-point-call{
    border: 2px solid #26c6f9 !important;
}

.timeline .timeline-point-task {
    background-color: #72e128 !important;
    outline: 3px solid rgba(114, 225, 40, 0.12);
  }
.timeline.timeline-outline .timeline-point-task {
    border: 2px solid #72e128 !important;
}

.timeline .timeline-icon-task {
    content: '<i class="ri-task-line ri-22px text-success me-2"></i>'
}

.ql-snow.ql-toolbar {
    border-top-left-radius: 0.375rem !important;
    border-top-right-radius: 0.375rem !important;
}

.activity-content-preview p {
    margin-bottom: 0 !important;
}
.ql-editor {
    max-height: 300px;
}
.ql-editor p {
    margin-bottom: 0 !important;
}
.ql-editor p,
.ql-editor li {
    font-size: 10pt;
}
.ql-editor h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;    
}
.ql-editor h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
    margin-bottom: 0px;
}


.snippets {
    display: none;
}
.only-for-admin {
    display: none;
    /* background: lightyellow !important;
    background-color: lightyellow !important; */
    color: chocolate !important;
}
.only-for-pm {
    display: none;
    /* background: lightblue !important;
    background-color: lightblue !important; */
    color: chocolate !important;
}
.only-for-pm-visible {
    /* display: none; */
    /* background: lightblue !important;
    background-color: lightblue !important; */
    color: chocolate !important;
}


/* SIZING */
.min-w-250px {
    min-width: 250px !important;
}
.min-w-200px {
    min-width: 200px !important;
}
.min-w-150px {
    min-width: 150px !important;
}

.mw-50px {
    max-width: 50px;
}
.mw-100px {
    max-width: 100px;
}
.mw-150px {
    max-width: 150px;
    text-overflow: ellipsis;
}
.mw-200px {
    max-width: 200px;
    text-overflow: ellipsis;
}
.mw-250px {
    max-width: 250px;
}
.mw-300px {
    max-width: 300px;
}
.mw-350px {
    max-width: 350px;
}
.mw-400px {
    max-width: 400px;
}
.mw-500px {
    max-width: 500px;
}
.mw-800px {
    max-width: 800px;
}
  

.hide-at-start {
    display: none;
}
.float-right {
    margin-left: auto;
}

.CodeMirror {
    height: 247px !important;
}
.CodeMirror-scroll {
    margin:0 !important;
    padding: 10px 0 10px 50px !important;
}

.remove-contact,
.cancel-remove-contact,
.click-to-progress {
    cursor: pointer;
}
 
.blink-background {
    animation: blinking 2s infinite;
}
@keyframes blinking {
    0% {
      background-color: yellow;
    }
    100% {
      background-color: none;
    }
}

.form-subheader {
    display: flex;
    white-space: nowrap;
    line-height: normal;
    width: 100%;
    flex-direction: row;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
.form-subheader:after {
    margin-left: 0.5rem;
    width:90%;
    content: "";
    display: block;
    height: 1px;
    background-color: #e5e6e8;    
}
.form-subheader .form-subheader-text {
    column-gap: 0.625rem;
    text-transform: uppercase;
    font-size: 1.0rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
    color: #a8aab4;
}

table thead.condensed tr th {
    padding-top: 4px;
    padding-bottom: 2px;
    vertical-align: middle;
}
table tbody.condensed tr td,
table.condensed tr td,
table.condensed tr th {
    padding-top: 6px;
    padding-bottom: 2px !important;
    vertical-align: middle;
    padding-block: 6px 2px !important;
}

table.table-numbers td {
    text-align: right;
}
table.table-numbers th {
    text-align: center;
}
table.header-center th {
    text-align: center;
    padding: 0.7813rem;
    padding-block: 0.7813rem !important;
}

.vertical-spacing-condensed > * {
    margin-top: 0.125rem !important;
    margin-bottom: 0 !important;
}
.btn-icon.btn-xm {
    width: calc(1.0001875rem + calc(1px* 2));
    height: calc(1.0001875rem + calc(1px* 2));
    font-size: 0.8125rem;
}

.fs-9pt {
    font-size: 9pt !important;
}
.fs-8pt {
    font-size: 8pt !important;
}
.fs-7pt {
    font-size: 7pt !important;
}
.px-0-i {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.text-dimmed {
    --bs-text-opacity: 1;
    color: #eee !important;
}

.context-help {
    position: relative;
    width: 100%;
    max-height: 80vh;
    height: 100px;
    padding: 1rem;
    background-color: var(--bs-body-bg, #f8f9fa); /* Optional background */
    border-top: 1px solid #ddd;
    font-size: 0.875rem;
    color: #666;
    transition: padding 0.3s ease;
    overflow: hidden;
}

.context-help-content {
    overflow: auto;
}

.context-help.collapsed {
    height: 40px !important;
    padding: 0.5rem 1rem;
}

.context-help-toggle {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 0.1rem 0.5rem;
    font-size: 1rem;
    cursor: pointer !important;
    z-index: 2;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

.context-help-toggle-symbol {
    position: relative;
    top: 5px;
}
.context-help-resize-handle {
    position: absolute;
    top: 0;
    left: 0;
    height: 8px;
    width: 100%;
    cursor: ns-resize;
    z-index: 3;
}

.space-before {
    padding-left: 0.5em;
}  
ul.no-indent {
    /* list-style: none; */
    padding-left: 0;
    margin: 0;
}
  
/* Fixed width */
.w-40px  { width: 40px !important; }
.w-60px  { width: 60px !important; }
.w-80px  { width: 80px !important; }
.w-100px { width: 100px !important; }
.w-120px { width: 120px !important; }
.w-80 { width: 80% !important; }

.sse-status {
    font-size: smaller;
    text-shadow: none;
    color: white;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid red;
    background: red;
    cursor: default;
}
.sse-status.connected {
    font-size: smaller;
    text-shadow: none;
    color: black;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid lightblue;
    background: lightblue;
    cursor: default;
}

#sse_connection_message {
    margin-right: 10px;
    font-size: small;
}

@keyframes blinking {
    0% {
      background-color: yellow;
      border-color: yellow;
    }
    100% {
      background-color: none;
      border-color: none;
    }
}
.blink-background {
    animation: blinking 2s infinite;
}

@keyframes blinkingText {
    0% {
      color: red;
    }
    100% {
      color: none;
    }
}
.blink-text {
    animation: blinkingText 2s infinite;
}

.copy-to-clipboard {
    cursor: pointer;
}
.select-supplier .tagify__input {
    min-width: unset !important;
}
.comments-table div {
    white-space: normal;
}
.dt-comments-cell {
    white-space: normal !important;
    vertical-align: top;
    width: 35% !important;
}

.dt-source-cell,
.dt-target-cell {
    width: 20% !important;
}

.dt-comments-reply {
    border-top: 1px dashed #e5e6e8 !important;
}
.query-closed {
    background-color: #f8f9fa !important;
}
.query-closed td {
    color: #a8aab4 !important;
}

.py-05 {
    padding-top: 0.10rem !important;
    padding-bottom: 0.10rem !important;
}

.form-control-xm {
    min-height: 24px !important;
    padding: 0.629rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.print-black * {
    color: black !important;
    border-color: black !important;
    background-color: white !important;
    box-shadow: none !important;
}

tags.tagify-client {
    height: auto !important;
}

.offcanvas-large {
    width: 500px !important;
}
.spec-jobs-table {
    max-height: 200px;
    overflow-y: auto;
}
.h-px-70 {
    height: 70px !important;
}
.w-900px {
    max-width: 900px !important;
}
.w-800px {
    max-width: 800px !important;
}


/* Memo content toggle styles */
.memo-container {
    transition: all 0.3s ease;
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.memo-container.collapsed {
    max-height: 1.5em;
    line-height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.memo-container.collapsed * {
    display: inline !important;
}

.memo-container.collapsed br,
.memo-container.collapsed p,
.memo-container.collapsed div,
.memo-container.collapsed ol,
.memo-container.collapsed ul,
.memo-container.collapsed h3 {
    display: none !important;
}

.memo-container.collapsed p:first-child,
.memo-container.collapsed div:first-child,
.memo-container.collapsed h3:first-child {
    display: inline !important;
}

.content-toggle {
    margin-right: 8px;
    vertical-align: top;
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.content-toggle:hover {
    background-color: #f8f9fa;
    color: #495057;
}

.content-toggle i {
    transition: transform 0.3s ease;
    font-size: 16px;
}

/* Ensure the content cell can accommodate the toggle button and content */
#memos_table td.content {
    vertical-align: top;
    padding: 8px;
}

/* Add some spacing between toggle button and content */
.memo-container {
    margin-left: 4px;
}

.table-sm td {
    font-size: 9pt !important;
    padding: 2px !important;
}

.badge.badge-notifications-relative {
    position: relative;
    top: auto;
    display: inline-block;
    margin: 0;
    transform: translate(-50%, -30%);
}

.date-filter-top-position {
    position: fixed;
    top: 14px; /* Position at the top */
    left: 300px; /* Position on the left side */
    z-index: 1080;  /* modal is 1090 */
    /* background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e6e8; */
    width: auto;
    min-width: 400px;
}

.date-filter-relative-position {
    position: relative;
    right: -80px; /* Position on the left side */
    z-index: 1080;  /* modal is 1090 */
    /* background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e6e8; */
    width: auto;
    min-width: 400px;
}


.date-filter-top-position .row,
.date-filter-relative-position .row {
    margin: 0;
}

.date-filter-top-position .col-md-1,
.date-filter-relative-position .col-md-1 {
    /* padding: 0 5px; */
    min-width: 120px;
}

.date-filter-top-position .form-control,
.date-filter-relative-position .form-control {
    width: 100%;
    min-width: 110px;
    font-size: 0.875rem;
    height: 36px;
    padding: 0.375rem 0.75rem;
    margin: 0;
}

.date-filter-top-position .btn,
.date-filter-relative-position .btn {
    width: 100%;
    white-space: nowrap;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    height: 36px;
    line-height: 1.5;
    margin: 0;
}

.date-filter-top-position .d-flex,
.date-filter-relative-position .d-flex {
    gap: 8px;
    align-items: center;
}

/* Responsive adjustments for fixed date filter */
@media (max-width: 1200px) {
    .date-filter-top-position {
        left: 20px;
        min-width: 350px;
    }
    
    .date-filter-top-position .form-control {
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .date-filter-top-position {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 1rem;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: auto;
        width: 100%;
    }
    
    .date-filter-top-position .col-md-1 {
        min-width: auto;
        padding: 0 5px;
    }

    .date-filter-relative-position {
        display: none !important;
    }
}

#downloadDataTable td {
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    vertical-align: top;
    padding: 8px 4px;
    font-size: 0.875rem;
  }
  
  #downloadDataTable th {
    padding: 12px 4px;
    font-size: 0.875rem;
    font-weight: 600;
  }
  
  #downloadDataTable .table-responsive {
    max-height: 60vh;
    overflow-y: auto;
  }

  .amount-by-currency {
    font-size: 9pt;
    position: absolute;
    top: 20px;
    left: 180px;
    text-align: right;
  }

  .amount-total-default-currency {
    font-size: 10pt;
    font-weight: bold;
    position: absolute;
    left: 140px;
    text-align: right;
  }

  .modal-800px {
    max-width: 800px !important;
  }

  table.col-head tr th {
    text-align: left;
    background-color: #f5f5f7 !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  table.col-head tr td {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  tr.condensed th,
  tr.condensed td {
    padding-top: 2px !important;
    padding-bottom: 2px !important; 
  }

  .number-mono {
    font-family: monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
}

tr.total-row td {
    background-color: #f5f5f7 !important;
    font-weight: bold;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.company-stamp {
    width: 80px;
    position: relative;
    top: -70px;
    left: 550px;
}

.ceo-signature {
    width: 150px;
    position: relative;
    top: -30px;
    left: 440px;
}

.required-field {
    border: 1px solid red !important;
}
.narrow-padding {
    padding-left: 4px !important;
    padding-right: 4px !important;
}
.float-right {
    margin-left: auto;
    margin-right: 0;
}

.modal.show {
    z-index: 1090 !important;
}

.qa-checkbox-wrapper {
    position: relative;
    cursor: pointer;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
  }
  
  .qa-checkbox-options {
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px;
    max-height: 300px;
    width: 250px;
    overflow-y: auto;
    z-index: 1000;
    position: absolute;
    font-size:10pt;
  }
  .arrow_down_icon {
    margin-left: auto;
    float: right;
    font-size: 9pt;
    /* font-weight: 600; */
    padding-top: 4px;
  }
  .qa-check-search {
    font-size: 10pt;
  }
  .qa-checkbox-label {
    display: flex;
  }
  .qa-checkbox-list-group {
    margin-left: 16px;
  }
  .qa-checkbox-wrapper label {
    display: block;
  }
  
  .price-tag {
    font-size: 11px;
  }
  .font-size-default {
    font-size: 0.9375rem !important;
  }

  .vendor-logo-image {
    position: absolute;
    max-width: 130px;
    max-height: 70px;
    left: 0px;
    top: -20px;
  }    

  .section-toggle {
    cursor: pointer;
  }

  .section-toggle:hover {
    font-weight: bold;
  }
  .no-border {
    border: none !important;
  }
  .btn-form-control {
    padding: calc(0.8555rem - 1px) calc(1rem - 1px) !important;
  }
  .select-btn-sm {
    padding-top: 0.4415rem !important;
    padding-bottom: 0.5838rem !important;
  }

  .code-highlight {
    background-color: rgba(255, 193, 7, 0.2);
    border-left: 3px solid #ffc107;
    padding: 2px 4px;
    display: inline-block;
    border-radius: 3px;
    color: #ffc107;
    font-weight: 500;
  }

  #pronto-languages-unsaved {
    position: absolute;
    top: 20px;
    right: 50px;
  }

  .border-gray-light {
    border: 1px solid #cfd0d6 !important;
  }

  .hidden_file_input {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.input-logo-file-wrapper {
    display: flex;
    align-items: center;
    padding: 8px;
    cursor: pointer;
}

.btn-xs-sm {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.8125rem;    
}
.btn-xs {
    border-radius: 1.125rem !important;
}

.multi-checkbox-wrapper {
    cursor: pointer;
}
.multi-checkbox-wrapper .select-label {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #2d3748;
    background-color: #ffffff;
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300a896%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.8rem;
}
.multi-checkbox-wrapper .select-options {
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 12px 12px;
    border-top: none;
    padding: 0 8px 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    position: absolute;
    width: 100%;
    /* width: fit-content; */
    font-size: 10pt;    
}
.multi-checkbox-wrapper .select-options input {
    font-size: 10pt;
}
.multi-checkbox-wrapper .check-item label {
    font-size: 9pt;
    display: block;
    margin-bottom: 0.5rem;
}
.multi-checkbox-wrapper .check-item input {
    margin-right: 0.5rem;
}

.datatable-filters-bottom div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 9pt !important;
}