html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #F6F2F9;
}

/* ------------------------ */
/*          SIDEBAR         */
/* ------------------------ */
.side-bar {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 14px #00000017;
    width: 64px !important;              
    transition: width 0.75s ease-in-out;
}

.side-bar.expanded {
    width: 240px !important;       
}

.extend-sidebar {
    background-color: transparent;
    border: none;
}

.side-bar .side-bar-item .extended-sb-content {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    color: #032839;

    max-width: 0;
    opacity: 0;
    margin-left: 0;
    transform: translateX(-6px);

    transition:
        max-width 0.7s ease-in-out,
        opacity 0.7s ease-in-out,
        transform 0.7s ease-in-out,
        margin-left 0.7s ease-in-out;
}

.side-bar.expanded .side-bar-item .extended-sb-content {
    max-width: 200px;    
    opacity: 1;
    margin-left: 12px;
    transform: translateX(0);
}

.side-bar-item {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
}

.active {
  position: relative;
}

.active::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 0;
  width: 3px;
  height: 25px;
  background-color: #9263BB;
  border-radius: 4px 0px 0px 4px;
}

.side-bar-item a {
    text-decoration: none;
    color: transparent;
}

.nav-link-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.active span {
    color: #9263BB !important;
    font-weight: 700;
}

.active-span {
    color: #9263BB !important;
    font-weight: 700;
}

.navbar-brand span{
    font-size: 40px;
    font-weight: bold;
    color: #032839;
}

/* ------------------------ */
/*          HEADER          */
/* ------------------------ */
.header {
    background-color: #CFB9E0;
    z-index: 2;
    border-radius: 0 0 0 33px;
    height: 132px;
}

.header h1 {
    font-size: 32px !important;
}

@media (max-width: 1536px) {
    .header h1 {
        font-size: 32px !important;
    }
}

#header-main-row {
    border-radius: 0 0 0 33px;
    background-image: url('/static/images/header_background_bo.svg');
    background-repeat: no-repeat;
    background-size: 1320px auto; 
    background-position: center -15px;    
    height: 132px;
}

.group-logo {
    width: auto;
    max-height: 62px;
    object-fit: contain;
}

.header-help-text {
    color: #7D7D7D;
    font-size: 16px;
}

@media (max-width: 675px) {
    .header-help-text {
        display: none;
    }
}

.border-company {
  border: 1px solid #9263BB;
  border-radius: 50%;
  padding: 10px;
  margin-right: 32px;
}

.border-company img {
  width: 32px;
  height: 32px;
}

.profile-dropdown {
    border: none;
    background-color: #C6ACDA;
    padding: 8px;
    border-radius: 44px;
    cursor: pointer;
    height: 78px;
    width: 361px !important;
    padding-left: 11px !important;
}

.profile-dropdown-photo-avatar {
    width: 59px;
    height: 59px;
    border-radius: 50%;
    border: none !important;
}

.profile-dropdown-photo {
  width: 59px;
  height: 59px;
  border-radius: 50%;
  border: 2px solid #9263BB;
}

.profile-dropdown-info {
  display: flex;
  flex-direction: column;
  justify-content: start;
  color: #444444;
  width: 185px;
  margin-right: 24px !important;
}

.icon-user-modal {
    margin-left: 20px;
}

.custom-truncate {
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-truncate-height {
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Number of visible lines */
    -webkit-box-orient: vertical;
    max-height: 40px; /* Adjust for expected line height */
    overflow: hidden;
    word-break: break-word;
}

  .resize-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

#resend-access-email .resize-container,  #sort-type .resize-container {
    justify-content: center;
}

#sort-amount .resize-container,  #sort-balance-after .resize-container{
    justify-content: end;
}

.resize-container .resize-grip {
    position: absolute;
    top: 0;
    right: -3px; 
    bottom: 0;
    width: 2px;
    border-radius: 5px;
    cursor: col-resize;
    background-color: #ccc; 
}

.sticky-insurance-top, .sticky-requests-top  {
    position: sticky;
    top: -1px;
}

@media (max-width: 770px) {
    .profile-dropdown-info {
        display: none;
    }
}

.profile-dropdown-name {
    font-family: var(--font-montserrat), 'sans-serif';
    font-weight: 500;
    font-size: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #032839;
}

