.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: .2rem;
}

.dataTables_filter {
    margin-right: .2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 .2rem rgba(209, 213, 215, .5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left:5px;
}
.searchable-link {
    padding:0 5px 0 5px;
}
.searchable-link:hover   {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

.theme-kiboko {
    background:
        radial-gradient(circle at top left, rgba(116, 188, 31, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(19, 159, 218, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbf7 0%, #f2f7f2 100%);
}

.theme-kiboko .c-sidebar {
    background: linear-gradient(180deg, #139fda 0%, #0f87bf 56%, #0d6f9d 100%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.theme-kiboko .c-sidebar .c-sidebar-brand {
    background: rgba(255, 255, 255, 0.08);
}

.theme-kiboko .c-sidebar .c-sidebar-brand-full {
    color: #ffffff;
    letter-spacing: 0.03em;
}

.theme-kiboko .c-header {
    background: linear-gradient(90deg, rgba(19,159,218,0.96) 0%, rgba(19,159,218,0.92) 62%, rgba(116,188,31,0.12) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(19, 159, 218, 0.16);
    box-shadow: 0 8px 20px rgba(19, 159, 218, 0.10);
}

.theme-kiboko .c-header .c-header-toggler,
.theme-kiboko .c-header .c-header-nav-link,
.theme-kiboko .c-header .c-header-brand {
    color: #ffffff !important;
}

.theme-kiboko .container-fluid {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.perf-page > .card,
.perf-page .card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(77, 89, 122, 0.08);
    overflow: hidden;
}

.perf-page > .card + .card,
.perf-page .card + .card {
    margin-top: 1.25rem;
}

.theme-kiboko .card-header {
    background: #ffffff;
    border-bottom: 1px solid #e7ece5;
    color: #20332b;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 1rem 1.25rem;
}

.theme-kiboko .card-body {
    background: #ffffff;
    padding: 1.25rem;
}

.theme-kiboko .btn {
    border-radius: 999px;
    font-weight: 600;
    box-shadow: none;
}

.theme-kiboko .btn-success,
.theme-kiboko .btn-primary {
    background: linear-gradient(135deg, #0f5a3b 0%, #176c49 100%);
    border-color: #0f5a3b;
    color: #fff;
}

.theme-kiboko .btn-success:hover,
.theme-kiboko .btn-primary:hover {
    background: linear-gradient(135deg, #0c4b31 0%, #145b3f 100%);
    border-color: #0c4b31;
}

.theme-kiboko .btn-info {
    background: #eef6f1;
    border-color: #d5e7dc;
    color: #0f5a3b;
}

.theme-kiboko .btn-secondary,
.theme-kiboko .btn-default {
    background: #f8f0d8;
    border-color: #e8d59b;
    color: #71571a;
}

.theme-kiboko .btn-danger {
    background: #fff1f1;
    border-color: #ffd6d6;
    color: #c53030;
}

.theme-kiboko .btn-warning {
    background: #fff7e6;
    border-color: #edd7a1;
    color: #8a6a16;
}

.theme-kiboko .form-control,
.theme-kiboko .custom-select,
.theme-kiboko .select2-selection,
.theme-kiboko textarea {
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid #dfe7e1;
    background: #fbfcfb;
    color: #20332b;
    box-shadow: none;
}

.theme-kiboko textarea.form-control,
.theme-kiboko textarea {
    min-height: 120px;
}

.theme-kiboko .form-control:focus,
.theme-kiboko .custom-select:focus,
.theme-kiboko textarea:focus {
    border-color: #1f7d57;
    box-shadow: 0 0 0 0.2rem rgba(15, 90, 59, 0.10);
    background: #fff;
}

form.is-submitting button[type="submit"],
form.is-submitting input[type="submit"] {
    cursor: wait;
}

.btn.is-loading,
input[type="submit"].is-loading {
    opacity: 0.8;
}

.btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.btn.is-loading .form-submit-button-label {
    white-space: nowrap;
}

.form-submit-spinner {
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: form-submit-spin 0.75s linear infinite;
    flex: 0 0 auto;
}

.auth-login-button.is-loading {
    min-height: 52px;
}

@keyframes form-submit-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.org-chart-workspace {
    display: grid;
    gap: 1.25rem;
}

.org-chart-toolbar-card,
.org-chart-stage-card,
.org-chart-detail-card {
    border: 1px solid #243c33;
    border-radius: 22px;
    overflow: hidden;
}

.org-chart-toolbar-card .card-body,
.org-chart-stage-card .card-body,
.org-chart-detail-card .card-body {
    padding: 1.25rem;
}

.org-chart-toolbar-card {
    background: linear-gradient(180deg, #f8f5ee 0%, #f1ede4 100%);
    color: #111111;
    box-shadow: 0 20px 40px rgba(31, 44, 38, 0.16);
}

.org-chart-toolbar-form {
    display: grid;
    grid-template-columns: minmax(260px, 2fr) repeat(2, minmax(180px, 1fr)) auto;
    gap: 0.9rem;
    align-items: end;
}

.org-chart-toolbar-group {
    min-width: 0;
}

.org-chart-toolbar-search {
    min-width: 260px;
}

.org-chart-toolbar-label {
    display: block;
    color: #111111;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.org-chart-toolbar-card .form-control,
.org-chart-toolbar-card .select2-selection--single {
    background: #ffffff;
    border-color: #d9ddd7;
    color: #111111;
}

.org-chart-toolbar-card .select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 12px;
}

.org-chart-toolbar-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #111111;
    line-height: 42px;
}

.org-chart-toolbar-card .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: #111111;
    border-bottom-color: #111111;
}

.org-chart-toolbar-card .form-control::placeholder {
    color: #444444;
}

.org-chart-toolbar-card .btn-outline-secondary,
.org-chart-toolbar-card .btn-outline-light {
    border-color: #1f4f3d;
    color: #1f4f3d;
    background: #ffffff;
}

.org-chart-toolbar-card .btn-outline-secondary:hover,
.org-chart-toolbar-card .btn-outline-light:hover {
    background: #1f4f3d;
    color: #ffffff;
}

.org-chart-toolbar-actions {
    display: flex;
    gap: 0.6rem;
    align-items: end;
}

.org-chart-canvas-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dbded8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.org-chart-canvas-copy {
    display: grid;
    gap: 0.2rem;
}

.org-chart-canvas-eyebrow {
    color: #111111;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.org-chart-canvas-copy strong {
    color: #111111;
    font-size: 0.95rem;
    font-weight: 700;
}

.org-chart-canvas-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.org-chart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.25rem;
    align-items: start;
}

.org-chart-stage-card {
    background: linear-gradient(180deg, #5a5963 0%, #4b4a54 100%);
    box-shadow: 0 22px 45px rgba(39, 46, 42, 0.18);
}

.org-chart-stage-card .card-body {
    padding: 1rem 1rem 1.1rem;
}

.org-chart-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
}

.org-chart-canvas {
    min-width: max-content;
    padding: 0.65rem 0.25rem 1rem;
}

.org-chart-tree,
.org-chart-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.org-chart-tree {
    display: flex;
    justify-content: flex-start;
}

.org-chart-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.7rem;
}

.org-chart-item::before,
.org-chart-item::after {
    content: '';
    position: absolute;
    top: -1.2rem;
    height: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    width: 50%;
}

.org-chart-item::before {
    left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.org-chart-item::after {
    right: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.34);
}

.org-chart-tree > .org-chart-item::before,
.org-chart-tree > .org-chart-item::after,
.org-chart-item:only-child::before,
.org-chart-item:only-child::after {
    display: none;
}

.org-chart-item:first-child::before,
.org-chart-item:last-child::after {
    border: 0;
}

.org-chart-item:last-child::before {
    border-right: 0;
}

.org-chart-item:first-child::after {
    border-left: 0;
}

.org-chart-node {
    position: relative;
    width: 214px;
    border: 1px solid rgba(27, 39, 33, 0.12);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 25px rgba(28, 34, 31, 0.18);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.org-chart-node:hover,
.org-chart-node:focus,
.org-chart-node.is-active {
    outline: none;
    transform: translateY(-2px);
    box-shadow: 0 20px 30px rgba(21, 30, 26, 0.24);
    border-color: rgba(201, 171, 100, 0.72);
}

.org-chart-node-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.32rem 0.55rem;
    background: #f3f1eb;
    border-bottom: 1px solid #ece6da;
    font-size: 0.68rem;
    color: #1f1f1f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.org-chart-node-employee-number,
.org-chart-node-count {
    white-space: nowrap;
}

.org-chart-node-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.7rem 0.45rem;
}

.org-chart-avatar {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #173e32 0%, #285747 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.org-chart-node-meta {
    min-width: 0;
    flex: 1 1 auto;
}

.org-chart-node-name {
    color: #233229;
    font-weight: 700;
    font-size: 0.87rem;
    line-height: 1.2;
}

.org-chart-node-subtitle {
    color: #1f1f1f;
    font-size: 0.76rem;
    line-height: 1.25;
    margin-top: 0.1rem;
}

.org-chart-node-detail-line {
    color: #2f2f2f;
    font-size: 0.71rem;
    line-height: 1.25;
    margin-top: 0.15rem;
}

.org-chart-toggle {
    flex: 0 0 auto;
    border-radius: 999px !important;
    min-width: 1.75rem;
    min-height: 1.75rem;
    padding: 0.2rem 0.35rem;
    color: #22483a;
    border-color: #d9ddd9;
}

.org-chart-node-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0 0.7rem 0.6rem;
}

.org-chart-node-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #222222;
    font-size: 0.72rem;
}

.org-chart-node-dot {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #d7b676;
    flex: 0 0 auto;
}

.org-chart-node-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    background: #eef7f1;
    color: #25563f;
    font-size: 0.68rem;
    font-weight: 700;
}

.org-chart-node-status.is-inactive {
    background: #eef0f2;
    color: #65717d;
}

.org-chart-node-footer {
    border-top: 1px solid #edf1ed;
    padding: 0.55rem 0.7rem;
    display: flex;
    justify-content: flex-end;
    color: #1f1f1f;
}

.org-chart-node-link {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.org-chart-children {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    margin-top: 1rem;
}

.org-chart-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.34);
}

.org-chart-children.is-collapsed {
    display: none;
}

.org-chart-detail-card {
    position: sticky;
    top: 1rem;
    background: linear-gradient(180deg, #f8f5ee 0%, #f1ede4 100%);
    color: #111111;
    box-shadow: 0 22px 42px rgba(25, 33, 29, 0.2);
}

.org-chart-detail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.org-chart-detail-eyebrow {
    color: #111111;
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.org-chart-detail-close {
    border: 0;
    background: transparent;
    color: #111111;
    font-size: 1.4rem;
    line-height: 1;
}

.org-chart-detail-identity {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.org-chart-detail-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f2f0e8 0%, #d8c191 100%);
    color: #17362c;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.org-chart-detail-name {
    color: #111111;
    margin: 0;
    font-size: 1.28rem;
    line-height: 1.2;
}

.org-chart-detail-role {
    color: #111111;
    margin-top: 0.25rem;
    font-weight: 700;
}

.org-chart-detail-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.org-chart-detail-status,
.org-chart-detail-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
}

.org-chart-detail-status {
    background: #e5f2e8;
    color: #111111;
}

.org-chart-detail-status.is-inactive {
    background: #eceff1;
    color: #111111;
}

.org-chart-detail-badge {
    background: #efe2bf;
    color: #111111;
}

.org-chart-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1rem 0;
    border-top: 1px solid #ddd9cf;
    border-bottom: 1px solid #ddd9cf;
}

.org-chart-detail-grid strong {
    color: #111111;
    display: block;
    margin-top: 0.18rem;
}

.org-chart-detail-card .employee-detail-label {
    color: #111111;
    font-weight: 700;
}

.org-chart-detail-note {
    color: #111111;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-top: 1rem;
}

.org-chart-node-export-footnote {
    color: #6d756f;
    font-size: 0.68rem;
}

.org-chart-detail-actions {
    margin-top: 1rem;
}

@media (max-width: 1199.98px) {
    .org-chart-toolbar-form {
        grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(160px, 1fr));
    }

    .org-chart-toolbar-actions {
        grid-column: 1 / -1;
    }

    .org-chart-layout {
        grid-template-columns: 1fr;
    }

    .org-chart-detail-card {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .org-chart-toolbar-form {
        grid-template-columns: 1fr;
    }

    .org-chart-canvas-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .org-chart-node {
        width: 198px;
    }

    .org-chart-detail-card {
        display: none;
    }

    .org-chart-detail-card.is-open {
        display: block;
    }
}

.session-unlock-dialog {
    max-width: 430px;
}

.session-unlock-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(31, 44, 38, 0.18);
    overflow: hidden;
}

.session-unlock-card .modal-header,
.session-unlock-card .modal-footer {
    border: 0;
    background: #fff;
}

.session-unlock-card .modal-body {
    background: #fff;
    padding-top: 0.5rem;
}

.session-unlock-copy {
    color: #5f6d66;
}

body.session-unlock-active .c-wrapper,
body.session-unlock-active .c-sidebar {
    filter: blur(1.5px);
}

.employee-profile-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

.employee-profile-hero-badges,
.employee-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.employee-filter-card .card-body {
    padding-bottom: 0.75rem;
}

.employee-section-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.employee-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.employee-detail-grid strong,
.employee-meta-stack strong {
    display: block;
    color: #183126;
    font-size: 0.98rem;
    line-height: 1.5;
}

.employee-detail-label {
    display: block;
    margin-bottom: 0.2rem;
    color: #66756d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.employee-meta-stack {
    display: grid;
    gap: 0.9rem;
}

.employee-reporting-list {
    display: grid;
    gap: 0.75rem;
}

.employee-reporting-item {
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e1e8e3;
    border-radius: 14px;
    background: #fbfcfb;
}

.employee-reporting-item strong {
    color: #183126;
}

.employee-reporting-item span {
    color: #68756f;
    font-size: 0.88rem;
}

.employee-subsection-title {
    margin-bottom: 0.75rem;
    color: #183126;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.employee-quarter-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.employee-quarter-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.employee-quarter-card {
    height: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid #e5ebe4;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbf8 100%);
}

.employee-quarter-card-label {
    margin-bottom: 0.4rem;
    color: #66756d;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.employee-quarter-card-title {
    margin-bottom: 0.6rem;
    color: #20332b;
    font-size: 0.98rem;
    font-weight: 700;
}

.employee-quarter-card-score {
    color: #0f5a3b;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
}

.employee-quarter-card-meta {
    margin-top: 0.45rem;
    color: #6a756f;
    font-size: 0.85rem;
}

.employee-empty-state {
    padding: 1rem 1.1rem;
    border: 1px dashed #d6dfd8;
    border-radius: 14px;
    background: #fbfcfb;
    color: #637168;
}

.employee-trend-chart {
    display: grid;
    gap: 1rem;
}

.employee-trend-svg-wrap {
    border: 1px solid #e5ebe4;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfcfb 0%, #f4f7f4 100%);
    overflow: hidden;
}

.employee-trend-svg {
    width: 100%;
    height: auto;
    display: block;
}

.employee-trend-axis {
    stroke: #d8e0da;
    stroke-width: 1;
}

.employee-trend-line {
    fill: none;
    stroke: #0f5a3b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.employee-trend-point {
    fill: #b68b2d;
    stroke: #ffffff;
    stroke-width: 2;
}

.employee-trend-bars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 0.75rem;
}

