/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary: #243762;
    --primary-dark: color-mix(in srgb, var(--primary), #000 10%);
    --secondary: #c2b9d1;
    --secondary-color: #f9f9fb;
    --bg: #43267226;
    --page-bg: #f2f3f6;
    --primary-light: #9ac2ff;
}

p {
    color: var(--primary);
}
.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: var(--white);
}
.card h6 {
    color: var(--primary) !important;
}
main .card {
    border: 1px solid #271700 !important;
    border-radius: 0px !important;
}
.card:hover {
    box-shadow: none !important;
    border: 1px solid var(--primary) !important;
    border-radius: 0px !important;
}
.sidebar {
    background: var(--secondary-color) !important;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.85em;
    color: var(--primary-dark);
}
input[type="date"] {
    color: #000;
    background-color: var(--secondary-color) !important;
}
.modal-body {
    background: var(--secondary-color);
}
.btn-primary {
    --bs-btn-color: var(--white);
    --bs-btn-bg: var(--primary) !important;
    --bs-btn-border-color: var(--primary) !important;
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--primary) !important;
    --bs-btn-hover-border-color: var(--primary) !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: var(--white);
    --bs-btn-active-bg: var(--primary) !important;
    --bs-btn-active-border-color: var(--primary) !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--white);
    --bs-btn-disabled-bg: var(--primary) !important;
    --bs-btn-disabled-border-color: var(--primary) !important;
}

.gold-rate h2 {
    background: var(--primary);
    padding: 4px;
    font-size: 17px;
    width: auto;
    font-weight: 900;
    display: flex;
    align-items: center;
    line-height: 20px;
    color: var(--page-bg);
    padding-top: 5px;
    justify-content: center;
}

.gold-rate h5 {
    background: var(--page-bg);
    font-size: 18px;
    padding: 10px 4px;
    font-weight: 800;
}

.gold-rate h6 {
    font-size: 24px !important;
}

.circle {
    width: 6px;
    height: 6px;
    border-radius: 20px;
    box-shadow: 0px 0px 1px 1px #0000001a;
    position: absolute;
    right: 4px;
    top: 4px;
    background: var(--primary);
}
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px var(--primary);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
}

.pagination {
    --bs-pagination-bg: var(--page-bg) !important;

    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-pagination-active-color: var(--white);
    --bs-pagination-active-bg: var(--primary) !important;
    --bs-pagination-active-border-color: var(--primary) !important;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--page-bg);
}
.dashboard .sales-card .card-icon {
    color: var(--page-bg);
    background: var(--primary);
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.collection-amount,
.scheme-id,
.offcanvas {
    background: var(--page-bg);
}
.card h3.history-status.paid {
    background: #01c55b;
    color: #c0ffdd;
}
.card h3.history-status.unpaid {
    background: #ff4e4e;
    color: #ffb8b8;
}
.history-divider {
    width: 100%;
    border-top: 1px dashed var(--page-bg);
}

.qr-pay img {
    width: 20px;
}
a.qr-pay {
    background: #fff;
    height: 34px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 14px;
    border: 1px solid var(--primary);
}
.upi-id {
    display: flex;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 3px;
    cursor: pointer;
}
h3.upi-id {
    font-size: 22px;
    margin-top: 10px;
}
.form-select {
    height: 36px;
}
.form-control,
.form-select {
    background-color: var(--secondary-color);
}
h3#totalCustPaymentAmount {
    font-size: 22px;
}
main .card.board-rate-card {
    border-left: 4px solid var(--primary) !important;
}
.card-title span {
    color: var(--primary);
}
.dashboard .info-card h6 span,
h6.h6-title {
    font-size: 12px !important;
    color: var(--primary);
}

a.print.btn {
    border: 0px;
    font-size: 12px;
    background: var(--primary);
    color: #212529;
    border-radius: 20px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.print.btn:hover {
    background: var(--primary-dark);
}

.select2-container--default .select2-selection--single {
    background-color: transparent;
}
.form-control:disabled {
    background-color: var(--page-bg);
    opacity: 1;
}
