[data-layout-mode="dark"] .app-search .form-control {
  background-color: rgba(61, 61, 61, 0.11);
  color: #777777;
  border: 1px solid rgb(70, 70, 70);
}
[data-layout-mode="light"] .app-search .form-control {
  background-color: rgba(243, 243, 243, 0.11);
  color: #777777;
  border: 1px solid rgb(223, 223, 223);
}
[data-layout-mode="light"] .topbar-user {
  background-color: #ffffff;
  border-left: 1px solid #e1e1e1;
  border-right: 1px solid #e1e1e1;
}
[data-layout-mode="dark"] .topbar-user {
  background-color: #1a1d21;
  border-left: 1px solid #262a30;
  border-right: 1px solid #262a30;
}
[data-layout-mode="light"] .topbar-user .user-name-text {
  color: rgba(53, 53, 53, 0.85) !important;
}
.footer {
  border-top: 1px solid #d9d9d9;
  bottom:auto !important;
}
[data-layout-mode="dark"] .footer {
  border-top: 1px solid #32383e;
}

[data-layout-mode="dark"] .role_box_small {
  border: 1px solid #797979;
    padding: 2px;
    color: #dbdbdb;
}
[data-layout-mode="dark"] .nav-item a {
  color: #dbdbdb !important;
}
[data-layout-mode="dark"] .nav-item a:hover {
  color: #a8d1ff !important;
}
.analyze_button {
      padding: 1px 6px;
}
.analyze_button i {
  font-size: 16px;
}
#skills_table td {
        word-wrap: break-word;
        white-space: normal !important;
        vertical-align: top;
    }

    #skills_table th {
        white-space: normal !important;
        word-wrap: break-word;
    }

    #skills_table .dataTables_wrapper {
        overflow-x: auto;
    }

    /* Ensure proper column sizing */
    #skills_table td:nth-child(2) {
        /* Skill Name */
        max-width: 200px;
    }

    #skills_table td:nth-child(3) {
        /* Description */
        max-width: 300px;
    }

    #skills_table td:nth-child(4) {
        /* Category */
        max-width: 150px;
    }

    /* Chart styling */
    .chart-section {
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 1rem;
    }

    .chart-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .chart-section h6 {
        font-weight: 600;
        color: #495057;
    }

    #charts-container {
      
    }
#layout-wrapper {
  
    padding-top: 120px;

}
#loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000; /* Ensure it is above other elements */
}

.dz-message {
  font-size: 24px;
  width: 100%;
  margin: 1em 0;
  text-align: center;
}

.bootstrap-select.btn-group.show-tick
  .dropdown-menu
  li.selected
  a
  span.check-mark {
  position: absolute;
  display: inline-block;
  left: 5px;
  right: 15;
  margin-top: 5px;
}
.bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
  margin-right: 34px;
}

#role_description_border .ck-editor__editable_inline {
  min-height: 500px !important;
}
#edit_role_tasks_table_div .gridjs-search::before {
  content: "\f0d1";
  font-family: remixicon;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 10px !important;
  font-size: 14px;
  float: right;
  left: auto !important;
  color: #878a99;
}

.gridjs-pagination .gridjs-pages button.gridjs-currentPage {
  background-color: #6691e7;
  font-weight: 700;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #6691e7;
  border: 1px solid #6691e7;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-block;
  margin-left: 5px;
  margin-top: 5px;
  padding: 0;
  padding-left: 20px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
  color: white;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  background-color: transparent;
  border: none;
  border-right: 1px solid #4d74b3;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  padding: 0 4px;
  position: absolute;
  left: 0;
  top: 0;
}

[data-layout="horizontal"] .page-content {
  margin-top: 0px;
  padding:0px;
  padding-top: 15px;
  min-height: calc(100vh - 180px);
}

[data-layout-mode="dark"]
  .app-search
  input.form-control::-webkit-input-placeholder,
[data-layout-mode="dark"] .app-search span.search-widget-icon {
  color: rgba(117, 117, 117, 0.5);
}
[data-layout-mode="light"]
  .app-search
  input.form-control::-webkit-input-placeholder,
