﻿/* Basic Styling */
/*body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
    background-color: #f0f0f0;*/ /* Light background for page */
/*}*/
.us-calculator {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 20px;
}
.calculator {
    max-width: 600px;
    margin: auto;
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #ffffff; /* White background for calculator */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
}

input[type="number"] {
    width: 95%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

button#calculate-btn {
    display: block; /* Make button block level */
    width: 100%; /* Make button full width */
    background-color: #007bff;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 17px;
    margin-top: 10px; /* Add space above button */
    transition: background-color 0.2s ease;
}

    button#calculate-btn:hover {
        background-color: #0056b3;
    }

/* Tab Styles */
.tab-container {
    margin-top: 25px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background-color: #e9e9e9;
    margin-right: 5px;
    color: #555;
    font-weight: bold;
}

    .tab-link.active {
        background-color: #fff;
        border-color: #ccc #ccc #fff; /* Border to merge with content */
        color: #007bff;
    }

.tab-content {
    display: none; /* Hide all content by default */
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none; /* Remove top border as tabs handle it */
    background-color: #fff;
    border-radius: 0 0 4px 4px;
}

    .tab-content.active {
        display: block; /* Show active content */
    }

/* Results Styling */
.results h3, .results h4 {
    margin-top: 0;
    color: #0056b3;
    margin-bottom: 10px;
}

.results p {
    margin: 8px 0;
    font-size: 1.05em;
}

.results .breakdown p {
    font-size: 1em;
    margin-left: 15px;
    color: #555;
}

.results .net-payout {
    font-weight: bold;
    color: green;
    font-size: 1.2em;
    margin-top: 15px;
}

.disclaimer {
    margin-top: 25px;
    font-size: 0.9em;
    color: #666;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.hidden { /* Utility class */
    display: none;
}

.explanation {
    font-size: 0.85em;
    color: #444;
    margin-left: 2px;
    margin-bottom: 15px; /* Add space below explanation */
    display: block; /* Make it block level */
}