#coupon-tabs {
    margin-top: 20px;
}

.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    border-bottom: 2px solid #ccc;
}

.tabs li {
    margin-right: 10px;
}

.tabs a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f1f1f1;
    color: #333;
    border-radius: 4px 4px 0 0;
}

.tabs a.active {
    background: #fff;
    color: #000;
    border-bottom: 2px solid #fff;
    font-weight: bold;
}

.tab-content {
    border: 1px solid #ccc;
    padding: 15px;
    background: #fff;
    border-radius: 0 4px 4px 4px;
}

#product-results {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    background: #fff;
    position: absolute;
    z-index: 9999;
    width: calc(100% - 2px);
    max-height: 200px;
    overflow-y: auto;
}

#product-results li {
    padding: 10px;
    cursor: pointer;
}

#product-results li:hover {
    background: #f1f1f1;
}

#selected-products-container {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-product {
    padding: 5px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.selected-product span {
    cursor: pointer;
    font-weight: bold;
    color: red;
}
.product-search-container {
    position: relative;
    max-width: 400px;
    margin: 20px 0;
}

#product-search {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.product-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    z-index: 1000;
}

.product-results li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.product-results li:last-child {
    border-bottom: none;
}

.product-results li:hover {
    background-color: #f0f0f0;
}