[data-layout-mode="light"] .app-search span.search-widget-icon {
  color: rgba(117, 117, 117, 0.5);
}
.profile-offcanvas .team-cover img,
.team-box .team-cover img {
  height: 60px;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.team-list.grid-view-filter .team-box .team-cover {
  display: block;
  height: 60px;
  background-color: #000000;
}
.list-grid-nav .nav-link.active {
  background-color: #6293e28c;
  color: #1c1c1c;
}
.team-list.grid-view-filter .team-box .team-profile-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 25px;
  margin-top: 60px;
}

.btn_user_menu_box {
  position: absolute;
  right: 0px;
  top: 67px;
  color: #fff;
  border: 1px solid #ffffff26;
  padding: 5px !important;
}
.list-view-filter .btn_user_menu_box {
  position: absolute;
  right: 0px;
  top: 7px;
  color: #fff;
  border: 1px solid #ffffff26;
  padding: 5px !important;
}
.btn_user_menu_box:hover {
  background-color: #a79acc26;
  color: #fff;
}
.team-list.list-view-filter .team-box {
  margin-bottom: 1px;
}
.flatpik .form-control:disabled,
.form-control[readonly] {
  background-color: #fff;
  opacity: 1;
}
[data-layout-mode="dark"] .form-control[readonly] {
  background-color: #262a2f;
  opacity: 1;
}
[data-layout-mode="light"] #scrollbar {
  background-color: #f0f0f3;
}
[data-layout-mode="dark"] #scfrollbar {
  background-color: #1a1d21;
}
[data-layout-mode="light"] #page-topbar {
  background-color: white !important;
  border-bottom: 1px solid #e5e5e5 !important;
  color: black !important;
}
[data-layout-mode="dark"] #page-topbar {
  background-color: #000 !important;

  color: rgb(118, 118, 118) !important;
}
[data-layout-mode="dark"] .footer {
  background-color: #000 !important;

  color: rgb(118, 118, 118) !important;
}
[data-layout-mode="dark"] body {
  background-color: #0a0a0a !important;

  color: rgb(118, 118, 118) !important;
}
.modal-header {
  border-bottom: 1px solid #e5e2e2;
  background-color: #efefef;
  font-weight: bold;
  padding: 14px !important;
}
[data-layout-mode="dark"] .modal-header {
  border-bottom: 1px solid #32383e;
  background-color: #1a1d20;
  font-weight: bold;
  padding: 14px !important;
}
#delete_role_title_name {
  font-size: 20px;
  font-weight: bold;
  color: #6691e7;
}
#delete_role_users_count {
  color: #6691e7;
}

.acitivity-item {
  border-bottom: 1px solid #efefef;
  padding: 8px;
}
[data-layout-mode="dark"] .acitivity-item {
  border-bottom: 1px solid #363a3e;
  padding: 8px;
}
.acitivity-timeline .acitivity-item:before {
  content: "";
  position: absolute;
  border-left: none;
  left: 16px;
  height: 100%;
  top: 0;
  z-index: 0;
}
.cat_new_color_div {
  width: 28px;
  border: 1px solid #ccc;
  margin-top: 4px;
}
.modal-dialog:not(.modal-dialog-scrollable) .modal-footer {
  /* padding-top: 0; */
  padding: 10px;
  margin-bottom: 0px;
  border-top: 1px solid #efefef;
  margin-top: 10px;
}
.invalid-feedback-j {
  color: red;
  font-size: 12px;
}
.role_header_label {
  font-weight: 500;
  color: #1b1d20;
}
#table-gridjs input[type="search"] {
  display: none;
}
#table-gridjs .gridjs-search::before {
  display: none;
}
.gridjs-wrapper,
.gridjs-footer {
  border-radius: 2px;
  box-shadow: none;
}
.gridjs-wrapper:nth-last-of-type(2) {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-bottom-width: 1px;
  /* border-radius: 8px; */
}
.gridjs-table {
  border: 1px solid #dfdfdf;
}