.employee-trend-bar-item {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
}

.employee-trend-bar-shell {
    width: 100%;
    height: 84px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0.35rem;
    border-radius: 12px;
    background: #f5f7f4;
}

.employee-trend-bar-fill {
    width: 100%;
    min-height: 6px;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #1a6a49 0%, #0f5a3b 100%);
}

.employee-trend-bar-value {
    color: #183126;
    font-size: 0.86rem;
    font-weight: 700;
}

.employee-trend-bar-label {
    color: #637168;
    font-size: 0.72rem;
    text-align: center;
}

.employee-trend-bar-meta {
    color: #88938d;
    font-size: 0.7rem;
    text-align: center;
}

.employee-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
}

.employee-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 0.9rem;
}

.employee-timeline-item::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    bottom: -18px;
    width: 1px;
    background: #d9e3dc;
}

.employee-timeline-item:last-child::before {
    display: none;
}

.employee-timeline-dot {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    border: 4px solid #edf4ef;
    border-radius: 50%;
    background: #0f5a3b;
}

.employee-timeline-content {
    padding-bottom: 0.5rem;
}

.employee-timeline-title {
    color: #1d3028;
    font-weight: 700;
    text-transform: capitalize;
}

.employee-timeline-meta {
    color: #6c7971;
    font-size: 0.79rem;
}

