/* Adam logo */
.login-logo {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Disabled field styling for better visibility */
.form-control:disabled,
.form-control[readonly] {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d !important;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Additional visual cue for disabled inputs */
.form-control:disabled:focus,
.form-control[readonly]:focus {
    box-shadow: none;
    border-color: #dee2e6 !important;
}

/* Global focus styles - Adam red instead of Bootstrap blue */
.btn:focus,
.btn.focus,
.form-control:focus,
.custom-select:focus,
.custom-control-input:focus ~ .custom-control-label::before,
.custom-file-input:focus ~ .custom-file-label,
.page-link:focus,
.dropdown-item:focus,

.form-control:focus,
.custom-select:focus {
    border-color: #C15B5B;
    box-shadow: 0 0 0 0.2rem rgba(193, 91, 91, 0.25);
}

.custom-control-input:focus ~ .custom-control-label::before {
    border-color: #C15B5B;
    box-shadow: 0 0 0 0.2rem rgba(193, 91, 91, 0.25);
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #C15B5B;
    background-color: #C15B5B;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #C15B5B;
}

/* Button focus styles */
.btn-primary:focus,
.btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(193, 91, 91, 0.5);
}

.btn-outline-primary:focus,
.btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(193, 91, 91, 0.5);
}

/* Style for disabled select elements */
select.form-control:disabled {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    /* word-wrap: break-word; */
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    max-width: 300px;
    /* Set a maximum width for columns */
    white-space: normal;
    /* Allow text to wrap */
    /* word-break: break-word; */
    /* Break long words */
}

th {
    background-color: #f2f2f2;
}

ul {
    padding-left: 16px;
    /* Set left padding for list items */
}

.table-container,
.placeholder-container {
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    min-height: 150px;
    overflow-x: auto;
    /* Enable horizontal scrolling if needed */
}

/* Responsive table */
@media screen and (max-width: 600px) {
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    th,
    td {
        white-space: nowrap;
    }
}

/* Hide the original textarea content */
#text-content,
#social-functioning-content,
#own-work-content,
#physical-environment-content,
#dynamic-actions-content,
#static-postures-content,
#working-hours-content,
#relevant-items-content,
#compare-output {
    display: none;
}

/* Conversation thread styling */
.conversation-thread {
    max-height: 600px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    position: relative;
    max-width: 75%;
}

/* Common content style */
.message-content {
    line-height: 1.2;
}

/* AI message styling */
.ai-message {
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    text-align: left;
    float: left;
    clear: both;
}

.ai-message .message-timestamp-container i {
    font-size: 16px;
    margin-right: 8px;
    /* Space between icon and timestamp */
    color: #555;
    /* Optional: Customize AI icon color */
}

/* User message styling */
.user-message {
    background-color: #e7e7e7;
    color: rgb(0, 0, 0);
    text-align: right;
    float: right;
    clear: both;
}

.user-message .message-timestamp-container i {
    font-size: 32px;
    margin-right: 8px;
    /* Space between icon and timestamp */
    color: #C15B5B;
    /* Optional: Customize User icon color */
}

/* Timestamp styling */
.message-timestamp {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 5px;
}

/* Timestamp container styling */
.message-timestamp-container {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Space between elements */
    position: relative;
}

.backward-icon {
    font-size: 16px;
    /* Small icon */
    color: #888;
    /* Subtle gray */
    cursor: pointer;
    transition: color 0.3s ease;
}

.backward-icon:hover {
    color: #555;
    /* Darker color on hover */
}

/* Spinner icon */
.spin-icon {
    font-size: 1.5rem;
    vertical-align: middle;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Form group styling */
form .form-group {
    clear: both;
}

form .form-group input {
    clear: both;
}

/* Modal container, hidden by default */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with opacity */
}

/* Modal content box */
.custom-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 1000px;
    border-radius: 8px;
}

/* Close button */
.custom-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Style for the table inside the modal */
.custom-modal-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    /* word-wrap: break-word; */
}

.custom-modal-body th,
.custom-modal-body td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.custom-modal-body th {
    background-color: #f2f2f2;
}