.noUi-horizontal .noUi-handle {
  height: 20px;
  width: 20px;
  border-radius: 100%;

  background-color: #00000000;
}
.noUi-handle {
  border: 0px solid #6293e2;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: none !important;
}
.noUi-horizontal {
  height: 10px !important;
}
.noUi-touch-area {
  background: #6293e2;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;

  border-radius: 100%;
}
.nav-item {
  cursor: pointer;
}
.auth-one-bg {
  background-color: #638fe7;
  background-image: url(/images/login_left2.png);
  background-position: center;
  background-size: cover;
  background-size: contain;
  background-repeat: no-repeat;
}
.auth-bg-cover {
  background: linear-gradient(89deg, #ffffff 50%, #6691e7);
}
.auth-bg-cover > .bg-overlay {
  background-image: url(/images/photo-1531685250784-7569952593d2.webp);
  background-position: center;
  opacity: 0.455;
  background-color: #000000c2;
  background-size: cover;
}
input::-ms-reveal,
input::-ms-clear {
  display: none;
}

.max-width-400 {
  max-width: 400px;
}

.search-icon {
  margin-left: 10px;
  font-size: 16px;
  top: 3px;
  position: relative;
  cursor: pointer;
}

.border-rounded {
  border-radius: 0.25rem;
}

.height-700 {
  height: 700px;
}

.float-right {
  float: right;
  top: 5px;
  right: 3px;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #e6f7ff;
  color: #333;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #f0f8ff;
  color: #333;
}

.select2-container--default .select2-results__option {
  padding: 10px;
}




.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  display: block;
  align-items: center;
  padding: 5px 0; /* Adjust padding to center content */
  padding-left: 10px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}


.color-box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.color-box {
  width: 40px;
  height: 40px;
  border: 1px solid darkgrey;
}

.category-text {
  display: flex;
  flex-direction: column;
  justify-content: left;
  width: 100%;
  padding-left: 10px;
}

.category-title {
  font-weight: bold;
}

.category-description {
  font-size: 12px;
}

.checkmark-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  width: 40px;
}

.category-selected-text {
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.checkmark-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  width: 40px;
}

.checkmark-icon {
  font-size: 30px;
  color: #006ee9;
}
.select2-results {
  max-height: 600px; /* Adjust the maximum height for the dropdown */
  overflow-y: auto; /* Make the dropdown scrollable */
}
/* Start of Select2 Customizations */
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #e6f7ff;
  color: #333;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #f0f8ff;
  color: #333;
}

.select2-container--default .select2-results__option {
  padding: 10px;
}


.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  display: block;
  align-items: center;
  padding: 5px 0; /* Adjust padding to center content */
  padding-left: 10px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}

.select2-results {
  max-height: 600px; /* Adjust the maximum height for the dropdown */
  overflow-y: auto; /* Make the dropdown scrollable */
}
/* End of Select2 Customizations */

/* Start of Category Item Customizations */


.color-box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.color-box {
  width: 40px;
  height: 40px;
  border: 1px solid darkgrey;
}

.category-text {
  display: flex;
  flex-direction: column;
  justify-content: left;
  width: 100%;
  padding-left: 10px;
}

.category-title {
  font-weight: bold;
}

.category-description {
  font-size: 12px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.category-icon {
  font-size: 24px;
}

.checkmark-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  width: 40px;
}

.checkmark-icon {
  font-size: 30px;
  color: #006ee9;
}

.category-selected-text {
  display: flex;
  align-items: center;
  padding-left: 10px;
}
/* Start of Select2 Customizations */
.color-box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.color-box {
  width: 40px;
  height: 40px;
  border: 1px solid darkgrey;
}

.category-text {
  display: flex;
  flex-direction: column;
  justify-content: left;
  width: 100%;
  padding-left: 10px;
}

.category-title {
  font-weight: bold;
}

.category-description {
  font-size: 12px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.category-icon {
  font-size: 24px;
}

.checkmark-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  width: 40px;
}

.checkmark-icon {
  font-size: 30px;
  color: #006ee9;
}

.category-selected-text {
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #e6f7ff;
  color: #333;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #f0f8ff;
  color: #333;
}

.select2-container--default .select2-results__option {
  padding: 10px;
}

