
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
}
td {
    border: 2px solid #000;
    padding: 0.625rem;
    vertical-align: top;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

ul{
    margin-left: 1.25rem  !important;
    margin-bottom: 0  !important;
    padding-bottom: 0  !important;
}

ol{
    margin-left: 1.25rem  !important;
    margin-bottom: 0  !important;
    padding-bottom: 0  !important;
}


li{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

input[type="radio"] {
    display: inline-block;
}

input[type="radio"] + label {
    display: inline-block;
}

input[type="checkbox"] {
    display: inline-block;
}

input[type="checkbox"] + label {
    display: inline-block;
}


.description-box {
    margin-bottom: 2rem;
    border-radius: 0.3rem;
}


.description-box .header {
    padding: 1.5rem 4rem;
    text-align: center;
}



.description-box .content {
    padding: 1.5rem 12rem;
    text-align: left;
}


.nav-bar {
    text-align: center;
    display: flex;
    padding: 1rem; 
    padding-left: 3rem;   
    background-color: #ebe6e6;
}

.question-box {
    margin: 2rem auto;
    width: 100%;
    border: 1.5px solid rgb(58, 58, 58);
    border-radius: 0.13rem;
}

.question-header {
    background-color: #efeaea;
    padding: 0.25rem 0.75rem;
    font-family: Arial, sans-serif;
}

.question-container {
    font-family: "Georgia", serif;
    padding: 0.35rem 0.75rem 0.2rem 0.75rem;
    border: none;
    margin: 0;
    border-radius: 0;
    width: auto;
    max-width: 100%;
    background-color: #efeaea80;
    text-align: left;
    max-height: 72vh;
    overflow-y: auto;
    /* border: 1.5px solid rgb(58, 58, 58); */
}

.submit-container{
    padding: 0.01rem;
}

.btn {
    margin-top: 0.9375rem !important;
}


.class-radio-div {
    align-items: center; 
    margin-top: 0.3125rem;
}

/* Block clicks on answer radios without disabling them (disabled inputs are omitted from POST). */
#DM-args-form.dm-args-radios-locked .class-radio-div {
    pointer-events: none;
    opacity: 0.65;
}


.dm-args-retry-message {
    font-family: Arial, sans-serif;
    color: red;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.likert-scale {
    display: flex;
    gap: 1.6rem;            /* was 0.5rem -- give natural-width labels breathing room */
    margin: 0.5rem 0 1rem;
    flex-wrap: wrap;         /* fall back to multi-row on narrow viewports */
    /* justify-content defaults to flex-start, which is what you want */
}
.likert-scale label {
    flex: 0 0 auto;          /* was: flex: 1 1 0 -- natural width, no grow/shrink */
    display: inline-flex;    /* sizes to content; column orientation kept below */
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;     /* keep each option on a single line */
    /* removed: min-width: 0 */
}
.likert-scale input[type="radio"] {
    margin: 0 0 0.25rem 0;
}
  