/* Main Wrapper */
.tvc-calculator-wrapper {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Form Styling */
.tvc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tvc-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tvc-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: calc(50% - 10px);
}

.tvc-form-group-full {
    min-width: 100%;
}

.tvc-form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: flex;
    align-items: center;
}

.tvc-form-group label svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #555;
}

.tvc-form-group input,
.tvc-form-group select {
    width: 100%;
    /*padding: 12px;*/
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 16px;
}

.tvc-form-group input:focus,
.tvc-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

/* Dynamic Fields Wrapper */
#tvc-dynamic-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

/* Results Section */
.tvc-results-wrapper {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.tvc-results-wrapper h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0073aa;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

.tvc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1em;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.tvc-result-item:last-child {
    border-bottom: none;
}

.tvc-result-item span {
    color: #555;
}

.tvc-result-item strong {
    color: #222;
    font-size: 1.3em;
    font-weight: 700;
}

/* Error Message */
.tvc-error {
    color: #d9534f;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 600px) {
    .tvc-form-group {
        min-width: 100%;
    }
}