.profile-dropdown-accessing {
    font-family: var(--font-roboto), 'sans-serif';
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dropdown-menu-profile {
    border-radius: 8px;
    width: 100%;
}

.column-settings-modal {
    overflow-y: auto;
    height: 370px;
}

.column-settings-modal-employee {
    overflow-y: auto;
    height: 380px;
}

@media (max-width: 730px) {
    .dropdown-menu-profile {
        width: auto;
    }
}

.dropdown-item, .accordion-button {
    font-family: var(--font-roboto), 'sans-serif';
    font-size: 20px;
}

.dropdown-item:hover {
    background-color: #D9E8FF;
}

.access-to-app {
    background-color: #F5FAFF;
}

.access-to-title:hover {
    background-color: transparent;
}

.access-to-image {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    object-fit: contain;
}

.accordion-button:not(.collapsed) {
    color: #000000;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after,
.accordion-button::after {
    background-image: unset !important;
    margin: 0;
    display: none;
}

.language-option {
    cursor: pointer;
}

.notification-button {
    border: none;
    background-color: #C5ACDA;
    margin-right: 32px;
    width: 78px;
    height: 78px;
}

.notification-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}

.dropdown-menu-notification {
    border-radius: 8px;
    width: 454px;
    max-height: 538px;
}

.notification-text {
    width: 282px;
}

@media (max-width: 500px) {
    .dropdown-menu-notification {
        width: 70vw;
        transform: translate(-8vw, 82px) !important;
    }

    .notification-text {
        width: 212px;
    }
}

.dropdown-menu-notification > li:first-child{
    border-radius: 8px 8px 0 0;
}

.notification-unread {
    background-color: #CEB8E087 !important;
    border: 1px solid #9263BB;
}

.notification-unread:hover {
    background-color: #CEB8E087;
}

.notification-unread h3 {
    color: #9263BB;
}

.notification-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #9263BB;
    font-weight: 600 !important;
}

.notification-text span {
    font-family: 'Roboto', sans-serif;
    font-size: 14px !important;
    color: #032839;
    font-weight: 400 !important;
}

.notification-text .text-muted {
    font-family: 'Roboto', sans-serif;
    font-size: 12px !important;
    color: #032839 !important;
    font-weight: 300 !important;
}

.dropdown-menu-notification .link-color {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
    color: #9263BB;
    font-weight: 600 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#profileDropdown {
    width: 361px;
}

.notification-text {
    margin: 0 !important;
}

.notification-icon {
    margin-left: 26px;
}

.dropdown-menu-notification .border-dark {
    border-color: #E8E9ED !important;
}

.dropdown-menu-notification {
    background-color: #FCFAFD;
    box-shadow: 5px 3px 15px #03283919;
    border: 1px solid #03283919;
    border-radius: 7px;
}

#notifications-menu.dropdown-menu-notification {
  padding: 0 !important;
  margin: 0 !important;
  overflow-y: auto !important; 
}

#notifications-menu .dropdown-item {
  padding-right: 0 !important; 
  padding-left: 0 !important;  
  margin: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

#notifications-menu > li {
  padding-right: 0 !important;
  margin-right: 0 !important;
}

#notifications-menu.custom-scrollbar::-webkit-scrollbar-track {
  margin-right: 0;
  margin-left: 0;
}

#notifications-menu .dropdown-item:hover,
#notifications-menu li:hover,
#notifications-menu a:hover {
  background-color: transparent !important;
  color: inherit !important;
  text-decoration: none !important;
  transition: none !important;
}

#notifications-menu .notification-unread:hover {
  background-color: #CEB8E087 !important;
  cursor: pointer !important; 
}

#notifications-menu img[src$="arrow_right_icon.svg"] {
  visibility: hidden;           
  width: 10px;
  height: 20px;
}

#notifications-menu .d-flex.align-items-center > div:has(> img[src$="arrow_right_icon.svg"]) {
  position: relative;
  width: 10px;                  
  height: 20px;
}

#notifications-menu .d-flex.align-items-center > div:has(> img[src$="arrow_right_icon.svg"])::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/static/images/arrow_right_notification_bo_icon.svg') no-repeat center / contain;
}

.notification-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#notification-read-all-button {
    margin-right: 10px;
}

/* ------------------------ */
/*      QUICK ACCESS        */
/* ------------------------ */
.quick-access-container {
    margin-top: 4px;
    background-color: #F8F9FB;
}

.qa-button {
    height: 92px;
    width: 180px;
    border-radius: 12px;
    border: 1px solid #D1D1D1;
    background-color: #FCFEFF;
    box-shadow: 4px 8px 10px #BACCDE8A;
    font-weight: 600;
}

.qa-button span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px;
}

.col-edit-dashboard {
    margin-right: 117px;
}

@media (max-width: 1536px) {
    .qa-button {
        height: 92px;
        width: 170px;
    }
}

@media (max-width: 1366px) {
    .qa-button {
        height: 92px;
        width: 170px;
    }

    .col-edit-dashboard {
        margin-right: 77px;
    }
}

.qa-button img {
    width: 32px;
    height: 32px;
}

.active-button {
    background-color: #2E92F7;
    color: #fff;
}

