/* Custom styles for the Ontario Income Tax Calculator */

/* Add some spacing and style for the page */
body {
    padding-bottom: 2rem;
}

/* Style for info icons */
.fa-info-circle {
    cursor: help;
}

/* Styling for currency values */
.currency {
    font-family: monospace;
}

/* Highlight for important values */
.highlight-value {
    color: var(--bs-info);
    font-weight: bold;
}

/* Styling for positive amounts (refunds) */
.positive-amount {
    color: var(--bs-success);
}

/* Styling for negative amounts (owing) */
.negative-amount {
    color: var(--bs-danger);
}

/* Custom styling for the tax breakdown sections */
.tax-bracket-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.tax-bracket-row:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Custom tooltip styling */
.tooltip-inner {
    max-width: 300px;
    text-align: left;
}

/* Input focus styling */
.form-control:focus {
    border-color: var(--bs-info);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-info-rgb), 0.25);
}

/* Make sure input labels are readable */
.form-label {
    margin-bottom: 0.25rem;
}

/* Tax year selector styling */
.tax-year-selector-container {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tax-year-selector-container select {
    font-size: 1.1rem;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
}

.tax-year-selector-container select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}
