

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');

/* =========================================================
   Theme
   ========================================================= */

:root {
    --brand-primary: #7E3F76;
    --brand-primary-hover: #6f3568;
    --brand-primary-active: #5f2d59;
    --brand-primary-rgb: 126, 63, 118;
    --brand-primary-soft: rgba(126, 63, 118, 0.18);
    --brand-text-on-primary: #ffffff;
    --header-primary: #087f76;
    --header-primary-rgb: 8, 127, 118;
    --bs-light: #efefef !important;
    --bs-light-rgb: 239, 239, 239 !important;
    --bs-light-inverse: #000000 !important;
}

/* =========================================================
   Base Typography
   ========================================================= */

html,
body,
button,
input,
textarea,
select,
.form-control,
.form-select,
.select2-container,
.btn {
    font-family: 'Jost', sans-serif !important;
}

/* =========================================================
   Base Font Sizing
   ========================================================= */

body {
    font-size: 1.3rem;
}

.content,
.card-body,
.table,
.form-control,
.form-select,
.form-label,
.select2-container--bootstrap5 .select2-selection,
.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered,
.select2-container--bootstrap5 .select2-dropdown .select2-results__option,
.btn {
    font-size: 1.3rem !important;
}

.text-muted,
.fw-semibold {
    font-size: 1.3rem;
}

small,
.small {
    font-size: 1.3rem !important;
}

.form-text {
    font-size: 1.3rem !important;
}

.form-control,
.form-select {
    font-weight: normal !important;
}

.job-note-text {
    white-space: pre-line;
}


/* =========================================================
   Login
   ========================================================= */

.login-page {
    display: grid;
    grid-template-columns: minmax(360px, 42%) 1fr;
    min-height: 100vh;
    background: #ffffff;
}

.login-panel {
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: clamp(3rem, 6vw, 7rem);
    background: #087f76;
    color: #ffffff;
}

.login-panel-content {
    max-width: 34rem;
    margin: auto 0;
}

.login-panel-kicker {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.login-panel h1 {
    margin: 0 0 1.75rem;
    color: #ffffff;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.08;
}

.login-panel p {
    max-width: 31rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.35rem;
    line-height: 1.6;
}

.login-panel-footer {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.3rem;
    font-weight: 600;
}

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 3rem;
}

.login-form-wrap {
    width: 100%;
    max-width: 34rem;
}

.login-logo-wrap {
    margin-bottom: 2.25rem;
}

.login-logo {
    display: block;
    width: 100%;
    max-width: 19rem;
    height: auto;
}

.login-form-intro {
    font-size: 1.4rem;
}

@media (max-width: 991.98px) {
    .login-page {
        display: block;
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 2rem;
    }

    .login-logo {
        max-width: 16rem;
    }
}


/* =========================================================
   Layout
   ========================================================= */

body:not(.sidebar-enabled) .wrapper {
    padding-right: 0 !important;
}

.page {
    margin-right: 0 !important;
}

.container,
.container-lg,
.container-xl,
.container-xxl {
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.content {
    padding: 15px 0 !important;
}

.toolbar {
    position: sticky;
    top: 80px;
    z-index: 90;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   Header / Navigation
   ========================================================= */

#kt_header.header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 80px !important;
    height: 80px !important;
    background: var(--header-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(var(--header-primary-rgb), 0.28);
}

.header-fixed[data-kt-sticky-header=on] #kt_header.header {
    height: 80px !important;
    background: var(--header-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(var(--header-primary-rgb), 0.32);
}

#kt_header .container-lg {
    background: transparent !important;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    margin: 0;
    line-height: 1;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    color: #ffffff !important;
}

.header-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    font-size: 1.25rem;
}

.header-search-trigger i {
    display: block;
    color: #ffffff !important;
    font-size: 1.3rem;
    line-height: 1;
    -webkit-text-stroke: .45px currentColor;
    transform: translateX(2px);
}

