.tmf-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-family: inherit;
}

.tmf-notice {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
}

.tmf-notice-success {
    background: #eafaf0;
    border: 1px solid #34a853;
    color: #1e7e39;
}

.tmf-notice-error {
    background: #fdecea;
    border: 1px solid #d93025;
    color: #a50e0e;
}

.tmf-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

.tmf-field {
    box-sizing: border-box;
    padding: 10px 0;
}

.tmf-width-50 {
    width: calc(50% - 12px);
}

.tmf-width-100 {
    width: 100%;
}

@media (max-width: 640px) {
    .tmf-width-50 {
        width: 100%;
    }
}

.tmf-heading-wrap {
    margin-top: 18px;
    border-bottom: 2px solid #222;
    padding-bottom: 6px;
}

.tmf-heading {
    margin: 0;
    font-size: 20px;
}

.tmf-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.tmf-required {
    color: #d93025;
}

.tmf-input {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.tmf-radio-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.tmf-radio-option {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tmf-acceptance-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
}

.tmf-html-block {
    background: #f7f7f8;
    border: 1px solid #e2e2e4;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.tmf-help {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
}

.tmf-submit-row {
    margin-top: 24px;
}

.tmf-submit-btn {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.tmf-submit-btn:hover {
    background: #444;
}

[data-tmf-conditional="1"] {
    transition: opacity 0.15s ease;
}
