body {
    max-width: 800px;
}

#disclaimer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cdf6;
    backdrop-filter: blur(1px);
}

#disclaimer {
    border-radius: 30px;
    width: 75%;
    max-width: 600px;
    position: absolute;
    background-color: #cdf;
    padding: 20px;
    top: 150px;
    left: 30px;
    border: 2px solid #008;
}

.section {
    border: 1px solid #008;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
    background-color: #ddf1ff;
    border-radius: 5px;
}

.index {
    border: 1px solid #008;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
    background-color: #ddf1ff;
    border-radius: 5px;
}

.subsection {
    border: 1px solid #008;
    padding-left: 5px;
    padding-right: 5px;
    margin: 3px;
    background-color: #adf;
    border-radius: 5px;
}

@media screen {
    label:has(~  select:focus) {
        text-decoration: underline;
    }
}

button {
    margin: 5px 7% 15px 7%;
    width: 20%;
    min-width: 100px;
    height: 45px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: #000;
    background-color: #fffb;
    border: none;
    border-radius: 30px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease 0s;
    outline: none;
    cursor: pointer;
}

button:nth-of-type(1) {
    margin-left: 10%;
}

button:nth-of-type(2) {
    float: right;
    margin-right: 10%;
}

button:disabled {
    background-color: #bbbb;
    cursor: not-allowed;
}

button:focus:enabled {
    background-color: #516aca;
    box-shadow: 0px 15px 20px #516aca3c;
    color: #fff;
    transform: translateY(3px);
}

button:hover:enabled {
    background-color: #516aca;
    box-shadow: 0px 15px 20px #516aca3c;
    color: #fff;
    transform: translateY(3px);
}

.section h2 {
    font-size: 1em;
    color: #516aca;
    margin: 3px;
}

.section h3 {
    font-weight: bold;
    font-size: 1em;
    margin: 3px;
}

.index h2 {
    font-size: 1em;
    margin: 3px;
}

.title {
    display: inline-block;
    width: 50%;
}

.scoring-element {
    margin: 5px;
}

.scoring-element > select{
    background-color: #fffb;
    min-width: 160px;
    width: 30%;
}

#results #scale {
    width: 90%;
    margin: 0 5% 0 5%;
}

#results progress {
    width: 100%;
}

#results #scale .marker {
    position: relative;
    display: inline-block;
    border-left: 1px black solid;
    border-bottom: 1px black solid;
    padding-top: 1em;
    padding-left: 10px;
    top: -1em;
    overflow: clip;
    white-space: nowrap;
}

#results .subsection {
    padding-bottom: 13px;
}

#results p {
    margin: 0;
    font-size: smaller;
}

#locoregional-failure p {
    font-size: 1em;
    margin: 0;
}

#overall-survival p {
    font-size: 1em;
    margin: 0;
}

#debug {
    position: absolute;
    left: 600px;
    top: 30px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid red;
    background: #ffd0d0c0;
}

@media print {
    .hidden-print,.hidden-print * {
        display: none !important;
    }
}
