body {
    font-family: Arial, sans-serif;
}

/* Container styling */
.multi-select-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap to the next line */
    gap: 10px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    width: 100%; /* Ensures the container uses full available width */
    box-sizing: border-box;
}

.select-wrapper {
    flex: 1 1 150px; /* Allows the item to grow and shrink, with a base width of 150px */
    display: flex;
    flex-direction: column; /* Stacks label above dropdown */
    min-width: 150px; /* Ensures a minimum width for each select-wrapper */
}

.select-wrapper label {
    margin-bottom: 5px; /* Adds space between label and dropdown */
    font-size: 14px;
    color: #333;
}

.select-wrapper select {
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    width: 100%; /* Ensures dropdown fills its container */
}

/* Disabled select styling */
.multi-select-container select:disabled {
    background-color: #e0e0e0;
    color: #777;
}

/* Reset button styling */
#resetButton {
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #0078D4; /* Updated color */
    color: #fff;
    cursor: pointer;
    width: 100%; /* Ensures the button fills its container */
    box-sizing: border-box;
}

/* Hover effect for the reset button */
#resetButton:hover {
    background-color: #0056b3;
}

/* Optional: Remove margin-top if previously added */
#resetButton {
    margin-top: 0;
}

/* Selected options area styling */
#blockArea {
    width: 100%;
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* Adjusted product styles (if needed) */
.unique-custom-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.unique-custom-product {
    width: 300px;
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
    padding: 10px;
    text-align: left;
}

.unique-custom-product img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.unique-custom-product h2 {
    font-size: 16px;
    margin: 10px 0;
    text-align: left;
}

.unique-product-excerpt {
    font-size: 14px;
    color: #555;
    text-align: left;
    text-decoration: none;
}

.unique-product-excerpt a {
    text-decoration: none;
    color: inherit;
}

.unique-custom-product .product-image-container {
    position: relative;
}

.material-annotation {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white !important;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
}
