.jss_container.jtabs {
    width: 100%;
}
.jtabs-content {
    width: 100%;
}

.jtabs-content > .jss_worksheet.jtabs-selected {
    overflow: auto;
    max-height: 800px;
}
.jss_container.fullscreen .jss_content, .jss_content_overflow {
    overflow: auto;
    width: 100%!important;
}
.select2.select2-container {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.select2-container--bootstrap-5 {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.background-gray-100 {
    background-color: #f3f4f6;
}
[data-bs-theme="dark"] .background-gray-100 {
    background-color: #494a4c;
}
.cursor-default{
    cursor: default;
}

.datepicker td, .datepicker th {
    padding: 5px
}
.datepicker {
    padding: 5px 8px;
}
.circle-icon {
    width: 80px;
    height: 80px
}
.circle-icon .circle-icon-status {
    top: 0;
    right: 0;
}
.step-container {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.step-container .circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.step-container .circle i {
    font-size: 20px; /* Icon size */
}

.step-container .line {
    position: absolute;
    left: 14px; /* Center the line with the circle */
    top: 30px;
    width: 2px;
    height: 100%;
}

.step-text {
    font-size: 16px;
    color: gray;
}
.step-instruction {
    font-size: 14px;
	font-style: italic;
    color: gray;
}
.avatar-container .avatar {
    display: none;
}

.avatar-container:hover .avatar {
    display: flex;
}

.crop-container {
    position: relative;
    max-width: 500px;
    margin: 20px auto;
    overflow: hidden; /* Ensure the image doesn't overflow the container */
}

#cropper-image {
    max-width: 100%;
    display: block;
    position: relative; /* Ensure the image stays within the bounds of the container */
}

.avatar-preview {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin: 20px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-preview img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    pointer-events: none;
}

/* Optional: Add animation or smooth transitions for movement */
.crop-container {
    transition: transform 0.3s ease; /* Smooth transition for cropper movement */
}

.avatar-preview img {
    transition: none; /* Ensure image stays fixed */
}

.tooltip-avatar {
    position: relative;
    display: inline-block;
}

.tooltip-avatar .upload-user-avatar {
    visibility: hidden;
    padding-top: 50px;
    left: -20px;
    margin-top: -5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip-avatar:hover .upload-user-avatar {
    visibility: visible;
    bottom: -40px;
}


.dropdown-item[data-link]:hover {
    cursor: pointer;
    background-color: rgba(0, 123, 255, 0.1);
}

.text-user-name-multi{
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
}

.notify-title {
    white-space: normal;
}
.main-wrapper {
    min-height: calc(100vh - 70px);
}

.btn-upload {
    background-color: #f8f9fa;
    border: 1px solid rgb(222, 226, 230);
    border-radius: 5px 0 0 5px;
}

.file-name-display {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
.file-name-display:hover {
    cursor: pointer;
}

.input-group:hover .btn-upload {
    background-color: #f1f1f1;
}
.upload-avatar:hover{
    cursor: pointer;
}
.placeholder-tag {
    background: aliceblue;
}
[data-bs-theme=dark] body .card-body .document-editor__editable-container {
    color: #333;
}

[data-bs-theme=dark] .bg-white {
    --bs-bg-opacity: 0;
}

[data-bs-theme=dark] .btn-upload {
    background-color: #565e64;
}

[data-bs-theme=dark] .btn-upload:hover {
    background-color: #5c636a;
}

[data-bs-theme=dark] .img-fluid {
    background-color: #fff;
}

[data-bs-theme=dark] .document-editor__editable-container {
    background-color: #212529;
}
.sidebar-wrapper .sidebar-header {
    position: relative;
}
.sidebar-wrapper .sidebar-bottom {
    position: relative;
}
.sidebar-wrapper .sidebar-nav {
    margin-top: 0;
}

.customize-button {
    z-index: 10;
}
.tempus-dominus-widget .toolbar div {
    display: none;
}

.icon {
    cursor: pointer;
    border-radius: 50%; /* Ensures the element is a perfect circle */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.icon:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3), 0px 0px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px); /* Slight lift effect */
}

/* Tooltip container */
.icon-tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.icon-tooltip .icon-tooltip-text {
    visibility: hidden;
    max-width: 200px; /* Set maximum width to control tooltip size */
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 6px;
    position: absolute;
    bottom: 150%; /* Adjust to control tooltip position */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    white-space: normal; /* Enable text wrapping */
    opacity: 0;
    transition: opacity 0.3s;
    overflow-wrap: break-word; /* Ensure long words wrap */
}

/* Tooltip arrow */
.icon-tooltip .icon-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* Bottom of the tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Show tooltip on hover */
.icon-tooltip:hover .icon-tooltip-text {
    visibility: visible;
    opacity: 1;
}


/* Styling the custom radio button */
.radio-btn {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    padding-left: 25px;
    font-size: 18px;
}

/* Creating the custom circle for the radio button */
.radio-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #007bff;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Inner circle that appears when selected */
.radio-btn.selected::before {
    background-color: #007bff;
    border-color: #0056b3;
}

/* Adding inner circle when selected */
.radio-btn.selected::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
}

/* Styling the excel download button */
.blink {
  animation: blink 0.6s ease-in-out 2;
}

@keyframes blink {
  0%, 100% { background-color: inherit; }
  50% { background-color: #0b5ed7; }
}

.top-header .navbar .nav-item .badge-notify {
    padding: 0 5px;
    width: auto!important;
}
.ck-editor__editable .bg-primary-subtle{
    background-color: #cfe2ff!important;
}
.ck-editor__editable .bg-warning-subtle{
    background-color: #fff3cd!important;
}
.ck-editor__editable .bg-danger-subtle{
    background-color: #f8d7da!important;
}
.document-editor-page .ck-color-grid__tile[data-cke-tooltip-text="Light green"],
.document-editor-page .ck-color-grid__tile[data-cke-tooltip-text="Green"],
.document-editor-page .ck-color-grid__tile[data-cke-tooltip-text="Aquamarine"]
{
    display: none;
}
.table-scroll-auto {
    overflow: auto;
}
.table-responsive {
  overflow: visible !important;
}
.table-responsive .dropdown-menu {
  z-index: 1050 !important;
}
.dataTables_scrollBody {
  overflow: visible !important;
}
.table-striped>tbody>tr>td.td-category {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}
#case-table.dataTable {
  table-layout: auto !important;
}
#case-table th#th-case-table-action,
#case-table td[id^="td-case-table-action"] {
  white-space: nowrap;    /* don’t break icons */
  width: max-content;    /* be exactly as wide as the content */
}