.global-job-search-modal {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.global-job-search-dialog {
    margin: 1.75rem auto;
}

.global-job-search-input {
    min-height: 8.75rem;
    padding: 1.5rem 1.75rem;
    border: 2px solid #1f1f1f;
    border-radius: 10px;
    background-color: #ffffff;
    color: #555555;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.global-job-search-input::placeholder {
    color: #7d7d7d;
    opacity: 1;
}

.global-job-search-input:focus {
    border-color: #1f1f1f;
    box-shadow: none;
}

body.global-search-open .modal-backdrop.show {
    opacity: .78;
}

@media (max-width: 767.98px) {
    .global-job-search-dialog {
        margin: 1rem;
    }

    .global-job-search-input {
        min-height: 5.5rem;
        padding: 1rem 1.25rem;
        font-size: 1.4rem !important;
    }
}

#kt_header_user_menu_toggle {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

    #kt_header_user_menu_toggle:hover,
    #kt_header_user_menu_toggle:focus {
        background-color: rgba(255, 255, 255, 0.22) !important;
        border-color: rgba(255, 255, 255, 0.42) !important;
    }

    #kt_header_user_menu_toggle .svg-icon {
        color: #ffffff !important;
    }

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
}

    .navbar-toggler .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

.btn-menu,
.btn-light.btn-menu {
    background-color: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
}

    .btn-light.btn-menu:hover,
    .btn-light.btn-menu:focus,
    .btn-light.btn-menu:not(.disabled):hover {
        background-color: rgba(255, 255, 255, 0.18) !important;
        border-color: rgba(255, 255, 255, 0.45) !important;
        color: #ffffff !important;
    }


/* =========================================================
   Mobile Menu
   ========================================================= */

.menu-tile .ki-duotone,
.menu-tile .ki-duotone .path1,
.menu-tile .ki-duotone .path2,
.menu-tile .ki-duotone .path3,
.menu-tile .ki-duotone .path4,
.menu-tile .ki-duotone .path5 {
    color: #ffffff;
}



/* =========================================================
   Text / Links
   ========================================================= */

.text-brand-primary {
    color: var(--brand-primary) !important;
}

.link-brand-primary {
    color: var(--brand-primary) !important;
}

    .link-brand-primary:hover,
    .link-brand-primary:focus {
        color: var(--brand-primary-hover) !important;
    }

.text-error {
    color: #f64e60;
    display: block;
    font-size: 1.3rem;
    margin-top: 6px;
}


.list-card-title {
    font-size: 1.65rem !important;
    line-height: 1.15;
    margin-bottom: 0;
    font-weight: 700 !important;
}



/* =========================================================
   Buttons
   ========================================================= */

.btn:not(.btn-icon):not(.btn-xs) {
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-font-size: 1.22rem;
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
    font-size: 1.22rem !important;
    min-width: 6.5rem;
}

.btn-sm:not(.btn-icon):not(.btn-xs) {
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-font-size: 1.16rem;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    font-size: 1.16rem !important;
    min-width: 6.2rem;
}

.dropdown-item {
    font-size: 1.15rem;
}

.btn-brand-primary {
    --bs-btn-color: var(--brand-text-on-primary);
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-color: var(--brand-text-on-primary);
    --bs-btn-hover-bg: var(--brand-primary-hover);
    --bs-btn-hover-border-color: var(--brand-primary-hover);
    --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb);
    --bs-btn-active-color: var(--brand-text-on-primary);
    --bs-btn-active-bg: var(--brand-primary-active);
    --bs-btn-active-border-color: var(--brand-primary-active);
    --bs-btn-disabled-color: var(--brand-text-on-primary);
    --bs-btn-disabled-bg: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
}

.btn-outline-brand-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-color: var(--brand-text-on-primary);
    --bs-btn-hover-bg: var(--brand-primary-hover);
    --bs-btn-hover-border-color: var(--brand-primary-hover);
    --bs-btn-focus-shadow-rgb: var(--brand-primary-rgb);
    --bs-btn-active-color: var(--brand-text-on-primary);
    --bs-btn-active-bg: var(--brand-primary-active);
    --bs-btn-active-border-color: var(--brand-primary-active);
    --bs-btn-disabled-color: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-bg: transparent;
    --bs-gradient: none;
}