.circle-red-notification {
    display: inline-flex; /* Centers content both vertically and horizontally */
    align-items: center;
    justify-content: center;
    background-color: #D91010; /* Circle background */
    color: #FFFFFF !important; /* Circle text color */
    border-radius: 50%; /* Makes it circular */
    text-align: center;
    padding: 4px; /* Smaller padding */
    width: auto; /* Default size based on content */
    height: auto; /* Default size based on content */
    aspect-ratio: 1 / 1; /* Maintains circular shape */
    min-width: calc(1em + 8px); /* Ensures a minimum width for single characters */
    min-height: calc(1em + 8px); /* Ensures a minimum height for single characters */
}

.custom-card {
    border-radius: 16px;
    box-shadow: 4px 8px 7px #BACCDE89;
    margin-right: 32px;
}

.custom-card{
  height: 65vh;        
  overflow: visible;   
}

.card-body.custom-scrollbar{
  max-height: auto;    
  overflow: auto;
}

.custom-tooltip-container {
    position: relative;
    display: inline-block;
  }
  
  .custom-tooltip-container .custom-tooltip-text {
    visibility: hidden;
    background-color: #18F2F2; 
    width: auto !important;
    white-space: nowrap;
    color: #032839;
    text-align: center;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1000;
    bottom: 100%; 
    left: 50%;
    transform: translateX(-27%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: 400;
  }
  
  .custom-tooltip-container:hover .custom-tooltip-text {
    visibility: visible;
    opacity: 1;
  } 


.custom-tooltip-container .custom-tooltip-text-policy-form {
    visibility: hidden;
    background-color: #18F2F2; 
    color: #032839;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1000;
    bottom: 40%; 
    left: 20%;
    transform: translateX(-70%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: 400;
  }
  
  .custom-tooltip-container:hover .custom-tooltip-text-policy-form {
    visibility: visible;
    opacity: 1;
  } 

  .custom-tooltip-container .custom-tooltip-text-delete-checkbox {
    visibility: hidden;
    background-color: #D91010; 
    color: #FFF;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    position: absolute;
    z-index: 1000;
    bottom: 110%; 
    left: 70%;
    transform: translateX(-30%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
    font-weight: 400;
  }
  
  .custom-tooltip-container:hover .custom-tooltip-text-delete-checkbox {
    visibility: visible;
    opacity: 1;
  } 

.export-to-excel, .button-column-settings, .clear-filter-button, .get-info-button, .button-save, .new-button, .generate-button, .new-company {
    border: 1px solid #0328391A;
    border-radius: 8px;
    background-color: #0328391A;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-to-excel:hover, .button-column-settings:hover, .clear-filter-button:hover, .get-info-button:hover, .button-save:hover, .new-button:hover, .generate-button:hover {
    border: 1px solid #18F2F2;
    background-color: #18F2F21A;
}

.edit-deactivate-button, .edit-button {
    border: 1px solid #D1D1D1;
    border-radius: 8px;
    background-color: #E9E9E9;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.backend-table-filter .dropdown-menu, .backend-filters .dropdown-menu{
  width: 100% !important;    
  max-width: 360px;           
  min-width: 0 !important;    
  max-height: 350px;         
  overflow-y: auto;         
  overflow-x: auto;  
  -webkit-overflow-scrolling: touch;
  border: 1px solid #18F2F2;
  margin-top: 8px !important; 
}

.backend-table-filter .dropdown-item, .backend-filters .dropdown-item{
  display: flex;             
  align-items: center;
  line-height: 1.25;
  white-space: nowrap;
}

.backend-table-filter .dropdown-item .filter-check, .backend-filters .dropdown-item .filter-check{
  flex: 0 0 auto;             
  width: 16px;            
  height: 16px;
  margin: 0;
  appearance: auto;           
  -webkit-appearance: auto;
}

.backend-table-filter .dropdown-item:hover,
.backend-table-filter .dropdown-item:focus,
.backend-table-filter .dropdown-item:active,
.backend-table-filter .dropdown-item.active,
.backend-filters .dropdown-item:hover,
.backend-filters .dropdown-item:focus,
.backend-filters .dropdown-item:active,
.backend-filters .dropdown-item.active{
  background-color: transparent !important;
  color: inherit !important;
  outline: none !important;
  box-shadow: none !important;
}

.backend-table-filter .dropdown-item.filter-option, .backend-filters .dropdown-item.filter-option{
  display:flex; 
  align-items:center; 
}

input[type="checkbox"], .backend-table-filter .dropdown-item .filter-check {
  width: 24px !important;
  height: 24px !important;
  cursor: pointer;
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #03283980; 
  background-color: #FFF !important;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  accent-color: transparent;
  background-image: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
}

.flatpickr-calendar.open {
    border: 1px solid #18F2F2 !important;
}

.form-control {
    border: 1px solid #03283980;
    border-radius: 8px;
    height: 24px;
    width: 128px;
}

input[type="checkbox"]:checked, .backend-table-filter .dropdown-item .filter-check:checked {
  background-color: #18F2F2 !important;
  border-color: #18F2F2 !important;
  background-image: none !important;
}

.form-control:focus {
  border: 1px solid #18F2F2 !important;
  box-shadow: none !important; 
  outline: none !important;      
}

.form-control:disabled, .form-control[readonly] {
    background-color: #FFF;
    opacity: 1;
}

.flatpickr-input {
    font-family: var(--font-roboto), 'sans-serif' !important;
    color: #032839 !important;
    font-size: 16px !important;
}

.flatpickr-input-changed-inclusion {
    color: #032839 !important;
}

.flatpickr-calendar {
  width: 328px !important;            
  border: 1px solid #03283973 !important;
  border-radius: 12px !important;
  box-shadow: none !important;       
  overflow: hidden;                   
}

.flatpickr-day.selected,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background-color: #18F2F280 !important;
  border-color: transparent !important;
  color: #032839 !important;
  border-radius: 8px !important;
}

input[type="checkbox"]:checked::after, .backend-table-filter .dropdown-item .filter-check:checked::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 1px;
  width: 7px;
  height: 15px;
  border: solid #000; 
  border-width: 0 2px 2px 0; 
  transform: rotate(45deg);
}

.backend-table-filter .dropdown-menu > li:first-child .dropdown-item, .backend-filters .dropdown-menu > li:first-child .dropdown-item{
  font-size: 14px;      
  color: #032839;        
  background-color: #FFF !important;
}

.backend-table-filter .dropdown-menu > li:first-child .dropdown-item:hover,
.backend-table-filter .dropdown-menu > li:first-child .dropdown-item:focus,
.backend-filters .dropdown-menu > li:first-child .dropdown-item:hover,
.backend-filters .dropdown-menu > li:first-child .dropdown-item:focus{
  color: #032839;
  background-color: #FFF !important;
}

.button-column-settings img, #processingExclusionUpdateButton img, .export-to-excel img, .clear-filter-button img, .get-info-button img, .button-save img, .new-button img, .generate-button img, .new-company  img{
    width: 25px;
    height: 25px;
}