@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        margin-bottom: 10px;
    }
}

@media(min-width: 1199px) {
    body:not(.sidebar-hovered).toggled .dropdown-language {
        display: none;
    }
}

#spreadsheet {
    margin-top: 20px;
}
#cell-content {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
}
.jtabs .jtabs-content > div.jtabs-selected {
    overflow: scroll;
}
/*Wizard*/
.container-wizard {
    position: fixed;
    width: 20em;
    right: 2%;
    bottom: 5em;
    border: 2px solid #007bff;
    padding: 10px;
    background-color: #FFFFFF;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    height: 400px;
    z-index: 9999;
}
.wizard.collapsed {
    display: none;
}
.container-wizard.collapsed {
    border: none;
    padding: 0;
    background: transparent;
    height: auto;
    width: auto;
}
.wizard-toggle-btn {
    position: fixed;
    right: 2%;
    top: 15%;
    z-index: 10000;
    display: none;
}
.wizard-toggle-btn.visible {
    display: inline-block;
}
.wizard {
	display: flex;
    flex-direction: column;
    flex: 1;
}
.wizard label {
    display: block;
    margin: 5px 0 5px;
}
.wizard input {
    width: 96%;
    margin-bottom: 10px;
    padding: 5px;
}
.wizard input[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}
.wizard .nav-buttons {
    margin-top: auto;
    justify-content: space-between;
}
.wizard .toggle-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
.wizard.collapsed {
    width: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}
.wizard.collapsed .toggle-btn {
    display: none;
}
.wizard-toggle-btn {
    margin-top: 3%;
    position: absolute;
    right: 2%;
    top: 0;
    width: 100px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}
.wizard-toggle-btn.visible {
    display: block;
}
.nav-buttons button {
    background-color: #007bff;
    color: white;
    border: none; 
    padding: 7px 14px; 
    font-size: 12px;
    border-radius: 5px; 
    cursor: pointer; 
}

.nav-buttons button:hover {
    background-color: #0056b3;
}

.nav-buttons {
    justify-content: space-between; 
    margin-top: 15px;
}
.highlight-keyword {
    font-weight: bold;
}
.wizard-position {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}
.document-editor__editable-container {
    max-height: 500px;
    overflow-y: auto;
}
span[data-slug] {
    cursor: pointer;
}
ul[data-slug] {
    cursor: pointer;
}
.wizard .object-group:not(:last-child) {
    border-bottom: 2px solid #ccc;
}
.wizard .object-group h6 {
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}
.wizard .object-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.wizard .object-field input {
    width: 100%;
}
/* Full screen editor */
.editor-fullscreen-btn {
    position: absolute;
    top: 5px;
    right: 50px; /* beetje afstand van wizard-knop */
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
}

.document-editor.fullscreen {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: #fff;
    z-index: 99999;
    padding: 0;
}
.document-editor.fullscreen .document-editor__editable-container {
    height: calc(100vh - 60px) !important; /* toolbar + wat marge */
    overflow-y: auto !important;
}

.document-editor.fullscreen .document-editor__editable-container {
    position: absolute;
    top: 50px;   /* hoogte van de toolbar ongeveer */
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    max-height: fit-content !important;
}

/* Editor */
.editor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: auto;
}
.editor-loading-circle {
    z-index: 1001;
}
.editor-spinner-border {
    width: 100px !important;
    height: 100px !important;
    color: red;
}
.document-editor__editable-container {
    position: relative;
}
.document-editor__editable-container.no-scroll {
    overflow: hidden; 
}
.document-editor__editable.editor-disabled {
    pointer-events: none;
    opacity: 0.7;
}