.btn.btn-outline.btn-outline-brand-primary {
    border-color: var(--brand-primary);
}

.btn-secondary {
    background-color: #e4e6ea !important;
}

.btn-xs {
    --bs-btn-padding-y: 0.2rem;
    --bs-btn-padding-x: 0.45rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-line-height: 1;
}

.btn-card-footer {
    border-radius: 0 0 .375rem .375rem;
}

.btn-responsive-icon .btn-icon {
    display: none;
}

.toolbar [data-bs-target="#filter"] {
    position: relative;
    overflow: visible;
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -0.55rem;
    right: -0.55rem;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background-color: var(--brand-primary);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(24, 28, 50, 0.18);
}



/* =========================================================
   Forms
   ========================================================= */

.form-control, .form-select, .form-check-input, .input-group-text, .input-group .btn, .select2-container--bootstrap5 .select2-selection {
    color: var(--bs-gray-900) !important;
    border: 1px solid var(--bs-gray-500) !important;
    font-weight: normal !important;
}

.form-label {
    margin-bottom: 0.2rem !important;
}

.form-control + small,
.form-select + small,
textarea.form-control + small {
    display: block;
    margin-top: 0.45rem;
    line-height: 1.3;
}

.input-group .btn.btn-input-action {
    color: var(--bs-gray-900) !important;
    background-color: var(--bs-gray-100);
    border: 1px solid var(--bs-gray-500) !important;
}

.input-group .btn-input-clear {
    width: 38px;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    font-weight: 700;
    cursor: pointer;
}

.input-group .btn-input-clear:disabled {
    cursor: default;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    color: inherit;
    line-height: 1.5;
}

.select2-container--bootstrap5 .select2-results__option.select2-results__option--highlighted,
.select2-container--bootstrap5 .select2-results__option.select2-results__option--selected {
    color: #ffffff !important;
    background-color: #00B2FF !important;
}

.select2-container--bootstrap5 .select2-results__option[aria-selected="true"] {
    color: #ffffff !important;
    background-color: #00B2FF !important;
}


/* =========================================================
   Empty States
   ========================================================= */

.empty-state {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    align-items: center;
    gap: 2rem;
    min-height: 320px;
    padding: 3rem 4rem !important;
}

.empty-state-copy h2 {
    margin-bottom: 1rem;
    color: #e33f75;
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: 0;
}

.empty-state-copy p {
    max-width: 35rem;
    margin-bottom: 0;
    color: #7f8aa3;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
}

