:root{
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(17,24,39,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 18px;
  --maxw: 780px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

a{ color: inherit; }
.rv-wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.rv-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.rv-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rv-brand h1{
  margin:0;
  font-size: 18px;
  letter-spacing: .2px;
  font-weight: 650;
}

.rv-brand .rv-sub{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

.rv-footer{
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rv-quiet-link{
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted rgba(107,114,128,.6);
}

.rv-quiet-link:hover{
  color: var(--text);
  border-bottom-color: rgba(17,24,39,.4);
}

.rv-enter {
  font-size: 14px;
  color: #111827;
  opacity: .85;
}
.rv-enter:hover {
  opacity: 1;
}

/* ----------------------------
   RawVent Micro Header
---------------------------- */

.rv-micro-home{
  font-weight: 600;
  text-decoration: none;
  color: #111827;
  opacity: .9;
}

.rv-micro-home:hover{ opacity: 1; }

.rv-micro-links{
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-link{
  text-decoration: none;
  color: #111827;
  opacity: .85;
  font-size: 14px;
}

.rv-link:hover{ opacity: 1; }

.rv-dot{
  color: #9ca3af;
}

.rv-enter{
  font-size: 14px;
  color: #111827;
  opacity: .85;
  text-decoration: none;
}

.rv-enter:hover{
  opacity: 1;
  text-decoration: none;
}

@media (max-width: 640px){
  .rv-micro{ padding: 12px 16px !important; }
}

/* ============================
   RCP Join / Registration Form
   Matches RawVent theme vars
   ============================ */

/* Scope to RCP forms only */
#rcp_registration_form,
.rcp_form {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Top helper line */
#rcp_registration_form > p:first-child,
.rcp_form > p:first-child {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

/* Fieldsets */
#rcp_registration_form fieldset,
.rcp_form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}

/* Legends */
#rcp_registration_form legend,
.rcp_form legend {
  font-weight: 650;
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--text);
}

/* Labels */
#rcp_registration_form label,
.rcp_form label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 6px;
  color: var(--text);
}

/* Inputs */
#rcp_registration_form input[type="text"],
#rcp_registration_form input[type="email"],
#rcp_registration_form input[type="password"],
#rcp_registration_form select,
#rcp_registration_form textarea,
.rcp_form input[type="text"],
.rcp_form input[type="email"],
.rcp_form input[type="password"],
.rcp_form select,
.rcp_form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 16px; /* prevents iOS zoom */
  line-height: 1.2;
  outline: none;
}

#rcp_registration_form input:focus,
#rcp_registration_form select:focus,
#rcp_registration_form textarea:focus,
.rcp_form input:focus,
.rcp_form select:focus,
.rcp_form textarea:focus {
  border-color: rgba(17,24,39,.25);
  box-shadow: 0 0 0 4px rgba(17,24,39,.06);
}

/* Paragraph spacing */
#rcp_registration_form p,
.rcp_form p {
  margin: 0 0 12px;
}

/* Membership choice area divider */
#rcp_registration_form .rcp_subscription_fieldset,
.rcp_form .rcp_subscription_fieldset {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* Radio list -> card rows (works for most RCP outputs) */
#rcp_registration_form ul,
.rcp_form ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#rcp_registration_form li,
.rcp_form li {
  margin: 10px 0;
}

/* If your membership levels are simple li > input + label */
#rcp_registration_form li label,
.rcp_form li label {
  display: block;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

/* Keep the radio aligned */
#rcp_registration_form input[type="radio"],
.rcp_form input[type="radio"] {
  margin-right: 8px;
  transform: translateY(1px);
}

/* Make selected option feel selected (works when input is inside label) */
#rcp_registration_form li label:has(input[type="radio"]:checked),
.rcp_form li label:has(input[type="radio"]:checked) {
  border-color: rgba(17,24,39,.25);
  box-shadow: 0 0 0 4px rgba(17,24,39,.06);
}

/* Membership details table */
#rcp_registration_form table,
.rcp_form table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#rcp_registration_form th,
#rcp_registration_form td,
.rcp_form th,
.rcp_form td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: left;
}

#rcp_registration_form th,
.rcp_form th {
  font-weight: 650;
  color: var(--muted);
  width: 45%;
}

/* Submit button */
#rcp_registration_form input[type="submit"],
#rcp_registration_form button[type="submit"],
.rcp_form input[type="submit"],
.rcp_form button[type="submit"] {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: #111827;
  color: #fff;
}

#rcp_registration_form input[type="submit"]:hover,
#rcp_registration_form button[type="submit"]:hover,
.rcp_form input[type="submit"]:hover,
.rcp_form button[type="submit"]:hover {
  opacity: .95;
}

/* Links */
#rcp_registration_form a,
.rcp_form a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(107,114,128,.6);
}

#rcp_registration_form a:hover,
.rcp_form a:hover {
  border-bottom-color: rgba(17,24,39,.4);
  color: var(--text);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  #rcp_registration_form,
  .rcp_form {
    padding: 16px;
    border-radius: 16px;
  }
}

.rv-room-top{
  display:flex;
  justify-content:flex-start;
  margin-bottom: 6px;
}

.rv-room-account{
  font-size: 13px;
  color: #111827;
  opacity: .75;
  text-decoration: none;
}

.rv-room-account:hover{
  opacity: 1;
  text-decoration: none;
}

/* =========================================================
   RCP: [subscription_details] — RawVent skin
   Works for Account Overview + Payment History tables
   ========================================================= */

/* Wrapper(s) used by RCP vary by version/theme — cover the common ones */
.rcp_subscription_details,
.rcp-subscription-details,
.rcp_subscription_details_wrap,
.rcp-account-overview,
.rcp-payment-history {
  margin: 18px 0;
}

/* Headings inside the shortcode output */
.rcp_subscription_details h2,
.rcp_subscription_details h3,
.rcp_subscription_details h4,
.rcp-subscription-details h2,
.rcp-subscription-details h3,
.rcp-subscription-details h4 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* Make tables look like RawVent panels */
.rcp_subscription_details table,
.rcp-subscription-details table,
table.rcp-table,
table.rcp_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Table header */
.rcp_subscription_details thead th,
.rcp-subscription-details thead th,
table.rcp-table thead th,
table.rcp_table thead th {
  text-align: left;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: .2px;
  color: var(--muted);
  background: rgba(17,24,39,.03);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

/* Cells */
.rcp_subscription_details td,
.rcp-subscription-details td,
table.rcp-table td,
table.rcp_table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(17,24,39,.08);
  vertical-align: middle;
  color: var(--text);
}

.rcp_subscription_details tbody tr:last-child td,
.rcp-subscription-details tbody tr:last-child td,
table.rcp-table tbody tr:last-child td,
table.rcp_table tbody tr:last-child td {
  border-bottom: none;
}

/* Make the “Membership” column read nicely */
.rcp_subscription_details td:first-child,
.rcp-subscription-details td:first-child,
table.rcp-table td:first-child,
table.rcp_table td:first-child {
  font-weight: 600;
}

/* Status + Payment status — subtle pill */
.rcp_subscription_details td.status,
.rcp-subscription-details td.status,
.rcp_subscription_details td.payment-status,
.rcp-subscription-details td.payment-status {
  font-weight: 600;
}

.rcp_subscription_details td.status,
.rcp-subscription-details td.status,
.rcp_subscription_details td.payment-status,
.rcp-subscription-details td.payment-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* If status text is plain "Active/Complete", style it as a badge */
.rcp_subscription_details td.status,
.rcp-subscription-details td.status,
.rcp_subscription_details td.payment-status,
.rcp-subscription-details td.payment-status {
  padding: 0; /* keep cell padding from td rules */
}

.rcp_subscription_details td.status::before,
.rcp-subscription-details td.status::before,
.rcp_subscription_details td.payment-status::before,
.rcp-subscription-details td.payment-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(17,24,39,.25);
  display: inline-block;
}

/* Actions column: make links look like RawVent buttons */
.rcp_subscription_details td.actions a,
.rcp-subscription-details td.actions a,
.rcp_subscription_details .rcp-actions a,
.rcp-subscription-details .rcp-actions a,
table.rcp-table td a,
table.rcp_table td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.16);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  margin: 4px 6px 4px 0;
  white-space: nowrap;
}

/* Primary-looking action (first button in Actions cell) */
.rcp_subscription_details td.actions a:first-child,
.rcp-subscription-details td.actions a:first-child {
  background: var(--text);
  color: #fff;
  border-color: rgba(17,24,39,.28);
}

.rcp_subscription_details td.actions a:hover,
.rcp-subscription-details td.actions a:hover,
table.rcp-table td a:hover,
table.rcp_table td a:hover {
  transform: translateY(-1px);
}

/* Keep tables usable on mobile */
@media (max-width: 820px) {
  .rcp_subscription_details table,
  .rcp-subscription-details table,
  table.rcp-table,
  table.rcp_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .rcp_subscription_details thead th,
  .rcp-subscription-details thead th,
  table.rcp-table thead th,
  table.rcp_table thead th,
  .rcp_subscription_details td,
  .rcp-subscription-details td,
  table.rcp-table td,
  table.rcp_table td {
    white-space: nowrap;
  }
}
