/* Onterris digital brand tokens (see internal brand guide). Loaded after Metronic base. */

:root {
    --onterris-deep-blue: #252d42;
    --onterris-deep-blue-rgb: 37 45 66;
    --onterris-pale-blue: #5d9cec;
    --onterris-text-blue: #5294eb;
    --onterris-white: #fdfcfc;
    --onterris-viz-orange-dark: #a04b2d;
    --onterris-viz-orange-light: #e6a06d;
}

body {
    font-family: "Inter", Arial, sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Inter Tight", "Inter", Arial, sans-serif;
    font-weight: 600;
}

/* Display / large supporting copy (brand: Inter Tight lighter weights) */
.onterris-display {
    font-family: "Inter Tight", "Inter", Arial, sans-serif;
    font-weight: 200;
    letter-spacing: 0.02em;
}

.onterris-display-light {
    font-family: "Inter Tight", "Inter", Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Primary actions: Pale Blue */
.btn-primary {
    --bs-btn-bg: var(--onterris-pale-blue);
    --bs-btn-border-color: var(--onterris-pale-blue);
    --bs-btn-hover-bg: #4a8ad8;
    --bs-btn-hover-border-color: #4a8ad8;
    --bs-btn-active-bg: #3f7ec9;
    --bs-btn-active-border-color: #3f7ec9;
    --bs-btn-disabled-bg: var(--onterris-pale-blue);
    --bs-btn-disabled-border-color: var(--onterris-pale-blue);
}

.btn-check:focus-visible + .btn-primary,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(93, 156, 236, 0.45);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--onterris-pale-blue);
    box-shadow: 0 0 0 0.2rem rgba(93, 156, 236, 0.25);
}

/* Text Blue for in-content links (light UI); excludes chrome/menus */
#kt_content_container .card a:not(.btn):not(.badge):not(.dropdown-item):not(.nav-link):not(.page-link),
#kt_content_container .table a:not(.btn):not(.badge),
#kt_content_container p a:not(.btn):not(.badge) {
    color: var(--onterris-text-blue);
}

#kt_content_container .card a:not(.btn):not(.badge):not(.dropdown-item):not(.nav-link):not(.page-link):hover,
#kt_content_container .table a:not(.btn):not(.badge):hover,
#kt_content_container p a:not(.btn):not(.badge):hover {
    color: var(--onterris-deep-blue);
}

.onterris-logo-negative {
    min-width: 75px;
    width: auto;
    height: auto;
    max-height: 64px;
}

.onterris-logo-positive {
    min-width: 75px;
    width: auto;
    height: auto;
    max-height: 220px;
}

/* Mobile / slim header strip: keep logo readable without dominating the bar */
.header-mobile .onterris-logo-positive {
    max-height: 68px;
}

/* Sidebar negative mark: min digital width; no compact max-height cap */
#new-page-aside .onterris-sidebar-logo {
    min-width: 115px;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}