.empty-state-art {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

.empty-state-art svg {
    display: block;
    width: 100%;
    height: auto;
}

.empty-state-shadow {
    fill: #f1f4fb;
}

.empty-state-paper {
    fill: #f0f2f8;
}

.empty-state-line {
    fill: none;
    stroke: #ffffff;
    stroke-width: 10;
    stroke-linecap: round;
    opacity: 0.95;
}

.empty-state-folder-back {
    fill: #79d8ff;
}

.empty-state-folder,
.empty-state-folder-tab {
    fill: #00B2FF;
}

.empty-state-folder {
    opacity: 0.86;
}

.empty-state-folder-slot {
    fill: rgba(0, 86, 130, 0.22);
}

.empty-state-plant {
    fill: #27c7a5;
    opacity: 0.55;
}

.empty-state-plant.leaf-2 {
    fill: #7b8dff;
    opacity: 0.45;
}

.empty-state-dot {
    fill: #f6a2b9;
    opacity: 0.7;
}

.empty-state-dot.dot-2 {
    fill: #ffcf66;
}


/* =========================================================
   Access Denied
   ========================================================= */

.access-denied-state {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    align-items: center;
    gap: 2rem;
    min-height: 360px;
    padding: 3rem 4rem !important;
}

.access-denied-copy h2 {
    margin-bottom: 1rem;
    color: #F1416C;
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: 0;
}

.access-denied-copy p {
    max-width: 34rem;
    margin-bottom: 0;
    color: #3f4254;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.45;
}

.access-denied-art {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

.access-denied-art svg {
    display: block;
    width: 100%;
    height: auto;
}

.access-denied-shadow {
    fill: #f1f4fb;
}

.access-denied-door {
    fill: #eef1f7;
}

.access-denied-door-panel {
    fill: #ffffff;
    opacity: .75;
}

.access-denied-handle {
    fill: #a1a5b7;
}

.access-denied-lock-body {
    fill: var(--brand-primary);
}

.access-denied-lock-loop {
    fill: none;
    stroke: var(--brand-primary);
    stroke-width: 16;
    stroke-linecap: round;
}

.access-denied-keyhole {
    fill: none;
    stroke: #ffffff;
    stroke-width: 8;
    stroke-linecap: round;
}

.access-denied-bar {
    fill: none;
    stroke: #F1416C;
    stroke-width: 22;
    stroke-linecap: round;
    opacity: .9;
}

.access-denied-badge {
    fill: #ffffff;
    stroke: #e4e6ef;
    stroke-width: 3;
}

.access-denied-badge-fold {
    fill: #eef1f7;
}

.access-denied-badge-line {
    fill: none;
    stroke: #a1a5b7;
    stroke-width: 8;
    stroke-linecap: round;
}


/* =========================================================
   Accordions
   ========================================================= */

.accordion-button {
    color: #000000 !important;
    background-color: #e5e5e5 !important;
    --bs-accordion-active-color: var(--brand-primary) !important;
}

.accordion-item {
    margin-bottom: 1rem;
}

.accordion-button,
.accordion-item,
.accordion-collapse {
    border-radius: 0 !important;
}


/* =========================================================
   Cards / Lists
   ========================================================= */

.card-clickable {
    cursor: pointer;
}

.card-hover-bg {
    transition: background-color .15s ease;
}

    .card-hover-bg:hover {
        background-color: var(--brand-primary-soft);
    }

.card-border {
    border-color: #bebebe !important;
}

.card-divider {
    border-top: 1px solid #D3D3D3;
}

.card .card-header {
    min-height: 60px !important;
}


/* =========================================================
   Job List
   ========================================================= */

.job-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: .75rem;
}

@media (min-width: 1400px) {
    .job-summary-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.job-summary-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 52px;
    padding: .7rem 1rem .7rem 1.15rem;
    border: 1px solid #d3d3d3;
    border-left-width: 1px;
    border-radius: 6px;
    background-color: #fff;
    color: #181c32;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

    .job-summary-button:hover,
    .job-summary-button:focus,
    .job-summary-button.active {
        color: #181c32;
        text-decoration: none;
    }

    .job-summary-button.active {
        background-color: #3f4254;
        border-color: #3f4254;
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(24, 28, 50, 0.08);
    }

    .job-summary-button:hover,
    .job-summary-button:focus {
        background-color: #f1f3f8;
        border-color: #bfc5d2;
    }

    .job-summary-button.active:hover,
    .job-summary-button.active:focus {
        background-color: #3f4254;
        border-color: #3f4254;
        color: #ffffff;
    }

    .job-summary-button span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 2.2rem;
        height: 2.2rem;
        padding: 0 .55rem;
        border-radius: 999px;
        background-color: #f1f3f8;
        color: #181c32;
        font-size: 1.05rem;
        line-height: 1;
        font-weight: 700;
        flex-shrink: 0;
    }

    .job-summary-button strong {
        display: block;
        margin-left: auto;
        color: #5e6278;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: right;
        text-transform: uppercase;
    }

    .job-summary-button.active strong,
    .job-summary-button.active span {
        color: #ffffff;
    }

    .job-summary-button.active span {
        background-color: rgba(255, 255, 255, 0.14);
    }


/* =========================================================
   Dashboard
   ========================================================= */

.dashboard-stat-card {
    min-height: 125px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #3f4254;
    background-color: #3f4254;
    color: #ffffff;
    transition: transform .15s ease, box-shadow .15s ease;
}

    a.dashboard-stat-card:hover,
    a.dashboard-stat-card:focus {
        background-color: #303240;
        border-color: #303240;
        color: #ffffff;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    }

.dashboard-stat-value {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
}

.dashboard-stat-label {
    margin-top: .5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-stat-icon {
    font-size: 3.25rem;
    opacity: .42;
}

.dashboard-stat-neutral {
    background-color: #3f4254;
    border-color: #3f4254;
    color: #ffffff;
}

.dashboard-stat-success .dashboard-stat-value,
.dashboard-stat-success .dashboard-stat-label {
    color: #50CD89 !important;
}

.dashboard-list-item {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr) 230px;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    color: inherit;
    transition: background-color .15s ease, border-color .15s ease;
}

    .dashboard-list-item:hover,
    .dashboard-list-item:focus {
        background-color: #f8f9fc;
        border-color: #bfc5d2;
    }

.dashboard-attention-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.dashboard-attention-job {
    min-width: 0;
}

.dashboard-attention-meta {
    min-width: 0;
}

.dashboard-attention-date {
    white-space: nowrap;
}

.dashboard-status-count {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
}

a.dashboard-status-count {
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}

a.dashboard-status-count:hover {
    background-color: #f5f8fa;
    border-color: #b5b5c3;
}

.toast-application-saved {
    min-width: 340px;
    background-color: #7239ea;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(24, 28, 50, 0.2);
}

.toast-application-saved .toast-body {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.toast-application-saved .toast-body i {
    font-size: 1.2rem;
}

.credit-payment-trigger {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 1;
}

.dashboard-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dashboard-mini-stat {
    min-height: 112px;
    padding: 1.25rem;
    border: 1px solid #d3d3d3;
    border-left-width: 5px;
    border-radius: 6px;
    background-color: #fff;
}

.dashboard-mini-stat-value {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 700;
    color: #181c32;
}

.dashboard-mini-stat-label {
    margin-top: .6rem;
    color: #5e6278;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-mini-stat-success {
    border-left-color: #50CD89;
}

.dashboard-mini-stat-primary {
    border-left-color: #00B2FF;
}

.dashboard-mini-stat-warning {
    border-left-color: #FFC700;
}

.dashboard-mini-stat-info {
    border-left-color: #7239EA;
}

.dashboard-activity-bar {
    width: 100%;
    min-width: 120px;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background-color: #e9ecef;
}

    .dashboard-activity-bar div {
        height: 100%;
        border-radius: inherit;
        background-color: #00B2FF;
    }


/* =========================================================
   Users
   ========================================================= */

.user-branch-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem 1.25rem;
}

.user-branch-grid .form-check-label {
    color: #181c32;
}

@media (max-width: 991.98px) {
    .user-branch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .user-branch-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Settings
   ========================================================= */

.settings-tile {
    min-height: 150px;
    display: block;
    padding: 1.5rem;
    border: 1px solid #d3d3d3;
    border-radius: 6px;
    background-color: #fff;
    transition: background-color .15s ease, border-color .15s ease;
}

    .settings-tile:hover,
    .settings-tile:focus {
        background-color: #f8f9fc;
        border-color: #bfc5d2;
    }


/* =========================================================
   Tables
   ========================================================= */

.table-responsive {
    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   Off canvas
   ========================================================= */

.offcanvas-close-plain {
    width: 34px;
    height: 34px !important;
    padding: 0 !important;
    line-height: 1 !important;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: -4px;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--bs-gray-700);
    transition: background-color .15s ease, color .15s ease;
}

    .offcanvas-close-plain:hover,
    .offcanvas-close-plain:focus {
        background-color: #f1f1f2;
        color: var(--brand-primary);
    }


.job-list-meta {
    flex-shrink: 0;
}

.job-list-status {
    width: 150px;
}

.job-list-date {
    width: 180px;
}

.badge {
    --bs-badge-font-size: 1.2rem;
}

.dropify-wrapper .dropify-message p {
    font-size: 1.5rem !important;
}

.modal {
    --bs-modal-header-padding: 1rem 1.75rem !important;
}


/* =========================================================
   Application
   ========================================================= */

.application-group-title {
    padding: 0.85rem 1.1rem;
    border-radius: 6px;
    background: #3f4254;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0;
    text-transform: uppercase;
    text-align: left;
}

.application-group-title.pending {
    background: #F16D05;
}

.application-group-title.shortlist {
    background: #198754;
}

.application-group-title.interview {
    background: #6F5AA8;
}

.application-board {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}

.application-board-admin .application-board-column {
    flex: 1 1 0;
    min-width: 0;
}

.application-board-scroll {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding-bottom: 0.75rem;
}

.application-board-slider {
    display: block;
}

.application-board-slider .application-board-scroll {
    min-width: 0;
}

.application-board-client {
    min-width: 100%;
}

.application-board-client .application-board-column {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
}

.application-board-column {
    display: flex;
    flex-direction: column;
    min-height: 62vh;
}

.application-board-column-body {
    flex: 1;
    padding-top: 1rem;
}

.application-board-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-board-button {
    align-items: center;
    border: 1px solid #B5B5C3 !important;
    color: #181C32 !important;
    display: inline-flex;
    justify-content: center;
    min-width: 3.25rem !important;
    height: 3.25rem;
    padding: 0 !important;
}

#application_board_previous,
#application_board_next {
    position: fixed;
    top: 50%;
    z-index: 95;
    transform: translateY(-50%);
}

#application_board_previous {
    left: max(1rem, calc((100vw - 1280px) / 2 - 3.75rem));
}

#application_board_next {
    right: max(1rem, calc((100vw - 1280px) / 2 - 3.75rem));
}

