/* Generel styling */
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800; /* Extra-bold */
    margin: 0;
    padding: 0;
    background-color: #fff; /* Baggrundsfarve */
    color: #000; /* Skriftfarve */
    text-align: center;
}

/* Header styling */
header {
    background: #fff;
    padding: 10px;
}

header img {
    max-height: 50px;
}

/* Scan-sektion styling */
.scan-title {
    margin: 20px 0;
    font-size: 20px;
    font-weight: 800;
}

#camera {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: contain;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

/* Knap-styling */
.button {
    padding: 10px 20px;
    background-color: #105692; /* Knapfarve */
    color: #fff; /* Tekstfarve */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px auto; /* Centrer knapperne */
    width: 200px; /* Ens bredde på knapper */
    display: block; /* Knapper på hver deres linje */
    text-decoration: none;
    text-align: center;
    font-weight: 800; /* Gør begge knapper ens fed */
}

.button:hover {
    background-color: #0b3d6e;
}

/* Produkt-info styling */
.product-info {
    display: none;
}

.product-info img {
    max-width: 200px;
    margin: 10px 0;
}

.product-title {
    font-size: 24px;
    color: #105692; /* Produkttitel farve */
    margin-bottom: 10px;
    font-weight: 800;
}

.product-price {
    font-size: 30px; /* Gør prisen større */
    font-weight: bold;
    color: #000; /* Skriftfarve */
    margin: 10px; /* Mere afstand til næste element */
}

.product-meta {
    font-size: 14px;
    color: #999; /* Standard farve */
    margin-top: 20px; /* Plads under knapperne */
}

#product-id {
    font-weight: bold; /* Fed tekst for varenummer */
    color: #000; /* Skriftfarve */
}

#product-gtin {
    font-weight: normal; /* Normal tekst for stregkode */
    color: #999; /* GTIN farve */
}