/**
 * TPP Forms CSS — Legacy form styles, now using shared tpp-tokens.css variables.
 * Kept for backward compatibility with older shortcode forms.
 * All new styles should use classes from tpp-tokens.css directly.
 */
.tp-form { max-width: 600px; }
.tp-form .tp-field { margin-bottom: var(--tpp-space-md, 16px); }
.tp-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: var(--tpp-font-size-sm, 13px); color: var(--tpp-text, #1F2937); }
.tp-form input[type="text"],
.tp-form input[type="number"],
.tp-form input[type="email"],
.tp-form input[type="password"],
.tp-form input[type="tel"],
.tp-form select,
.tp-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--tpp-border, #E4E7EB);
    border-radius: var(--tpp-radius-sm, 6px);
    font-size: var(--tpp-font-size, 15px);
    font-family: var(--tpp-font, inherit);
    background: var(--tpp-surface, #fff);
    color: var(--tpp-text, #1F2937);
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tp-form select {
    padding-right: 36px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.tp-form input:focus, .tp-form select:focus, .tp-form textarea:focus {
    outline: none;
    border-color: var(--tpp-primary, #0F3460);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, .12);
}
.tp-required { color: var(--tpp-danger, #A93226); margin-left: 2px; }
.tp-submit {
    background: var(--tpp-primary, #0F3460);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--tpp-radius-sm, 6px);
    font-size: var(--tpp-font-size, 15px);
    font-weight: 600;
    font-family: var(--tpp-font, inherit);
    cursor: pointer;
    min-height: 42px;
    transition: var(--tpp-transition, all .15s ease);
}
.tp-submit:hover { background: var(--tpp-primary-hover, #1A4D8F); }

.tp-meta-table th, .tp-meta-table td { padding: var(--tpp-space-sm, 12px); }
.tp-meta-table select, .tp-meta-table input[type="text"], .tp-meta-table input[type="number"] { width: 100%; max-width: 300px; }