.application-board-button i {
    display: block;
    font-size: 1.3rem;
    line-height: 1;
    transform: translateX(2px);
    -webkit-text-stroke: 0.35px currentColor;
}

.application-board-button:disabled {
    opacity: 1;
    pointer-events: none;
}

.application-group-count {
    min-width: 2.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    text-align: center;
    line-height: 1;
}

.application-review-card {
    cursor: pointer;
    min-width: 0;
}

.application-review-card {
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

    .application-review-card:hover,
    .application-review-card:focus-visible {
        background-color: #f8f9fc;
        border-color: #d7dbe7;
    }

    .application-review-card:focus-visible {
        outline: none;
    }

.application-email-sent-icon {
    bottom: 1rem;
    color: #00B2FF;
    position: absolute;
    right: 1rem;
}

.application-card-edit {
    width: 3.15rem !important;
    min-width: 3.15rem !important;
    height: 3.15rem !important;
    padding: 0 !important;
    position: relative;
    line-height: 1 !important;
    background-color: #3f4254 !important;
    border-color: #3f4254 !important;
    color: #ffffff !important;
}

.application-card-edit:hover,
.application-card-edit:focus {
    background-color: #303240 !important;
    border-color: #303240 !important;
    color: #ffffff !important;
}

.application-card-edit i {
    color: #ffffff !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 2px), -50%);
    line-height: 1 !important;
    margin: 0 !important;
}

.dropdown-menu.application-manage-menu .dropdown-item {
    font-size: 1.3rem !important;
    line-height: 1.5 !important;
    padding: 0.75rem 1.25rem;
}

.application-manage-menu-item {
    font-size: 14px !important;
}

.application-client-status-group {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.application-client-status-group .btn {
    align-items: center;
    border-radius: 0 !important;
    display: flex;
    justify-content: center;
    margin-left: -1px !important;
    margin-top: -1px !important;
    min-height: 58px;
    min-width: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    white-space: nowrap;
    width: 100%;
}

.application-client-status-group .btn:nth-child(-n+3) {
    margin-top: 0 !important;
}

.application-client-status-group .btn:nth-child(3n+1) {
    margin-left: 0 !important;
}

.application-client-status-group .btn:first-child {
    border-top-left-radius: 8px !important;
}

.application-client-status-group .btn:nth-child(3) {
    border-top-right-radius: 8px !important;
}

.application-client-status-group .btn:nth-child(4) {
    border-bottom-left-radius: 8px !important;
}

.application-client-status-group .btn:last-child {
    border-bottom-right-radius: 8px !important;
}

@media (max-width: 575.98px) {
    .application-board-button {
        min-width: 2.5rem !important;
        height: 2.5rem;
    }

    .application-board {
        gap: 0.85rem;
    }

    .application-board-admin {
        overflow-x: auto;
    }

    .application-board-admin .application-board-column,
    .application-board-client .application-board-column {
        flex-basis: 88vw;
    }

    .application-board-column {
        min-height: 55vh;
    }

    .application-client-status-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .application-client-status-group .btn {
        margin-left: -1px !important;
        margin-top: -1px !important;
    }

    .application-client-status-group .btn:nth-child(-n+2) {
        margin-top: 0 !important;
    }

    .application-client-status-group .btn:nth-child(2n+1) {
        margin-left: 0 !important;
    }

    .application-client-status-group .btn:first-child {
        border-top-left-radius: 8px !important;
    }

    .application-client-status-group .btn:nth-child(2) {
        border-top-right-radius: 8px !important;
    }

    .application-client-status-group .btn:nth-child(3),
    .application-client-status-group .btn:nth-child(4),
    .application-client-status-group .btn:nth-child(5) {
        border-radius: 0 !important;
    }

    .application-client-status-group .btn:nth-child(5) {
        border-bottom-left-radius: 8px !important;
    }

    .application-client-status-group .btn:last-child {
        border-bottom-right-radius: 8px !important;
    }
}

@media (max-width: 767.98px) {
    .application-board-slider .application-board-button {
        min-width: 2.5rem !important;
        height: 2.5rem;
    }

    .application-board-slider .application-board-client .application-board-column {
        flex-basis: 100%;
    }
}

.text-application-shortlist {
    color: #F16D05 !important;
}

.border-application-shortlist {
    border-color: #F16D05 !important;
}

.badge-application-shortlist {
    background-color: rgba(241, 109, 5, 0.33);
    color: #9f6200;
}

.text-application-interview {
    color: #7239EA !important;
}

.border-application-interview {
    border-color: #7239EA !important;
}

.badge-application-interview {
    background-color: rgba(114, 57, 234, 0.14);
    color: #7239EA;
}

.application-interview-date-box {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(25, 135, 84, 0.28);
    border-radius: 8px;
    background-color: rgba(25, 135, 84, 0.12);
    color: #146c43;
    font-weight: 700;
}

.btn-check:checked + .btn-review-pending,
.btn-review-pending.active {
    background-color: rgba(255, 193, 7, 0.16) !important;
    border-color: rgba(255, 193, 7, 0.35) !important;
    color: #8a6400 !important;
}

.btn-check:checked + .btn-review-approved,
.btn-review-approved.active,
.btn-check:checked + .btn-review-appointed,
.btn-review-appointed.active {
    background-color: rgba(25, 135, 84, 0.14) !important;
    border-color: rgba(25, 135, 84, 0.28) !important;
    color: #146c43 !important;
}

.btn-check:checked + .btn-review-reject,
.btn-review-reject.active {
    background-color: rgba(220, 53, 69, 0.14) !important;
    border-color: rgba(220, 53, 69, 0.28) !important;
    color: #b42333 !important;
}

.btn-check:checked + .btn-review-interview,
.btn-review-interview.active {
    background-color: rgba(114, 57, 234, 0.14) !important;
    border-color: rgba(114, 57, 234, 0.28) !important;
    color: #7239EA !important;
}

.btn-check:checked + .btn-review-shortlist,
.btn-review-shortlist.active {
    background-color: rgba(241, 109, 5, 0.33) !important;
    border-color: rgba(241, 109, 5, 0.52) !important;
    color: #9f6200 !important;
}

.btn-check:checked + .btn-review-offered,
.btn-review-offered.active {
    background-color: rgba(13, 110, 253, 0.14) !important;
    border-color: rgba(13, 110, 253, 0.28) !important;
    color: #0b5ed7 !important;
}


/* =========================================================
   Application - Score
   ========================================================= */

#review_score {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 1.4rem;
    background: transparent;
    cursor: pointer;
}

    #review_score:focus {
        outline: none;
    }

    #review_score::-webkit-slider-runnable-track {
        height: 0.5rem;
        background: #ffe69c;
        border-radius: 999px;
    }

    #review_score::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 1.7rem;
        height: 1.7rem;
        margin-top: -0.6rem;
        border-radius: 50%;
        background: #808080;
        border: 2px solid #fff;
        box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.35);
    }

    #review_score::-moz-range-track {
        height: 0.5rem;
        background: #ffe69c;
        border-radius: 999px;
    }

    #review_score::-moz-range-thumb {
        width: 1.7rem;
        height: 1.7rem;
        border: 2px solid #fff;
        border-radius: 50%;
        background: #808080;
        box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.35);
    }

    #review_score::-moz-range-progress {
        height: 0.5rem;
        background: #ffc107;
        border-radius: 999px;
    }

