@font-face {
    font-family: 'PfizerDiatype-Regular';
    src: url('fonts/PfizerDiatype-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --background-color: #f5f3e9;
    --cta-box-color: #18263B;
}

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

body {
    background-color: var(--background-color);
    font-family: 'PfizerDiatype-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #000;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.illustration-column {
    flex: 0 0 auto;
}

.illustration-image {
    width: 400px;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.paragraph {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}

/* Questionnaire styles */
.questionnaire-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.questionnaire-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.question-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.question-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin: 0;
}

.question-text {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin: 0;
}

.checkbox-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    background-color: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    transition: all 0.3s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background-color: var(--cta-box-color);
    color: #fff;
    border-color: var(--cta-box-color);
}

.checkbox-input:focus + .checkbox-custom {
    outline: 2px solid var(--cta-box-color);
    outline-offset: 2px;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.next-button {
    background-color: var(--cta-box-color);
    padding: 15px 40px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.next-button:hover {
    opacity: 0.8;
}

.next-button:disabled,
.next-button[disabled] {
    background-color: rgba(24, 38, 59, 0.4);
    cursor: not-allowed;
    opacity: 0.6;
}

.next-button:disabled:hover,
.next-button[disabled]:hover {
    opacity: 0.6;
}

.reference {
    font-size: 12px;
    margin-top: 20px;
    line-height: 1.5;
}

/* Responsive: Stack columns vertically on smaller screens */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .illustration-column {
        width: 100%;
        order: 1;
    }

    .illustration-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .text-column,
    .questionnaire-column {
        order: 2;
    }

    .paragraph {
        font-size: 16px;
    }

    .question-title {
        font-size: 18px;
    }

    .question-text {
        font-size: 16px;
    }

    .checkbox-custom {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .button-container {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .content-wrapper {
        gap: 20px;
    }

    .illustration-image {
        max-width: 100%;
    }

    .paragraph {
        font-size: 15px;
    }

    .question-title {
        font-size: 16px;
    }

    .question-text {
        font-size: 15px;
    }

    .checkbox-custom {
        width: 45px;
        height: 45px;
        font-size: 15px;
    }

    .next-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

