/* =========================================================
   income-tax.css — matches SIP / GST / Currency look
   ========================================================= */

.income-tax-card {
  position: relative;
  border-radius: 14px;
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, #f8fbff, #f4f8ff);
  border: 1px solid rgba(24,95,204,0.06);
  box-shadow: 0 12px 36px rgba(11,34,59,0.05);
}

/* Top blue accent line */
.income-tax-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #2B7BE4, #185FCC);
}

/* Title */
.income-tax-card .section-title {
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.income-tax-card .section-title i {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: #185FCC;
  box-shadow: 0 8px 20px rgba(11,34,59,0.08);
}

/* Inputs */
.income-tax-card input,
.income-tax-card select {
  border-radius: 10px;
  border: 1.5px solid rgba(11,34,59,0.14);
  font-weight: 700;
  padding: 10px 12px;
}

/* Radio buttons — match Currency / GST / SIP size */
.income-tax-card .form-check-input {
  width: 18px;
  height: 18px;
  accent-color: #2B7BE4;
  transform: none;              /* IMPORTANT */
  margin-top: 0.2rem;
}


/* Result box */
.tax-result-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(11,34,59,0.06);
  box-shadow: 0 10px 30px rgba(11,34,59,0.04);
}

/* Result table */
.tax-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 700;
}

.tax-table td {
  padding: 8px 6px;
}

.tax-table tr:not(:last-child) {
  border-bottom: 1px dashed rgba(11,34,59,0.12);
}

.tax-table td:last-child {
  text-align: right;
}

.tax-total {
  font-size: 1.05rem;
  font-weight: 900;
  color: #185FCC;
}

/* Reset button */
.income-tax-card .btn {
  border-radius: 12px;
  font-weight: 800;
  padding: 10px 18px;
  background: linear-gradient(180deg,#E6F1FF,#DDEBFF);
  border: 1px solid rgba(24,95,204,0.18);
}

/* Mobile */
@media (max-width:720px){
  .tax-table td { font-size: 0.95rem; }
}

.tax-compare-box {
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(11,34,59,0.06);
  box-shadow: 0 8px 24px rgba(11,34,59,0.04);
}

.tax-compare-box h4 {
  font-weight: 800;
  margin-bottom: 10px;
}

.tax-compare-box .best {
  background: #e6f7ef;
  color: #0a7a4b;
  font-weight: 900;
  border-radius: 8px;
}

.tax-saving {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg,#E6F1FF,#DDEBFF);
  font-weight: 800;
  color: #0B223B;
}

/* =========================================================
   FIX: Radio button size parity (Income Tax only)
   Matches Currency / GST / SIP radios
   ========================================================= */

.income-tax-card .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Reset any inherited scaling */
.income-tax-card .form-check-input {
  transform: none !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 0 !important;

  /* Visual parity */
  border: 2px solid rgba(11,34,59,0.18) !important;
  background-color: #fff !important;
  accent-color: #2B7BE4 !important;

  /* Remove browser-specific enlargement */
  appearance: auto !important;
  -webkit-appearance: auto !important;
}

/* Checked state clarity */
.income-tax-card .form-check-input:checked {
  background-color: #2B7BE4 !important;
  border-color: #2B7BE4 !important;
}

/* Label alignment */
.income-tax-card .form-check-label {
  font-weight: 700;
  cursor: pointer;
  line-height: 1.2;
}
