/* Banner tài khoản demo */
.smart-demo-banner {
  background: #fff8e1;
  color: #7a5c00;
  border-bottom: 1px solid #f0d480;
  padding: 6px 12px;
  font-size: 13px;
  text-align: center;
}

/* Form đăng ký dùng thử */
.smart-demo-signup {
  max-width: 560px;
  margin: 24px auto;
}
.smart-demo-signup .smart-demo-lead {
  color: #555;
  margin-bottom: 18px;
}
.smart-demo-form p {
  margin: 10px 0;
}
.smart-demo-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}
.smart-demo-form .required {
  color: #c00;
}
.smart-demo-actions {
  margin-top: 16px;
}
.smart-demo-thanks {
  text-align: center;
}

/* Bảng admin */
.smart-demo-filter {
  margin-bottom: 12px;
}
.smart-demo-list td.buttons a {
  margin-right: 6px;
}
.smart-demo-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}
.smart-demo-badge-active  { background: #d4edda; color: #155724; }
.smart-demo-badge-expired { background: #fff3cd; color: #856404; }
.smart-demo-badge-purged  { background: #e2e3e5; color: #41464b; }
.smart-demo-settings-link {
  margin-top: 12px;
}

/* Lang switch trên form đăng ký */
.smart-demo-langswitch {
  text-align: right;
  font-size: 13px;
  margin-bottom: 8px;
}
.smart-demo-langswitch a.current {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* Banner mời demo trên trang login */
.smart-demo-login-cta {
  background: #eef4ff;
  border: 1px solid #c7d8f5;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 0 auto 16px;
  max-width: 350px;
  text-align: center;
  font-size: 13px;
}
.smart-demo-login-cta a.button {
  display: inline-block;
  margin-top: 8px;
}

/* Nhu cầu/pain-point trong bảng admin */
.smart-demo-needs {
  font-size: 12px;
  color: #555;
  font-style: italic;
}

/* Tab template email trong Settings */
.smart-demo-placeholders {
  font-size: 12px;
  color: #555;
  margin: 6px 0;
}
.smart-demo-placeholders code {
  background: #f4f4f4;
  padding: 1px 4px;
  border-radius: 3px;
}
.smart-demo-tabs {
  border-bottom: 2px solid #ccc;
  margin: 10px 0 0;
}
.smart-demo-tab {
  display: inline-block;
  padding: 6px 16px;
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: none;
  color: #555;
}
.smart-demo-tab.current {
  background: #fff;
  border-color: #ccc;
  border-bottom: 2px solid #fff;
  margin-bottom: -2px;
  font-weight: bold;
  color: #222;
}
.smart-demo-tabpane {
  display: none;
  padding: 14px 4px;
}
.smart-demo-tabpane.current {
  display: block;
}
.sd-type-pane, .sd-lang-pane {
  display: none;
}
.sd-type-pane.current, .sd-lang-pane.current {
  display: block;
}
.sd-type-pane { padding: 10px 0; }
.sd-lang-pane { padding: 10px 2px; }

/* Khảo sát feedback */
.smart-demo-rating label.smart-demo-star {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
}
.smart-demo-wantcontact {
  font-weight: bold;
}
.smart-demo-contact-ok {
  color: #155724;
  font-weight: bold;
}

/* Trang thống kê */
.smart-demo-funnel, .smart-demo-breakdown {
  width: 100%;
  border-collapse: collapse;
}
.smart-demo-funnel td, .smart-demo-breakdown td {
  padding: 4px 8px;
  vertical-align: middle;
}
.smart-demo-funnel td.lbl { width: 30%; }
.smart-demo-breakdown td.lbl { width: 40%; }
.smart-demo-funnel td.bar, .smart-demo-breakdown td.bar { width: 50%; }
.smart-demo-funnel td.bar span,
.smart-demo-breakdown td.bar span {
  display: inline-block;
  height: 14px;
  background: #2b5797;
  border-radius: 3px;
  min-width: 2px;
}
.smart-demo-breakdown td.bar span { background: #5b9bd5; }
.smart-demo-funnel td.num, .smart-demo-breakdown td.num {
  text-align: right;
  white-space: nowrap;
}