.dropdown-item span {
    font-size: 16px;
}
.edit-deactivate-button:hover, .edit-button:hover {
    border: 1px solid #18F2F2;
    background-color: #18F2F21A;
}

.edit-deactivate-button.remove-row:hover {
    border: 1px solid #D91010;
    background-color: #FFA6A6;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #03283980;
  border-radius: 20px;
  width: 308px;
  height: 40px;
  background: #fff;
}

.search-container:focus-within {
  border: 1px solid #18F2F2;
}

.search-icon {
  border: none;
  background: transparent;
  padding: 0 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon img {
  width: 16px;
  height: 16px;
}

.search-input-companies {
  border: none;
  outline: none;
  font-family: var(--font-roboto), 'sans-serif';
  font-size: 16px;
  color: #032839;
}

.search-input-companies::placeholder {
  color: #032839;
  font-family: var(--font-roboto), 'sans-serif';
  font-size: 16px;
  opacity: 1; 
}

.column-settings-modal {
    overflow-y: auto;
    height: 370px;
}

th span {
    font-family: var(--font-roboto), 'sans-serif';
    font-weight: 600;
    color: #032839;
}

td, td a{
    font-family: var(--font-roboto), 'sans-serif' !important;
    color: #032839 !important;
    font-size: 16px !important;
    text-decoration: none;
}

#leads-table-tag th:not(:first-child),
#leads-table-tag td:not(:first-child),
#insured-members-table-tag th:not(:first-child),
#insured-members-table-tag td:not(:first-child),
#allMovements th:not(:first-child),
#allMovements td:not(:first-child),
#simulations-table-tag th:not(:first-child),
#simulations-table-tag td:not(:first-child),
#exclusions-table-tag th:not(:first-child),
#exclusions-table-tag td:not(:first-child),
#allMovements th:not(:first-child),
#allMovements td:not(:first-child){
  padding-left: 26px;
}

#insurancesTable.backend-filters {
    width: 140px !important;
}

.backend-filters {
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1px solid #0328397F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
    height:fit-content;
    height: 42px;
    padding: 0 !important;
    position: relative;
    width: 170px !important;
    min-width: fit-content;
}

.backend-filters > input {
    height: 38px;
}

.filter-counter {
    background-color: #2E92F7;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 4px 6px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    display: flex;
    align-items: start;
    justify-content: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: absolute;
    left: 10px;
    max-width: 4rem; /* Adjust as needed */
}

.filter-button {
    border-radius: 8px;
    background-color: #FFFFFF;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 130px;
    font-size: 16px;
    padding-left: 10px;
}

.backend-filters-menu {
    overflow: auto;
    max-height: 30vh;
}

.filter-button:focus {
    outline: none;
}
.backend-filters:has(.filter-button:focus) {
    border: 1px solid #18F2F2;
}
.filter-button::placeholder {
    color: #032839A6;
}

.filter-button > span {
    color: #032839;
}

.options-filter span {
    color: #0076EE;
}

