body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--gray);
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
    background-image: url('../survey_intro_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
h1, h2, h3 {
    color: var(--primary);
}
.container {
    background-color: var(--accent-200);
    color: var(--primary);
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}
.section {
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--primary);
}
.question {
    color: var(--primary);
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--accent-200);
    border-radius: 5px;
}
.slider-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}
.slider {
    flex-grow: 1;
    color: var(--primary);
    margin: 0 15px;
}
.value-display {
    width: 50px;
    color: var(--primary);
    text-align: center;
    font-weight: bold;
}
.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}
.next-button {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 0px;
}
.next-button:hover {
    background-color: var(--secondary-2);
}
.info-text {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 20px;
}

/* Improved table styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    border: 2px solid var(--secondary-1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--accent-900);
    border-right: 1px solid var(--accent-900);
}
th {
    background-color: var(--accent-900);
    color: var(--white);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
td:first-child {
    font-weight: bold;
    background-color: var(--accent-400);
    width: 40%;
}
td {
    text-align: center;
}
tr:last-child td {
    border-bottom: none;
}
td:last-child {
    border-right: none;
}
tr:hover {
    background-color: var(--accent-400);
}
tr:hover td:first-child {
    background-color: var(--accent-50);
}

/* Radio button styling */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-900);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0 auto;
    display: block;
}
input[type="radio"]:checked {
    border-color: var(--accent-900);
    background-color: var(--white);
}
input[type="radio"]:checked:after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-900);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.part-divider {
    margin: 40px 0;
    border-top: 2px dashed var(--accent-900);
    padding-top: 40px;
}

.slider-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.slider {
    flex-grow: 1;
    color: var(--primary);
    margin: 0 15px;
}

.value-display {
    width: 50px;
    color: var(--primary);
    text-align: center;
    font-weight: bold;
    display: block;
}

.value-label {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 3px;
}

/* Help button styling */
#help-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    z-index: 1000;
}

#help-button:hover {
    background-color: var(--secondary-2);
}
