body {
    background-color: LavenderBlush;
    color: DarkMagenta;
    font-size: larger;
    font-family: "Noto Sans", sans-serif;
}

.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.result {
    margin: 20px 0;
    padding: 10px;
    min-height: 40px;
    text-align: center;
}

.settings-section {
    margin: 10px 0;
}

details {
    margin: 10px 0;
}

details summary {
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

details div {
    padding-left: 10px;
    padding-right: 10px;
}

.weight-group label {
    display: block;
    margin: 5px 0;
}

.reincarnate-btn {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Category sections for moral weights */
#weightInputs {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Preset buttons */
.preset-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.rethink-presets {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.weight-category {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.3);
    padding: 15px;
    border-radius: 8px;
}

.weight-category h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: DarkMagenta;
    border-bottom: 2px solid DarkMagenta;
    padding-bottom: 5px;
}

.weight-category label {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-weight: normal;
}

.weight-category input {
    margin-left: 10px;
    width: 80px;
}

/* Responsive layout */
@media (max-width: 600px) {
    #weightInputs {
        flex-direction: column;
        gap: 15px;
    }
    
    .weight-category {
        min-width: auto;
    }
}

summary h2 {
    display: inline;
    margin: 0;
}

/* Blurbs styling */
.blurbs-container {
    margin-top: 15px;
    padding-top: 15px;
}

.blurb {
    line-height: 1.5;
    margin: 8px 0;
    padding: 8px 12px;
}

.blurb:first-child {
    margin-top: 0;
}

.blurb:last-child {
    margin-bottom: 0;
}