.hidden {
    display: none !important;
}

.broking-team-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.broking-team-table thead th {
    font-size: 16px;
    font-weight: 500;
    color: #032839;
    border-bottom: 0;
    padding: 10px 16px;
}

.broking-team-table tbody td {
    font-size: 16px;
    color: #032839;
    border: 0 !important;
    padding: 12px 16px;
    vertical-align: middle;
    white-space: nowrap;
}

.broking-team-table tbody tr:nth-child(even) {
    background: #0328390D; 
}

.broking-team-table tbody tr:nth-child(odd) {
    background: #FFFFFF;
}

tbody tr, tbody tr td {
    height: 35px !important;
}

table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

/* table thead::after {
  content: "";
  display: table-row;
  height: 18px; 
} */

.thead-spacer th {
  height: 18px;
  background: white;
  border: none;
  padding: 0;
}

table th,
table td {
  background-color: #fff;
}

table thead th:first-child {
  padding-left: 20px;
}

/* Primeira coluna do corpo da tabela */
table tbody td:first-child {
  padding-left: 20px; 
}

.table>:not(caption)>*>* {
    padding: 0;
}
    
.change-movements-button {
    box-shadow: 4px 4px 6px #03283919;
    border: 1px solid #0328391A;
    border-radius: 12px;
    height: 92px;
    width: 236px;
    background-color: #FFF;
}

.change-movements-button span {
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #032839;
}

.active-movement {
    background-color: #9263BB;
    box-shadow: 4px 4px 6px #9263BB7F;
}

.active-movement span {
    color: #FFF;
}

/* ------------------------ */
/*     CUSTOM SCROLLBAR     */
/* ------------------------ */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;   /* mais fina vertical */
  height: 4px;  /* mais fina horizontal */
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  margin: 3px; /* cria o “encolhimento” da barra nas pontas */
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #758992; /* cor desejada */
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #5f6f7d; /* um pouco mais escura no hover */
}

.upload-files {
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='28' ry='28' stroke='%23707070FF' stroke-width='1' stroke-dasharray='15%2c 22' stroke-dashoffset='37' stroke-linecap='square'/%3e%3c/svg%3e");
    border-radius: 28px;
    border: none;
    height: 38.484vh;
    margin-top: 24px;
    margin-bottom: 32px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #707070;
}
  
.upload-files-text {
    display: flex;
    justify-content: center;
    align-items: center;
}
.upload-files-text {
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.upload-files span {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #707070;
    margin-right: 16px;
    pointer-events: none;
}
  
.upload-files img {
    pointer-events: none;
}
.upload-files img {
    pointer-events: none;
}
  
.dropzone .dz-default.dz-message {
    display: none;
}
  
.dropzone .dz-success-mark {
    display: none;
}
.dropzone .dz-success-mark {
    display: none;
}
  
.dropzone .dz-error-mark {
    display: none;
}

.dropzone .dz-error-mark {
    display: none;
}

.go-back-button {
    background-color: #18F2F27F;
    border: none;
    border-radius: 8px;
    height: 42px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #032839;
}

.confirm-button {
    background-color: #18F2F221;
    border: 1px solid #18F2F2;
    border-radius: 8px;
    height: 42px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #032839;
}

.confirm-button:hover {
    color: #032839;
}

.flatpickr-input.active {
    border: 1px solid #18F2F2 !important;
}

#confirmMessage, #confirmMessageUpdate, #confirmMessageExclusion, .confirm-message-cancel {
    font-size: 38px;
    font-family: 'Montserrat', sans-serif;
    color: #032839;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-collapse {
    background-color: #CEB8E087;
}

.pseudo-disable {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}
.alert-success {
    color: #007E49;
    background-color: #CCF6E4;
    border: 1px solid #05C302;
}
.alert-danger {
    color: #8A2134;
    background-color: #FAD7DD;
    border: 1px solid #FF0000;
}

.download-sent-file {
    text-decoration: none;
    color: #2362B7 !important;
}

.download-sent-file:hover {
    text-decoration: underline;
    cursor: pointer;
}

.broker-link {
    text-decoration: none;
    color: #2362B7 !important;
}

.broker-link:hover {
    text-decoration: underline;
    cursor: pointer;
}

.table-no-lines-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensure it is above the table */
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Add a semi-transparent background */
    padding: 1rem 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d; /* Bootstrap's muted text color */
    pointer-events: none; /* Prevent interaction with the overlay */
}

.dropdown-menu-profile .dropdown-item:hover,
.dropdown-menu-profile .dropdown-item:focus {
  background-color: transparent !important;
  color: inherit !important;
}

.status {
    background-color: #18F2F2;
}

.notification-indicator-sidebar {
    position: relative;
}

.notification-indicator-sidebar::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 25px; /* Adjust as needed */
    width: 13px;
    height: 13px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
    z-index: 1;
}

