* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f6f8;
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    font-size: 20px;
    color: #333;
}

.container {
    display: flex;
    min-height: calc(100vh - 55px);
}

/* Sidebar */
.sidebar {
    width: 240px;
    background-color: #1a1a1a;
    color: white;
    padding-top: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 15px 20px;
    cursor: pointer;
}

.sidebar li.active {
    background-color: #ff4d00;
}

/* Content */
.content {
    flex: 1;
    padding: 20px;
    position: relative;
}

.tabs-menu {
    display: flex;
    gap: 5px;
    background: #e9ecef;
    padding: 10px 10px 10px 0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow-x: auto;
}

.tab-btn {
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    background: white;
    white-space: nowrap;
    color: #555;
    font-size: 14px;
}

.count{ 
    background: #004d99;
    color: white;
    padding: 3px 6px;
    border-radius: 50%;
    margin-right:10px;
}
.count.count-active{
    background: white;
    color: black;
}

.tab-btn.tab-active{
    background: #004d99;
    color: white;
}

.tab-btn-wrap {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: white;
    white-space: nowrap;
    color: #555;
    font-size: 14px;
}

.tab-btn-wrap.tab-active-wrap{
    background: #004d99;
    color: white;
}

.action-bar {
    margin-bottom: 15px;
    display: flex;
    gap: 20px;
}

.btn-primary {
    background-color: #ff4d00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-shift {
    background-color: white;
    border: 1px solid orange;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
/* Table */
.table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.order-table th, .order-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.order-table th {
    background-color: #f8f9fa;
    color: #666;
}

.status-tag {
    color: #ff6600;
    font-size: 12px;
}

.cod-price {
    color: #d9534f;
    font-weight: bold;
}

.date {
    color: #888;
    font-style: italic;
}

.action-bar-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #f0f0f0;
    
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.left-content {
    display: flex;
    flex-direction: column;
}

.label {
    color: #003366;
    font-size: 14px;
    font-weight: 600;
}

.count-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.number {
    color: #e65c19; 
    font-size: 28px;
    font-weight: bold;
}

.sub-label {
    color: #666;
    font-size: 13px;
}

/* Phần bên phải: Các nút bấm */
.right-content {
    display: flex;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 25px; 
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.2s;
}

.btn:hover {
    filter: brightness(0.9);
}

.btn-excel {
    background-color: #ff621f;
    color: white;
}

.btn-print {
    background-color: #004080;
    color: white;
}