
body {
  background-color: #f8f9fa;
}

.navbar .navbar-brand {
  letter-spacing: 0.03em;
}
.cabf-section {
  padding-top: 6rem;
  padding-bottom: 3.5rem;
}
.text-primary {
  color: #232071 !important;  /* ← replace with CABF/ICAI color */
}
.bg-primary {
  background-color: #232071 !important; /* change to desired CABF/ICAI color */
}
.navbar .dropdown-menu {
  min-width: 240px;
}

.navbar .dropdown-item {
  font-size: 0.95rem;
}

.navbar .dropdown-item:hover {
  background-color: rgba(0, 58, 143, 0.08);
}
.dropdown-menu .dropdown-item {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}
/* CABF Login Button */
.btn-cabf-login {
  background-color:#002f73;
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  white-space: nowrap;
}
.navbar-nav .nav-link {
  font-size: 0.875rem; /* ≈ 14px (default is ~16px) */
  
}
.btn-cabf-login:hover {
  background-color: #0d98fc;
  color: #fff;
}
/* Soft blink / pulse for Track Application */
.blink-soft {
  background: #deb98d;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.card {
  border-radius: 0.75rem;
}

.btn-primary {
  background-color: #232071;
  border-color: #0d6efd;
}

.btn-outline-primary {
  border-color: #0d6efd;
  color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 0.75rem;
  border: 1px dashed #232071;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  list-style-type: decimal;
  padding-left: 1.25rem;
}

.timeline li + li {
  margin-top: 0.25rem;
}
/* Announcement bar */
.cabf-announcement-bar {
  background: rgba(0, 58, 143, 0.06);
  border-top: 1px solid rgba(0, 58, 143, 0.12);
  border-bottom: 1px solid rgba(0, 58, 143, 0.12);
  padding: 10px 0;
}

.cabf-announcement-label {
  background: #deb98d;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.cabf-marquee {
  position: relative;
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
}

.cabf-marquee-track {
  display: inline-block;
  padding-left: 100%;
  animation: cabfMarquee 32s linear infinite;
}

/* Pause on hover */
.cabf-marquee:hover .cabf-marquee-track {
  animation-play-state: paused;
}

.cabf-announcement-item {
  display: inline-block;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
}

.cabf-announcement-item:hover {
  text-decoration: underline;
}

.cabf-sep {
  color: rgba(0,0,0,0.35);
  margin: 0 6px;
}

/* Marquee animation */
@keyframes cabfMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* Objective Section Styling */
.cabf-objective-section {
  background: #fff;
}

.cabf-section-head .cabf-kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.16);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.cabf-objective-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cabf-objective-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
  border-color: rgba(0, 58, 143, 0.25);
}

/* top accent line */
.cabf-objective-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

/* small badge (a)(b)(c)(d) */
.cabf-objective-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bs-primary);
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.18);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* slightly tighter text */
.cabf-objective-card p.small {
  line-height: 1.35rem;
}
/* Membership Section */
.cabf-membership-section {
  background: #fff;
}

.cabf-kicker {
  display: inline-block;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.16);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Card base */
.cabf-membership-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cabf-membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
  border-color: rgba(0, 58, 143, 0.25);
}

/* Top accent line */
.cabf-membership-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

/* Pills / Badges */
.cabf-badge-pill {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--bs-primary);
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Price tag */
.cabf-price-tag {
  text-align: right;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bs-primary);
  background: rgba(0, 58, 143, 0.06);
  border: 1px dashed rgba(0, 58, 143, 0.28);
  padding: 8px 12px;
  border-radius: 14px;
  white-space: nowrap;
}

/* Payment Note Card */
.cabf-payment-note {
  background: rgba(0, 58, 143, 0.06);
  border: 1px solid rgba(0, 58, 143, 0.14);
  border-radius: 16px;
  padding: 16px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.cabf-note-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bs-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cabf-note-icon i {
  font-size: 1.2rem;
}
/* Assistance Section */
.cabf-assistance-section {
  background: #fff;
}

/* Reusable info card */
.cabf-info-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 20px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cabf-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
  border-color: rgba(0, 58, 143, 0.25);
}

.cabf-info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

/* Icon */
.cabf-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.16);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cabf-info-icon i {
  font-size: 1.25rem;
}

/* Highlight amount */
.cabf-highlight {
  background: rgba(0, 58, 143, 0.06);
  border: 1px dashed rgba(0, 58, 143, 0.28);
  border-radius: 14px;
  padding: 12px 12px;
}

.cabf-highlight-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--bs-primary);
}

.cabf-highlight-sub {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.55);
}

/* Procedure Card */
.cabf-procedure-card {
  background: rgba(0, 58, 143, 0.06);
  border: 1px solid rgba(0, 58, 143, 0.14);
  border-radius: 16px;
  padding: 16px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.cabf-procedure-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bs-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cabf-procedure-icon i {
  font-size: 1.2rem;
}
footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
/* Page Header */
.cabf-page-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Committee Member Card */
.cabf-member-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cabf-member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
  border-color: rgba(0, 58, 143, 0.25);
}

/* Top Accent */
.cabf-member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

/* Icon */
.cabf-member-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.16);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.cabf-member-icon i {
  font-size: 1.4rem;
}
/* Document Cards (Balance Sheet / Downloads) */
.cabf-doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cabf-doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
  border-color: rgba(0, 58, 143, 0.25);
}

.cabf-doc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

.cabf-doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.16);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cabf-doc-icon i {
  font-size: 1.35rem;
}