/* Ensure the button has relative positioning */
.change-movements-button {
    position: relative; /* Makes the button the positioning context */
}

/* Position the notification circle at the top-right */
.circle-red-notification-insurance-broker {
    position: absolute;
    top: -5px; /* Adjust to move the circle vertically */
    right: -5px; /* Adjust to move the circle horizontally */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 13px !important;
    font-weight: bold;
    color: #FFFFFF !important;
    border: 1px solid white; /* Optional: Adds a border for better visibility */
    z-index: 1; /* Ensures it appears above other elements */
}

.processing-screen {
    position: relative;
}

.notification-indicator-conclude-movements-broker {
    margin-left: 10px; /* Add spacing between text and icon */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    color: white !important;
    border-radius: 50%;
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    font-size: 12px !important; /* Adjust font size for better readability */
    font-weight: bold;
    border: 1px solid white; /* Optional: Adds a border for better visibility */
}

#profileDropdownMenu {
    box-shadow: 4px 8px 10px #03283919;
    border: 1px solid #0328391A;
    border-radius: 8px;
    background-color: #FCFAFD;
}

.accordion-item {
    background-color: #FCFAFD;
}

#profileDropdownMenu span{
    font-size: 20px;
    color: #032839 !important;
}

.flatpickr-weekdays .flatpickr-weekday {
  color: #9263BB !important;
  font-weight: 400 !important; 
}

.status-div {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    min-width: 104px;
    border-radius: 14px;
    height: 21px;
}

.status-div span {
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #032839;
    text-align: center;
}

.inactive-status {
    background-color: #FF595E80;
}

.active-status {
    background-color: #2AFC9880;
}

.created-status {
    background-color: #D4F2FF;
}

.pending-status {
    background-color: #FDE6D8;
}

.tooltip .tooltip-arrow {
  display: none !important;
}

.tooltip .tooltip-inner {
  background-color: #032839 !important;
  color: #fff !important;
  font-size: 16px;
  border-radius: 6px;
  padding: 6px 10px;
  opacity: 1 !important; 
}

.tooltip.show {
  opacity: 1 !important;
}

.tooltip.bs-tooltip-bottom {
  margin-top: -8px !important;
}

.choices__list--dropdown {
  @extend .custom-scrollbar;
}
.choices__list--dropdown { overflow: hidden !important; }

.choices__list--dropdown .choices__list{
  max-height:300px;
  overflow-y:auto !important;
  overflow-x:hidden;
  scrollbar-width: thin;                
  scrollbar-color:#758992 transparent;  
}

.choices__list--dropdown .choices__list::-webkit-scrollbar{ width:4px; height:4px; }
.choices__list--dropdown .choices__list::-webkit-scrollbar-track{ background:transparent; margin:3px; }
.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb{ background:#758992; border-radius:4px; }
.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb:hover{ background:#5f6f7d; }

.choices__list--dropdown .choices__list::-webkit-scrollbar-button,
.choices__list--dropdown .choices__list::-webkit-scrollbar-button:single-button,
.choices__list--dropdown .choices__list::-webkit-scrollbar-button:vertical:increment,
.choices__list--dropdown .choices__list::-webkit-scrollbar-button:vertical:decrement,
.choices__list--dropdown .choices__list::-webkit-scrollbar-button:horizontal:increment,
.choices__list--dropdown .choices__list::-webkit-scrollbar-button:horizontal:decrement {
  display:none;
  width:0; height:0;
  background:transparent;
  border:none;
}

.broker-logo {
    margin-right: 32px;
    border: 2px solid #9263BB;
    width: 59px;
    height: 59px;
    border-radius: 50%;
}

.backend-filters .flatpickr-input.active {
  border: none !important; 
  box-shadow: none !important;
}

.backend-filters .form-control {
  border: none !important; 
  box-shadow: none !important;
}

#notificationsModal .modal-header {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

#notificationsModal .modal-header h2{
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #032839;
    margin-bottom: 0 !important;
    margin-top: 40px;
    padding-left: 15px !important;
}

#notificationsModal .modal-header button{
    margin-bottom: 50px;
}

#notificationsModal .notifications-amount-unread {
    background-color: #18F2F2;
    border-radius: 50%;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #032839;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 17px;
}

#notifications-modal-body{
    padding-top: 0 !important;
    padding-left: 31px !important;
    padding-right: 0;
    margin-right: 11px;
}

#notificationsModal .notification-anchor {
    height: 98px;
    display: flex;
    align-items: center;
    width: 100% !important;
    text-decoration: none !important;
    color: #032839 !important;
}

#notificationsModal .notification-modal-unread {
    background-color: #CEB8E087;
    border-radius: 16px;
    border: 1px solid #9263BB;
}

.notification-anchor span{
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.notification-anchor span.text-muted{
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300 !important;
    margin-top: 4px;
}

.notification-arrow-div  {
    margin-right: 28px;
    margin-left: 40px;
}

#notificationsModal .delete-notification-button {
    border-radius: 8px;
    width: 40px;
    height: 88px;
    background-color: #0328390F;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    margin-right: 31px !important;
}

