.flex input[type="submit"] {
    background-color: unset;
    color: unset;
    padding: unset;
    font-size: 1.5rem;
}
.flex input[type="submit"]:hover {
    background-color: unset;
}

#Form_MemberForm_action_submitSubmitMemberForm.is-loading {
    cursor: wait;
    opacity: 0.4 !important;
    transform: translateX(0) translateY(0) !important;
    box-shadow: none !important;
}

#Form_ItemEditForm_Member_Holder {
    display: none !important;
}
.custom-checkbox-row {
    position: relative;
    margin-top: 0.5rem;
}

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

.custom-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    cursor: pointer;
    line-height: 1.5;
}

.custom-checkbox-mark {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.1rem;
    border: 2px solid #7c8b99;
    border-radius: 0.2rem;
    background: #fff;
    display: inline-block;
    position: relative;
    flex: 0 0 1.5rem;
}

.custom-checkbox-input:focus + .custom-checkbox-label .custom-checkbox-mark {
    outline: 3px solid #8dc9de;
    outline-offset: 2px;
}

.custom-checkbox-input:checked + .custom-checkbox-label .custom-checkbox-mark {
    background: #4d9f3d;
    border-color: #4d9f3d;
}

.custom-checkbox-input:checked + .custom-checkbox-label .custom-checkbox-mark::after {
    content: "";
    position: absolute;
    left: 0.45rem;
    top: 0.15rem;
    width: 0.35rem;
    height: 0.75rem;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox-input:disabled + .custom-checkbox-label {
    opacity: 0.65;
    cursor: not-allowed;
}

.custom-checkbox-text ul {
    margin: 0;
    /* padding-left: 1.25rem; */
}

.field-description {
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.45;
}

.field-description p {
    margin: 0.35rem 0;
}

.field-description ol,
.field-description ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.field-description ol {
    list-style: decimal;
}

.field-description ul {
    list-style: disc;
}

.field-description li + li {
    margin-top: 0.35rem;
}

.field-description a {
    color: #006b94;
    text-decoration: underline;
    word-break: break-word;
}

.field-description strong,
.field-description b {
    font-weight: 600;
}

.intro-content {
    color: #1e293b;
    line-height: 1.6;
}

.intro-content p {
    margin: 0.75rem 0;
}

.intro-content h1,
.intro-content h2,
.intro-content h3,
.intro-content h4,
.intro-content h5,
.intro-content h6 {
    color: #006b94;
    font-weight: 600;
    line-height: 1.2;
    margin: 1rem 0 0.75rem;
}

.intro-content h1 {
    font-size: 2.25rem;
}

.intro-content h2 {
    font-size: 2rem;
}

.intro-content h3 {
    font-size: 1.5rem;
}

.intro-content h4 {
    font-size: 1.25rem;
}

.intro-content ol,
.intro-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.intro-content ol {
    list-style: decimal;
}

.intro-content ul {
    list-style: disc;
}

.intro-content li + li {
    margin-top: 0.25rem;
}

.intro-content a {
    color: #006b94;
    text-decoration: underline;
    word-break: break-word;
}

.intro-content strong,
.intro-content b {
    font-weight: 600;
}

.member-native-checkbox {
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    width: 1.5rem;
    height: 1.5rem;
    accent-color: #4d9f3d;
    cursor: pointer;
}

.signature-pad-wrapper {
    width: 100%;
    border: 2px solid #94a3b8;
    border-radius: 0.75rem;
    background: #fff;
    overflow: hidden;
}

.signature-pad {
    display: block;
    width: 100%;
    height: 220px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    touch-action: none;
    cursor: crosshair;
}

.signature-clear-button {
    border: 1px solid #94a3b8;
    border-radius: 0.5rem;
    background: #fff;
    color: #1e293b;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.signature-status {
    color: #475569;
    font-size: 0.95rem;
}

.signature-status-error {
    color: #b91c1c;
}