#revisionSelect .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  display: block;
  align-items: center;
  padding: 5px 0; /* Adjust padding to center content */
  padding-left: 10px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}

.select2-results {
  max-height: 600px; /* Adjust the maximum height for the dropdown */
  overflow-y: auto; /* Make the dropdown scrollable */
}
/* End of Select2 Customizations */

/* Start of Category Item Customizations */

#revisionSelect .category-item {
  display: flex;
  align-items: center;

  padding: 5px 0;
}
.color-box-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  position: relative;
}

.color-box {
  width: 40px;
  height: 40px;
  border: 1px solid darkgrey;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-text {
  display: flex;
  flex-direction: column;
  justify-content: left;
  width: 100%;
  padding-left: 10px;
}

.category-title {
  font-weight: bold;
}

.category-description {
  font-size: 12px;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}

.category-icon {
  font-size: 24px;
}

.checkmark-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  width: 40px;
}

.checkmark-icon {
  font-size: 30px;
  color: #006ee9;
}

.category-selected-text {
  display: flex;
  align-items: center;
  padding-left: 10px;
}
.tagify {
  --tag-bg: #ccddf8;
  --tag-hover: #c0c0c0;
  --tag-text-color: #000;
  --tag-remove-bg: #ccddf8;
  --tag-remove-bg-hover: #a0a0a0;
}

.tagify__tag {
  background-color: var(--tag-bg);
  color: var(--tag-text-color);
}

.tagify__tag:hover {
  background-color: var(--tag-hover);
}

.tagify__tag__removeBtn {
  background-color: var(--tag-remove-bg);
}

.tagify__tag__removeBtn:hover {
  background-color: var(--tag-remove-bg-hover);
}

.tagify__input {
  min-width: 150px; /* Adjust as needed */
  border: none;
}

.tagify__input::placeholder {
  color: #999; /* Adjust placeholder color */
}

.tagify__dropdown__item {
  background-color: #fff;
  color: #000;
  border-bottom: 1px solid #ddd; /* Optional separator between items */
}

.tagify__dropdown__item--active {
  background-color: #c0c0c0;
}
.badge-info {
  background-color: #17a2b8;
}

.badge-success {
  background-color: #28a745;
}
#revisionSelect.select2-container--default .select2-selection--single {
  padding: 0.375rem 0.75rem; /* Matches Bootstrap's input padding */
  height: calc(2.25rem + 2px); /* Matches Bootstrap's input height */
  line-height: 1.5;
}

#revisionSelect.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 1.5; /* Ensures text is centered */
}

#revision_select_div .select2-container .select2-selection--single {
  height: 40px;
}
#skills_card .select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #cce5ff; /* Light blue */
  color: #004085; /* Dark blue text */
  padding-left: 24px;
  padding-right: 1px;
  font-size: 13px;
}

#skills_card .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  background-color: #b8daff; /* Slightly darker blue */
  color: #004085; /* Dark blue text */
}

#skills_card .bg-primary {
  background-color: #17a2b8 !important; /* Bootstrap info color */
  
  margin-left: 10px;
  border: 1px solid #138496; /* Darker info color */
  color: #fff; /* White text */
}

#skills_card .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right-color: #004085; /* Dark blue */
  font-size: 1.1em;
}

.dropzone {
  min-height: 150px;
  border: 1px solid rgba(204, 204, 204, 0.8);
  border-radius: 5px;
  padding: 20px 20px;
  margin-top:10px;
}
/* Ensure placeholder text is always visible */

.badge-outline-success {
  color: #13c56b;
  border: 1px solid #13c56b;
  background-color: transparent;
  font-size: 11px !important;
}
.page-title-box h4 {
  font-weight: 700;
  font-size: 17px !important;
  text-transform: uppercase;
}
#toast-container > .toast-success:before {
  content: "\f004";
  color: #0e8a4c;
}

.icon-list {
  display: flex;
  flex-wrap: wrap;
  max-height: 400px;
  overflow-y: auto;
}

.icon-item {
  width: 100px;
  text-align: center;
  margin: 10px;
  cursor: pointer;
}

