/*
  The Refer a business drawer (class.referral_drawer.php, referral_drawer.js): its own pieces
  on top of the process drawer look (process_drawer.css) — the fields box, the reward line,
  the who-it-goes-to row, the confirm row in the footer, the done mark. rd_ classes. px
  throughout (a rem is 10px on this site).
*/

/* ---- the fields ---- */

.rd_fields .form-control { height: auto; min-height: 46px; }
.rd_fields textarea.form-control { resize: none; line-height: 1.4; padding-top: 12px; }

/* ---- the reward line under the who fields ---- */

.rd_reward
{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--pd_brand_wash);
  border: 1.5px solid var(--pd_brand_edge);
  border-radius: var(--pd_radius);
  color: #26424c;
  font-size: 14px;
  line-height: 1.4;
}
.rd_reward .bi { flex: none; color: var(--pd_brand); font-size: 18px; margin-top: 1px; }
.rd_reward a { color: var(--pd_brand); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }

/* ---- the note step: who it is going to, a row that goes back ---- */

.rd_review { margin-top: 2px; }
.rd_review_row { width: 100%; text-align: left; cursor: pointer; }
.rd_review_row:hover { border-color: var(--pd_brand_edge); }
.rd_chevron { flex: none; color: var(--pd_faint); font-size: 14px; }

/* ---- the confirm row in the footer, over the buttons ---- */

.rd_confirm_row
{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 4px 2px;
}
.rd_confirm_row .rd_confirm_box { flex: none; margin: 0; border-radius: 6px; }
.rd_confirm_row .rd_confirm_box .custom_checkbox_checker { top: 0; line-height: 1; }
.rd_confirm_text { font-size: 14px; font-weight: 700; line-height: 1.3; cursor: pointer; }

/* ---- done ---- */

.rd_done { padding-top: 40px; }

/* ---- the page behind: the empty Your referrals card ---- */

.ref_empty { background: white; border: 1px solid #e8eaed; border-radius: 14px; padding: 30px 22px; text-align: center; color: #435b64; }
.ref_empty .bi { display: block; font-size: 34px; color: #007A85; margin-bottom: 8px; }
.ref_empty_title { font-weight: 700; color: #16211f; font-size: 1.05em; margin-bottom: 6px; }
.ref_empty .svy_intro_button { margin-top: 16px; }
