
/* Style for filter-guide */
body {
  font-family: sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}
/* 置頂共用橫幅（P1.png） */
.container.top-banner { padding: 0; }
.container.top-banner img { display:block; max-width:100%; height:auto; margin:0 auto; border-radius:0; }
.header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.header img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 10px;
}
.header h1 {
  font-size: 1.5rem;
  margin: 0;
}
.progress-wrap {
  margin-bottom: 20px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: #3b82f6;
  transition: width 0.3s ease;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 20px;
  margin-bottom: 10px;
}
.card h2 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 1.3rem;
}
.note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 10px;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.option:hover {
  border-color: #3b82f6;
}
.option.selected {
  border-color: #3b82f6;
  background: #eff6ff;
}
.option img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 10px;
}
.option-title {
  font-weight: bold;
  margin-bottom: 2px;
}
.option-desc {
  font-size: 0.85rem;
  color: #555;
}
.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #e5e7eb;
  color: #333;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn.primary {
  background: #3b82f6;
  color: #fff;
}
.btn.deep {
  background: #2f6de0;
  color: #fff;
  border-radius: 9999px;
  padding: 12px 24px;
  font-weight: 600;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.footer-tip {
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
}
/* Instruction page styles */
.instruction {
  text-align: center;
}
.instruction img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}
.instruction .step-text {
  font-size: 1rem;
  margin-bottom: 20px;
}
.video-container {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 20px;
}
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.step-counter {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #555;
}
