/* dashboard */
.tabular-money,
.due-amount {
    font-variant-numeric: tabular-nums;
}

.due-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
}

.due-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgb(0 0 0 / 0.08);
    background: #fff;
}

.dark .due-card {
    border-color: rgb(255 255 255 / 0.12);
    background: rgb(255 255 255 / 0.04);
}

.due-card-head,
.due-site,
.due-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.due-actions {
    margin-top: auto;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.due-client {
    font-weight: 600;
}

.due-site-name {
    font-size: 0.875rem;
    color: rgb(100 116 139);
}

.due-amount {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1E3A5F;
}

.dark .due-amount {
    color: #fff;
}

.due-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: rgb(100 116 139);
}

.due-lines .due-late {
    color: #DC2626;
    font-weight: 500;
}

.due-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1E3A5F;
    text-decoration: underline;
}

.dark .due-link {
    color: rgb(147 197 253);
}

.due-empty {
    text-align: center;
    padding: 1.5rem 0;
}

.due-empty-title {
    font-weight: 600;
}

.due-empty-text {
    font-size: 0.875rem;
    color: rgb(100 116 139);
}

.dark .due-site-name,
.dark .due-lines,
.dark .due-empty-text {
    color: rgb(148 163 184);
}

.dark .due-lines .due-late {
    color: #F87171;
}
