/* --- Bonus Calculator Styles --- */


#lc-bonus-calculator-container {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    color: #333;
}

.calculator-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

/* Tabs Styling */
.ctabs {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    border-bottom: 2px solid rgb(235, 73, 96); /* Brand Red */
}

.ctabs li {
    margin-right: 5px;
    margin-bottom: 0;
}

.ctabs li a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: #555;
    background-color: #f2f2f2;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    border-bottom: none;
}

.ctabs li.active a, .ctabs li a:hover {
    background-color: rgb(235, 73, 96); /* Brand Red */
    color: #fff;
    border-color: rgb(235, 73, 96);
}

/* Inputs Grid */
.form-grid-inputs, .form-grid-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-grid-inputs, .form-grid-results {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field.full-width {
    grid-column: 1 / -1;
}

#lc-bonus-calculator-container label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

#lc-bonus-calculator-container .req {
    color: rgb(235, 73, 96);
}

#lc-bonus-calculator-container input,
#lc-bonus-calculator-container select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    height: 45px;
}

#lc-bonus-calculator-container input:focus,
#lc-bonus-calculator-container select:focus {
    border-color: rgb(235, 73, 96);
    outline: none;
}

/* Mixed Input/Select Row */
#lc-bonus-calculator-container .input-row {
    display: flex;
    gap: 10px;
}

#lc-bonus-calculator-container .input-row input {
    width: 40%;
}
#lc-bonus-calculator-container .input-row select {
    width: 60%;
}

/* Button */
#lc-bonus-calculator-container button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: rgb(39, 54, 59); /* Brand Dark */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 15px;
}

#lc-bonus-calculator-container button[type="submit"]:hover {
    background-color: rgb(29, 44, 49);
}

/* Results Section */
.results-section {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.results-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
    border-bottom: 3px solid rgb(235, 73, 96);
    padding-bottom: 5px;
    display: inline-block;
}

.results-section .form-field {
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}

.results-section label {
    font-size: 13px;
    color: #666;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.results-section input[readonly] {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 22px;
    font-weight: bold;
    color: rgb(39, 54, 59); /* Dark text for results */
    cursor: default;
    height: auto;
}

/* Errors */
.error {
    color: rgb(235, 73, 96);
    font-size: 13px;
    margin-top: 5px;
    font-weight: 600;
}