.icon-item i {
  font-size: 24px;
}
#iconPickerModal {
  z-index: 1070; /* Bootstrap modal default z-index is 1050 */
}
#cat_color_pikr .pickr .pcr-button {
  width:100%;
  height: 35px;
  border: 1px solid #ced4d9;
}
#cat_icon_color_DIV .pickr .pcr-button {
  width:45PX;
  height: 45px;
  border: 1px solid #ced4d9;
  margin-top:5px;
  margin-left:8px;
} 
.invalid-feedback {
  display: none; /* Ensure it is hidden initially */
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}
.profile-image {
  width: 50px; /* Adjust the size as needed */
  height: 50px; /* Adjust the size as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  width: 100%;
}

.color-box-container {
  flex-shrink: 0;
  margin-right: 10px;
}

.color-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon {
  font-size: 20px;
}

.category-text {
  margin-right: 20px;
  display: flex;
  align-items: left;
}

.role-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.role-title {
  font-size: 14px;
  font-weight: bold;
}

.role-description {
  font-size: 12px;
  color: #777;
}

.checkmark-container {
  flex-shrink: 0;
}

.checkmark-icon {
  font-size: 22px;
}
#assigned_roles_section .select2-container--default .select2-selection--single {
  min-height: 55px;
  height: auto;
}
.reviewsselect .select2-container--default .select2-selection--single {
  min-height: 55px;
  height: auto;
}
.select2.select2-container {
  width: 100% !important;
  margin-right: 10px;
}

#modal_new_message .select2-container--default .select2-selection--single {
  border-color:#ced4da;
}

.table th, .table td {
  vertical-align: middle !important;
}
.dataTables_length {
  padding-left: 10px;
}
.position-toolbar .nav-link i {
  font-size: 16px;
   
    margin-right: 4px;
    position: relative;
    top: 3px;
}
.nav-item .disabled {
  pointer-events: none;
  cursor:none !important;
  
  opacity: 0.6;
}
#messages_table_wrapper {
  margin-top:15px;
}
#alerts_table_wrapper {
  margin-top:15px;
}
.select2-container .select2-selection--single {
  height: auto !important;
}
#position_designer_tabs .nav-link {
    padding: 11px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-left:1px solid #d8d8d8 !important;
    border-right:1px solid #d8d8d8 !important;
}
#position_designer_tabs {
    padding-left:40px;
        border-bottom: 1px solid #d8d8d8 !important;
}
#positions_roles_tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #FFF !important;
    border-bottom: 1px solid #FFF !important;
    bottom: -1px; 
}
#position_designer_tabs .nav-item .nav-link i {
    font-size: 16px;
    margin-right: 4px;
    position: relative;
    top: 3px;
}
.close-analyzer-tab {
  padding: 0;
    border: none;
    background: none;
    color: #444749;
    font-size: 16px;
    top: -2px;
    right: -4px;
}
.close-analyzer-tab:hover {
  color: #750505;
}
.close-analyzer-tab i {
  font-size: 14px;
}
.notification-item {
    padding: .75rem 1rem;
    white-space: inherit;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
}

.navbar-header .topbar-head-dropdown .dropdown-menu.show {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.position_select .select2-container--default .select2-selection--single {
  display: table;
    width: 100%;
    padding: 4px 10px;
    font-size: .825rem;
    font-weight: 400;
    
    color: var(--vz-body-color);
    
    background-clip: padding-box;
    border: 1px solid var(--vz-input-border);
   
    border-radius: .25rem;
}
.position_select .select2-container--default .select2-results__option {
  padding:5px;
  font-size: 14px;
  color: #424242;
  border-bottom:1px solid #efefef;
}
.position_select .select2-container--default .select2-selection--single .select2-selection__rendered {
padding: 0px !important;
}

.analyzercard {
    margin-bottom: 1.5rem;
    -webkit-box-shadow: 0 1px 2px rgba(56, 65, 74, .15);
    box-shadow: 0 1px 2px rgb(56 65 74 / 44%);
}
#table_roles {
  border-left: 1px solid #efefef;
}
.btn-light {
  border: 1px solid #d6d6d6;
  margin-left:6px;
}
.btn-light:hover {
  background-color: #79797986;
  border: 1px solid #d6d6d6;
  color:white;
}
.btn-label .label-icon {
  margin-right: 5px;
  width:30px;
}
.btn-white {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
    color: #939393;
}
.btn-white:hover {
  background-color: #dce7ff;
  border: 1px solid #d6d6d6;
  color: #000000;
}
.btn-label {
  position: relative;
  padding-left: 35px;
}
.popover {
  max-width: 230px; /* Control the popover width */
}

