/* ══════════════════════════════════════
   স্বাস্থ্য প্রিমিয়াম ট্র্যাকার CSS
   ══════════════════════════════════════ */

/* ── লক স্ক্রিন ── */
.spt-locked {
  text-align: center;
  background: #f7fbf8;
  border: 2px dashed #9cd7c1;
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 520px;
  margin: 2rem auto;
}
.spt-lock-icon { font-size: 3rem; margin-bottom: 1rem; }
.spt-locked h3 { font-size: 1.35rem; margin-bottom: .5rem; color: #1a2e25; }
.spt-locked p  { color: #6a8c7e; margin-bottom: 1.5rem; }
.spt-lock-prices {
  display: flex; justify-content: center; gap: .75rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.spt-price-item {
  background: #fff; border: 1.5px solid #c8e4d8;
  border-radius: 12px; padding: .75rem 1.1rem;
  text-align: center; position: relative;
}
.spt-price-item span { display: block; font-size: .78rem; color: #6a8c7e; }
.spt-price-item strong { display: block; font-size: 1rem; color: #0a6e4f; }
.spt-price-featured { border-color: #0a6e4f; background: #e8f7f2; }
.spt-best {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #0a6e4f; color: #fff; font-size: .65rem; font-weight: 700;
  padding: .15rem .6rem; border-radius: 20px; white-space: nowrap;
}

/* ── বাটন ── */
.spt-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.5rem; border-radius: 50px;
  font-weight: 700; font-size: .9rem; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: all .25s;
}
.spt-btn-primary { background: #0a6e4f; color: #fff; border-color: #0a6e4f; }
.spt-btn-primary:hover { background: #074d37; color: #fff; }
.spt-btn-outline { background: transparent; color: #0a6e4f; border-color: #0a6e4f; }
.spt-btn-outline:hover { background: #0a6e4f; color: #fff; }
.spt-btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.spt-btn-sm { padding: .45rem 1rem; font-size: .8rem; }

/* ── Pricing ── */
.spt-pricing-wrap { max-width: 900px; margin: 0 auto; }
.spt-plan-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.25rem; margin-bottom: 2.5rem;
}
.spt-plan-card {
  background: #fff; border: 2px solid #c8e4d8;
  border-radius: 20px; padding: 1.75rem 1.5rem;
  text-align: center; transition: all .25s; position: relative;
}
.spt-plan-card:hover { border-color: #0a6e4f; box-shadow: 0 8px 24px rgba(10,110,79,.12); transform: translateY(-4px); }
.spt-plan-featured { border-color: #0a6e4f; box-shadow: 0 8px 24px rgba(10,110,79,.15); }
.spt-plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #0a6e4f; color: #fff; font-size: .78rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 30px; white-space: nowrap;
}
.spt-plan-card h3 { font-size: 1.15rem; margin-bottom: .75rem; color: #1a2e25; }
.spt-plan-price { font-size: 2.5rem; font-weight: 800; color: #0a6e4f; line-height: 1; margin-bottom: .25rem; }
.spt-plan-price span { font-size: 1rem; font-weight: 500; }
.spt-plan-save { font-size: .78rem; color: #6a8c7e; margin-bottom: 1.25rem; }
.spt-plan-card ul { list-style: none; text-align: left; margin: 1rem 0 1.5rem; display: flex; flex-direction: column; gap: .4rem; }
.spt-plan-card ul li { font-size: .85rem; color: #3a5248; }

/* পেমেন্ট ফর্ম */
.spt-payment-form {
  background: #f7fbf8; border: 1.5px solid #9cd7c1;
  border-radius: 20px; padding: 2rem; margin-top: 1.5rem;
}
.spt-payment-form h3 { margin-bottom: 1.25rem; font-size: 1.15rem; }
.spt-selected-plan-info {
  background: #e8f7f2; border-radius: 10px; padding: .85rem 1.1rem;
  font-weight: 600; color: #0a6e4f; margin-bottom: 1.25rem;
}
.spt-pay-method-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.spt-method-tab {
  padding: .55rem 1.25rem; border: 2px solid #c8e4d8;
  border-radius: 30px; background: #fff; cursor: pointer;
  font-weight: 600; font-size: .875rem; transition: all .2s;
}
.spt-method-tab.is-active { background: #0a6e4f; border-color: #0a6e4f; color: #fff; }
.spt-pay-instructions { background: #fff; border: 1.5px solid #c8e4d8; border-radius: 12px; padding: 1.25rem; margin-bottom: 1.25rem; }
.spt-number-box {
  background: #e8f7f2; border-radius: 10px; padding: .85rem 1.1rem;
  display: flex; align-items: center; gap: 1rem; margin: .75rem 0;
}
.spt-number { font-size: 1.35rem; font-weight: 800; color: #0a6e4f; letter-spacing: 1px; }
.spt-number-name { font-size: .85rem; color: #3a5248; }
.spt-pay-instructions ol { padding-left: 1.25rem; margin-top: .5rem; }
.spt-pay-instructions ol li { font-size: .875rem; color: #3a5248; margin-bottom: .35rem; line-height: 1.6; }
.spt-form-fields { display: flex; flex-direction: column; gap: 1rem; }
.spt-field { display: flex; flex-direction: column; gap: .35rem; }
.spt-field label { font-size: .875rem; font-weight: 600; color: #1a2e25; }
.spt-field input, .spt-field select {
  padding: .65rem 1rem; border: 1.5px solid #c8e4d8;
  border-radius: 10px; font-size: .9rem; outline: none; transition: border-color .2s;
}
.spt-field input:focus, .spt-field select:focus { border-color: #0a6e4f; box-shadow: 0 0 0 3px rgba(10,110,79,.1); }
.spt-field-hint { font-size: .75rem; color: #6a8c7e; }
.spt-form-msg { margin-top: .75rem; font-size: .875rem; padding: .65rem 1rem; border-radius: 8px; display: none; }
.spt-form-msg.success { background: #e8f7f2; color: #0a6e4f; display: block; }
.spt-form-msg.error   { background: #fdeaea; color: #b52020; display: block; }
.spt-login-prompt { text-align: center; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }

/* ── ড্যাশবোর্ড ── */
.spt-dashboard { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.75rem; }
.spt-dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  background: #0a6e4f; color: #fff; border-radius: 16px; padding: 1.1rem 1.5rem; gap: 1rem;
}
.spt-dash-user { display: flex; align-items: center; gap: .85rem; }
.spt-dash-avatar {
  width: 44px; height: 44px; background: rgba(255,255,255,.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.spt-dash-user strong { display: block; color: #fff; font-size: 1rem; }
.spt-dash-user span   { display: block; color: rgba(255,255,255,.75); font-size: .8rem; margin-top: .15rem; }

/* এন্ট্রি ফর্ম */
.spt-entry-card {
  background: #fff; border: 1.5px solid #c8e4d8; border-radius: 16px; padding: 1.75rem;
}
.spt-entry-card h3 { font-size: 1.05rem; margin-bottom: 1.1rem; color: #1a2e25; }
.spt-entry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.spt-entry-group { display: flex; flex-direction: column; gap: .35rem; }
.spt-entry-group label { font-size: .82rem; font-weight: 600; color: #3a5248; }
.spt-entry-group input, .spt-entry-group select {
  padding: .6rem .9rem; border: 1.5px solid #c8e4d8;
  border-radius: 10px; font-size: .9rem; outline: none; transition: border-color .2s;
}
.spt-entry-group input:focus { border-color: #0a6e4f; box-shadow: 0 0 0 3px rgba(10,110,79,.1); }
.spt-dual-input { display: flex; align-items: center; gap: .4rem; }
.spt-dual-input input { flex: 1; }
.spt-dual-input span { font-size: 1.1rem; font-weight: 700; color: #6a8c7e; }
.spt-dual-input select { flex: 1.2; }
.spt-save-msg { margin-top: .75rem; font-size: .875rem; padding: .6rem 1rem; border-radius: 8px; display: none; }
.spt-save-msg.ok  { background: #e8f7f2; color: #0a6e4f; display: block; }
.spt-save-msg.err { background: #fdeaea; color: #b52020; display: block; }

/* গ্রাফ */
.spt-charts-section { background: #fff; border: 1.5px solid #c8e4d8; border-radius: 16px; padding: 1.75rem; }
.spt-chart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.spt-chart-header h3 { font-size: 1.05rem; color: #1a2e25; }
.spt-chart-header select { padding: .45rem .85rem; border: 1.5px solid #c8e4d8; border-radius: 8px; font-size: .85rem; outline: none; }
.spt-charts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.spt-chart-card { background: #f7fbf8; border-radius: 12px; padding: 1.1rem; }
.spt-chart-card h4 { font-size: .875rem; color: #3a5248; margin-bottom: .75rem; }

/* লগ টেবিল */
.spt-log-section { background: #fff; border: 1.5px solid #c8e4d8; border-radius: 16px; padding: 1.75rem; }
.spt-log-section h3 { font-size: 1.05rem; margin-bottom: 1.1rem; color: #1a2e25; }
.spt-log-table-wrap { overflow-x: auto; }
.spt-log-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.spt-log-table th, .spt-log-table td { padding: .7rem .85rem; border-bottom: 1px solid #e8f0ec; text-align: left; }
.spt-log-table th { background: #f0faf5; color: #0a6e4f; font-weight: 700; }
.spt-log-table tr:last-child td { border-bottom: none; }
.spt-log-table tr:hover td { background: #f7fbf8; }
.spt-delete-log { background: none; border: none; color: #d85a30; cursor: pointer; font-size: .85rem; padding: .25rem .5rem; border-radius: 4px; }
.spt-delete-log:hover { background: #fdeaea; }

/* সক্রিয় নোটিশ */
.spt-active-notice {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: #e8f7f2; border: 2px solid #0a6e4f; border-radius: 16px; padding: 1.75rem;
}
.spt-active-icon { font-size: 2.5rem; flex-shrink: 0; }
.spt-active-notice h3 { font-size: 1.15rem; color: #0a6e4f; margin-bottom: .4rem; }
.spt-active-notice p { color: #3a5248; margin-bottom: 1rem; }

/* রেসপন্সিভ */
@media (max-width: 700px) {
  .spt-plan-grid     { grid-template-columns: 1fr; }
  .spt-entry-grid    { grid-template-columns: 1fr; }
  .spt-charts-grid   { grid-template-columns: 1fr; }
  .spt-dash-topbar   { flex-direction: column; align-items: flex-start; }
}
