﻿.btn {
    min-width: 80px;
    font-size: var(--font-size);
}

.btn-primary,
.btn-primary.active,
.btn-primary:focus,
.btn-check:checked + .btn-primary {
    color: #ac8100;
    background-color: var(--background-primary);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    opacity: 0.5 !important;
    color: #ac8100;
    background-color: var(--background-primary);
    border-color: var(--primary-dark);
}

.btn-secondary,
.btn-secondary.active,
.btn-secondary:focus,
.btn-check:checked + .btn-secondary {
    color: #fff;
    background-color: #c3c3c3;
    border-color: #a5a5a5;
    font-size: var(--font-size-small);
}

.btn-outline-primary,
.btn-outline-primary:focus {
    color: var(--primary-color);
    border-color: var(--primary-dark);
    font-size: var(--font-size-small);
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--primary-color);
    border-color: var(--primary-dark);
    opacity: 0.5 !important;
}

.btn-outline-secondary,
.btn-outline-secondary:focus {
    border-color: #a5a5a5;
    font-size: var(--font-size-small);
}

.btn-outline-secondary:hover {
    opacity: 0.5 !important;
    color: #000 !important;
    background-color: transparent !important;
}

.accordion-button::after {
    position: absolute;
    right: 0;
}

.text-warning {
    color: #ff9c07;
}

.text-primary-dark {
    color: var(--primary-dark) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.alert-warning {
    color: #fff;
    background-color: #ff9c07;
    border-color: #c77803;
}

.alert-link {
    font-weight: 400;
    font-style: italic;
}

.btn-primary:disabled {
    background-color: #d5d5d5;
    border-color: #b1b1b1;
    opacity: 0.5;
}

.btn-light {
    border: 1px solid var(--border-color);
    color: var(--black);
    background-color: #f3f3f3 !important;
    border-color: #b7b4b4 !important;
}

.btn-danger {
    background-color: #fbe7e7 !important;
    border: 1px solid #9c5b5b !important;
    color: #9c5b5b !important;
}

.btn-success {
    background-color: #e7fbeb !important;
    border: 1px solid #5b9c68 !important;
    color: #5b9c68 !important;
}

.bg-danger {
    background-color: #fbe7e7 !important;
    border: 1px solid #9c5b5b !important;
}

.bg-warning {
    background-color: #ffe085 !important;
    border: 1px solid #b78d13 !important;
}

.bg-success {
    background-color: #e7fbeb !important;
    border: 1px solid #5b9c68 !important;
}

.bg-secondary {
    background-color: #c1c1c1 !important;
    border: 1px solid #424242 !important
}

.badge {
    line-height: 1.5 !important;
    font-weight: 400 !important;
    cursor: pointer;
    font-size: 9px;
}

.offcanvas-bottom {
    height: auto;
    max-height: 75vh;
}

.offcanvas-end {
    width: auto;
    max-width: 90vw;
}

.form-control {
    font-size: var(--font-size-small);
}

.card {
    word-wrap: break-word;
    background-clip: border-box;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: .15rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
    position: relative;
    box-shadow: 0 0 2rem 0 rgb(41 48 66 / 5%);
    margin-bottom: 24px;
}

.card-header {
    border-bottom-width: 1px;
    background-color: #fff;
    border-bottom: 0 solid transparent;
    margin-bottom: 0;
    padding: 1rem 1.25rem;
}

.card-body {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 0;
    padding-bottom: 25px;
}

.card-title {
    color: var(--black);
    font-size: .95rem;
    font-weight: 500;
    opacity: 0.75;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: #f4f7f9;
    --bs-table-striped-bg: #f4f7f9;
    --bs-table-active-color: #6c757d;
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: #6c757d;
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    border-color: #dee6ed;
    color: var(--black);
    margin-bottom: 1rem;
    vertical-align: top;
    width: 100%;
    border-collapse: collapse;
    caption-side: bottom;
}

.table > tbody > tr:last-child, .table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.table tbody, .table td, .table tfoot, .table th, .table thead, .table tr {
    border-color: #dee6ed;
}

.table > thead > tr > th {
    padding: 0.75rem 1rem;
    font-weight: 400;
    border-color: #dee6ed;
}

.table-bordered {
    border: 1px solid #dee6ed;
}

.table-striped > tbody > tr.odd {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: #6c757d;
}

.table-striped > tbody > tr:nth-of-type(even) {
    color: #6c757d;
}

.list-group-horizontal > .list-group-item {
    border-radius: 0 !important;
}

.list-group-item {
    background-color: #fff;
    color: var(--black);
    font-size: var(--font-size-small);
    border: 0;
}

.list-group-item.active {
    background-color: #fff;
    color: var(--black);
    font-size: var(--font-size-small);
    border-bottom: 2px solid var(--primary-color) !important;
}

.form-control,
.form-select {
    border: 1px solid #dadfe2;
    border-radius: 5px;
    box-shadow: inset 0 4px 7px 0 rgb(0 0 0 / 3%);
    cursor: pointer;
    height: auto;
    font-size: var(--font-size-small);
}

.e-input-group .e-input-group-icon, .e-input-group.e-control-wrapper .e-input-group-icon {
    min-height: auto !important;
}

.input-group-text {
    font-size: 12px;
    color: #6c6b6b;
    border: 1px solid #dadfe2;
    background: transparent;
}
