.tvwv-wrapper { max-width: 980px; margin: 0 auto; }
.tvwv-heading { margin: 0 0 12px; }
.tvwv-summary {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
    background: #f9f9f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tvwv-summary h4 { margin: 0 0 8px; font-size: 15px; letter-spacing: 0.2px; }
.tvwv-summary ul { margin: 0; padding-left: 18px; color: #333; }
.tvwv-summary li { margin-bottom: 5px; }

.tvwv-form-grid {
    display: grid;
    gap: 14px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.tvwv-form-grid .tvwv-full { grid-column: 1 / -1; }

.tvwv-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    text-transform: none;
    font-weight: 600;
    color: #2c2c2c;
}
.tvwv-field input,
.tvwv-field select,
.tvwv-field textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    padding: 10px 12px;
    min-height: 42px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tvwv-field input:focus,
.tvwv-field select:focus,
.tvwv-field textarea:focus {
    outline: none;
    border-color: black;
    box-shadow: 0 0 0 3px rgba(201, 73, 73, 0.15);
}
.tvwv-field textarea { min-height: 120px; resize: vertical; }

.tvwv-checkbox-wrap {
    display: grid;
    gap: 8px 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 220px;
    overflow: auto;
    border: 1px solid #d8d8d8;
    padding: 10px;
    border-radius: 6px;
    background: #fafafa;
}
.tvwv-checkbox-wrap label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 12.5px;
}
.tvwv-checkbox-wrap input[type="checkbox"],
.tvwv-format-options input[type="radio"] {
    width: 16px;
    height: 16px;
}

.tvwv-note { font-size: 12px; margin-top: 6px; color: #666; }
.tvwv-feedback { margin-bottom: 12px; padding: 10px 12px; border-radius: 6px; }
.tvwv-feedback.error { background: #fdecea; color: #8a1c1c; border: 1px solid #f2b8b5; }
.tvwv-feedback.success { background: #e8f5e9; color: #215a23; border: 1px solid #b9ddba; }

.tvwv-format-box {
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    padding: 5px;
    background: #fafafa;
}
#tvwv-open-format-tree,
#tvwv-open-format-tree-new {
    appearance: none;
    border: 1px solid black;
    color: black;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
#tvwv-open-format-tree:hover,
#tvwv-open-format-tree-new:hover {
    background: black;
    color: #fff;
}
.tvwv-format-tree { display: none; margin-top: 10px; }
.tvwv-format-tree.open { display: block; }
.tvwv-format-branch { margin-top: 8px; border-top: 1px dashed #ddd; padding-top: 10px; }
.tvwv-format-options label { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; font-weight: 400; font-size: 12.5px; }

#tvwv-pitch-form button[type="submit"],
#tvwv-new-pitch-form button[type="submit"],
#tvwv-test-credit-button {
    appearance: none;
    border: 1px solid black;
    background: black;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
#tvwv-pitch-form button[type="submit"]:hover,
#tvwv-new-pitch-form button[type="submit"]:hover,
#tvwv-test-credit-button:hover {
    background: #a83d3d;
    border-color: #a83d3d;
}

@media (max-width: 768px) {
    .tvwv-form-grid { grid-template-columns: 1fr; }
    .tvwv-checkbox-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media only screen and (min-width: 500px) {
    .paypal-button-container {
        max-width: 100% !important;
    }
}