.otz-custom-field-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
}

.otz-custom-field-container label.otz-toggle-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    margin: 0;
}

.otz-custom-field-container label.otz-toggle-label input[type=checkbox] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

#otz_input_section {
    display: none;
    margin-top: 15px;
}

#otz_input_section.otz-required-mode {
    display: block;
}

#otz_custom_text {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
}

#otz_custom_text.otz-field-error {
    border-color: #e2401c;
}

.otz-required-notice {
    font-size: .85em;
    color: #e2401c;
    margin-top: 6px;
    display: none;
}

#otz_char_counter {
    text-align: right;
    font-size: .8em;
    color: #888;
    margin-top: 5px;
}

#otz_char_counter.otz-limit-warning {
    color: #e2401c;
    font-weight: 600;
}