.popover-body {
  text-align: center;
}

.popover .btn {
  width: 80px; /* Control the button width */
  margin: 0 5px;
}
.role_box_small {
  border:1px solid #efefef;
  padding:2px;
}

#category_div .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 400px; /* Set width for the select container */
}
#category_div .select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
}
#category_div .select2-dropdown  {
  width: 400px !important; /* Ensure dropdown width matches select width */
}
#category_div .select2-container {
  display:block;
}
#category_div .select2.select2-container {
  width: 400px !important; /* Ensure dropdown width matches select width */
}

#category_div .category-item {
  display: flex;
  align-items: center;
  max-width: 400px;
  padding: 5px 0;
}
#category_div .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 400px; /* Set width for the select container */
}
#category_div .select2-dropdown {
  width: 400px !important; /* Ensure dropdown width matches select width */
}
#category_div .category-item {
  display: flex;
  align-items: center;
  max-width: 400px;
  padding: 5px 0;
}
#category_div .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 400px; /* Set width for the select container */
}
#category_div .select2-dropdown {
  width: 400px !important; /* Ensure dropdown width matches select width */
}
#category_div .category-item {
  display: flex;
  align-items: center;
  max-width: 400px;
  padding: 5px 0;
}

#roles-tab .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 340px; /* Set width for the select container */
}
#roles-tab .select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
}
#roles-tab .select2-dropdown  {
  width: 340px !important; /* Ensure dropdown width matches select width */
}
#roles-tab .select2-container {
  display:block;
}
#roles-tab .select2.select2-container {
  width: 340px !important; /* Ensure dropdown width matches select width */
}

#roles-tab .category-item {
  display: flex;
  align-items: center;
  max-width: 340px;
  padding: 5px 0;
}
#roles-tab .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 340px; /* Set width for the select container */
}
#roles-tab .select2-dropdown {
  width: 340px !important; /* Ensure dropdown width matches select width */
}
#roles-tab .category-item {
  display: flex;
  align-items: center;
  max-width: 340px;
  padding: 5px 0;
}
#roles-tab .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 340px; /* Set width for the select container */
}
#roles-tab .select2-dropdown {
  width: 340px !important; /* Ensure dropdown width matches select width */
}
#roles-tab .category-item {
  display: flex;
  align-items: center;
  max-width: 340px;
  padding: 5px 0;
}



#category_div_filter .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 400px; /* Set width for the select container */
}
#category_div_filter .select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
}
#category_div_filter .select2-dropdown  {
  width: 400px !important; /* Ensure dropdown width matches select width */
}
#category_div_filter .select2-container {
  display:block;
}
#category_div_filter .select2.select2-container {
  width: 400px !important; /* Ensure dropdown width matches select width */
}

#category_div_filter .category-item {
  display: flex;
  align-items: center;
  max-width: 400px;
  padding: 5px 0;
}
#category_div_filter .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 400px; /* Set width for the select container */
}
#category_div_filter .select2-dropdown {
  width: 400px !important; /* Ensure dropdown width matches select width */
}
#category_div_filter .category-item {
  display: flex;
  align-items: center;
  max-width: 400px;
  padding: 5px 0;
}
#category_div_filter .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 400px; /* Set width for the select container */
}
#category_div_filter .select2-dropdown {
  width: 400px !important; /* Ensure dropdown width matches select width */
}
#category_div_filter .category-item {
  display: flex;
  align-items: center;
  max-width: 400px;
  padding: 5px 0;
}

 #table_roles_wrapper {
  padding:15px;
 }
#position_category_div .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 365px; /* Set width for the select container */
}

#position_category_div .select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
}