#notificationsModal .delete-notification-button:hover {
    background-color: #E4D7EE;
}

.notification-anchor > .row:first-child {
  width: 100% !important;
  flex: 0 0 100%;
  max-width: 100%;
}

#notificationsModal img[src$="arrow_right_icon.svg"] {
  visibility: hidden;           
  width: 10px;
  height: 20px;
}

#notificationsModal .notification-arrow-div {
  width: 10px;
  height: 20px;
  background: url('/static/images/arrow_right_notification_bo_icon.svg') no-repeat center / contain;
}

#notificationsModal .notification-arrow-div,
#notificationsModal .col-auto:has(> .notification-arrow-div) {
  padding: 0;
}

#notificationsModal .notification-all-buttons span{ 
    display: none; 
}

#notificationsModal .notification-all-buttons{
  width: 36px; 
  height: 36px;
  display: inline-flex;
  align-items: center; 
  justify-content: center;
  border: 1px solid #0328391A;
  border-radius: 8px;
  background-color: #0328391A;
}

#notificationsModal .notification-all-buttons:hover {
    border: 1px solid #18F2F2;
    background-color: #18F2F21A;
}

#notificationsModal .notification-all-buttons img{
  width: 18px; 
  height: 18px;
}

#notificationsModal .modal-header{ 
    position: relative; 
}

#notificationsModal .modal-header + .row{
  position: absolute; 
  right: 86px; 
  top: 97px; 
  transform: translateY(-50%);
  margin: 0; 
  width: auto;
}

.backend-filters .dropdown-menu > li:first-child > button.filter-option > span {
    font-size: 14px !important;
}

.backend-filters .dropdown-menu > li:first-child span {
  font-size: 14px !important;
}

#true-payment_method .choices.is-open { 
    z-index: 30; 
}

#true-payment_method .choices__list--dropdown .choices__item.is-selected {
  background: #8BF8F8 !important;
}

#true-payment_method .choices__list--multiple .choices__item {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 16px !important;
  font-weight: 400 !important;
}

#true-payment_method .choices__list--multiple .choices__item + .choices__item::before {
  content: ", ";
  white-space: pre;
}

#true-payment_method .choices__button { 
    display: none !important; 
}

#true-payment_method .choices__inner { 
    padding: 8px 10px; 
}

.placeholder-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}

.placeholder-wrap .dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.fake-ph {
    position: absolute;
    left: 12px;
    right: 36px;             
    top: 0;
    color: #032839A6;         
    pointer-events: none;     
    white-space: nowrap;
    overflow: hidden;
    display: none; 
    font-size: 16px;           
    font-weight: 400;
}

.fake-ph::before, .fake-ph::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 14px;
    pointer-events: none;
}

.fake-ph::before { 
    left: 0;  
    background: linear-gradient(to right, #fff, rgba(255,255,255,0)); 
}

.fake-ph::after  { 
    right: 0; 
    background: linear-gradient(to left,  #fff, rgba(255,255,255,0)); 
}

.fake-ph__inner {
    display: inline-block; 
    will-change: transform; 
    padding-right: 12px;
}

.placeholder-wrap:hover .fake-ph[data-overflow="true"] .fake-ph__inner {
    animation: ph-marquee var(--ph-dur, 6s) linear infinite alternate;
}

#insuranceCompanySearchInput:focus + .fake-ph .fake-ph__inner, 
#policyHolderSearchInput:focus + .fake-ph .fake-ph__inner, 
#leadsEmployeeNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#leadsInsuredNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#insuranceCompanyNifSearchInput:focus + .fake-ph .fake-ph__inner,
#employeeNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#insuredNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#policyHolderNifSearchInput:focus + .fake-ph .fake-ph__inner,
#allMovementsInsuredNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#movementsEmployeeNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#movementsInsuredNameOrNifSearchInput:focus + .fake-ph .fake-ph__inner,
#insuranceCompanyNameSearchInput:focus + .fake-ph .fake-ph__inner,
#movementStatusSearchInput:focus + .fake-ph .fake-ph__inner,
#insuredNameOrNifSearchInputUpdate:focus + .fake-ph .fake-ph__inner,
#premiumToPaySavedSearchInput:focus + .fake-ph .fake-ph__inner {
    animation: none !important;
}

#insuranceCompanySearchInput::placeholder, 
#policyHolderSearchInput::placeholder,
#leadsEmployeeNameOrNifSearchInput::placeholder,
#leadsInsuredNameOrNifSearchInput::placeholder,
#insuranceCompanyNifSearchInput::placeholder,
#employeeNameOrNifSearchInput::placeholder,
#insuredNameOrNifSearchInput::placeholder,
#policyHolderNifSearchInput::placeholder,
#allMovementsInsuredNameOrNifSearchInput::placeholder,
#movementsEmployeeNameOrNifSearchInput::placeholder,
#movementsInsuredNameOrNifSearchInput::placeholder,
#insuranceCompanyNameSearchInput::placeholder,
#movementStatusSearchInput::placeholder,
#premiumToPaySavedSearchInput::placeholder,
#insuredNameOrNifSearchInputUpdate::placeholder { 
    color: transparent; 
}