.cabf-doc-arrow {
  margin-left: auto;
  color: rgba(0,0,0,0.45);
  transition: transform 0.2s ease, color 0.2s ease;
}

.cabf-doc-card:hover .cabf-doc-arrow {
  transform: translate(2px, -2px);
  color: var(--bs-primary);
}
/* Modal styling to match CABF */
.cabf-modal {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* Result card */
.cabf-result-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.cabf-result-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

/* Status badge */
.cabf-badge-status {
  background: rgba(0, 58, 143, 0.10);
  border: 1px solid rgba(0, 58, 143, 0.22);
  color: var(--bs-primary);
  font-weight: 700;
  padding: 0.45rem 0.75rem;
}

/* Steps / Progress */
.cabf-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .cabf-steps { grid-template-columns: 1fr; }
}

.cabf-step {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cabf-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  border-color: rgba(0, 58, 143, 0.22);
}

.cabf-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  margin: 0 auto 8px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 58, 143, 0.08);
  color: var(--bs-primary);
  border: 1px solid rgba(0, 58, 143, 0.16);
}
.cabf-step-dot i { font-size: 1.1rem; }

.cabf-step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(0,0,0,0.72);
}

/* Step states */
.cabf-step.done .cabf-step-dot {
  background: rgba(25, 135, 84, 0.12);
  border-color: rgba(25, 135, 84, 0.22);
  color: #198754;
}
.cabf-step.active {
  border-color: rgba(0, 58, 143, 0.30);
  box-shadow: 0 12px 24px rgba(0,0,0,0.07);
}
.cabf-step.active .cabf-step-dot {
  background: rgba(0, 58, 143, 0.14);
  border-color: rgba(0, 58, 143, 0.25);
}

/* Remark box */
.cabf-remark {
  background: rgba(0, 58, 143, 0.06);
  border: 1px solid rgba(0, 58, 143, 0.14);
  border-radius: 14px;
  padding: 12px 12px;
  color: rgba(0,0,0,0.75);
}
/* Smooth hide animation */
.cabf-hide {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease;
  pointer-events: none;
}
/* Boxed input style (Homepage-card like) */
.cabf-input-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.cabf-input-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0,58,143,1), rgba(0,58,143,0.35));
}

.cabf-input-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.09);
  border-color: rgba(0, 58, 143, 0.25);
}

/* Icon tile on left */
.cabf-input-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(0, 58, 143, 0.08);
  border: 1px solid rgba(0, 58, 143, 0.16);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.cabf-input-icon i {
  font-size: 1.35rem;
}

/* Body (label + input) */
.cabf-input-body {
  flex: 1;
}

/* Input style to feel premium */
.cabf-form-control {
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(0,0,0,0.12);
}

.cabf-form-control:focus {
  border-color: rgba(0, 58, 143, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 58, 143, 0.14);
}
/* Paste button - small and neat */
.cabf-clip-btn {
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}

/* Inline message box */
.cabf-inline-msg {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.03);
}

/* Variants */
.cabf-inline-msg.success {
  border-color: rgba(25, 135, 84, 0.22);
  background: rgba(25, 135, 84, 0.10);
  color: #198754;
}

.cabf-inline-msg.error {
  border-color: rgba(220, 53, 69, 0.22);
  background: rgba(220, 53, 69, 0.10);
  color: #dc3545;
}

.cabf-inline-msg.info {
  border-color: rgba(0, 58, 143, 0.22);
  background: rgba(0, 58, 143, 0.08);
  color: var(--bs-primary);
}

.cabf-track-card:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* Sticky summary card beside form */
.cabf-sticky-card {
  position: sticky;
  top: 100px; /* below fixed navbar */
}

/* Reduce list spacing */
.cabf-summary-card ul li {
  margin-bottom: 6px;
}
/* Light summary box */
.cabf-summary-light {
  background: #f8faff; /* very light blue */
  border: 1px solid rgba(0, 58, 143, 0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,0.04);
}

/* Highlighted amount */
.cabf-amount-highlight {
  background: linear-gradient(
    90deg,
    rgba(0,58,143,0.12),
    rgba(0,58,143,0.04)
  );
  border: 1px dashed rgba(0,58,143,0.35);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--bs-primary);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

/* Amount subtext */
.cabf-amount-highlight .cabf-amount-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(0,0,0,0.55);
}

/* Optional: subtle hover */
.cabf-summary-light:hover {
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}
/* Bank-style declaration/auth box */
.cabf-auth-box {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.cabf-auth-title {
  font-weight: 800;
  color: var(--bs-primary);
  padding: 12px 14px;
  background: rgba(0, 58, 143, 0.06);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cabf-auth-body {
  padding: 14px;
}

.cabf-auth-note {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.65);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Make summary sticky under fixed navbar */
.cabf-sticky-card {
  position: sticky;
  top: 96px;
}
.cabf-form-table thead th { background: rgba(0,0,0,0.03); }
.cabf-form-table td, .cabf-form-table th { vertical-align: top; }

/* Bank-style declaration box */
.cabf-auth-box {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.cabf-auth-title {
  font-weight: 800;
  color: var(--bs-primary);
  padding: 12px 14px;
  background: rgba(0, 58, 143, 0.06);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cabf-auth-body { padding: 14px; }
.cabf-auth-note {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.65);
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 10px 12px;
}
.cabf-amount-item{
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 10px;
}
.cabf-amount-item:hover{
  background: rgba(0,0,0,0.02);
}
.cabf-amount-preview{
  border: 1px dashed rgba(0,58,143,0.35);
  background: rgba(0,58,143,0.05);
  border-radius: 14px;
  padding: 10px 12px;
}
