body {
    background-color: #f0f2f5; /* Màu nền xám sáng nhạt */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding-top: 80px; /* Đẩy nội dung xuống để không bị menu che mất */
}

/* --- THANH MENU NGANG CỰC CHẤT --- */
.navbar-custom {
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%); /* Hiệu ứng chuyển màu xanh biển đậm */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

    .navbar-custom .navbar-brand {
        color: #fff;
        font-weight: 800;
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .navbar-custom .nav-link {
        color: rgba(255,255,255,0.85);
        font-weight: 500;
        padding: 10px 15px;
        margin: 0 5px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

        .navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
            color: #fff;
            background-color: rgba(255,255,255,0.15);
        }

/* --- KHU VỰC NỘI DUNG CHÍNH --- */
.main-container {
    max-width: 1200px; /* Giới hạn chiều rộng để web nhìn gọn gàng ở giữa màn hình */
    margin: 0 auto;
    padding: 20px;
}

/* --- THẺ THỐNG KÊ (CARDS) TRÀN MÀU GRADIENT --- */
.stat-card {
    border: none;
    border-radius: 15px;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }

.bg-gradient-primary {
    background: linear-gradient(45deg, #4e73df, #224abe);
}

.bg-gradient-success {
    background: linear-gradient(45deg, #1cc88a, #13855c);
}

.bg-gradient-warning {
    background: linear-gradient(45deg, #f6c23e, #dda20a);
}

.bg-gradient-danger {
    background: linear-gradient(45deg, #e74a3b, #be2617);
}

.icon-circle {
    background: rgba(255,255,255,0.2); /* Tạo vòng tròn mờ bao quanh icon */
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
/* --- NÂNG CẤP BẢNG DỮ LIỆU --- */
.table-container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.table-vua-tap-hoa {
    border-collapse: separate;
    border-spacing: 0 10px; /* Tạo khoảng cách giữa các hàng */
}

    .table-vua-tap-hoa thead th {
        background-color: transparent !important;
        border: none;
        color: #64748b;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 15px;
    }

    .table-vua-tap-hoa tbody tr {
        background-color: #ffffff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.02);
        transition: all 0.2s ease;
    }

        .table-vua-tap-hoa tbody tr:hover {
            transform: scale(1.01);
            box-shadow: 0 5px 15px rgba(38, 83, 212, 0.1);
        }

    .table-vua-tap-hoa td {
        padding: 20px 15px !important;
        vertical-align: middle;
        border: none !important;
    }

        .table-vua-tap-hoa td:first-child {
            border-radius: 12px 0 0 12px;
        }

        .table-vua-tap-hoa td:last-child {
            border-radius: 0 12px 12px 0;
        }

/* Nút bấm hành động */
.btn-action {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 2px;
    transition: 0.3s;
}

.btn-edit {
    background: #e0e7ff;
    color: #4e73df;
}

.btn-details {
    background: #dcfce7;
    color: #15803d;
}

.btn-delete {
    background: #fee2e2;
    color: #b91c1c;
}