.fh_time-status {
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
}
.fh_time-status.expired {
    background-color: #e0e0e0;
    color: #212121;
}
.fh_time-status.urgent {
    background-color: #ffebee;
    color: #c62828;
}
.fh_time-status.warning {
    background-color: #fff3e0;
    color: #e65100;
}
.fh_time-status.normal {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.fh_boolean-status {
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 500;
    text-align: center;
    min-width: 50px;
}
.fh_boolean-status.true {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.fh_boolean-status.false {
    background-color: #ffebee;
    color: #c62828;
}
.load-more-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}
.entry-count {
    color: #666;
}

/* Styling for filters and sorting */
.fh-filter-controls {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.fh-filter-group {
    display: flex;
    flex-direction: column;
}

.fh-filter-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.fh-filter {
    width: 185px;
    height: 36px;
    padding: 5px;
    border-radius: 4px;
}

select.fh-filter {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(0.9em + 2px),
    calc(100% - 15px) calc(0.9em + 2px),
    calc(100% - 2.5em) 0.35em;
    background-size: 5px 5px,
    5px 5px,
    1px 1.5em;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.sortable {
    cursor: pointer;
    position: relative;
}

.sortable i {
    margin-left: 5px;
    font-size: 0.8em;
}

.sort-asc i:before {
    content: "\f0de"; /* fa-sort-up */
}

.sort-desc i:before {
    content: "\f0dd"; /* fa-sort-down */
}

/* Make sure the table headers align properly */
.styled-table th {
    position: relative;
    white-space: nowrap;
}

/* Button styling */
#reset-filters {
    width: 128px;
    height: 36px;
    background-color: var(--e-global-color-primary);
    border-radius: 25px;
    cursor: pointer;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #262626!important;
    border: none;
}

/* Aanvraag weigeren knop */
#aanvraag-weiger-knop {
    background-color: #262626;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Montserrat", Sans-serif;
    padding: 8px 16px;
    border-radius: 25px;
    opacity: 0;
}

#aanvraag-weiger-knop:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Aanvraag claim knop */
#aanvraag-claim-knop {
    background-color: #FFD100;
    color: #262626;
    width:100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Montserrat", Sans-serif;
    padding: 8px 16px;
    border-radius: 25px;
    width: 100%;
}

#aanvraag-claim-knop:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Aanvraag verwijder knop */
#aanvraag-verwijder-knop {
    background-color: #262626;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Montserrat", Sans-serif;
    padding: 8px 16px;
    border-radius: 25px;
}

#aanvraag-verwijder-knop:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Notification dot */
#notification-dot {
    background-color: var(--e-global-color-primary);
    margin: 0px 0px 0px 0px;
    padding: 9px 0px 6px 0px;
    border-radius: 37px;
    display: inline-block;
    min-width: 35px;
    text-align: center;
}

#notification-dot-number {
    font-family: "Montserrat", Sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--e-global-color-text);
    margin: 0;
    margin-top: -2px;
    padding: 0 5px;
}

/* Toewijzen form */
.toewijzen-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.toewijzen-checkbox label {
    cursor: pointer;
    display: flex;
}

.toewijzen-checkbox input[type='checkbox'] {
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.toewijzen-checkbox label::before {
    content: '';
    width: 1em;
    min-width: 1em;
    height: 1em;
    min-height: 1em;
    border-radius: .15em;
    margin-right: .5em;
    border: .10em solid #262626;
}

.toewijzen-checkbox label:hover::before,
.toewijzen-checkbox input[type='checkbox']:hover + label::before {
    /* background-color: #ffefa6; */
}

.toewijzen-checkbox input[type='checkbox']:focus + label::before {
    /* border-radius: .15em;
    box-shadow: 0 0 3px black; */
}

.toewijzen-checkbox input[type='checkbox']:disabled + label,
.toewijzen-checkbox input[type='checkbox']:disabled {
    color: #aaa;
    cursor: default;
}

/* Styling for synchroniseer partners button and message container */
.friettruckhuren-sync-partners-container {
    margin: 20px 0;
}

.friettruckhuren-sync-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    line-height: 1.5;
    clear: both;
}

