* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1280px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem;
}

/* Left sidebar for product categories */
.sidebar {
    width: 300px;
    background-color: #f7f7f7;
    padding: 2rem;
    border-right: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.sidebar-header {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a4f;
    margin-bottom: 1.5rem;
}

.sidebar-header::before {
    content: "•";
    color: #1a1a4f;
    font-size: 2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menu-item:hover,
.menu-item.active {
    background-color: #e6e6ee;
    color: #000;
}

.menu-item.active .menu-item-icon {
    color: #1a1a4f;
    transform: translateX(5px);
}

.menu-item-text {
    font-weight: 500;
    font-size: 0.9rem;
}

.menu-item-icon {
    color: #999;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.menu-item:hover .menu-item-icon {
    color: #1a1a4f;
    transform: translateX(5px);
}

/* Main content area */
.content {
    flex-grow: 1;
    padding: 2rem;
}

/* Styles for the tab content sections */
.tab-content {
    display: none;
    /* Hidden by default */
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
    /* Shown when active */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.content-header {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a4f;
    margin-bottom: 2rem;
}

.product-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-image {
    width: 400px;
    height: 400px;
    /* background-color: #f9f9f9; */
    /* border: 1px solid #e0e0e0; */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Placeholder image styling */
.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 1.5rem;
    color: #555;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        /* Stacks columns on mobile */
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 1rem;
    }

    .content {
        padding: 1rem;
    }

    .content-header {
        font-size: 1.8rem;
        text-align: center;
    }

    .product-image {
        width: 90%;
        height: auto;
    }
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: yellow;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    /* Add a border on all sides to create a grid */
    border: 1px solid #ddd;
}

thead th {
    background-color: #333;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive magic for smaller screens */
@media screen and (max-width: 600px) {

    /* Make table elements act like blocks instead of table cells */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* Style each data cell as a block */
    tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        /* Maintain horizontal line between cells */
        position: relative;
        padding-left: 50%;
    }

    /* Use pseudo-element to display the column header as a label */
    td::before {
        content: attr(data-label);
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-transform: uppercase;
    }
}