  .trf-tracker-wrapper {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
}

.trf-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trf-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trf-label {
  font-weight: 600;
  font-size: 14px;
  color: #0e2f72;
}

.trf-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.trf-input:focus {
  outline: none;
  border-color: #0e2f72;
  box-shadow: 0 0 0 2px rgba(14, 47, 114, 0.15);
}

.trf-button {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #0e2f72;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.trf-button:hover {
  background-color: #0a2259;
}

.trf-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.trf-result {
  margin-top: 20px;
}

.trf-result-card {
  background: #f9f9f9;
  padding: 15px;
  border-left-width: 5px;
  border-left-style: solid;
  border-left-color: #d1af4d;
  border-radius: 4px;
}

.trf-result-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: #0e2f72;
}

.trf-result-status {
  margin: 0 0 8px 0;
  font-size: 14px;
}

.trf-result-note {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.trf-error-message {
  color: #c0392b;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

.trf-calculator-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.trf-calculator-title {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 700;
  color: #0e2f72;
  text-align: center;
}

.trf-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.trf-input-prefix {
  position: absolute;
  left: 12px;
  color: #666;
  font-weight: 500;
  font-size: 14px;
}

.trf-input-currency {
  padding-left: 36px !important;
}

.trf-hint {
  font-size: 12px;
  color: #ac8a28;
  margin-top: 4px;
}

.trf-slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 8px;
  border-radius: 4px;
  background: #e0e0e0;
  outline: none !important;
  border: none !important;
  margin: 8px 0;
  padding: 0 !important;
  display: block;
  box-sizing: border-box;
  cursor: pointer;
  overflow: visible;
}

input[type="range"].trf-slider {
  width: 100% !important;
  max-width: none !important;
}

.trf-slider:focus {
  outline: none !important;
  box-shadow: none !important;
}

.trf-slider::-webkit-slider-runnable-track {
  width: 100% !important;
  height: 8px;
  border-radius: 4px;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
}

.trf-slider::-moz-range-track {
  width: 100% !important;
  height: 8px;
  border-radius: 4px;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
}

.trf-slider::-ms-track {
  width: 100% !important;
  height: 8px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

.trf-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d1af4d;
  cursor: pointer;
  border: none;
  margin-top: -8px;
  box-shadow: 0 2px 6px rgba(172, 138, 40, 0.4);
  transition: transform 0.2s ease;
}

.trf-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.trf-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d1af4d;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(172, 138, 40, 0.4);
}

