.qr-code-boxed {
    margin: auto;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

form.form-horizontal {
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    width: 90%;
    margin: auto;
}

#search-input {
    flex-grow: 1;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-button {
    background-color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-success svg{
    width: 100px;
    height: 100px;
    fill: #32338f;
}

.scan-error svg {
    width: 100px;
    height: 100px;
    fill: #dc3545;
}

.scan-success p {
    font-size: 20px;
}

.scan-error p {
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 600;
    color: #32338f;
}

.product-card {
    margin: 20px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
}

.product-image {
    flex: 0 0 45%;
    padding-right: 20px;
}

.product-image img {
    width: 100%;
    border-radius: 8px;
}

.product-info {
    flex: 0 0 55%;
}

.product-info-row {
    display: flex;
    text-align: left;
}

.product-info-label {
    flex: 0 0 40%;
    font-weight: bold;
    padding: 12px 15px;
}

.product-info-value {
    flex: 0 0 60%;
    padding: 12px 15px;
    font-weight: normal;
}

.product-details {
    margin: 20px auto;
}

.product-details h1 {
    color: #2a3990;
    font-size: 22px;
    margin-bottom: 20px;
}

.detail-section {
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.detail-section-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-top: 0 solid #e0e0e0;
    text-align: left;
}

.detail-section-content.active {
    max-height: 500px;
    padding: 0 20px 20px 20px;
}

.detail-section-content p {
    font-weight: normal;
}

.detail-section-header h2 {
    font-size: 18px;
    font-weight: 500;
}

.chevron {
    color: #999;
    transition: transform 0.3s ease;
}

.chevron.rotated {
    transform: rotate(180deg);
}

@media only screen and (max-width: 767px) {
    .product-card {
        display: block;

    }

    .product-card > .product-image {
        padding-right: 0;
    }
}