.friettruckhuren-sync-message.updated {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

.friettruckhuren-sync-message.error {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.toewijzen-checkbox input[type='checkbox']:checked + label::before {
    content: '\2713';
    /* background-color: #ffd100; */
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.toewijzen-checkbox input[type='checkbox']:disabled + label::before {
    background-color: #ccc;
    border-color: #999;
}

#toewijzen-collapsible {
    color: black;
    cursor: pointer;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    font-weight: 500;
}

.active, #toewijzen-collapsible:hover {
    background-color: white;
    color: black;
}

#toewijzen-collapsible:after {
    content: '\22c1';
    color: black;
    font-weight: 900;
    margin-left: 10px;
}

#toewijzen-collapsible.active:after {
    content: "\22c0";
    font-weight: 900;
}

#toewijzen-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

#toewijzen-knop, #auto-assign-toggle-button {
    background-color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-29b277c-font-family), Sans-serif;
    font-size: var(--e-global-typography-29b277c-font-size);
    font-weight: var( --e-global-typography-accent-font-weight );
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text);
    border: none;
    border-radius: 25px;
    padding: 8px 23px;
    margin-top: 15px;
    cursor: pointer;
}

.auto-assign-container .description {
    font-family: var(--e-global-typography-29b277c-font-family), Sans-serif;
    font-size: var(--e-global-typography-29b277c-font-size);
    font-weight: var( --e-global-typography-accent-font-weight );
    margin-top: 15px;
}

.toewijzen-title {
    font-family: var(--e-global-typography-29b277c-font-family), Sans-serif;
    font-size: 19px;
    font-weight: 700;
    fill: var(--e-global-color-text);
    color: var(--e-global-color-text);
}

/* Notification settings */
.notificatie-instellingen-container {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin: 9px;
}

.notificatie-instellingen-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.notificatie-form {
    margin-top: 15px;
}

.notificatie-form .toewijzen-checkbox {
    margin-bottom: 10px;
}

.notificatie-instellingen-container .notice {
    margin: 0 0 15px 0;
    padding: 10px;
}

/* Odoo invoice, quote and credit note links */
.odoo-link a {
    font-family: "Montserrat", Sans-serif;
    color: #262626 !important;
    background-color: transparent;
    border: 2px solid var(--e-global-color-primary);
    padding: 6px 16px;
    margin: 10px 0px;
    border-radius: 25px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.odoo-link a:hover {
    background-color: rgba(255, 209, 0, 0.1);
    color: #262626 !important;
}

.odoo-link a:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 209, 0, 0.5);
}

.odoo-link span {
    font-family: "Montserrat", Sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--e-global-color-text);
    margin-right: 10px;
}

/* Aanvraag popup */
#aanvraag-popup {
    font-family: "Montserrat", Sans-serif;
}

#toewijzen-form label {
    font-size: 14px;
}

#toewijzen-collapsible {
    font-size: 14px;
    font-weight: 700;
}

.toewijzen-checkbox, #aanvraag-claim-duration, .fh_time-status {
    font-size: 14px;
}

#aanvraag-verwijder-knop{
    color: #262626!important;
    background:none!important;
    border: 2px solid #262626!important;
    padding-right:30px;
}
#aanvraag-verwijder-knop:hover{
    color: #262626!important;
    border: 2px solid #262626!important
}



.multi-select-container {
    display: inline-block;
    position: relative;
  }
  
  .multi-select-menu {
    position: absolute;
    left: 0;
    top: 0.8em;
    float: left;
    /* min-width: 100%; */
    width: 177px !important;
    background: #fff;
    margin: 1.5em 0;
    padding: 0.4em 0;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    display: none;
  }
  
  .multi-select-menu input {
    margin: 0.3em;
    vertical-align: -0.05em;
  }
  
  .multi-select-button {
    display: inline-block;
    /* font-size: 0.875em; */
    padding: 0.3em 0.6em;
    max-width: 177px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: -0.5em;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: default;
  }
  
  .multi-select-button:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.4em 0.4em 0 0.4em;
    border-color: #999 transparent transparent transparent;
    margin-left: 0.4em;
    vertical-align: 0.1em;
  }
  
  .multi-select-container--open .multi-select-menu { 
    display: block;
    z-index: 10; 
  }
  
  .multi-select-container--open .multi-select-button:after {
    border-width: 0 0.4em 0.4em 0.4em;
    border-color: transparent transparent #999 transparent;
  }