.klub-pos-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.klub-pos-container h2,
.klub-pos-container h3 {
    text-align: center;
    color: #333;
}

#klub-pos-message {
    text-align: center;
    margin-bottom: 15px;
}

#klub-pos-message .error {
    color: #d9534f;
    font-weight: bold;
}

#klub-pos-message .success {
    color: #5cb85c;
    font-weight: bold;
}

#klub-pos-message .loading {
    color: #5bc0de;
    font-style: italic;
}

.klub-pos-step {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#member-code,
#checkout-submit,
#code-submit,
#back-to-code {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#code-submit,
#checkout-submit {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

#back-to-code {
    background-color: #6c757d;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

#product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.klub-pos-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 5px;
}

.product-name {
    flex-grow: 1;
    font-weight: bold;
}

.product-price {
    font-weight: bold;
    color: #28a745;
    min-width: 80px;
    text-align: right;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    background-color: #eee;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
}

.product-quantity {
    width: 40px;
    text-align: center;
    -moz-appearance: textfield; /* Skjuler pile i Firefox */
}

/* Skjul pile i Chrome, Safari, Edge og Opera */
.product-quantity::-webkit-outer-spin-button,
.product-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}