:root {
    --dc-deposit: #12a594;
    --dc-withdraw: #e0575f;
    --dc-sale: #4c7ef3;
    --dc-member: #7c6cf0;
    --dc-danger: #e0575f;
    --dc-warning: #e5a13a;
    --dc-vendor: #a855c7;
    --dc-leader: #e5a13a;
    --dc-muted: #6b7f95;
    --dc-track: rgba(107, 127, 149, .16);
}

#dashboard-cards .card {
    border-radius: 12px;
    border: 1px solid rgba(107, 127, 149, .22);
    height: 100%;
}

#dashboard-cards .card-body {
    padding: 1rem 1.15rem;
}

.dc-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: #6b7f95;
    margin-bottom: 6px;
}

.dc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex: none;
    background: var(--dc-muted);
}

.dc-dot-deposit { background: var(--dc-deposit); }
.dc-dot-withdraw { background: var(--dc-withdraw); }
.dc-dot-sale { background: var(--dc-sale); }
.dc-dot-member { background: var(--dc-member); }
.dc-dot-danger { background: var(--dc-danger); }
.dc-dot-warning { background: var(--dc-warning); }
.dc-dot-vendor { background: var(--dc-vendor); }
.dc-dot-leader { background: var(--dc-leader); }

.dc-num {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.dc-num-sm {
    font-size: 21px;
}

.dc-cur {
    font-size: 14px;
    color: #6b7f95;
    margin-left: 2px;
    font-weight: 400;
}

.dc-sub {
    font-size: 12px;
    color: #93a3b4;
    margin-top: 3px;
}

.dc-link {
    font-size: 12px;
    display: inline-block;
    margin-top: 10px;
}

.dc-split {
    display: flex;
    margin-top: 8px;
}

.dc-split > div {
    flex: 1;
    min-width: 0;
}

.dc-divider {
    width: 1px;
    background: var(--dc-track);
    margin: 0 12px;
    flex: none;
}

.dc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    padding: 3px 0;
}

.dc-row .dc-grow {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-tnum {
    font-variant-numeric: tabular-nums;
}

.dc-amount {
    color: #93a3b4;
    text-align: right;
    white-space: nowrap;
}

.dc-stack {
    height: 7px;
    border-radius: 4px;
    background: var(--dc-track);
    overflow: hidden;
    display: flex;
    margin: 10px 0 9px;
}

.dc-seg-pending { background: var(--dc-danger); }
.dc-seg-played { background: var(--dc-sale); }
.dc-seg-won { background: var(--dc-deposit); }
.dc-seg-lost { background: var(--dc-muted); }
.dc-seg-cancel-pending { background: var(--dc-warning); }

.dc-track {
    flex: 1;
    height: 9px;
    border-radius: 3px;
    background: var(--dc-track);
    overflow: hidden;
    min-width: 0;
}

.dc-track > span {
    display: block;
    height: 100%;
    border-radius: 3px;
}

.dc-vendor-name {
    width: 92px;
    flex: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-member {
    cursor: pointer;
}

.dc-alert {
    border-color: rgba(224, 87, 95, .45) !important;
    background: rgba(224, 87, 95, .06);
}

.dc-alert .dc-num {
    color: var(--dc-danger);
}

.dc-clear .dc-num {
    color: var(--dc-deposit);
}

.dc-queue-row {
    border-top: 1px solid var(--dc-track);
    padding-top: 6px;
    margin-top: 6px;
}

.dc-tabs {
    display: flex;
    gap: 4px;
    margin: 2px 0 10px;
    flex-wrap: wrap;
}

.dc-tab {
    font-size: 11.5px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--dc-track);
    background: none;
    color: #6b7f95;
    cursor: pointer;
    line-height: 1.5;
}

.dc-tab:hover {
    border-color: rgba(107, 127, 149, .45);
}

.dc-tab.is-active {
    background: var(--dc-leader);
    border-color: var(--dc-leader);
    color: #3d2c07;
    font-weight: 500;
}

.dc-tab-panel[hidden] {
    display: none;
}

.dc-rank {
    width: 17px;
    flex: none;
    font-size: 11px;
    color: #93a3b4;
}

.dc-lb-row {
    border-bottom: 1px solid var(--dc-track);
    padding: 5px 0;
}

.dc-lb-row:last-child {
    border-bottom: none;
}

.dc-positive { color: var(--dc-deposit); }
.dc-negative { color: var(--dc-withdraw); }

.dc-lock-row {
    padding: 5px 0;
}

.dc-lock-global {
    border-bottom: 1px solid var(--dc-track);
    margin-bottom: 3px;
    font-weight: 500;
}

.dc-lock-state {
    font-size: 11.5px;
    width: 40px;
    text-align: right;
    flex: none;
}

.dc-toggle {
    width: 34px;
    height: 20px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: var(--dc-track);
    position: relative;
    cursor: pointer;
    flex: none;
    transition: background .15s ease;
}

.dc-toggle > span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    transition: left .15s ease;
}

.dc-toggle.is-on {
    background: var(--dc-danger);
}

.dc-toggle.is-on > span {
    left: 17px;
}

.dc-toggle:disabled {
    opacity: .5;
    cursor: default;
}

.dc-empty {
    font-size: 12px;
    color: #93a3b4;
    padding: 10px 0;
}

@keyframes dc-shimmer {
    0% { opacity: .45; }
    50% { opacity: .9; }
    100% { opacity: .45; }
}

.dc-skeleton {
    background: var(--dc-track);
    border-radius: 4px;
    animation: dc-shimmer 1.4s ease-in-out infinite;
}
