/* Backpack Theme Color Overrides - Dynamic per site via config */
:root {
    /* Primary color and variants - loaded dynamically from .env */
    --tblr-primary: #E69D3D;
    --tblr-primary-rgb: 230, 157, 61;
    --tblr-primary-fg: #ffffff;
    
    /* Button colors */
    --tblr-btn-bg: #E69D3D;
    --tblr-btn-color: #ffffff;
    
    /* Link colors */
    --tblr-link-color: #E69D3D;
    --tblr-link-color-rgb: 230, 157, 61;
    --tblr-link-hover-color: #B87D30;
    
    /* Active/Selected states */
    --tblr-active-bg: #E69D3D;
    --tblr-active-color: #ffffff;
    
    /* Focus states */
    --tblr-focus-ring-color: rgba(230, 157, 61, 0.25);
    
    /* Border and subtle variations */
    --tblr-primary-lt: #fdf4e6;
    --tblr-primary-darken: #B87D30;
    
    /* Form controls */
    --tblr-form-check-input-checked-bg-color: #E69D3D;
    --tblr-form-check-input-checked-border-color: #E69D3D;
}

/* Button primary overrides */
.btn-primary {
    background-color: #E69D3D !important;
    border-color: #E69D3D !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #B87D30 !important;
    border-color: #B87D30 !important;
    color: #ffffff !important;
}

/* Link overrides */
a:not(.btn) {
    color: #E69D3D;
}

a:not(.btn):hover {
    color: #B87D30;
}

/* Navigation active states */
.nav-link.active,
.nav-pills .nav-link.active {
    /*background-color: #E69D3D !important;
    color: #ffffff !important;*/
}

/* Badge primary */
.badge-primary {
    background-color: #E69D3D !important;
}

/* Alert primary */
.alert-primary {
    background-color: #fdf4e6;
    border-color: #E69D3D;
    color: #B87D30;
}

/* Form checks and switches */
.form-check-input:checked {
    background-color: #E69D3D;
    border-color: #E69D3D;
}

/* Pagination */
.page-link.active,
.page-item.active .page-link {
    background-color: #E69D3D;
    border-color: #E69D3D;
}

/* Progress bars */
.progress-bar {
    background-color: #E69D3D;
}

/* Sidebar/Menu active items (for vertical layouts) */
.nav-item.active > .nav-link,
.dropdown-item.active {
    background-color: #E69D3D !important;
    color: #ffffff !important;
}
