body {
    font-family: 'Open Sans Rounded', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.input-group {
    margin-bottom: 15px;
    padding: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input {
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.button-group {
    margin-top: 20px;
    padding: 0 20px;
}

.button-group button {
    padding: 10px 20px;
    margin-right: 10px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
}

.button-group button:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.feedback {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    display: none;
    text-align: center;
    z-index: 1000;
}

.feedback.success {
    border-color: green;
    color: green;
}

.feedback.error {
    border-color: red;
    color: red;
}

.tutorial {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: #f0f0f0;
    border-bottom: 1px solid #ddd;
    z-index: 999;
    display: none;
}

.tutorial button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
}

.tutorial button:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

#barcode-scanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
}

#barcode-scanner-content {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
}

#barcode-video {
    max-width: 100%;
    max-height: 60vh;
    border: 2px solid white;
    margin-top: 20px;
    border-radius: 10px;
}

.scanner-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 20px;
}

.output-container {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #4CAF50;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.output-title {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.output-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    color: #333;
}

.no-data {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.combinations-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.combination-item {
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #4CAF50;
}

.combination-header {
    font-weight: 500;
    color: #444;
    margin-bottom: 10px;
}

.combination-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.combination-detail {
    padding: 8px 12px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tutorial-button,
.close-tutorial-button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: 500;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 200px;
}

.tutorial-button:hover,
.close-tutorial-button:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
}

.button-container {
    margin-top: 5px;
    text-align: center;
}

@media (min-width: 600px) {
    .button-group button {
        width: auto;
    }
}