.employee-timeline-summary,
.employee-timeline-reason {
    margin-top: 0.35rem;
    color: #445048;
    font-size: 0.86rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .employee-profile-hero,
    .employee-quarter-header {
        flex-direction: column;
    }

    .employee-profile-actions,
    .employee-quarter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .employee-detail-grid {
        grid-template-columns: 1fr;
    }

    .employee-trend-bars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.theme-kiboko label {
    color: #496057;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.theme-kiboko .table {
    margin-bottom: 0;
    background: #fff;
}

.theme-kiboko .table thead th {
    background: #fafbf8;
    border-top: 0;
    border-bottom: 1px solid #e8eee8;
    color: #63756d;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.theme-kiboko .table td {
    border-top: 1px solid #edf1ed;
    color: #2c3a34;
    vertical-align: middle;
}

.theme-kiboko .table.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fcfdfb;
}

.theme-kiboko .table.table-hover tbody tr:hover {
    background-color: #f3f7f3;
}

.theme-kiboko .table-responsive {
    border-radius: 14px;
}

.theme-kiboko table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before,
.theme-kiboko table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
    top: 50%;
    left: 10px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 0;
    border-radius: 999px;
    box-shadow: none;
    background: #0f5a3b;
}

.theme-kiboko table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
.theme-kiboko table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
    padding-left: 2rem;
}