#position_category_div .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block;
  align-items: center;
  padding: 5px 0; /* Adjust padding to center content */
  padding-left: 10px;
}

#position_category_div .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

#position_category_div .select2-dropdown {
  width: 365px !important; /* Ensure dropdown width matches select width */
}

#position_category_div .select2-container {
  display: block;
}

#position_category_div .select2.select2-container {
  width: 365px !important; /* Ensure dropdown width matches select width */
}

#position_category_div .category-item {
  display: flex;
  align-items: center;
  max-width: 365px;
  padding: 5px 0;
}

#positions_roles_tabs .nav-link {
  border-top:1px solid #e2e2e2;
  border-right: 1px solid #e2e2e2; 
  border-left: 1px solid #e2e2e2;
  background-color:#f0f0f052;
}
#positions_roles_tabs .nav-link.active {
  background-color: #FFF;
  border-bottom:1px solid #FFF !important;
}
#positions_roles_tabs .nav-link::after {
  background-color:#FFF !important;
}

/* DataTable width fixes */
#assigned_roles_table, #profile_assigned_roles_table {
  width: 100% !important;
}

#assigned_roles_table_wrapper, #profile_assigned_roles_table_wrapper {
  width: 100% !important;
}

.dataTables_wrapper {
  width: 100% !important;
}

.dataTable {
  width: 100% !important;
  table-layout: fixed !important;
}

/* Category filter dropdown styling */
#category_filter_div .select2-container .select2-selection--single {
  height: auto; /* Remove default height */
  width: 100%; /* Set width for the select container */
}

#category_filter_div .select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
}

#category_filter_div .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block;
  align-items: center;
  padding: 5px 0; /* Adjust padding to center content */
  padding-left: 10px;
}

#category_filter_div .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

#category_filter_div .select2-dropdown {
  width: 100% !important; /* Ensure dropdown width matches select width */
}

#category_filter_div .select2-container {
  display: block;
}

#category_filter_div .select2.select2-container {
  width: 100% !important; /* Ensure dropdown width matches select width */
}

#category_filter_div .category-item {
  display: flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 0;
}
 /* Loader Styles */
  .roles-loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
  }

  .loader-icon-container {
    display: inline-block;
    position: relative;
  }

  .rotating-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    pointer-events: none;
  }

  .rotating-arrows i {
    position: absolute;
    font-size: 1.2rem;
    color: #13c56b;
    animation: rotateArrows 2s linear infinite;
  }

  .arrow-up {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
  }

  .arrow-right {
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    animation-delay: 0.5s;
  }

  .arrow-down {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
  }

  .arrow-left {
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    animation-delay: 1.5s;
  }

  @keyframes rotateArrows {
    0% {
      opacity: 0.3;
      transform: scale(0.8);
    }

    50% {
      opacity: 1;
      transform: scale(1.1);
    }

    100% {
      opacity: 0.3;
      transform: scale(0.8);
    }
  }

  /* Fade in animation for the loader */
  #roles_loader {
    animation: fadeIn 0.5s ease-in;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

/* Fix for tasks table column width issues */
#tasks_table {
  table-layout: fixed !important;
  width: 100% !important;
}

#tasks_table th:nth-child(1) { /* Task Period */
  width: 15% !important;
}

#tasks_table th:nth-child(2) { /* Hours */
  width: 10% !important;
}

#tasks_table th:nth-child(3) { /* Task Description */
  width: 55% !important;
}

#tasks_table th:nth-child(4) { /* Actions */
  width: 20% !important;
}

#tasks_table td {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

#tasks_table td:nth-child(3) { /* Task Description column */
  max-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Fix for roles table column width issues */
#table_roles {
  table-layout: fixed !important;
  width: 100% !important;
}

#table_roles th:nth-child(1) { /* Role Name */
  width: 15% !important;
}

#table_roles th:nth-child(2) { /* Category */
  width: 12% !important;
}

#table_roles th:nth-child(3) { /* Description */
  width: 42% !important;
}

#table_roles th:nth-child(4) { /* Created By */
  width: 7% !important;
}

#table_roles th:nth-child(5) { /* Updated */
  width: 12% !important;
}

