.sub-tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.sub-tab-red {
  background: #fff;
  padding: 5px;
  border-radius: 50px;
  border: 1px solid #dee2e6;
  display: inline-flex;
}

.sub-tab-red .nav-link {
  border-radius: 50px;
  padding: 8px 25px;
  font-size: 11px;
  font-weight: 800;
  color: #6c757d;
  border: none;
  transition: 0.3s;
}

.sub-tab-red .nav-link.active {
  background: #dc3545 !important;
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
}

/* TOP RESUME CARDS */
.res-card-box {
  border: none;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #dc3545;
  height: 100%;
}

.res-lbl {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.res-val {
  font-size: 19px;
  font-weight: 900;
  margin-top: 5px;
  white-space: nowrap;
}

/* INDIVIDUAL TAX CARDS (White) */
.card-tax-box {
  border: none;
  border-top: 4px solid #dc3545;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: 0.3s;
  overflow: hidden;
}

.card-tax-box:hover {
  transform: translateY(-5px);
}

/* REKAP PBJT CARD (Dark Navy) */
.card-recap-dark {
  background: #1e293b;
  border: none;
  border-left: 6px solid #dc3545;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  height: 100%;
  transition: 0.3s;
  color: #fff;
}

.card-recap-dark:hover {
  transform: scale(1.02);
}

/* Internal Elements */
.tax-head {
  text-align: center;
  padding: 25px 15px 15px;
}

.icon-circle {
  width: 48px;
  height: 48px;
  background: #dc3545;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.15);
}

.card-recap-dark .icon-circle {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: none;
}

.title-label {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-recap-dark .title-label {
  color: #fff;
}

/* Data Rows */
.tax-data-rows {
  padding: 0 20px 25px;
}

.row-item {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-recap-dark .row-item {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.row-item:last-child {
  border-bottom: none;
}

.lbl-txt {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.val-txt {
  font-size: 16px;
  font-weight: 800;
}

.card-recap-dark .val-txt {
}

.val-primary {
  color: #dc3545 !important;
  font-size: 16px;
}

.val-recap-red {
  color: #ff4d4d !important;
  font-size: 16px;
}

/* Mobile Adjustment */
@media (max-width: 576px) {
  .res-val {
    font-size: 15px;
  }

  .val-txt {
    font-size: 14px;
  }
}
