
[x-cloak] { display: none !important; }

.grid-cols-24 {
  grid-template-columns: repeat(24, minmax(0, 1fr));
}

.introjs-helperLayer {
    border: 2px solid #0ea5e9 !important;
    border-radius: 0.5rem !important;
    box-shadow: rgba(255, 255, 255, 0) 0px 0px 0px 0px, rgba(33, 33, 33, 0.1) 0px 0px 0px 5000px !important;
}
.introjs-button {
    background-color: #0ea5e9 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    text-shadow: none !important;
}

.introjs-skipbutton {
    color: #9ca3af !important;
}
.introjs-tooltip-title {
    color: #111827 !important;
}
.wider-tooltip {
    width: 600px !important;
}



/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track scrolbar */
::-webkit-scrollbar-track {
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #8B8B8B;
    border-radius: 20px;
    width: 4px;
    height: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #636363;
}

tr.htmx-swapping {
    opacity: 0;
    transition: opacity 1s ease-out;
}

div.htmx-swapping {
    opacity: 0;
    transition: opacity 1s ease-out;
}
span.htmx-swapping {
    opacity: 0;
    transition: opacity 1s ease-out;
}


/* Style the scrollbar track (background) */
#sidebar::-webkit-scrollbar-track {
    background-color: #41c4b0; /* Light grey background */
  }

  /* Style the scrollbar handle */
#sidebar::-webkit-scrollbar-thumb {
    background-color: #e41e1e; /* Darker grey handle */
    border-radius: 8px; /* Rounded corners for the handle */
  }

  /* Handle on hover */
#sidebar::-webkit-scrollbar-thumb:hover {
    background: #1c58c7; /* Even darker grey on hover */
  }

  /* Optional: Adjust scrollbar width */
#sidebar::-webkit-scrollbar {
    width: 8px; /* Adjust the width of the scrollbar */
  }






.role_permission_button {
    padding-bottom: 5px;
    align-items: center;
    display: grid;
    grid-template-columns: max-content max-content;
}

.modal-open {
    overflow: inherit;
    padding-right: 0 !important;
}

.draggable_header {
    cursor: grab !important;
}

.draggable_header:active {
    cursor: grabbing !important;
}

.ql-editor {
    min-height: 200px;
}

.dark .ql-editor {
    color: white;
}

.initials {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.ql-toolbar.ql-snow {
    border: 1px solid #e1e3ea
}

.ql-container.ql-snow {
    border: 1px solid #e1e3ea
}

.dark .ql-toolbar .ql-stroke {
    stroke: #ffffff !important;
}

.dark .ql-toolbar .ql-fill {
    fill: #ffffff !important;
}

.dark .ql-toolbar button:hover .ql-stroke {
    stroke: #06c !important;
}

.dark .ql-toolbar button:hover .ql-fill {
    fill: #06c !important;
}

.dark .ql-toolbar .ql-active .ql-stroke {
    stroke: #06c !important;
}

.dark .ql-toolbar .ql-active .ql-fill {
    fill: #06c !important;
}

.dark .ql-toolbar .ql-picker {
    color: #ffffff !important;
}

.dark .ql-toolbar .ql-picker-options {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
}

.dark .ql-toolbar .ql-picker-item {
    color: #ffffff !important;
}

.dark .ql-toolbar .ql-picker-item:hover {
    color: #06c !important;
}

.dark .ql-toolbar .ql-color:hover svg *,
.dark .ql-toolbar .ql-background:hover svg * {
    stroke: #06c !important;
    fill: none !important;
}

.dark .ql-toolbar .ql-align .ql-picker-label:hover svg * {
    stroke: #06c !important;
    fill: none !important;
}

.dark .ql-toolbar .ql-align .ql-picker-item svg * {
    stroke: #ffffff !important;
    fill: none !important;
}

.dark .ql-toolbar .ql-align .ql-picker-item:hover svg * {
    stroke: #06c !important;
    fill: none !important;
}

.dark .ql-toolbar .ql-color.ql-active svg *,
.dark .ql-toolbar .ql-background.ql-active svg * {
    stroke: #06c !important;
    fill: none !important;
}

.underline {
    text-decoration: underline;
}

.footer {
    text-align: center;
    font-size: 12px;
}


.modal:after {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
}

.header-title {
    box-sizing: border-box;
    color: white;
    font-size: 24px;
    font-weight: 300;
    line-height: 48px;
    padding-left: 27px;
    padding-top: 2px;
    padding-bottom: 2px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 4px 0px;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.img {
    width: 100%;
    height: auto;
}

.disabled:hover {
    cursor: not-allowed
}

.y_toggle:hover {
    cursor: pointer
}


.login-card {
    height: 370px;
    margin-top: auto;
    margin-bottom: auto;
    width: 500px;
}


.text-danger {
    color: #f43f5e !important;
}



.header {
    width: 100%;
    height: var(--header-height);
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: #f8f8f8;
    z-index: 100;
    /*transition: .5s*/
    background-color: #ffffff;
    box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
}


/* chatter autocomplete */
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.iti {
    width: 100%;
}

.intl-tel-input {
    display: table-cell;
}

.intl-tel-input .selected-flag {
    z-index: 4;
}

.intl-tel-input .country-list {
    z-index: 5;
}

.input-group .intl-tel-input .form-control {
    border-top-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0;
}

.resizer {
    border-left: 1px solid #e2e2e2;
}

.resizer:hover {
    border-left: 1px solid #0ea5e9;
}

.active_search {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
    color: #495057;
    background-color: #f9f9f9;
    background-clip: padding-box;
    border: none;
    border-radius: 0.475rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.dropzone {
    min-height: auto;
    padding: 1.5rem 1.75rem;
    text-align: center;
    cursor: pointer;
    background-color: #f9fafb;
    border-radius: 0.475rem !important;
}

.dropzone .dz-message {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #181c32;
    text-align: left;
}

.y-upload-icon-dropzone {
    vertical-align: middle;
}

.btn-block {
    display: block;
    width: 100%
}

.y_select {
    display: none !important;
}
