/* Write your custom CSS here */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    font-weight: 600;
    color: #2d3436;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
}

.dashboard-date-badge {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.dashboard-stat-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.dashboard-stat-card .card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.dashboard-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dashboard-stat-icon svg {
    width: 24px;
    height: 24px;
}

.dashboard-stat-content {
    min-width: 0;
}

.dashboard-stat-label {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.dashboard-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #2d3436;
}

.dashboard-stat-value small {
    font-size: 1rem;
    font-weight: 500;
    color: #6c757d;
}

.dashboard-stat-meta {
    font-size: 0.8rem;
    color: #9aa3af;
}

.dashboard-stat-card--users .dashboard-stat-icon {
    background: rgba(247, 93, 111, 0.12);
    color: #f75d6f;
}

.dashboard-stat-card--transactions .dashboard-stat-icon {
    background: rgba(93, 119, 247, 0.12);
    color: #5d77f7;
}

.dashboard-stat-card--rolls .dashboard-stat-icon {
    background: rgba(46, 204, 113, 0.12);
    color: #2ecc71;
}

.dashboard-stat-card--weight .dashboard-stat-icon {
    background: rgba(255, 193, 7, 0.15);
    color: #e0a800;
}

.dashboard-chart-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.dashboard-chart-card .card-header {
    background: transparent;
    border-bottom: 1px solid #eef0f4;
    padding: 1.25rem 1.5rem;
}

.dashboard-chart-card .card-body {
    padding: 1rem 1.5rem 1.5rem;
}

.dashboard-chart-subtitle {
    font-size: 0.875rem;
    color: #9aa3af;
}

.dashboard-chart-wrap {
    position: relative;
    min-height: 380px;
}

.dashboard-chart-wrap canvas {
    width: 100% !important;
    height: 380px !important;
}

.dashboard-chart-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.8);
}

.transaction-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.transaction-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eef0f4;
}

.transaction-filter-item .form-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.35rem;
}

.transaction-filter-action .btn svg {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
}

#data-table thead th {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
    border-bottom-width: 1px;
    white-space: nowrap;
}

#data-table tbody td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.transaction-actions {
    display: flex;
    gap: 0.35rem;
    justify-content: flex-end;
}

.transaction-actions .btn {
    padding: 0.3rem 0.5rem;
    line-height: 1;
}

.transaction-actions .btn svg {
    width: 15px;
    height: 15px;
}

.transaction-table-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    color: #6c757d;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 8px;
    border-color: #dee2e6;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #5d77f7 !important;
    border-color: #5d77f7 !important;
    color: #fff !important;
    border-radius: 6px;
}

.form-control:focus {
    color: #292121;
    background-color: #fff;
    border-color: #fe8686;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(253, 13, 13, 0.25);
    }
    .form-check-input:checked {
        background-color: #fc6565ea;
        border-color: #fc6565ea;
        }