.theme-kiboko .badge {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.45em 0.8em;
}

.theme-kiboko .badge-success {
    background: #e8f5ee;
    color: #0f7a4f;
}

.theme-kiboko .badge-secondary {
    background: #edf1ed;
    color: #67786f;
}

.theme-kiboko .badge-warning {
    background: #fbf1da;
    color: #9b741a;
}

.theme-kiboko .badge-danger {
    background: #ffe7e7;
    color: #c53030;
}

.theme-kiboko .badge-info {
    background: #edf6f1;
    color: #0f5a3b;
}

.theme-kiboko .alert {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(77, 89, 122, 0.06);
}

.theme-kiboko .list-group-item {
    border-color: #e8eee8;
}

.theme-kiboko .dataTables_wrapper .dataTables_filter input,
.theme-kiboko .dataTables_wrapper .dataTables_length select {
    min-height: 42px;
    border-radius: 999px;
    border: 1px solid #dfe7e1;
    background: #fff;
    padding: 0.45rem 0.9rem;
}

.theme-kiboko .dataTables_wrapper .dt-buttons .btn {
    margin-left: 0.5rem;
    border-radius: 999px;
}

.theme-kiboko .dataTables_wrapper .dt-toolbar {
    gap: 0.75rem;
}

.theme-kiboko .dataTables_wrapper .dataTables_length label,
.theme-kiboko .dataTables_wrapper .dataTables_filter label,
.theme-kiboko .dataTables_wrapper .dataTables_info {
    color: #66766f;
    font-size: 0.92rem;
    font-weight: 600;
}

