@charset "UTF-8";

/* Main */
:root{--font-normal:'Roboto';--font-bold:'Roboto';--color:#DD0000;--color-red:#DD0000;--color-over:var(--color);--color-dark-red:#c31829;--color-green:#28a745;--color-dark-green:#207d36;--color-black:#212529;--color-gray:#6c757d;}
/* Reset cơ bản */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Inter', sans-serif; background:#f5f7fa; color:#333; }

/* Container tổng */
.dashboard-container {
    width: 95%;
    max-width: 1400px;
    margin: 30px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.dashboard-header h1 {
    font-weight: 700;
    font-size: 28px;
    color: #111;
}
.btn-sync {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
    padding: 10px 20px;
    border:none;
    border-radius: 6px;
    font-weight: 600;
    cursor:pointer;
    transition: 0.3s;
}
.btn-sync:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Filter section */
.filters {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.filters form {
    display:flex;
    gap:15px;
    flex-wrap: wrap;
}
.filter-group {
    display:flex;
    flex-direction: column;
    font-size:14px;
}
.filter-group label {
    margin-bottom:4px;
    font-weight:600;
    color:#555;
}
.filter-group select,
.filter-group input {
    padding:8px 12px;
    border-radius:6px;
    border:1px solid #ddd;
    background:#fff;
    min-width:150px;
}
.btn-filter {
    background:#1abc9c;
    color:#fff;
    border:none;
    border-radius:6px;
    padding:9px 18px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
}
.btn-filter:hover {
    background:#16a085;
}

/* Table section */
.table-section {
    overflow-x:auto;
}
table {
    width:100%;
    border-collapse: separate;
    border-spacing:0;
    font-size:14px;
}
thead {
    background:#0066cc;
    color:#fff;
}
th, td {
    padding:12px 15px;
    text-align:left;
}
th {
    font-weight:600;
}
tbody tr {
    border-bottom:1px solid #eee;
}
.toolbar {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;  
}

.toolbar label {
    background: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,.06);
    font-weight: 500;
}

input[type="month"] {
    border: none;
    font-size: 15px;
    outline: none;
    margin-left: 6px;
}

.card {
    background: #ffffff;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.top-users {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-users li {
    margin-bottom: 12px;
}

.user-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.progress {
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    height: 10px;
    margin-top: 6px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
}
