#custom-hotsauce-builder {
    margin: 2em 0;
    border: 2px solid #e74c3c;
    border-radius: 12px;
    background: #fff8f0;
    max-width: 600px;
    padding: 2em 1.5em 1.5em 1.5em;
    box-shadow: 0 2px 14px #e74c3c22;
    font-family: inherit;
    line-height: 1.6;
}

#custom-hotsauce-builder h2 {
    color: #e74c3c;
    margin: 0 0 1em 0;
    border-bottom: 1px dashed #e67e22;
    padding-bottom: .5em;
}

.hsb-bases label,
.hsb-chilli-option label,
.hsb-tab-content label {
    display: inline-block;
    margin: .4em 1em .4em 0;
    font-size: 1.06em;
    background: #fff2e6;
    padding: .3em .7em;
    border-radius: 5px;
    border: 1px solid #ffddb3;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.hsb-bases label:hover,
.hsb-chilli-option label:hover,
.hsb-tab-content label:hover {
    background: #ffe5d1;
    border-color: #e67e22;
}

/* Chilli image and option */
.hsb-chilli-option {
    display: inline-block;
    text-align: center;
    margin: .3em .9em .3em 0;
}
.hsb-chilli-option img {
    display: block;
    margin: 0 auto 5px auto;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fdeee6;
    border: 1px solid #e67e22;
}

/* Tabs Style */
.hsb-tabs {
    margin-bottom: .6em;
    display: flex;
    gap: .7em;
}
.hsb-tab-btn {
    background: #f6d8b4;
    border: none;
    padding: .4em 1.2em;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    cursor: pointer;
    color: #ca5410;
    transition: background 0.15s;
}
.hsb-tab-btn.active,
.hsb-tab-btn:hover {
    background: #e67e22;
    color: #fff;
}

/* Tab contents */
.hsb-tab-content {
    padding: 1em;
    border: 1px solid #ffddb3;
    background: #fff6ed;
    border-radius: 0 8px 8px 8px;
}

/* Heat scale */
.hsb-heat-scale {
    margin: 1.2em 0 .8em 0;
    font-size: 1.18em;
}
#hsb-heat-icons {
    display: inline-block;
    margin-right: .5em;
    vertical-align: middle;
}
.heat-icon {
    font-size: 1.6em;
    margin-right: .05em;
    color: #e74c3c;
    filter: drop-shadow(0 0 2px #e67e22aa);
}

/* Summary formatting */
#hsb-summary {
    background: #fff2e6;
    padding: .9em;
    border-radius: 8px;
    font-size: 1.09em;
    border: 1px solid #ffddb3;
    margin-bottom: 1em;
}

/* Buttons */
#custom-hotsauce-builder button,
#custom-hotsauce-builder input[type="submit"],
#custom-hotsauce-builder .button.alt {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .6em 1.3em;
    font-size: 1em;
    margin: .7em .5em 0 0;
    transition: background 0.2s;
    font-weight: bold;
    cursor: pointer;
}
#custom-hotsauce-builder button:hover,
#custom-hotsauce-builder input[type="submit"]:hover,
#custom-hotsauce-builder .button.alt:hover {
    background: #c0392b;
}

/* Inputs */
#custom-hotsauce-builder input[type="text"],
#custom-hotsauce-builder input[type="number"] {
    padding: .2em .6em;
    border: 1px solid #e67e22;
    border-radius: 4px;
    margin-top: .15em;
    font-size: 1em;
    width: auto;
}

@media screen and (max-width: 600px) {
    #custom-hotsauce-builder {
        padding: 1em .5em;
    }
    .hsb-tab-content,
    #hsb-summary {
        font-size: 1em;
    }
    .hsb-chilli-option {
        margin-right: .4em;
    }
    /* Stack tabs */
    .hsb-tabs {
        flex-direction: column;
    }
}

/* Base description */
.hsb-base-desc{
    margin: 0 0 1em 0;
    padding: .7em .9em;
    background: #fff2e6;
    border: 1px solid #ffddb3;
    border-radius: 8px;
    color: #8a3a12;
}