.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0 !important;
    margin: 0 0.2rem !important;
    border: 0 !important;
    background: transparent !important;
}

.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: 0 !important;
    background: transparent !important;
}

.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button .page-link,
.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button a,
.theme-kiboko .dataTables_wrapper .dataTables_paginate .page-link {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid #dfe7e1;
    color: #23412f;
    background: #ffffff;
    box-shadow: none;
    padding: 0.45rem 0.85rem;
}

.theme-kiboko .dataTables_wrapper .dataTables_paginate {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button.current .page-link,
.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.theme-kiboko .dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
    background: linear-gradient(135deg, #0f5a3b 0%, #176b48 58%, #ba9538 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button.disabled .page-link,
.theme-kiboko .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.45;
}

.theme-kiboko div.dt-button-collection {
    border: 1px solid #dfe7e1;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(30, 52, 40, 0.12);
    overflow: hidden;
    background: #fff;
}

.theme-kiboko div.dt-button-collection .dt-button {
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #23412f;
    box-shadow: none;
    text-align: left;
    padding: 0.85rem 1rem;
}

.theme-kiboko div.dt-button-collection .dt-button:hover {
    background: #f3f7f3;
}

.theme-kiboko table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100% !important;
}

.theme-kiboko table.dataTable thead th {
    border-bottom: 1px solid #e8eee8 !important;
}