/* Button to trigger the modal */
.view-table-btn {
    background-color: #cacaca;
    color: rgb(0, 0, 0);
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.view-table-btn:hover {
    background-color: #0056b3;
}

html {
    scroll-behavior: smooth;
}

.file-upload-container {
    display: flex;
    align-items: center;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
}

.file-input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
}

.file-input-text {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    display: inline-block;
    cursor: pointer;
}

.file-feedback {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.file-name {
    margin-right: 1rem;
}


.feedback-button {
    transition: all 0.3s ease;
}

.btn-outline-grey {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-grey:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.feedback-button i {
    margin: 5px;
}

.spinner {
    display: none;
    /* Ensure it is hidden initially */
    margin-left: 10px;
    /* Consistent spacing between button and spinner */
    margin-bottom: 3px;
    align-self: center;
    align-items: center;
    /* For vertical alignment when using flexbox */
    stroke: #C15B5B;
}

.custom-spinner {
    width: 24px;
    /* Match button height for proper alignment */
    height: 24px;
    /* Match width for symmetry */
    vertical-align: middle;
    /* Align with text or button height */
}


.custom-spinner .spinner_V8m1 {
    transform-origin: center;
    animation: spinner_zKoa 2s linear infinite;
    stroke: #C15B5B;
}

.custom-spinner .spinner_V8m1 circle {
    stroke-linecap: round;
    animation: spinner_YpZS 1.5s ease-in-out infinite;
}

@keyframes spinner_zKoa {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner_YpZS {
    0% {
        stroke-dasharray: 0 150;
        stroke-dashoffset: 0;
    }

    47.5% {
        stroke-dasharray: 42 150;
        stroke-dashoffset: -16;
    }

    95%,
    100% {
        stroke-dasharray: 42 150;
        stroke-dashoffset: -59;
    }
}


.iq-header-title {
    margin-top: 10px;
}

.disabled-navbar {
    --iq-body-text: rgb(201, 201, 201) !important;
    pointer-events: none;
    cursor: not-allowed;
}

.btn:disabled {
    background-color: #b5b5b5 !important;
    color: #ffffff !important;
    border-color: #b5b5b5 !important;
}

/* Fix for disabled button tooltips - use pointer-events carefully */
.btn.disabled {
    pointer-events: none;
}

/* But allow pointer events just for the title tooltip */
.btn.disabled[title] {
    pointer-events: auto;
    cursor: not-allowed;
}

/* CSS for Adam. */
span.adam-logo {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
}

span.adam-logo .name {
    color: black;
    text-transform: lowercase !important;
}

span.adam-logo .dot {
    color: #cd445a;
    margin-left: 0px;
}

/* CSS for panels of equal height */
.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-col {
    display: flex;
    flex-direction: column;
}

.equal-height-card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equal-height-card .iq-card-body {
    flex: 1;
}

/*CSS for positioning of drop down results field */

.search-container {
    width: 100%;
    position: relative;
}

#colFormLabel {
    width: 100%;
}

#dropdownList {
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#dropdownList .list-group-item {
    white-space: pre !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.list-group-item:active {
    background-color: #e9ecef;
}

strong {
    font-weight: bold;
}

/*Aligned separate tables */

.aligned-table {
    table-layout: fixed;
    width: 100%;
}

.aligned-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.aligned-table th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*Thinner form inputs*/

.thin-input {
    height: 36px !important;
    /* Force height to 36px */
    padding: 6px 12px;
    /* Adjust padding if necessary */
    font-size: 14px;
    /* Keep font size consistent */
}

/* Preserve thin-input styling when validation states are applied */
.thin-input.is-invalid,
.thin-input.is-valid {
    height: 36px !important;
    padding: 6px 12px;
    font-size: 14px;
}

/*highlight color*/

.active>a {
    font-weight: bold;
    /* Optional: Make the text bold for emphasis */
}


.tooltip-icon {
    color: #d7d7d7 !important;
    /* Subdued grey color */
    text-decoration: none;
    /* Removes underline if any */
}

.tooltip-icon:hover {
    color: #5a6268 !important;
    /* Slightly darker grey on hover */
}

label {
    white-space: nowrap;
}

.custom-striped tbody tr:nth-child(even) {
    background-color: #f9f9f9;
    /* Light grey for even rows */
}

.custom-striped tbody tr:nth-child(odd) {
    background-color: #ffffff;
    /* White for odd rows */
}


.date-item {
    display: flex;
}

.date-item strong {
    min-width: 100px;
    /* Adjust this to ensure all labels are the same width */
}


/* General styling for table */
#relevant-items-container .table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

/* Volgnummer column styling */
#relevant-items-container .column-volgnummer {
    width: 10%;
    /* Set the width as needed */
    text-align: center;
    font-weight: bold;
}

/* Functie column styling */
#relevant-items-container .column-functie {
    width: 30%;
    text-align: left;
    color: #333;
    font-style: italic;
}

