body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: white;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 280px;
    background: #1e293b;
    padding: 20px;
    box-sizing: border-box;
}

.main {
    flex: 1;
    padding: 20px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 0;
    padding: 0;
    text-align: center;
    overflow: hidden;
}

.product-name {
    background: rgba(0, 0, 0, 0.65);
    border-bottom: 1px solid rgba(255,255,255,0.35);
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.quantity-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 6px;
}

.qty-btn,
.quantity {
    height: 44px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.qty-btn {
    cursor: pointer;
}

.qty-btn:hover {
    background: rgba(255,255,255,0.15);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-info {
    background: #334155;
    padding: 10px 15px;
    border-radius: 8px;
}

.datetime-panel {
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.time {
    font-size: 52px;
    font-weight: bold;
    line-height: 1;
}

.weekday {
    font-size: 22px;
    margin-top: 8px;
}

.date {
    font-size: 17px;
    margin-top: 4px;
    opacity: 0.75;
}

.sidebar-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.sidebar-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.shopping-list {
    margin-top: 10px;
    min-height: 180px;
    opacity: 0.85;
}

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

.category-list li {
    padding: 6px 0;
    opacity: 0.9;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
}

.page-btn {
    min-width: 150px;
    padding: 12px 16px;
    text-align: center;

    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255,255,255,0.35);
    color: white;

    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.page-btn:hover {
    background: rgba(255,255,255,0.15);
}

.page-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.page-info {
    font-size: 18px;
    font-weight: bold;
    min-width: 110px;
    text-align: center;
}

.category-divider {
    height: 1px;
    background: rgba(255,255,255,0.35);
    margin: 10px 0;
    padding: 0 !important;
    list-style: none;
}