.theme-kiboko table.dataTable tbody td {
    white-space: normal;
    word-break: break-word;
}

.theme-kiboko .dataTables_wrapper .dataTables_filter input {
    min-width: 220px;
}

.theme-kiboko .table-responsive {
    overflow-x: visible;
}

@media (max-width: 991.98px) {
    .theme-kiboko .dataTables_wrapper .dt-toolbar {
        justify-content: flex-start !important;
        margin-top: 0.75rem;
    }

    .theme-kiboko .dataTables_wrapper .dataTables_filter input {
        min-width: 0;
        width: 100%;
    }
}

.theme-kiboko .c-sidebar .c-sidebar-nav-link.c-active,
.theme-kiboko .c-sidebar .c-active.c-sidebar-nav-dropdown-toggle {
    background: linear-gradient(135deg, #74bc1f 0%, #139fda 100%);
    color: #fff;
}

.theme-kiboko .c-sidebar .c-sidebar-nav-dropdown-items .c-sidebar-nav-link:hover,
.theme-kiboko .c-sidebar .c-sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.theme-kiboko .c-sidebar .c-sidebar-nav-title {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.theme-kiboko .perf-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    border-radius: 22px;
    background:
        radial-gradient(circle at right top, rgba(255,255,255,0.20), transparent 28%),
        linear-gradient(135deg, #139fda 0%, #1186c0 55%, #74bc1f 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(18, 68, 48, 0.18);
}

.theme-kiboko .perf-eyebrow {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.9;
    margin-bottom: 0.35rem;
    color: #d8f3ff;
}

.theme-kiboko .perf-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
}

.theme-kiboko .perf-subtitle {
    max-width: 860px;
    color: rgba(255, 255, 255, 0.94);
    font-weight: 300;
}

.theme-kiboko .perf-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.theme-kiboko .perf-hero .btn {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.theme-kiboko .perf-hero .btn:hover {
    background: rgba(255, 255, 255, 0.26);
    color: #fff;
}

.theme-kiboko .perf-stat-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.15rem 1.15rem 1rem;
    box-shadow: 0 16px 36px rgba(77, 89, 122, 0.08);
    min-height: 132px;
}

.theme-kiboko .perf-stat-label {
    color: #7b849d;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.7rem;
}

.theme-kiboko .perf-stat-value {
    color: #20332b;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.theme-kiboko .perf-stat-meta {
    color: #4f5e56;
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-kiboko .text-muted {
    color: #55645d !important;
    font-weight: 500;
}

.theme-kiboko .perf-data-card .card-header,
.theme-kiboko .perf-form-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-kiboko .perf-form-card {
    border: 1px solid rgba(15, 90, 59, 0.05);
}

.theme-kiboko,
.theme-kiboko body {
    background:
        radial-gradient(circle at top left, rgba(116, 188, 31, 0.06), transparent 28%),
        linear-gradient(180deg, rgba(116, 188, 31, 0.025), rgba(255, 255, 255, 0.985));
}

.theme-kiboko .btn-primary {
    background-color: #139fda;
    border-color: #139fda;
}

.theme-kiboko .btn-success,
.theme-kiboko .badge-success {
    background-color: #74bc1f;
    border-color: #74bc1f;
}

.theme-kiboko .table thead th {
    background: rgba(19, 159, 218, 0.08);
    color: #125d84;
    border-bottom-color: rgba(116, 188, 31, 0.18);
}

.theme-kiboko .table-hover tbody tr:hover {
    background-color: rgba(116, 188, 31, 0.04);
}

@media (max-width: 767.98px) {
    .theme-kiboko .perf-hero {
        padding: 1.2rem;
    }

    .theme-kiboko .perf-title {
        font-size: 1.45rem;
    }

    .theme-kiboko .perf-hero {
        flex-direction: column;
        align-items: flex-start;
    }
}

body.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(19, 159, 218, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(116, 188, 31, 0.14), transparent 26%),
        linear-gradient(145deg, #f7fbf8 0%, #eef6f1 54%, #e9f1ec 100%);
    color: #20332b;
}

.login-page .c-app {
    min-height: 100vh;
    padding: 2.5rem 0;
}

.login-page .container {
    max-width: 1180px;
}

.auth-shell {
    min-height: calc(100vh - 5rem);
    display: flex;
    align-items: center;
}

.auth-login-panel {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(19, 159, 218, 0.10);
    box-shadow: 0 28px 70px rgba(24, 42, 33, 0.12);
    backdrop-filter: blur(8px);
}

.auth-login-aside {
    position: relative;
    padding: 4rem 4.25rem;
    background:
        linear-gradient(160deg, rgba(19, 159, 218, 0.98) 0%, rgba(17, 133, 189, 0.98) 56%, rgba(116, 188, 31, 0.95) 100%);
    color: #f8fbf9;
}

.auth-login-aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%);
    pointer-events: none;
}

