@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #e8f5e9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
}

.app {
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
}

/* ── Header ── */
.header {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.avatar {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 2px solid rgba(255,255,255,0.3);
}
.header-info h1 { font-size: 17px; font-weight: 700; }
.header-info p {
  font-size: 12px; margin-top: 3px; opacity: 0.85;
  display: flex; align-items: center; gap: 5px;
}
.quota-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.15); border-radius: 20px;
  padding: 2px 9px; font-size: 11px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
}
.quota-badge.low { background: rgba(255,152,0,0.3); border-color: rgba(255,152,0,0.5); }
.quota-badge.premium { background: rgba(255,215,0,0.2); border-color: rgba(255,215,0,0.4); }
.online-dot {
  width: 7px; height: 7px; background: #69f0ae;
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Banner mùa vụ ── */
.season-banner {
  background: #fff8e1;
  border-left: 4px solid #f9a825;
  padding: 9px 16px;
  font-size: 13px;
  color: #5d4037;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.season-banner strong { color: #e65100; }

/* ── Banner cài PWA ── */
.install-banner {
  background: #1b5e20;
  color: white;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.install-banner .ib-icon { font-size: 22px; flex-shrink: 0; }
.install-banner .ib-text { flex: 1; font-size: 13px; line-height: 1.4; }
.install-banner .ib-text strong { display: block; font-size: 14px; }
.install-banner .ib-btn {
  background: white; color: #1b5e20;
  border: none; border-radius: 20px;
  padding: 6px 14px; font-size: 13px;
  font-weight: 700; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.install-banner .ib-close {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 18px; cursor: pointer; padding: 4px; flex-shrink: 0;
}

/* ── Modals chung ── */
.redeem-overlay, .region-overlay, .tip-overlay, .ios-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 100;
  align-items: flex-end; justify-content: center;
}
.redeem-overlay.show, .region-overlay.show, .tip-overlay.show, .ios-overlay.show { display: flex; }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ── Modal nhập mã premium ── */
.redeem-modal {
  background: white; border-radius: 20px 20px 0 0;
  padding: 24px 20px 36px;
  width: 100%; max-width: 480px;
  animation: slideUp 0.3s ease;
}
.redeem-modal h2 { font-size: 18px; font-weight: 700; color: #1b5e20; margin-bottom: 6px; }
.redeem-modal p  { font-size: 13px; color: #666; margin-bottom: 16px; }
.redeem-input {
  width: 100%; border: 2px solid #c8e6c9; border-radius: 12px;
  padding: 12px 16px; font-size: 16px; font-family: inherit;
  text-transform: uppercase; letter-spacing: 2px;
  outline: none; margin-bottom: 12px; text-align: center;
}
.redeem-input:focus { border-color: #2e7d32; }
.redeem-submit {
  width: 100%; background: linear-gradient(135deg,#2e7d32,#43a047);
  color: white; border: none; border-radius: 12px;
  padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-bottom: 8px;
}
.redeem-cancel {
  width: 100%; background: none; border: none;
  color: #999; font-size: 14px; cursor: pointer; padding: 8px;
}
.redeem-msg { font-size: 13px; text-align: center; margin-top: 8px; min-height: 20px; }

/* ── Modal hướng dẫn cài iOS ── */
.ios-modal {
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 36px;
  width: 100%; max-width: 480px;
  animation: slideUp 0.3s ease;
}
.ios-modal h2 {
  font-size: 18px; font-weight: 700;
  color: #1b5e20; margin-bottom: 6px; text-align: center;
}
.ios-modal .ios-sub {
  font-size: 13px; color: #666; text-align: center; margin-bottom: 20px;
}
.ios-step {
  display: flex; align-items: center; gap: 14px;
  background: #f9fbe7; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px;
}
.ios-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: #2e7d32; color: white;
  font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ios-step-body { flex: 1; }
.ios-step-body strong { font-size: 14px; color: #212121; display: block; }
.ios-step-body span { font-size: 13px; color: #555; }
.ios-step-icon { font-size: 26px; flex-shrink: 0; }
.ios-close-btn {
  width: 100%; margin-top: 16px;
  background: #2e7d32; color: white;
  border: none; border-radius: 14px;
  padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}

/* ── Modal vùng trồng ── */
.region-modal {
  background: white; border-radius: 20px 20px 0 0;
  padding: 24px 20px 36px;
  width: 100%; max-width: 480px;
  animation: slideUp 0.3s ease;
}
.region-modal h2 { font-size: 17px; font-weight: 700; color: #1b5e20; margin-bottom: 6px; }
.region-modal p  { font-size: 13px; color: #666; margin-bottom: 16px; }
.region-select {
  width: 100%; border: 2px solid #c8e6c9; border-radius: 12px;
  padding: 12px 16px; font-size: 15px; font-family: inherit;
  outline: none; margin-bottom: 12px; background: #f9fbe7; color: #212121;
}
.region-select:focus { border-color: #2e7d32; }
.region-submit {
  width: 100%; background: linear-gradient(135deg,#2e7d32,#43a047);
  color: white; border: none; border-radius: 12px;
  padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-bottom: 8px;
}
.region-skip { width: 100%; background: none; border: none; color: #999; font-size: 14px; cursor: pointer; padding: 8px; }
.region-gps {
  width: 100%; background: #e8f5e9; border: 1.5px solid #a5d6a7;
  color: #2e7d32; border-radius: 12px;
  padding: 10px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; margin-bottom: 8px;
}
.region-gps:hover { background: #c8e6c9; }

/* ── Modal chia sẻ kinh nghiệm ── */
.tip-modal {
  background: white; border-radius: 20px 20px 0 0;
  padding: 24px 20px 36px;
  width: 100%; max-width: 480px;
  animation: slideUp 0.3s ease;
  max-height: 85vh; overflow-y: auto;
}
.tip-modal h2 { font-size: 17px; font-weight: 700; color: #1b5e20; margin-bottom: 6px; }
.tip-modal p  { font-size: 13px; color: #666; margin-bottom: 16px; }
.tip-input {
  width: 100%; border: 1.5px solid #c8e6c9; border-radius: 12px;
  padding: 11px 14px; font-size: 14px; font-family: inherit;
  outline: none; margin-bottom: 10px; background: #f9fbe7;
}
.tip-input:focus { border-color: #2e7d32; }
.tip-textarea {
  width: 100%; border: 1.5px solid #c8e6c9; border-radius: 12px;
  padding: 11px 14px; font-size: 14px; font-family: inherit;
  outline: none; margin-bottom: 10px; background: #f9fbe7;
  resize: none; min-height: 100px;
}
.tip-textarea:focus { border-color: #2e7d32; }
.tip-submit {
  width: 100%; background: linear-gradient(135deg,#2e7d32,#43a047);
  color: white; border: none; border-radius: 12px;
  padding: 14px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-bottom: 8px;
}
.tip-cancel { width: 100%; background: none; border: none; color: #999; font-size: 14px; cursor: pointer; padding: 8px; }
.tip-msg { font-size: 13px; text-align: center; margin-top: 8px; min-height: 20px; }
.share-tip-btn {
  position: fixed; bottom: 80px; right: 16px;
  background: #2e7d32; color: white;
  border: none; border-radius: 24px;
  padding: 8px 16px; font-size: 12px; font-weight: 600;
  cursor: pointer; box-shadow: 0 3px 12px rgba(46,125,50,0.4);
  z-index: 10; display: flex; align-items: center; gap: 5px;
  font-family: inherit;
}
.share-tip-btn:hover { background: #1b5e20; }

/* ── Gợi ý nhanh ── */
.quick-wrap {
  padding: 12px 16px 8px;
  display: flex; gap: 8px;
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: none; background: #f5f5f5;
}
.quick-wrap::-webkit-scrollbar { display: none; }
.quick-btn {
  white-space: nowrap;
  background: white; border: 1.5px solid #a5d6a7;
  color: #2e7d32; border-radius: 20px;
  padding: 7px 14px; font-size: 13px;
  font-family: inherit; font-weight: 500;
  cursor: pointer; flex-shrink: 0;
  transition: all 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.quick-btn:hover { background: #e8f5e9; border-color: #2e7d32; }
.quick-btn:active { background: #2e7d32; color: white; transform: scale(0.97); }

/* ── Tin nhắn ── */
.messages {
  flex: 1; overflow-y: auto;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 12px;
  scroll-behavior: smooth;
}
.msg-bot { display: flex; align-items: flex-end; gap: 8px; }
.bot-avatar {
  width: 32px; height: 32px; background: #2e7d32;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 15px; flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(46,125,50,0.3);
}
.msg-bot .bubble {
  background: white; color: #212121;
  border-radius: 18px 18px 18px 5px;
  padding: 11px 15px; max-width: 78%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  font-size: 14.5px; line-height: 1.65;
  white-space: pre-wrap; word-break: break-word;
}
.msg-user { display: flex; justify-content: flex-end; }
.msg-user .bubble {
  background: linear-gradient(135deg, #2e7d32, #388e3c);
  color: white; border-radius: 18px 18px 5px 18px;
  padding: 11px 15px; max-width: 78%;
  font-size: 14.5px; line-height: 1.65; word-break: break-word;
  box-shadow: 0 2px 8px rgba(46,125,50,0.25);
}
.msg-time { font-size: 11px; color: #9e9e9e; text-align: center; margin: 4px 0; }

/* ── Nút đánh giá ── */
.feedback-row { display: flex; gap: 6px; margin-top: 6px; margin-left: 40px; }
.fb-btn {
  background: none; border: 1.5px solid #e0e0e0;
  border-radius: 20px; padding: 3px 10px;
  font-size: 13px; cursor: pointer;
  color: #888; transition: all 0.15s;
  display: flex; align-items: center; gap: 4px;
}
.fb-btn:hover { border-color: #2e7d32; color: #2e7d32; background: #f1f8f1; }
.fb-btn.voted-up   { border-color: #2e7d32; background: #e8f5e9; color: #2e7d32; }
.fb-btn.voted-down { border-color: #ef5350; background: #ffebee; color: #ef5350; }
.fb-btn:disabled { cursor: default; opacity: 0.7; }

/* ── Active feedback card ── */
.feedback-card {
  background: white; border: 1.5px solid #c8e6c9;
  border-radius: 16px; padding: 14px 16px;
  margin: 0 0 4px 40px;
  box-shadow: 0 2px 8px rgba(46,125,50,0.1);
}
.feedback-card .fc-text { font-size: 13px; color: #555; margin-bottom: 12px; line-height: 1.5; }
.feedback-card .fc-btns { display: flex; gap: 8px; }
.fc-up, .fc-down {
  flex: 1; border: none; border-radius: 10px;
  padding: 9px; font-size: 15px; cursor: pointer;
  font-family: inherit; font-weight: 600; transition: all 0.15s;
}
.fc-up   { background: #e8f5e9; color: #2e7d32; }
.fc-down { background: #fff8e1; color: #e65100; }
.fc-up:hover   { background: #2e7d32; color: white; }
.fc-down:hover { background: #e65100; color: white; }

/* ── Reason box khi bấm 👎 ── */
.reason-wrap { margin-top: 10px; display: none; }
.reason-wrap.show { display: block; }
.reason-input {
  width: 100%; border: 1.5px solid #ffcc80; border-radius: 10px;
  padding: 9px 12px; font-size: 13px; font-family: inherit;
  outline: none; background: #fffde7; resize: none; min-height: 60px;
}
.reason-input:focus { border-color: #e65100; }
.reason-submit {
  margin-top: 6px; width: 100%;
  background: #e65100; color: white; border: none; border-radius: 10px;
  padding: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.correction-input {
  width: 100%; border: 1.5px solid #a5d6a7; border-radius: 10px;
  padding: 9px 12px; font-size: 13px; font-family: inherit;
  outline: none; background: #f1f8e9; resize: none; min-height: 60px;
  margin-top: 6px;
}
.correction-input:focus { border-color: #2e7d32; }
.correction-input::placeholder { color: #81c784; }
.correction-submit {
  margin-top: 6px; width: 100%;
  background: linear-gradient(135deg, #2e7d32, #43a047); color: white;
  border: none; border-radius: 10px; padding: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.correction-submit:disabled { background: #a5d6a7; cursor: not-allowed; }
.correction-actions { display: flex; flex-direction: column; gap: 2px; }

/* Tin nhắn đã sửa */
.msg-corrected .bubble {
  border-left: 3px solid #2e7d32;
}
.corrected-badge {
  display: inline-block; font-size: 11px; background: #e8f5e9;
  color: #2e7d32; border-radius: 8px; padding: 2px 8px;
  margin-bottom: 6px; font-weight: 600;
}

.reason-skip {
  width: 100%; background: none; border: none;
  color: #aaa; font-size: 12px; cursor: pointer; padding: 4px; margin-top: 2px;
}

/* ── Toast thưởng (redesigned) ── */
.bonus-toast {
  position: fixed; bottom: 148px; left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: white; border-radius: 16px; padding: 11px 16px;
  box-shadow: 0 6px 24px rgba(27,94,32,0.45);
  z-index: 200; opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; display: flex; align-items: center; gap: 12px;
  min-width: 220px; max-width: 310px;
}
.bonus-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.bonus-toast.unlock { background: linear-gradient(135deg, #bf360c, #e64a19); }
.toast-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.toast-body { display: flex; flex-direction: column; gap: 2px; }
.toast-body strong { font-size: 14px; font-weight: 700; }
.toast-body span { font-size: 11px; opacity: 0.88; line-height: 1.3; }

/* ── Progress bar điểm ── */
.pts-progress {
  position: fixed; bottom: 96px; left: 50%;
  transform: translateX(-50%) translateY(14px);
  background: white; border: 1.5px solid #a5d6a7;
  border-radius: 20px; padding: 7px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  z-index: 199; opacity: 0; transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; display: flex; align-items: center; gap: 10px;
  min-width: 190px;
}
.pts-progress.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pts-label { font-size: 12px; color: #2e7d32; font-weight: 600; white-space: nowrap; }
.pts-bar { flex: 1; height: 7px; background: #e8f5e9; border-radius: 4px; overflow: hidden; }
.pts-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, #66bb6a, #2e7d32);
  transition: width 0.7s ease;
}

/* ── Confetti ── */
.confetti-piece {
  position: fixed; top: 15%;
  animation: confetti-fall 2s ease-out forwards;
  z-index: 500; pointer-events: none;
}
@keyframes confetti-fall {
  0%   { transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(65vh) rotate(800deg) scale(0.6); opacity: 0; }
}

/* ── Ảnh trong chat ── */
.msg-user .bubble img, .msg-bot .bubble img {
  max-width: 100%; border-radius: 10px;
  display: block; margin-bottom: 6px;
}

/* ── Preview ảnh trước khi gửi ── */
.preview-wrap { display: none; padding: 8px 16px 0; background: #f5f5f5; flex-shrink: 0; }
.preview-wrap.show { display: flex; align-items: center; gap: 10px; }
.preview-wrap img {
  width: 64px; height: 64px;
  object-fit: cover; border-radius: 10px; border: 2px solid #a5d6a7;
}
.preview-caption { font-size: 13px; color: #555; flex: 1; }
.preview-remove {
  background: #ef5350; color: white; border: none; border-radius: 50%;
  width: 24px; height: 24px; font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ── Đang gõ ── */
.typing .bubble { padding: 14px 18px !important; }
.dots { display: flex; gap: 5px; align-items: center; }
.dot {
  width: 8px; height: 8px; background: #bdbdbd;
  border-radius: 50%; animation: bounce 1.2s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce {
  0%,80%,100%{transform:translateY(0);background:#bdbdbd}
  40%{transform:translateY(-7px);background:#2e7d32}
}

/* ── Input bar ── */
.input-bar {
  background: white; padding: 10px 12px;
  display: flex; gap: 8px; align-items: flex-end;
  border-top: 1px solid #e0e0e0; flex-shrink: 0;
}
.input-bar textarea {
  flex: 1; border: 1.5px solid #c8e6c9;
  border-radius: 22px; padding: 10px 14px;
  font-size: 14.5px; font-family: inherit;
  resize: none; outline: none; max-height: 110px;
  line-height: 1.5; background: #f9fbe7; color: #212121;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input-bar textarea:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.input-bar textarea::placeholder { color: #9e9e9e; }
.img-btn, .mic-btn {
  width: 42px; height: 42px;
  background: #e8f5e9; border: 1.5px solid #a5d6a7;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s; color: #2e7d32;
}
.img-btn:hover, .mic-btn:hover { background: #c8e6c9; }
.img-btn:active, .mic-btn:active { transform: scale(0.93); }
.img-btn svg, .mic-btn svg { width: 20px; height: 20px; }
.mic-btn.recording {
  background: #ffebee; border-color: #ef5350; color: #ef5350;
  animation: mic-pulse 1s infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,83,80,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(239,83,80,0); }
}
.send-btn {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  border: none; border-radius: 50%; color: white;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  transition: all 0.15s;
  box-shadow: 0 3px 10px rgba(46,125,50,0.35);
}
.send-btn:hover { transform: scale(1.05); }
.send-btn:active { transform: scale(0.95); }
.send-btn:disabled { background: #a5d6a7; box-shadow: none; cursor: not-allowed; transform: none; }
.send-btn svg { width: 20px; height: 20px; }

/* ── Correction banner ── */
.correction-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: #e8f5e9; border-top: 2px solid #a5d6a7;
  padding: 8px 14px; font-size: 13px; color: #2e7d32; font-weight: 500;
  gap: 8px;
}
.correction-banner span { flex: 1; }
.correction-banner button {
  background: none; border: 1.5px solid #a5d6a7; border-radius: 14px;
  color: #2e7d32; font-size: 12px; padding: 3px 12px; cursor: pointer;
  white-space: nowrap;
}
.correction-banner button:hover { background: #c8e6c9; }

/* ── Correction Form (trắc nghiệm) ── */
.cf-bubble { padding: 4px 2px; }
.cf-intro { font-size: 13px; color: #2e7d32; font-weight: 600; margin-bottom: 12px; }
.cf-question { margin-bottom: 14px; }
.cf-label { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 7px; }
.cf-options { display: flex; flex-wrap: wrap; gap: 6px; }
.cf-opt {
  font-size: 12px; padding: 5px 13px; border-radius: 16px;
  border: 1.5px solid #a5d6a7; background: white; color: #333;
  cursor: pointer; transition: all 0.15s;
}
.cf-opt:hover:not(.selected) { background: #e8f5e9; }
.cf-opt.selected { background: #2e7d32; color: white; border-color: #2e7d32; }
.cf-other {
  display: none; margin-top: 7px; width: 100%; box-sizing: border-box;
  border: 1.5px solid #a5d6a7; border-radius: 8px;
  padding: 7px 10px; font-size: 13px; font-family: inherit;
  outline: none; background: #f9fbe7;
}
.cf-input {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #a5d6a7; border-radius: 8px;
  padding: 7px 10px; font-size: 13px; font-family: inherit;
  outline: none; background: #f9fbe7;
}
.cf-input:focus, .cf-other:focus { border-color: #2e7d32; }
.cf-yesno { display: flex; gap: 8px; }
.cf-yn {
  flex: 1; padding: 8px; border-radius: 10px; font-size: 13px;
  border: 1.5px solid #a5d6a7; background: white;
  cursor: pointer; transition: all 0.15s;
}
.cf-yn:hover:not(.selected) { background: #e8f5e9; }
.cf-yn.selected { background: #2e7d32; color: white; border-color: #2e7d32; }
.cf-extra-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.cf-sub-opt {
  font-size: 12px; padding: 5px 13px; border-radius: 16px;
  border: 1.5px solid #ff8a65; background: white; color: #333;
  cursor: pointer; transition: all 0.15s;
}
.cf-sub-opt:hover:not(.selected) { background: #fff3e0; }
.cf-sub-opt.selected { background: #e65100; color: white; border-color: #e65100; }
.cf-loading-hint { font-size: 12px; color: #888; margin-top: 6px; }
.cf-submit-btn {
  width: 100%; padding: 10px; border-radius: 10px; margin-top: 6px;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: white; border: none; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: opacity 0.15s;
}
.cf-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
