/* Live Trader accent: the "Ember" orange of the desktop Bento theme in place of Bootstrap's blue
   primary. Only the publish_lt branch (admin.live-trader.ru) links this file from index.html; the
   ATAS panel on master keeps the Bootstrap colours. Bootstrap 5.1 paints buttons, inputs and
   pagination with literal colours, so they are overridden one by one; the utilities (.text-primary,
   .bg-primary) follow --bs-primary-rgb. */

:root {
    --bs-primary: #D2652B;
    --bs-primary-rgb: 210, 101, 43;
}

a, .btn-link {
    color: #D2652B;
}

a:hover, .btn-link:hover {
    color: #B95926;
}

.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #D2652B;
    border-color: #D2652B;
    color: #fff;
}

.btn-primary:hover,
.btn-check:focus + .btn-primary,
.btn-primary:focus {
    background-color: #D66E36;
    border-color: #D66E36;
    color: #fff;
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: #B95926;
    border-color: #B95926;
    color: #fff;
}

.btn-outline-primary {
    border-color: #D2652B;
    color: #D2652B;
}

.btn-outline-primary:hover,
.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: #D2652B;
    border-color: #D2652B;
    color: #fff;
}

.btn-primary:focus,
.btn-check:focus + .btn-primary,
.btn-outline-primary:focus,
.btn-check:focus + .btn-outline-primary,
.page-link:focus,
.form-check-input:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(210, 101, 43, 0.4);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #DC926A;
}

.form-check-input:checked {
    background-color: #D2652B;
    border-color: #D2652B;
}

.border-primary {
    border-color: #D2652B !important;
}

.page-link,
.page-link:hover,
.page-link:focus {
    color: #D2652B;
}

.page-item.active .page-link {
    background-color: #D2652B;
    border-color: #D2652B;
    color: #fff;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link,
.dropdown-item.active,
.dropdown-item:active,
.list-group-item.active {
    background-color: #D2652B;
    border-color: #D2652B;
    color: #fff;
}

.progress-bar {
    background-color: #D2652B;
}

.callout {
    background-color: #FBEDE5;
    border-left-color: #D2652B;
}
