/* Kosh Realty Brand Theme (theme-6)
 * Primary: Deep Forest Green #063B2E
 * Secondary: Luxury Gold #C9A227
 * Dark: Charcoal #111827
 * Light Background: #F8F7F3
 * White: #FFFFFF
 */

body.theme-6 {
    --kosh-primary: #063B2E;
    --kosh-primary-hover: #0A5240;
    --kosh-primary-active: #042A21;
    --kosh-secondary: #C9A227;
    --kosh-secondary-hover: #B8911F;
    --kosh-dark: #111827;
    --kosh-light: #F8F7F3;
    --kosh-white: #FFFFFF;
    --kosh-primary-soft: #D9E8E2;
    --kosh-primary-rgb: 6, 59, 46;
    --kosh-secondary-rgb: 201, 162, 39;

    --bs-blue: #063B2E;
    --bs-primary: #063B2E;
    --bs-secondary: #C9A227;
    --bs-dark: #111827;
    --bs-white: #FFFFFF;
    --bs-body-bg: #F8F7F3;
    --bs-blue-hover: #0A5240;
    --bs-blue-border: #0A5240;
    --bs-blue-hover-border: #042A21;
    --bs-gradient-main: linear-gradient(141.55deg, rgba(201, 162, 39, 0.35) 3.46%, #063B2E 99.86%), #063B2E;

    background: linear-gradient(141.55deg, rgba(6, 59, 46, 0) 3.46%, #F8F7F3 99.86%);
    color: #111827;
}

body.theme-6 .bg-primary {
    background: linear-gradient(141.55deg, rgba(201, 162, 39, 0.35) 3.46%, #063B2E 99.86%), #063B2E !important;
}

body.theme-6 .bg-secondary {
    background-color: #C9A227 !important;
}

body.theme-6 .text-secondary {
    color: #C9A227 !important;
}

body.theme-6 .dash-header .drp-language .drp-text,
body.theme-6 .dash-header .dash-head-link>i:not(.nocolor) {
    color: #063B2E;
}

body.theme-6 .dash-header .drp-company .theme-avtar {
    background: #D9E8E2;
    color: #063B2E;
}

body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item.active>.dash-link,
body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item:active>.dash-link,
body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item:focus>.dash-link,
body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item:hover>.dash-link,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item.active>.dash-link,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item:active>.dash-link,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item:focus>.dash-link,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item:hover>.dash-link {
    background: linear-gradient(141.55deg, rgba(201, 162, 39, 0.35) 3.46%, #063B2E 99.86%), #063B2E;
    color: #FFFFFF;
    box-shadow: 0 5px 7px -1px rgba(6, 59, 46, 0.28);
}

body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item.active>.dash-link i,
body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item:active>.dash-link i,
body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item:focus>.dash-link i,
body.theme-6 .dash-sidebar.light-sidebar .dash-navbar>.dash-item:hover>.dash-link i,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item.active>.dash-link i,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item:active>.dash-link i,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item:focus>.dash-link i,
body.theme-6 .dash-sidebar .dash-navbar>.dash-item:hover>.dash-link i {
    color: #C9A227;
}

body.theme-6 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item::before,
body.theme-6 .dash-sidebar .dash-item .dash-submenu .dash-item::before {
    border-right-color: #063B2E;
}

body.theme-6 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item.active>.dash-link,
body.theme-6 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:active>.dash-link,
body.theme-6 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:focus>.dash-link,
body.theme-6 .dash-sidebar.light-sidebar .dash-item .dash-submenu .dash-item:hover>.dash-link,
body.theme-6 .dash-sidebar .dash-item .dash-submenu .dash-item.active>.dash-link,
body.theme-6 .dash-sidebar .dash-item .dash-submenu .dash-item:active>.dash-link,
body.theme-6 .dash-sidebar .dash-item .dash-submenu .dash-item:focus>.dash-link,
body.theme-6 .dash-sidebar .dash-item .dash-submenu .dash-item:hover>.dash-link {
    color: #063B2E;
}

body.theme-6 a:not([class]),
body.theme-6 a:not([class]):hover {
    color: #063B2E;
}

body.theme-6 .text-primary {
    color: #063B2E !important;
}

body.theme-6 .list-group-item.active {
    background: linear-gradient(141.55deg, rgba(201, 162, 39, 0.35) 3.46%, #063B2E 99.86%), #063B2E !important;
    border-color: #063B2E;
}

body.theme-6 .progress-bar:not([class*="bg-"]),
body.theme-6 .btn-primary {
    color: #FFFFFF;
    background-color: #063B2E;
    border-color: #063B2E;
}

body.theme-6 .progress-bar:not([class*="bg-"]):hover,
body.theme-6 .btn-primary:hover,
.btn-check:focus+body.theme-6 .btn-primary,
body.theme-6 .btn-primary:focus {
    color: #FFFFFF;
    background-color: #0A5240;
    border-color: #0A5240;
}

.btn-check:checked+body.theme-6 .btn-primary,
.btn-check:active+body.theme-6 .btn-primary,
body.theme-6 .btn-primary:active,
body.theme-6 .btn-primary.active,
.show>body.theme-6 .btn-primary.dropdown-toggle {
    color: #FFFFFF;
    background-color: #042A21;
    border-color: #042A21;
}

body.theme-6 .btn-primary:disabled,
body.theme-6 .btn-primary.disabled {
    color: #FFFFFF;
    background-color: #063B2E;
    border-color: #063B2E;
}

body.theme-6 .btn-outline-primary {
    color: #063B2E;
    border-color: #063B2E;
}

body.theme-6 .btn-outline-primary:hover,
.btn-check:checked+body.theme-6 .btn-outline-primary,
.btn-check:active+body.theme-6 .btn-outline-primary,
body.theme-6 .btn-outline-primary:active,
body.theme-6 .btn-outline-primary.active {
    color: #FFFFFF;
    background-color: #063B2E;
    border-color: #063B2E;
}

.btn-check:focus+body.theme-6 .btn-outline-primary,
body.theme-6 .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(6, 59, 46, 0.35);
}

body.theme-6 .btn-secondary,
body.theme-6 .btn-warning {
    color: #111827;
    background-color: #C9A227;
    border-color: #C9A227;
}

body.theme-6 .btn-secondary:hover,
body.theme-6 .btn-warning:hover {
    color: #111827;
    background-color: #B8911F;
    border-color: #B8911F;
}

body.theme-6 .btn-light-primary {
    background: #D9E8E2;
    color: #063B2E;
    border-color: #D9E8E2;
}

body.theme-6 .btn-light-primary:hover,
body.theme-6 .btn-light-primary.focus,
body.theme-6 .btn-light-primary:focus,
body.theme-6 .btn-light-primary:not(:disabled):not(.disabled).active,
body.theme-6 .btn-light-primary:not(:disabled):not(.disabled):active,
.show>body.theme-6 .btn-light-primary.dropdown-toggle {
    background: #063B2E;
    color: #FFFFFF;
    border-color: #063B2E;
}

body.theme-6 .alert-primary {
    color: #042A21;
    background-color: #D9E8E2;
    border-color: #B8D4C9;
}

body.theme-6 .badge.bg-light-primary {
    background: #D9E8E2;
    color: #063B2E;
    border-color: #D9E8E2;
}

body.theme-6 .page-item.active .page-link {
    background: #063B2E;
    border-color: #063B2E;
}

body.theme-6 .nav-link,
body.theme-6 .nav-link:hover,
body.theme-6 .nav-link:focus {
    color: #063B2E;
}

body.theme-6 .nav-pills .nav-link:focus,
body.theme-6 .nav-pills .nav-link.active,
body.theme-6 .nav-pills .show>.nav-link {
    color: #FFFFFF;
    background: linear-gradient(141.55deg, rgba(201, 162, 39, 0.35) 3.46%, #063B2E 99.86%), #063B2E;
}

body.theme-6 .form-check-input:focus,
body.theme-6 .form-select:focus,
body.theme-6 .form-control:focus,
body.theme-6 .custom-select:focus,
body.theme-6 .dataTable-selector:focus,
body.theme-6 .dataTable-input:focus {
    border-color: #063B2E;
    box-shadow: 0 0 0 0.2rem rgba(6, 59, 46, 0.22);
}

body.theme-6 .form-check-input:checked,
body.theme-6 .form-check-input[type="checkbox"]:indeterminate,
body.theme-6 .form-check .form-check-input.input-primary:checked {
    background-color: #063B2E;
    border-color: #063B2E;
}

body.theme-6 .form-range::-webkit-slider-thumb,
body.theme-6 .form-range::-webkit-slider-thumb:active,
body.theme-6 .form-range::-moz-range-thumb,
body.theme-6 .form-range::-moz-range-thumb:active {
    background: #063B2E;
}

body.theme-6 pre[class*="language-"]>code {
    border-left-color: #063B2E;
    background-image: linear-gradient(transparent 50%, rgba(6, 59, 46, 0.04) 50%);
}

body.theme-6 .card {
    background-color: #FFFFFF;
}

body.theme-6 .card .card-header h5:after,
body.theme-6 .card .card-header .h5:after {
    background: #C9A227;
}

body.theme-6 .dash-sidebar:not(.light-sidebar) {
    background: #111827;
}

body.theme-6 .page-content {
    background-color: transparent;
}

/* Settings swatch preview helper */
.kosh-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.kosh-palette span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #111827;
}

.kosh-palette i {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(17, 24, 39, 0.15);
    display: inline-block;
}