@keyframes ph-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-1 * var(--ph-shift, 0px))); }
}

.backend-filters .dropdown-menu .dropdown-item {
    position: relative;
    overflow: hidden;            
}

.backend-filters .dropdown-menu .dropdown-item span {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
}

.backend-filters .dropdown-menu .dropdown-item[data-overflow="true"]:hover span {
    animation: bf-marquee var(--bf-dur, 6s) linear infinite alternate;
}

.backend-filters .dropdown-menu .dropdown-item:focus span {
    animation: none;
}

.backend-filters .dropdown-menu .dropdown-item::before,
.backend-filters .dropdown-menu .dropdown-item::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18px;
    pointer-events: none;
}

.backend-filters .dropdown-menu .dropdown-item::before {
    left: 0;
    background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}

.backend-filters .dropdown-menu .dropdown-item::after {
    right: 0;
    background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

@keyframes bf-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-1 * var(--bf-shift, 0px))); }
}

/* ---------------------- */
/*  LOADING PAGE OVERLAY  */
/* ---------------------- */
.loading-overlay {
    z-index: 9999;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.5s;
    width: 100%;
    height: 100%;
}
.loading-overlay-scaled-svg {
    transform: scale(2);
    transform-origin: center;
}
.move-up-down {
    animation: upDown 2s ease-in-out infinite;
}
@keyframes upDown {
    0%, 100% {
        transform: translate(-15.447px, 0);
    }
    50% {
        transform: translate(-15.447px, -3px) /* Move up by 3px */
    }
}

.card-login-bs {
    background-color: #E6DCEF;
    box-shadow: 20px 20px 90px #FFFFFF;
    backdrop-filter: blur(22px);
    border: none !important;
    position: relative;
}

.container-bs-login {
  background-color: #F2ECF7;
  position: relative;
  overflow: hidden !important; 
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-bs-login::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: url('/static/images/blue_circle_login_bs_icon.svg') no-repeat center/contain;
  bottom: -190px;
  right: 100px;
}

.container-bs-login::after {
  content: "";
  position: absolute;
  width: 305px;
  height: 1080px;
  background: url('/static/images/background_image_login_bs.svg') no-repeat right center;
  background-size: 170% auto; 
  top: -95px;
  left: -60px;
}

#email, #password, #confirm-password {
    border: 1px solid #03283919 !important;
}

.forgotp {
    color: #18F2F2 !important;
    font-weight: 500 !important;
}

input[type="checkbox"]:checked::after {
    background-color: transparent !important;
}

.login-bs-button, .submit-button-bs, .get-back-bs-button, .reset-password-bs-button {
    box-shadow: 4px 4px 6px #03283940 !important;
    border: 1px solid #18F2F2 !important;
    color: #032839 !important;
    border-radius: 8px !important;
    height: 42px !important;
    background-color: #FFFFFF;
    width: 100% !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center !important;
    justify-content: center;
}

.title-forgot {
    max-width: 400px !important;
    white-space: wrap !important;
    text-align: center !important;
}

.login-bs-button:hover, .submit-button-bs:hover, .get-back-bs-button:hover, .reset-password-bs-button:hover {
    background-color: #18F2F2 !important;
}

.submit-button-bs {
    position: absolute;
    bottom: 82px;
    max-width: 367px !important;
}

.container-bs-login::after,
.container-bs-login::before {
  z-index: -1;
}

.modal-backdrop {
    width: auto !important;
    height: auto !important;
    background-color: rgba(3, 40, 57, 0.6) !important; 
    box-shadow: 0px 3px 6px #0328397f !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    opacity: 1 !important;
    transition: backdrop-filter 0.3s ease, opacity 0.3s ease;
}

.extend-sidebar {
    border: none;
    background-color: transparent;
    padding: 0;
}

.tooltip .tooltip-inner {
    background-color: #032839 !important;
    color: #FFFFFF !important;
    border-radius: 4px !important;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    padding: 6px 10px !important;
}

.tooltip.show {
    opacity: 1 !important;
}

.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #032839 !important;
}

.placeholder-wrap .filter-button.has-value + .fake-ph,
.placeholder-wrap .filter-button:not(:placeholder-shown) + .fake-ph {
    display: none !important;
}

#notifications-menu {
    transform: translate3d(-375px, 65px, 0px) !important;
}

#email:focus,
#password:focus, #confirm-password:focus {
    border-color: #18F2F2 !important;
    outline: none; 
}