.auth-login-brand,
.auth-login-kicker,
.auth-login-title,
.auth-login-copy,
.auth-login-highlights {
    position: relative;
    z-index: 1;
}

.auth-login-brand {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-login-kicker {
    display: block;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-login-title {
    margin: 1rem 0 1rem;
    max-width: 520px;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.auth-login-copy {
    max-width: 540px;
    margin: 0;
    color: rgba(244, 248, 245, 0.90);
    font-size: 1rem;
    line-height: 1.75;
}

.auth-login-highlights {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

.auth-highlight-item {
    padding: 1.1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-highlight-label {
    display: block;
    margin-bottom: 0.3rem;
    color: #d6f7b0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-highlight-item strong {
    display: block;
    color: #f8fbf9;
    font-size: 0.98rem;
    line-height: 1.55;
    font-weight: 600;
}

.auth-login-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem;
    background: rgba(251, 252, 250, 0.95);
}

.auth-login-card-full {
    min-height: 100%;
}

.auth-shell-centered {
    justify-content: center;
}

.auth-login-panel-single {
    max-width: 560px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.auth-login-card-inner {
    width: 100%;
    max-width: 460px;
}

.auth-login-heading h2 {
    margin: 0;
    color: #173f63;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-login-heading p {
    margin: 0.85rem 0 0;
    color: #5d6d78;
    font-size: 0.98rem;
    line-height: 1.7;
}

.auth-login-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #139fda;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-alert {
    margin-top: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(19, 159, 218, 0.16);
}

.auth-login-form {
    margin-top: 1.75rem;
}

.auth-field + .auth-field {
    margin-top: 1.2rem;
}

.auth-field label {
    display: block;
    margin-bottom: 0.55rem;
    color: #355a76;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #139fda;
    font-size: 0.95rem;
    pointer-events: none;
}

.auth-input.form-control {
    min-height: 54px;
    padding-left: 2.95rem;
    border-radius: 16px;
    border: 1px solid #d6e6ef;
    background: #ffffff;
    color: #20332b;
    box-shadow: none;
}

.auth-input.form-control::placeholder {
    color: #93a29c;
}

.auth-input.form-control:focus {
    border-color: #139fda;
    box-shadow: 0 0 0 0.22rem rgba(19, 159, 218, 0.12);
}

.auth-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.1rem 0 1.5rem;
}

.auth-check {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-check .form-check-input {
    margin-top: 0;
}

.auth-check .form-check-label {
    margin: 0;
    color: #556860;
    font-size: 0.93rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.auth-login-link {
    color: #139fda;
    font-size: 0.92rem;
    font-weight: 600;
}

.auth-login-link:hover {
    color: #0f87bf;
    text-decoration: none;
}

.auth-login-button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #139fda 0%, #0f87bf 68%, #74bc1f 100%);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 34px rgba(19, 159, 218, 0.18);
}

.auth-login-button:hover,
.auth-login-button:focus {
    color: #fff;
    background: linear-gradient(135deg, #0f87bf 0%, #0d78ad 68%, #62a814 100%);
    box-shadow: 0 20px 36px rgba(19, 159, 218, 0.22);
}

.auth-helper-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .login-page .c-app {
        padding: 1.25rem 0;
    }

    .auth-shell {
        min-height: auto;
    }

    .auth-login-panel {
        grid-template-columns: 1fr;
    }

    .auth-login-aside,
    .auth-login-card {
        padding: 2rem 1.4rem;
    }

    .auth-login-title {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .auth-login-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-login-heading h2 {
        font-size: 1.7rem;
    }
}
