body {
    background-color: #f8f9fa;
}

.container {
    max-width: 960px;
    margin-top: 50px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-label {
    font-weight: bold;
}

.qr-code-container {
    text-align: center;
    margin-top: 0;
    padding: 20px;
    border: 1px dashed #ced4da;
    border-radius: 8px;
    background-color: #e9ecef;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.qr-code-container img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling cho product search */
.product-search-container {
    position: relative;
}

.product-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.product-search-input:focus {
    outline: none;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.product-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.product-dropdown.show {
    display: block;
}

.product-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: background-color 0.15s ease-in-out;
}

.product-dropdown-item:hover {
    background-color: #f8f9fa;
}

.product-dropdown-item.selected {
    background-color: #e7f3ff;
    color: #0d6efd;
}

.product-dropdown-item:last-child {
    border-bottom: none;
}

.no-results {
    padding: 10px 12px;
    color: #6c757d;
    font-style: italic;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.clear-search {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: none;
}

.clear-search:hover {
    color: #495057;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .qr-code-container {
        margin-top: 30px;
    }
}