/* Toelichting column styling */
#relevant-items-container .column-toelichting {
    width: 60%;
    text-align: left;
    color: #555;
    line-height: 1.4;
}

/* Optional striped rows styling */
#relevant-items-container .table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

#relevant-items-container .table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}

/* Disabling level selector */
.level-selector[data-disabled="true"] .handle,
.level-selector[data-disabled="true"] .level-marker {
    cursor: default;
}

#employerDropdownList {
    max-height: 600px;
    overflow-y: auto;
    width: 80%;
    position: absolute;
    z-index: 1000;
}

.search-container {
    width: 100%;
    position: relative;
}


/* Prevent scrolling on body when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Allow scrolling within modal content */
.modal {
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Ensure modal content doesn't overflow horizontally */
.modal-content {
    max-width: 100%;
    overflow-x: hidden;
}


.pagination .page-link:hover {
    color: #C15B5B;
    /* Your app's red color */
    background-color: #f5f5f5;
    border-color: #C15B5B;
}

.pagination .page-link {
    color: #6c757d;
    /* Default gray color */
}

/* For the active/current page */
.pagination .active .page-link {
    background-color: #C15B5B;
    /* Your app's red color */
    border-color: #C15B5B;
    color: #fff;
}

/* First, let's ensure all parent containers can handle sticky positioning */
.content-page {
    position: relative !important;
    overflow: visible !important;
}

.container-fluid {
    position: relative !important;
    overflow: visible !important;
}

.iq-card {
    position: relative !important;
    overflow: visible !important;
}

.iq-card-body {
    position: relative !important;
    overflow: visible !important;
}


/* Toolbar styling */
.sticky-toolbar {
    position: sticky !important;
    top: 73px !important;
    background: white !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 8px 16px !important;
    margin: 0 !important;
}


/* Sidebar menu items */
.iq-sidebar {
    z-index: 1030 !important;
    /* Higher than toolbar */
}

/* Expanded submenu items */
.iq-submenu.collapse.show,
.iq-menu .collapse.show {
    position: relative;
    z-index: 1101 !important;
    /* Higher than sidebar */
}


.table-container {
    position: relative;
    overflow: auto;
    max-height: calc(100vh - 74px);
    /* Adjust based on your needs */
}

.sticky-header {
    position: sticky;
    top: 73px;
    /* Accounts for navbar height */
    z-index: 100;
    background-color: #f9f9f9;
    /* Or match your design's background */
    /* Optional: add shadow for better separation */
    border-bottom: 1px solid #dee2e6;
}

.sticky-header tr {
    border-bottom: 1px solid #dee2e6;
    background-color: #f9f9f9;
}

.sticky-header th {
    position: sticky;
    top: 73px;
    z-index: 100;
    background-color: #f9f9f9;
    border-bottom: 1px solid #dee2e6 !important;
    /* Force the border */
    box-shadow: inset 0 -1px 0 #dee2e6;
    /* Alternative way to show border */
}

/* If you need to handle horizontal scroll */
.table {
    width: 100%;
    margin-bottom: 0;
    /* Remove default bootstrap margin if needed */
}

.custom-radio {
    display: inline-flex;
    /* allow alignment */
    align-items: center;
    padding: 8px;
    /* expands the click area */
    cursor: pointer;
}

.custom-radio input[type="radio"] {
    display: none;
    /* hide the default radio */
}

.custom-radio span {
    height: 16px;
    width: 16px;
    border: 2px solid #6c757d;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 8px;
}

.custom-radio input[type="radio"]:checked+span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%);
    background-color: #cd445a;
    border-radius: 50%;
}

