/* css/style.css */
body {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #f4f6f9; /* Màu dự phòng nếu ảnh nền chưa load */
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container-custom {
    max-width: 1100px;
    margin: 30px auto;
}

/* Hiệu ứng kính cho các Box */
.glass-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    max-width: 400px;
    margin: 120px auto;
    padding: 40px 30px;
}

/* Header Panel (Cái thanh bấm để mở/đóng) */
.panel-header {
    padding: 14px 20px;
    border-radius: 12px 12px 0 0;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: opacity 0.2s;
}

.panel-header:hover {
    opacity: 0.9;
}

.header-blue { background: linear-gradient(135deg, #0d6efd, #0b5ed7); }
.header-brown { background: linear-gradient(135deg, #8b4513, #a0522d); }

.toggle-text {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Sub-tabs cho bộ lọc (Tất cả / Cảnh báo) */
.sub-tabs .nav-link {
    color: #495057;
    font-weight: 600;
    border-radius: 20px;
    padding: 6px 18px;
    margin-right: 8px;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.5);
}

.sub-tabs .nav-link.active {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
}

/* Tinh chỉnh Bảng (Table) */
#inventoryTable {
    border-radius: 8px;
    overflow: hidden;
}
#inventoryTable th {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #555;
}