.tfc-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}
.tfc-form-column {
    flex: 0 0 450px;
    width: 50%;
}
.tfc-results-column {
    flex: 1;
    min-height: 400px;
    width: 50%;
}

@media (max-width: 768px) {
    .tfc-container {
        flex-direction: column;
    }
    .tfc-form-column {
        width: 100%;
    }
    .tfc-results-column {
        width: 100%;
    }
}

.tfc-card {
    background: #f7f7f7;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}
.tfc-card label {
    display: block;
    font-weight: 500;
    color: #333;
}
.tfc-card input, .tfc-card select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 15px;
}

/* State and County fields side by side */
.tfc-card .state-county-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.tfc-card .state-county-row .form-group {
    flex: 1;
}

.tfc-card .state-county-row input,
.tfc-card .state-county-row select {
    width: 100%;
}
.tfc-card input:focus, .tfc-card select:focus {
    outline: none;
    border-color: #BEAD96;
    box-shadow: 0 0 5px rgba(190, 173, 150, 0.3);
}
.tfc-card button {
    background: #BEAD96;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}
#tfc-results {
    margin-top: 20px;
}
.tfc-results {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #BEAD96;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}
.tfc-results h3 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #BEAD96;
    padding-bottom: 5px;
    font-size: 18px;
    font-weight: bold;
}
.tfc-results ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.tfc-results li {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tfc-results li:last-child {
    border-bottom: none;
    font-weight: bold;
    background: #f5f3f0;
}
.tfc-results .fee-label {
    color: #555;
}
.tfc-results .fee-amount {
    font-weight: 600;
    color: #333;
}
.tfc-results .section-title {
    background: #BEAD96;
    color: white;
    padding: 8px 12px;
    margin: 15px 0 10px 0;
    font-weight: bold;
}
.tfc-results .total-section {
    background: #f0f0f0;
    padding: 15px;
    margin-top: 20px;
    border: 2px solid #BEAD96;
}
.tfc-results .total-section h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}
.tfc-results .total-amount {
    font-size: 20px;
    font-weight: bold;
    color: #BEAD96;
}
.tfc-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}
.tfc-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-left: 4px solid #c62828;
    margin-top: 20px;
}
.tfc-info-box {
    background: #BEAD96;
    border: 1px solid #BEAD96;
    padding: 15px;
    margin: 20px 0;
    color: white;
}
.tfc-info-box h4 {
    margin: 0 0 10px 0;
    color: white;
}
.tfc-info-box p {
    margin: 5px 0;
    font-size: 14px;
    color: white;
}
.tfc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.tfc-table tr {
    border-bottom: 1px solid #eee;
}
.tfc-table tr:nth-child(even) {
    background: #f8f9fa;
}
.tfc-table tr:last-child {
    border-bottom: none;
}
.tfc-table td {
    padding: 12px 15px;
    font-size: 14px;
}
.tfc-table tr.total-row {
    background: #BEAD96 !important;
    color: white;
    font-weight: bold;
}
.tfc-table tr.total-row td {
    color: white;
}
.tfc-details-table tr {
    background: #BEAD96 !important;
    color: white;
}
.tfc-details-table tr td {
    color: white;
    font-weight: 500;
}
.tfc-details-table tr:nth-child(even) {
    background: #BEAD96 !important;
}
.tfc-details-table tr:last-child {
    border-bottom: none;
}