/* Add to your custom-styles.css */
.modal-backdrop {
    z-index: 1040;
  }
  .modal {
    z-index: 1050;
  }


/* Active reminder - light red background */
/* .reminder-link.status-active {
    background-color: rgba(206, 70, 92, 0.1) !important;
    color: #495057 !important;
} */

/* Active reminder hover - slightly darker */
/* .reminder-link.status-active:hover {
    background-color: rgba(206, 70, 92, 0.2) !important;
    color: #495057 !important;
} */

/* Overdue reminder - primary red background with white text */
.reminder-link.status-overdue {
    background-color: #cd445a !important;
    color: #ffffff !important;
}

/* Overdue reminder hover - darker red */
.reminder-link.status-overdue:hover {
    background-color: #b83b4f !important; /* Darker shade of the red */
    color: #ffffff !important;
}

/* Completed reminder - light grey background */
/* .reminder-link.status-completed {
    background-color: #f2f2f2 !important;
    color: #495057 !important;
} */

/* Completed reminder hover - slightly darker grey */
/* .reminder-link.status-completed:hover {
    background-color: #e5e5e5 !important;
    color: #495057 !important;
}
 */



/* Slight position adjustments if needed */
.btn .fa-bell {

    margin-left: 2px; /* May need horizontal adjustment */
}

.btn .fa-bell-o {

    margin-left: 2px; /* May need horizontal adjustment */
}

.btn .fa-bell-slash-o {

    margin-left: 2px; /* May need horizontal adjustment */
}

/* External Contractor Disabled Styles */
.external-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.external-disabled a {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    text-decoration: none !important;
}

