body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 600px) {
    .container {
        margin: 0 10px; /* Add margin on mobile devices */
    }

    /* Make the input full width on mobile */
    #labelInput {
        width: 100%;
        box-sizing: border-box; /* Include padding and border in width */
    }

    /* Align buttons next to each other */
    .button-container {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }

    .button-container button {
        width: auto; /* Keep buttons side by side */
        margin: 5px 0; /* Add some vertical margin */
    }
}

h1, h2 {
    color: #b31313;
}

.option-btn {
    margin: 10px;
    padding: 10px 15px;
    border: 2px solid #000000;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease; /* Add transition for smoothness */
}

.option-btn:hover {
    transform: scale(1.05); /* Slightly enlarge the button on hover */
}

p {
    font-size: 10px;
    font-weight: bold;
    font-style: italic;
}

.option-btn.selected {
    font-weight: bold;
    background-color: rgb(128, 4, 0);
    border: 2px solid rgb(128, 4, 0);
    border-radius: 10px;
    color: white;
}

select {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
}

input{
    padding: 13px 2px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

button {
    margin: 5px 5px;
    padding: 13px 19px;
    cursor: pointer;
    background-color: #800400;
    border: none;
    border-radius: 10px;
}

.nav-btn {
    background: #800400;
    color: #fff;
}

.next-btn {
    background: #800400;
    color: #fff;
}

.saved-label {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.saved-label > div {
    flex-grow: 1;
    font-size: 10px; /* Set font size for saved labels */
}

.strikethrough {
    text-decoration: line-through;
    color: gray;
}

#step4 button{
    color: #fff;
    font-weight: bold;
}

#resultsContainer button:nth-of-type(1){
    background-color: rgb(4, 153, 28);
    color: #fff;
    font-weight: bold;
}
#resultsContainer button:nth-of-type(2){
    background-color: crimson;
    color: #fff;
    font-weight: bold;
}

#step6 button:nth-of-type(1){
    background-color: #800400;
    color: #fff;
    font-weight: bold;
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styles for final label */
.final-steps {
    font-weight: bold;
    color: #333; /* Change color as needed */
}

.final-label {
    margin-top: 5px;
    font-size: 10px; /* Adjust font size if necessary */
    color: #555; /* Change color as needed */
}