#table_roles th:nth-child(6) { /* Assigned */
  width: 4% !important;
}

#table_roles th:nth-child(7) { /* Status */
  width: 8% !important;
}

#table_roles td {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  vertical-align: top !important;
}

#table_roles td:nth-child(3) { /* Description column */
  max-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

#table_roles td:nth-child(1),
#table_roles td:nth-child(4) { /* Role Name and Created By columns */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Sticky Actions Card */
#actions-card {
  transition: all 0.3s ease;
}
#actions-card .select2-container--default .select2-selection--single {
  border:1px solid #e1e1e1;
}
#actions-card.sticky {
  position: fixed !important;
  top: 75px !important;
  right: 20px !important;
  z-index: 1000 !important;
  width: 350px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid #e0e0e0 !important;
}
#actions-card.sticky .card-header {
  padding-top:5px;
  padding-bottom:5px;
  
}
#actions-card.sticky .card-title {
  font-size:14px !important;
}
#actions-card.sticky .card-body {
  padding: 10px !important;
}
#actions-card.sticky .card-body hr {
  margin:4px !important;
}
#actions-card.sticky .mb-4 {

  margin-bottom: 8px !important;
}
#actions-card.sticky #revision_select_div {
  margin-top: 5px !important;
 
}
/* Placeholder to maintain layout when card becomes fixed */
.actions-card-placeholder {
  height: 0;
  transition: height 0.3s ease;
}

.actions-card-placeholder.active {
  height: 200px; /* Approximate height of the actions card */
}

/* Blinking animation for unsaved changes */
@keyframes blink-save-buttons {
  0% {
    box-shadow: 0 0 3px rgba(253, 201, 45, 0.4);
    border-color: rgba(255, 201, 38, 0.4);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 193, 7, 1), 0 0 10px rgba(255, 193, 7, 0.8);
    border-color: rgb(252, 235, 85);
  }
  100% {
    box-shadow: 0 0 3px rgba(255, 238, 84, 0.4);
    border-color: rgba(255, 238, 84, 0.4);
  }
}

.unsaved-changes {
  animation: blink-save-buttons 2s infinite;
  position: relative;
}

.unsaved-changes::before {
  content: "●";
  color: #ffc107;
  font-size: 8px;
  position: absolute;
  top: -2px;
  right: -2px;
  z-index: 10;
}
/* Sticky Actions Card Animations */

/* Base styles for the actions card */
#actions-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

/* Placeholder for maintaining layout */
.actions-card-placeholder {
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0;
    overflow: hidden;
}

.actions-card-placeholder.active {
    /* Height will be set dynamically by JavaScript */
}

/* Sticky state styles */
#actions-card.sticky {
    position: fixed !important;
    top: 20px;
    right: 20px;
    z-index: 1050;
    width: 300px;
    max-width: calc(100vw - 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: slideInFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Slide in animation */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(-20px) scale(0.9);
    }
    50% {
        opacity: 0.7;
        transform: translateX(20px) translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

/* Fade out animation for when returning to normal position */
#actions-card.sticky-exit {
    animation: slideOutToRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutToRight {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(50px) translateY(-10px) scale(0.95);
    }
}

/* Enhanced card styling when sticky */
#actions-card.sticky .card-header {
    background: #f3f3f3;;
    color: white;
    border-bottom: 1px solid #CCC;
}

#actions-card.sticky .card-title {
    color: rgb(46, 46, 46);
    font-weight: 600;
}

/* Button animations in sticky mode */
#actions-card.sticky .btn {
    transition: all 0.2s ease;
}

#actions-card.sticky .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Pulse effect for unsaved changes in sticky mode */
#actions-card.sticky .btn.unsaved-changes {
    animation: stickyPulse 2s infinite;
}

@keyframes stickyPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #actions-card.sticky {
        width: calc(100vw - 20px);
        right: 10px;
        top: 10px;
    }
}

/* Smooth transitions for all child elements */
#actions-card * {
    transition: inherit;
}

/* Special styling for the delete button when hidden */
#button_role_delete {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#button_role_delete.hiding {
    opacity: 0;
    transform: scale(0.8);
}