.application-score-badge {
    min-width: 5.75rem;
    padding: 0.5rem 0.8rem;
    font-size: 1.05rem !important;
    line-height: 1.1;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}






/* =========================================================
   Responsive: Tablet / Small Desktop
   ========================================================= */

@media (max-width: 991.98px) {
    .header-fixed .page {
        padding-top: 0;
    }

    .header,
    .toolbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .content {
        padding: 15px 0 !important;
    }

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .header .container-lg {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .mb-5 {
        margin-bottom: 0.75rem !important;
    }

    .job-list-status,
    .job-list-date {
        width: auto;
    }
}


/* =========================================================
   Responsive: Mobile
   ========================================================= */

@media (max-width: 576px) {
    body {
        line-height: 1.4;
    }

    h1,
    h2,
    h3 {
        line-height: 1.1 !important;
    }

    h1 {
        font-size: 1.4rem !important;
    }

    h2 {
        font-size: 1.2rem !important;
    }

    h3 {
        font-size: 1.05rem !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .form-control-lg {
        padding: 0.5rem 0.75rem !important;
        font-size: 1.1rem !important;
    }

    .form-label,
    .fs-6 {
        font-size: 1.1rem !important;
        line-height: 1.2 !important;
    }

    .form-control,
    .form-select {
        font-size: 1.1rem !important;
    }

    .btn {
        padding: 0.48rem 0.9rem !important;
        font-size: 1rem !important;
    }

    .menu-sub-dropdown {
        width: calc(100vw - 2rem) !important;
        max-width: calc(100vw - 2rem) !important;
    }

        .menu-sub-dropdown .row a {
            padding-top: 2rem !important;
            padding-bottom: 2rem !important;
        }

    .btn-responsive-icon {
        min-width: 42px;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

        .btn-responsive-icon .btn-text {
            display: none;
        }

        .btn-responsive-icon .btn-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

    .list-card-title {
        font-size: 1.35rem !important;
    }

    .header-brand {
        font-size: 1.35rem;
    }

    .empty-state {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 2rem 1.25rem !important;
        text-align: center;
    }

    .empty-state-copy h2 {
        font-size: 2.2rem;
    }

    .empty-state-copy p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .empty-state-art {
        max-width: 340px;
        margin-right: auto;
    }

    .access-denied-state {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 2rem 1.25rem !important;
        text-align: center;
    }

    .access-denied-copy h2 {
        font-size: 2.2rem;
    }

    .access-denied-copy p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .access-denied-art {
        max-width: 340px;
        margin-right: auto;
    }
}
