.consent-form-page {
    padding: 2rem 0 calc(10rem + env(safe-area-inset-bottom));
    background: #f7f8fc;
}

.consent-form-page .container {
    max-width: 920px;
}

.consent-header {
    margin-bottom: 1.5rem;
}

.consent-header h1 {
    color: #243b6b;
    margin-bottom: 1rem;
}

.consent-header p {
    margin-bottom: 0.5rem;
    color: #304264;
}

.consent-form {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 12px 26px rgba(37, 53, 89, 0.08);
}

.form-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e9edf5;
}

.form-section:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.2rem;
    color: #243b6b;
    margin-bottom: 1rem;
}

.form-section label {
    display: block;
    margin: 0.65rem 0 0.35rem;
    font-weight: 600;
    color: #2f3d55;
}

.section-note {
    color: #3f4f6d;
    margin-bottom: 0.5rem;
}

.consent-question-prompt {
    font-weight: 600;
    color: #2f3d55;
}

.field-hint {
    margin: 0.35rem 0 0.2rem;
    font-size: 0.92rem;
    color: #5a6880;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.radio-group label,
.checkbox-group label {
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.radio-group input,
.checkbox-group input {
    margin-top: 0.22rem;
}

.hidden-section {
    display: none;
}

.signature-pad-wrapper {
    margin-top: 0.35rem;
    border: 2px solid #dbe3f1;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.signature-pad {
    width: 100%;
    height: 220px;
    display: block;
    background: #ffffff;
    touch-action: none;
    cursor: crosshair;
}

.signature-actions {
    margin-top: 0.75rem;
}

.form-actions {
    padding-top: 0.5rem;
}

.consent-privacy-note {
    margin-bottom: 1rem;
    color: #2f3d55;
}

.consent-privacy-note p {
    margin-bottom: 0.7rem;
    line-height: 1.55;
}

.consent-privacy-note p:last-child {
    margin-bottom: 0;
}

.form-actions .btn-primary {
    background-color: #33477d;
    border-color: #33477d;
    min-width: 180px;
}

.form-actions .btn-primary:hover {
    background-color: #2a3b67;
    border-color: #2a3b67;
}

.submit-note {
    margin-top: 0.8rem;
    color: #5a6880;
    margin-bottom: 0;
}

.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.recaptcha-container {
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .consent-form-page {
        padding: 1.2rem 0 calc(10rem + env(safe-area-inset-bottom));
    }

    .consent-form {
        padding: 1rem;
        border-radius: 10px;
    }

    .signature-pad {
        height: 180px;
    }
}
