/* Tax Resolution Form Styles */
.trf-form {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a2e;
}

.trf-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #c9a227;
    color: #1a1a2e;
}

.trf-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.trf-section:last-of-type {
    border-bottom: none;
}

.trf-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a2e;
}

.trf-field {
    margin-bottom: 18px;
}

.trf-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #333;
}

.trf-field input[type="text"],
.trf-field input[type="email"],
.trf-field input[type="tel"],
.trf-field input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.trf-field input:focus {
    outline: none;
    border-color: #c9a227;
    box-shadow: 0 0 0 3px rgba(201,162,39,0.1);
}

.trf-required {
    color: #d63638;
}

.trf-checkbox-row,
.trf-radio-row {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.trf-checkbox,
.trf-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
    cursor: pointer;
}

.trf-checkbox input,
.trf-radio input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.trf-checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.trf-inline-input {
    padding: 8px 12px !important;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    width: auto !important;
    max-width: 200px;
}

.trf-help-text {
    font-size: 0.85rem;
    color: #777;
    margin: 5px 0;
}

.trf-disclaimer {
    background: #f8f9fa;
    border-left: 4px solid #c9a227;
    padding: 15px 20px;
    font-style: italic;
    font-size: 0.9rem;
    color: #555;
    margin: 25px 0;
    border-radius: 0 6px 6px 0;
}

.trf-submit-row {
    text-align: center;
    margin-top: 30px;
}

.trf-submit-btn {
    background: #1a1a2e;
    color: #fff;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.trf-submit-btn:hover {
    background: #c9a227;
    color: #1a1a2e;
}

.trf-message {
    max-width: 720px;
    margin: 0 auto 20px auto;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.trf-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.trf-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile */
@media (max-width: 600px) {
    .trf-form {
        padding: 25px 20px;
    }

    .trf-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .trf-form-title {
        font-size: 1.5rem;
    }
}
