:root,
[data-bs-theme="light"],
[data-bs-theme="dark"] {
    --bs-blue: #52778c;
    --bs-primary: #52778c;
    --bs-primary-rgb: 82, 119, 140;
}

[data-bs-theme="dark"] {
    --bs-link-color: #9ab9ca;
    --bs-link-color-rgb: 154, 185, 202;
    --bs-link-hover-color: #c5dbe4;
    --bs-link-hover-color-rgb: 197, 219, 228;
}

:root .theme-primary,
:root .theme-blue {
    --bs-theme: #52778c !important;
    --bs-theme-rgb: 82, 119, 140 !important;
}

.btn-primary {
    --bs-btn-bg: #496d82;
    --bs-btn-border-color: #496d82;
    --bs-btn-hover-bg: #3e6073;
    --bs-btn-hover-border-color: #3e6073;
    --bs-btn-active-bg: #355568;
    --bs-btn-active-border-color: #355568;
    --bs-btn-disabled-bg: #496d82;
    --bs-btn-disabled-border-color: #496d82;
    --bs-btn-focus-shadow-rgb: 108, 145, 165;
}

.login .btn-outline-theme {
    --bs-btn-color: #a5c2d0;
    --bs-btn-border-color: #638597;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #496d82;
    --bs-btn-hover-border-color: #638597;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #3e6073;
    --bs-btn-active-border-color: #638597;
    --bs-btn-focus-shadow-rgb: 108, 145, 165;
}

.company-dashboard-theme[data-bs-theme="dark"] {
    --bs-body-bg: #101820;
    --bs-body-bg-rgb: 16, 24, 32;
    --bs-app-header-bg: #131e27;
    --bs-app-sidebar-mobile-bg: #131e27;
    color-scheme: dark;
}

.company-dashboard-theme[data-bs-theme="dark"] .app,
.company-dashboard-theme[data-bs-theme="dark"] .app-sidebar {
    background-color: #101820;
}

.company-dashboard-theme .app-header .brand {
    gap: .65rem;
}

.company-dashboard-theme .app-header .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-brand-logo {
    display: block;
    width: clamp(4.25rem, 10vw, 6.2rem);
    height: auto;
    max-height: 2.2rem;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
}
.company-brand-dark,
[data-bs-theme="dark"] .company-brand-light { display: none; }
[data-bs-theme="dark"] .company-brand-dark { display: block; }

.company-map-area-pin {
    min-width: 2rem;
    min-height: 2rem;
    border: 2px dashed #52778c;
    color: #253c4b;
    font-weight: 700;
}

.company-brand-initial {
    display: inline-grid;
    place-items: center;
    flex: 0 0 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid #789caf;
    border-radius: 50%;
    background: #203746;
    color: #d3e8f4;
    font-size: .95rem;
    font-weight: 700;
}