.external-disabled .btn {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Specific styling for disabled navbar items */
.external-disabled.iq-menu li {
    opacity: 0.5 !important;
}

.external-disabled.iq-menu li a {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Disabled table columns */
.external-disabled-column {
    opacity: 0.3 !important;
    color: #999 !important;
}

/* Tooltip for disabled items */
.external-disabled[title]:hover::after {
    content: attr(title);
    position: absolute;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1000;
    white-space: nowrap;
}

/* Workflow Communication Entry Formatting */
.workflow-communication-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
    margin: 10px 0;
}

.workflow-communication-content h4 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

/* Email status indicators */
.email-status-success {
    color: #28a745;
    font-weight: 600;
    background-color: #d4edda;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.email-status-failed {
    color: #dc3545;
    font-weight: 600;
    background-color: #f8d7da;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* General entry content formatting for structured text */
.entry-content-formatted {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.5;
}

/* Required field indicators */
label.required::after {
    content: " *";
    color: #cd445a;
    font-weight: bold;
}

/* For labels that already have other pseudo-elements, use a span */
label.required > span.required-indicator::after {
    content: " *";
    color: #cd445a;
    font-weight: bold;
}

/* For checkbox and radio labels with required class */
.custom-control-label.required::after {
    content: " *";
    color: #cd445a;
    font-weight: bold;
}

/* Form validation error containers - Fixed height to prevent layout shift */
.form-error-container {
    min-height: 1.2em; /* Reserve space for one line of error text */
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.form-error-container .invalid-feedback {
    font-size: 0.875em;
    color: #dc3545;
    margin: 0;
    line-height: 1.2;
}

/* Preserve thin-input styling when validation states are applied */
.thin-input.is-invalid,
.thin-input.is-valid {
    height: 36px !important;
    padding: 6px 12px;
    font-size: 14px;
}

/* Form groups with error containers should have consistent spacing */
.form-group .form-error-container:empty {
    /* When no error is shown, still reserve the space */
    visibility: hidden;
}

/* Inline editor validation styles */
.editable.is-invalid,
.validate-field.is-invalid,
.kfml-point-text.is-invalid,
.document-textarea.is-invalid {
    border: 1px solid #dc3545 !important;
    background-color: #fff5f5 !important;
}

/* Contact dropdown borders and alignment */
#contactDropdown,
#intermediaryContactDropdown,
#edit_contactDropdown,
#edit_intermediaryContactDropdown {
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Ensure form-group containers have relative positioning for dropdowns */
.form-group:has(#contactDropdown),
.form-group:has(#intermediaryContactDropdown),
.form-group:has(#edit_contactDropdown),
.form-group:has(#edit_intermediaryContactDropdown) {
    position: relative !important;
}

.editable.is-invalid:focus,
.validate-field.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Validation feedback for inline editors */
.editable + .invalid-feedback,
.validate-field + .invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

/* Date selector validation */
.date-container.has-error {
    border: 1px solid #dc3545;
    border-radius: 0.25rem;
    padding: 0.25rem;
    background-color: #fff5f5;
}

/* Validation summary in modals */
.validation-summary {
    margin-bottom: 1rem;
}

/* KFML textarea validation */
.kfml-point.has-error .kfml-point-text {
    border-color: #dc3545;
}

/* KFML drag and drop styles */
.kfml-point .drag-handle {
    cursor: grab;
    padding: 0.25rem;
    color: #6c757d;
    transition: color 0.2s;
}

.kfml-point .drag-handle:hover {
    color: #495057;
}

.kfml-point .drag-handle:active,
.kfml-point.dragging .drag-handle {
    cursor: grabbing;
    color: #343a40;
}

/* Ensure text selection works in KFML textareas */
.kfml-point-text {
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

/* Prevent accidental dragging from other elements */
.kfml-point-name,
.kfml-point button,
.kfml-point textarea,
.kfml-point input {
    user-select: auto;
    -webkit-user-drag: none;
}

/* Visual feedback during dragging */
.kfml-point.dragging {
    opacity: 0.5;
    transform: scale(0.98);
    transition: opacity 0.2s, transform 0.2s;
}

/* Match Functiehuis job-profile-card styling exactly */
.kfml-point {
    background: rgb(255, 255, 255) !important;
    border: 1px solid rgb(224, 224, 224) !important;
    border-radius: 6px !important;
    margin: 10px 0px !important;
    padding: 12px !important;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.kfml-point:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgb(205, 68, 90) !important;
}

/* Sortable placeholder - exactly matches Functiehuis */
.kfml-placeholder {
    height: 45px;
    min-height: 0px;
    background-color: rgb(248, 249, 250);
    border: 2px dashed rgb(205, 68, 90);
    border-radius: 6px;
    padding: 0px;
    margin: 10px 0px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
}

/* Dragging state */
.kfml-point.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Remove old drop zone styles */
.drop-zone {
    display: none;
}

/* Resume modal specific validation styles */
#resumeAnalysisModal .table td.is-invalid {
    background-color: #fff5f5;
    position: relative;
}

#resumeAnalysisModal .table td.is-invalid::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 3px;
    background-color: #dc3545;
}

/* ==========================================
   Compact Column Auto-Sizing
   ==========================================
   Use class="compact-column" on any th/td to make it fit tightly to content
   ========================================== */

/* Auto-size columns marked as compact columns */
.compact-column,
th.compact-column,
td.compact-column {
    width: 1%;
    white-space: nowrap;
}

/* Optional: Right-align compact columns with many buttons/actions */
td.compact-column.text-right {
    text-align: right;
}

/* Ensure buttons in compact columns don't wrap */
.compact-column .btn {
    white-space: nowrap;
    margin-left: 4px;
}

/* First button in compact column doesn't need left margin */
.compact-column .btn:first-child {
    margin-left: 0;
}

/* For button groups in compact columns */
.compact-column .btn-group {
    white-space: nowrap;
}

/* Optional: Add padding to compact column headers for better alignment */
th.compact-column {
    padding-right: 15px;
    padding-left: 15px;
}