.trf-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.trf-static-value {
  padding: 10px 12px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Interest Rate Input Group */
.trf-interest-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trf-input-bunga {
  flex: 0 0 20%;
  max-width: 20%;
  text-align: left;
  font-weight: 600;
  padding-right: 8px !important;
}

.trf-input-bunga::placeholder {
  font-weight: 400;
  color: #999;
  font-size: 12px;
}

.trf-input-bunga::-webkit-outer-spin-button,
.trf-input-bunga::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.trf-input-bunga[type=number] {
  -moz-appearance: textfield;
}

.trf-input-suffix {
  font-size: 14px;
  font-weight: 600;
  color: #0e2f72;
}

.trf-calculator-result {
  margin-top: 24px;
}

.trf-result-card-calculator {
  background: #fff;
  border-left: none;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
}

.trf-result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.trf-result-row:last-child {
  border-bottom: none;
}

.trf-result-label {
  color: #666;
  font-size: 14px;
}

.trf-result-value {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.trf-result-highlight {
  background: linear-gradient(135deg, #f8f4e8 0%, #fdf9ef 100%);
  margin: 10px -16px -16px -16px;
  padding: 16px !important;
  border-radius: 0 0 8px 8px;
}

.trf-result-highlight .trf-result-label {
  color: #0e2f72;
  font-weight: 600;
}

.trf-result-highlight .trf-result-value {
  color: #ac8a28;
  font-size: 18px;
}

.trf-button-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  background: #25d366;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 100%;
}

.trf-button-whatsapp:hover {
  background: #1da851;
  color: #fff;
}

.trf-button-whatsapp svg {
  flex-shrink: 0;
}

.trf-disclaimer {
  margin: 16px 0 0 0;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.trf-disclaimer-asterisk {
  color: #c0392b;
  font-weight: 700;
  margin-right: 2px;
}

/* ========================================
   Bank List Slider Styles
   ======================================== */

.trf-bank-slider-wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 24px 0;
}

.trf-bank-slider-title {
  margin: 0 0 20px 0;
  font-size: 22px;
  font-weight: 700;
  color: #0e2f72;
  text-align: center;
}

.trf-bank-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 16px 4px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d1af4d #f0f0f0;
  touch-action: pan-x;
  will-change: scroll-position;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.trf-bank-slider::-webkit-scrollbar {
  height: 6px;
}

.trf-bank-slider::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.trf-bank-slider::-webkit-scrollbar-thumb {
  background: #d1af4d;
  border-radius: 3px;
}

.trf-bank-card {
  flex: 0 0 280px;
  min-width: 280px;
  background: #fff;
  border: 2px solid #e8f4fd;
  border-radius: 16px;
  padding: 20px;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.trf-bank-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.trf-bank-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.trf-bank-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  padding: 4px;
}

.trf-bank-logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.trf-bank-info {
  flex: 1;
  min-width: 0;
}

.trf-bank-name {
  margin: 0 0 2px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trf-bank-product {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trf-bank-card-body {
  margin-bottom: 16px;
}

.trf-bank-rate {
  margin-bottom: 4px;
}

.trf-bank-rate-value {
  font-size: 20px;
  font-weight: 700;
  color: #0e2f72;
}

.trf-bank-tenor {
  font-size: 14px;
  color: #64748b;
}

.trf-bank-learn-more {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.trf-bank-learn-more:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}

.trf-bank-learn-more svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.trf-bank-learn-more:hover svg {
  transform: translateX(3px);
}

.trf-no-banks {
  text-align: center;
  color: #64748b;
  padding: 40px 20px;
  font-size: 14px;
}

/* ========================================
   Bank Modal Styles
   ======================================== */

.trf-bank-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.trf-bank-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.trf-bank-modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.trf-bank-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #64748b;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}

.trf-bank-modal-close:hover {
  color: #1e293b;
  background: #e2e8f0;
}

.trf-bank-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
}

.trf-bank-modal-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trf-bank-modal-info h3 {
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 700;
  color: #0e2f72;
}

.trf-bank-modal-info p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.trf-bank-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  max-height: 60vh; /* Ensure modal doesn't grow too large */
  scrollbar-width: thin;
  scrollbar-color: #d1af4d #f0f0f0;
}

.trf-bank-modal-body::-webkit-scrollbar {
  width: 6px;
}

.trf-bank-modal-body::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.trf-bank-modal-body::-webkit-scrollbar-thumb {
  background: #d1af4d;
  border-radius: 3px;
}

.trf-bank-modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.trf-bank-modal-stat {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.trf-bank-modal-stat-label {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trf-bank-modal-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #0e2f72;
}

.trf-bank-modal-description {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.trf-bank-modal-description p {
  margin: 0 0 12px 0;
}

.trf-bank-modal-description p:last-child {
  margin-bottom: 0;
}

.trf-bank-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}

/* Responsive */
@media (max-width: 640px) {
  .trf-bank-card {
    flex: 0 0 260px;
    min-width: 260px;
    padding: 16px;
  }

  .trf-bank-modal-content {
    max-height: 85vh;
  }

  .trf-bank-modal-header {
    padding: 20px;
  }

  .trf-bank-modal-body {
    padding: 20px;
  }

  .trf-bank-modal-stats {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Progress Stepper Styles
   ======================================== */

.trf-card-header {
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.trf-current-status {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.trf-stepper {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  position: relative;
}

/* Connecting Line Background */
.trf-stepper::before {
  content: '';
  position: absolute;
  top: 14px; /* Half of marker height (28px / 2) */
  left: 0;
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.trf-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  z-index: 2; /* Content above line */
}

.trf-step-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.trf-step-label {
  font-size: 10px;
  color: #888;
  text-align: center;
  line-height: 1.2;
  font-weight: 500;
  max-width: 60px; /* Force wrapping for long labels */
}

/* Completed State */
.trf-step-item.completed .trf-step-marker {
  background: #27ae60;
  border-color: #27ae60;
}

/* Checkmark for completed steps */
.trf-step-item.completed .trf-step-marker::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.trf-step-item.completed .trf-step-label {
  color: #27ae60;
}

/* Active State */
.trf-step-item.active .trf-step-marker {
  background: #3498db;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.trf-step-item.active .trf-step-label {
  color: #3498db;
  font-weight: 700;
}

/* Rejected Alert */
.trf-rejected-alert {
  padding: 16px;
  background: #fde8e7;
  border: 1px solid #fadbd8;
  border-radius: 8px;
  color: #c0392b;
  text-align: center;
  margin-bottom: 16px;
}

.trf-rejected-alert p {
  margin: 0;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 360px) {
  .trf-stepper {
    flex-wrap: wrap; 
    gap: 12px;
  }
  
  .trf-stepper::before {
    display: none; /* Hide line on very small screens if wrapping */
  }

  .trf-step-item {
    flex-direction: row;
    width: 100%;
    flex: none;
    align-items: center;
    gap: 12px;
  }

  .trf-step-marker {
    margin-bottom: 0;
  }
  
  .trf-step-label {
    text-align: left;
    max-width: none;
    font-size: 13px;
  }

  .trf-step-note {
    text-align: left;
    max-width: none;
    margin-top: 0;
  }
}

.trf-step-note {
  font-size: 11px;
  color: #475569;
  margin-top: 6px;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  max-width: 100px;
  word-wrap: break-word; 
  line-height: 1.3;
}

.trf-stepper-note-full {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  box-sizing: border-box;
}

.trf-stepper-note-full strong {
  display: block;
  margin-bottom: 4px;
  color: #0e2f72;
}
