/* =========================================================
   PAC / MEMBERPRESS READABILITY SYSTEM
   Clean consolidated version
   ========================================================= */

:root {
  --pac-ink: #0b1220;
  --pac-text: #111827;
  --pac-muted: #5b667a;
  --pac-paper: #ffffff;
  --pac-soft-paper: #f5f6f8;
  --pac-border: rgba(11,18,32,0.14);
  --pac-gold: #c8a24a;
  --pac-gold-soft: rgba(200,162,74,0.25);
  --pac-blue: #1f5fae;
  --pac-active-blue: #cfe4ff;
  --pac-light-text: #f7f7f2;
  --pac-radius: 16px;
}


/* =========================================================
   WORDPRESS EDITOR CANVAS FIX
   Fixes dark text inside dark PAC design blocks while editing
   ========================================================= */

.editor-styles-wrapper .wp-block-cover,
.editor-styles-wrapper .wp-block-group.has-background,
.editor-styles-wrapper .has-background {
  color: var(--pac-light-text) !important;
}

.editor-styles-wrapper .wp-block-cover h1,
.editor-styles-wrapper .wp-block-cover h2,
.editor-styles-wrapper .wp-block-cover h3,
.editor-styles-wrapper .wp-block-cover h4,
.editor-styles-wrapper .wp-block-cover h5,
.editor-styles-wrapper .wp-block-cover h6,
.editor-styles-wrapper .wp-block-cover p,
.editor-styles-wrapper .wp-block-cover li,
.editor-styles-wrapper .wp-block-cover strong,
.editor-styles-wrapper .wp-block-cover em,
.editor-styles-wrapper .wp-block-group.has-background h1,
.editor-styles-wrapper .wp-block-group.has-background h2,
.editor-styles-wrapper .wp-block-group.has-background h3,
.editor-styles-wrapper .wp-block-group.has-background h4,
.editor-styles-wrapper .wp-block-group.has-background h5,
.editor-styles-wrapper .wp-block-group.has-background h6,
.editor-styles-wrapper .wp-block-group.has-background p,
.editor-styles-wrapper .wp-block-group.has-background li,
.editor-styles-wrapper .wp-block-group.has-background strong,
.editor-styles-wrapper .wp-block-group.has-background em {
  color: var(--pac-light-text) !important;
  -webkit-text-fill-color: var(--pac-light-text) !important;
}


/* =========================================================
   MEMBERPRESS REGISTRATION / SUBSCRIPTION FORMS
   ========================================================= */

.mepr-form {
  background: var(--pac-paper) !important;
  color: var(--pac-text) !important;
  padding: 28px !important;
  border-radius: var(--pac-radius) !important;
  border: 1px solid var(--pac-border) !important;
  box-shadow:
    0 18px 45px rgba(11,18,32,0.10),
    0 2px 10px rgba(11,18,32,0.06) !important;
  position: relative;
  overflow: hidden;
  outline: 1px solid rgba(200,162,74,0.35);
  outline-offset: -10px;
}

.mepr-form::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pac-gold), transparent);
}

.mepr-form,
.mepr-form label,
.mepr-form p,
.mepr-form span,
.mepr-form .mepr_price,
.mepr-form .mepr-price-box {
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
}

.mepr-form label {
  color: var(--pac-muted) !important;
  -webkit-text-fill-color: var(--pac-muted) !important;
  font-size: 0.92rem;
}

.mepr-form .mepr_price {
  font-size: 1.45rem;
  font-weight: 650;
  margin: 18px 0 14px;
}

.mepr-form .mepr-form-row,
.mepr-form .mp-form-row {
  margin-bottom: 14px !important;
}

.mepr-form input[type="text"],
.mepr-form input[type="email"],
.mepr-form input[type="password"],
.mepr-form select,
.mepr-form textarea {
  background: #ffffff !important;
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
  border: 1px solid rgba(11,18,32,0.20) !important;
  border-radius: 12px !important;
  padding: 12px !important;
}

.mepr-form input::placeholder,
.mepr-form textarea::placeholder {
  color: rgba(11,18,32,0.45) !important;
  -webkit-text-fill-color: rgba(11,18,32,0.45) !important;
}

.mepr-form input:focus,
.mepr-form select:focus,
.mepr-form textarea:focus {
  outline: none !important;
  border-color: var(--pac-gold) !important;
  box-shadow: 0 0 0 3px var(--pac-gold-soft) !important;
}

.mepr-form input[type="submit"],
.mepr-form button {
  background: var(--pac-ink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(200,162,74,0.65) !important;
  border-radius: 14px !important;
  padding: 12px 16px !important;
  font-weight: 650 !important;
  cursor: pointer;
}

.mepr-form a {
  color: var(--pac-blue) !important;
  -webkit-text-fill-color: var(--pac-blue) !important;
}


/* =========================================================
   MEMBERPRESS COURSES GLOBAL LEARNER VIEW
   Default course pages should be dark text on white
   ========================================================= */

body.single-mpcs-course,
body.single-mpcs-lesson,
body.single-mpcs-quiz {
  background: #ffffff !important;
  color: var(--pac-text) !important;
}

body.single-mpcs-course .mpcs-main,
body.single-mpcs-lesson .mpcs-main,
body.single-mpcs-quiz .mpcs-main,
body.single-mpcs-course .mpcs-main-content,
body.single-mpcs-lesson .mpcs-main-content,
body.single-mpcs-quiz .mpcs-main-content,
body.single-mpcs-course .mpcs-content,
body.single-mpcs-lesson .mpcs-content,
body.single-mpcs-quiz .mpcs-content,
body.single-mpcs-course .entry-content,
body.single-mpcs-lesson .entry-content,
body.single-mpcs-quiz .entry-content {
  background: #ffffff !important;
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
}

body.single-mpcs-course .mpcs-main h1,
body.single-mpcs-course .mpcs-main h2,
body.single-mpcs-course .mpcs-main h3,
body.single-mpcs-course .mpcs-main h4,
body.single-mpcs-course .mpcs-main p,
body.single-mpcs-course .mpcs-main li,
body.single-mpcs-course .mpcs-main label,
body.single-mpcs-course .mpcs-main span,
body.single-mpcs-lesson .mpcs-main h1,
body.single-mpcs-lesson .mpcs-main h2,
body.single-mpcs-lesson .mpcs-main h3,
body.single-mpcs-lesson .mpcs-main h4,
body.single-mpcs-lesson .mpcs-main p,
body.single-mpcs-lesson .mpcs-main li,
body.single-mpcs-lesson .mpcs-main label,
body.single-mpcs-lesson .mpcs-main span,
body.single-mpcs-quiz .mpcs-main h1,
body.single-mpcs-quiz .mpcs-main h2,
body.single-mpcs-quiz .mpcs-main h3,
body.single-mpcs-quiz .mpcs-main h4,
body.single-mpcs-quiz .mpcs-main p,
body.single-mpcs-quiz .mpcs-main li,
body.single-mpcs-quiz .mpcs-main label,
body.single-mpcs-quiz .mpcs-main span {
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
}

body.single-mpcs-course .mpcs-main a,
body.single-mpcs-lesson .mpcs-main a,
body.single-mpcs-quiz .mpcs-main a {
  color: var(--pac-blue) !important;
  -webkit-text-fill-color: var(--pac-blue) !important;
}


/* =========================================================
   INTENTIONAL DARK DESIGN BLOCKS INSIDE COURSES
   Keeps PAC dark sections readable without turning the whole course white-on-white
   ========================================================= */

body.single-mpcs-course .mpcs-main .has-background,
body.single-mpcs-lesson .mpcs-main .has-background,
body.single-mpcs-quiz .mpcs-main .has-background,
body.single-mpcs-course .mpcs-main .wp-block-cover,
body.single-mpcs-lesson .mpcs-main .wp-block-cover,
body.single-mpcs-quiz .mpcs-main .wp-block-cover {
  color: var(--pac-light-text) !important;
  -webkit-text-fill-color: var(--pac-light-text) !important;
}

body.single-mpcs-course .mpcs-main .has-background h1,
body.single-mpcs-course .mpcs-main .has-background h2,
body.single-mpcs-course .mpcs-main .has-background h3,
body.single-mpcs-course .mpcs-main .has-background h4,
body.single-mpcs-course .mpcs-main .has-background p,
body.single-mpcs-course .mpcs-main .has-background li,
body.single-mpcs-course .mpcs-main .has-background span,
body.single-mpcs-course .mpcs-main .has-background strong,
body.single-mpcs-course .mpcs-main .has-background em,
body.single-mpcs-lesson .mpcs-main .has-background h1,
body.single-mpcs-lesson .mpcs-main .has-background h2,
body.single-mpcs-lesson .mpcs-main .has-background h3,
body.single-mpcs-lesson .mpcs-main .has-background h4,
body.single-mpcs-lesson .mpcs-main .has-background p,
body.single-mpcs-lesson .mpcs-main .has-background li,
body.single-mpcs-lesson .mpcs-main .has-background span,
body.single-mpcs-lesson .mpcs-main .has-background strong,
body.single-mpcs-lesson .mpcs-main .has-background em,
body.single-mpcs-quiz .mpcs-main .has-background h1,
body.single-mpcs-quiz .mpcs-main .has-background h2,
body.single-mpcs-quiz .mpcs-main .has-background h3,
body.single-mpcs-quiz .mpcs-main .has-background h4,
body.single-mpcs-quiz .mpcs-main .has-background p,
body.single-mpcs-quiz .mpcs-main .has-background li,
body.single-mpcs-quiz .mpcs-main .has-background span,
body.single-mpcs-quiz .mpcs-main .has-background strong,
body.single-mpcs-quiz .mpcs-main .has-background em,
body.single-mpcs-course .mpcs-main .wp-block-cover h1,
body.single-mpcs-course .mpcs-main .wp-block-cover h2,
body.single-mpcs-course .mpcs-main .wp-block-cover h3,
body.single-mpcs-course .mpcs-main .wp-block-cover p,
body.single-mpcs-course .mpcs-main .wp-block-cover li,
body.single-mpcs-course .mpcs-main .wp-block-cover span,
body.single-mpcs-lesson .mpcs-main .wp-block-cover h1,
body.single-mpcs-lesson .mpcs-main .wp-block-cover h2,
body.single-mpcs-lesson .mpcs-main .wp-block-cover h3,
body.single-mpcs-lesson .mpcs-main .wp-block-cover p,
body.single-mpcs-lesson .mpcs-main .wp-block-cover li,
body.single-mpcs-lesson .mpcs-main .wp-block-cover span,
body.single-mpcs-quiz .mpcs-main .wp-block-cover h1,
body.single-mpcs-quiz .mpcs-main .wp-block-cover h2,
body.single-mpcs-quiz .mpcs-main .wp-block-cover h3,
body.single-mpcs-quiz .mpcs-main .wp-block-cover p,
body.single-mpcs-quiz .mpcs-main .wp-block-cover li,
body.single-mpcs-quiz .mpcs-main .wp-block-cover span {
  color: var(--pac-light-text) !important;
  -webkit-text-fill-color: var(--pac-light-text) !important;
}


/* =========================================================
   MEMBERPRESS COURSE SIDEBAR / LEFT NAV
   Fixes white-on-white active lesson and weird hover/selected states
   ========================================================= */

body.single-mpcs-course .mpcs-sidebar,
body.single-mpcs-lesson .mpcs-sidebar,
body.single-mpcs-quiz .mpcs-sidebar {
  background: var(--pac-soft-paper) !important;
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
}

body.single-mpcs-course .mpcs-sidebar a,
body.single-mpcs-course .mpcs-sidebar p,
body.single-mpcs-course .mpcs-sidebar span,
body.single-mpcs-course .mpcs-sidebar li,
body.single-mpcs-course .mpcs-sidebar h1,
body.single-mpcs-course .mpcs-sidebar h2,
body.single-mpcs-course .mpcs-sidebar h3,
body.single-mpcs-course .mpcs-sidebar h4,
body.single-mpcs-lesson .mpcs-sidebar a,
body.single-mpcs-lesson .mpcs-sidebar p,
body.single-mpcs-lesson .mpcs-sidebar span,
body.single-mpcs-lesson .mpcs-sidebar li,
body.single-mpcs-lesson .mpcs-sidebar h1,
body.single-mpcs-lesson .mpcs-sidebar h2,
body.single-mpcs-lesson .mpcs-sidebar h3,
body.single-mpcs-lesson .mpcs-sidebar h4,
body.single-mpcs-quiz .mpcs-sidebar a,
body.single-mpcs-quiz .mpcs-sidebar p,
body.single-mpcs-quiz .mpcs-sidebar span,
body.single-mpcs-quiz .mpcs-sidebar li,
body.single-mpcs-quiz .mpcs-sidebar h1,
body.single-mpcs-quiz .mpcs-sidebar h2,
body.single-mpcs-quiz .mpcs-sidebar h3,
body.single-mpcs-quiz .mpcs-sidebar h4 {
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
}

body.single-mpcs-course .mpcs-sidebar a:hover,
body.single-mpcs-course .mpcs-sidebar .active,
body.single-mpcs-course .mpcs-sidebar .current,
body.single-mpcs-course .mpcs-sidebar .is-active,
body.single-mpcs-course .mpcs-sidebar .mpcs-active,
body.single-mpcs-lesson .mpcs-sidebar a:hover,
body.single-mpcs-lesson .mpcs-sidebar .active,
body.single-mpcs-lesson .mpcs-sidebar .current,
body.single-mpcs-lesson .mpcs-sidebar .is-active,
body.single-mpcs-lesson .mpcs-sidebar .mpcs-active,
body.single-mpcs-quiz .mpcs-sidebar a:hover,
body.single-mpcs-quiz .mpcs-sidebar .active,
body.single-mpcs-quiz .mpcs-sidebar .current,
body.single-mpcs-quiz .mpcs-sidebar .is-active,
body.single-mpcs-quiz .mpcs-sidebar .mpcs-active {
  background: var(--pac-active-blue) !important;
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
}


/* =========================================================
   QUIZ / LESSON INPUTS, TEXTAREAS, SELECTS
   Fixes black-on-black or dark-on-dark fields
   ========================================================= */

body.single-mpcs-course .mpcs-main input,
body.single-mpcs-course .mpcs-main textarea,
body.single-mpcs-course .mpcs-main select,
body.single-mpcs-lesson .mpcs-main input,
body.single-mpcs-lesson .mpcs-main textarea,
body.single-mpcs-lesson .mpcs-main select,
body.single-mpcs-quiz .mpcs-main input,
body.single-mpcs-quiz .mpcs-main textarea,
body.single-mpcs-quiz .mpcs-main select {
  background: #ffffff !important;
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
  border: 1px solid rgba(11,18,32,0.25) !important;
  border-radius: 8px !important;
}

body.single-mpcs-course .mpcs-main input::placeholder,
body.single-mpcs-course .mpcs-main textarea::placeholder,
body.single-mpcs-lesson .mpcs-main input::placeholder,
body.single-mpcs-lesson .mpcs-main textarea::placeholder,
body.single-mpcs-quiz .mpcs-main input::placeholder,
body.single-mpcs-quiz .mpcs-main textarea::placeholder {
  color: #6b7280 !important;
  -webkit-text-fill-color: #6b7280 !important;
}


/* =========================================================
   TEXT SELECTION
   Prevents highlighted text becoming unreadable
   ========================================================= */

body.single-mpcs-course ::selection,
body.single-mpcs-lesson ::selection,
body.single-mpcs-quiz ::selection,
.editor-styles-wrapper ::selection {
  background: #b9dafc !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}


/* =========================================================
   MAILCHIMP FORM SKIN
   ========================================================= */

.wp-block-mailchimp-mailchimp-form-field {
  margin-bottom: 14px;
}

.wp-block-mailchimp-mailchimp-form-field .mc_var_label,
.wp-block-mailchimp-mailchimp-form-field label {
  color: var(--pac-muted) !important;
  -webkit-text-fill-color: var(--pac-muted) !important;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 6px;
}

.wp-block-mailchimp-mailchimp-form-field input.mc_input {
  width: 100%;
  background: #ffffff !important;
  color: var(--pac-text) !important;
  -webkit-text-fill-color: var(--pac-text) !important;
  border: 2px solid rgba(11,18,32,0.20) !important;
  border-radius: 12px !important;
  padding: 10px !important;
  font-size: 1rem;
}

.wp-block-mailchimp-mailchimp-form-field input.mc_input:focus {
  outline: none !important;
  border-color: var(--pac-gold) !important;
  box-shadow: 0 0 0 6px var(--pac-gold-soft) !important;
}

.wp-block-mailchimp-mailchimp-form-field input.mc_input::placeholder {
  color: rgba(11,18,32,0.45) !important;
  -webkit-text-fill-color: rgba(11,18,32,0.45) !important;
}

.wp-block-mailchimp-mailchimp-form button,
.wp-block-mailchimp-mailchimp-form input[type="submit"] {
  background: var(--pac-ink) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid rgba(200,162,74,0.65) !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  font-weight: 650;
}
/* Fix MemberPress Account/Profile dark theme contrast */

#mepr-account-nav,
#mepr-account-nav a,
.mepr-account-container,
.mepr-account-container *,
.mepr-account-form,
.mepr-account-form *,
.mepr-account-welcome-message,
.mp_wrapper,
.mp_wrapper * {
  color: #ffffff !important;
}

/* Make muted labels visible */
.mp_wrapper label,
.mp_wrapper .mepr-account-label,
.mp_wrapper .mepr-account-meta,
.mp_wrapper .mepr-account-info,
.mp_wrapper .mepr-account-field {
  color: #dbe7ff !important;
}

/* MemberPress account links/buttons */
.mp_wrapper a,
.mepr-account-container a {
  color: #7db7ff !important;
}

.mp_wrapper button,
.mp_wrapper input[type="submit"],
.mp_wrapper .mepr-submit,
.mp_wrapper .mepr-account-button,
.mp_wrapper a.button {
  color: #ffffff !important;
  border-color: #3f7cff !important;
  background: transparent !important;
}

/* Left account menu */
#mepr-account-nav a {
  color: #ffffff !important;
}

#mepr-account-nav .mepr-active-nav-tab a,
#mepr-account-nav a:hover {
  background: rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
}
/* PAC FIX: MemberPress ClubSuite / ClubDirectory on dark Lens theme */

/* PAC color tokens */
:root {
  --pac-navy: #111033;
  --pac-blue: #0b4fa8;
  --pac-blue-light: #2f65b8;
  --pac-text: #f4f6ff;
  --pac-muted: #cbd5e1;
  --pac-panel: #17163d;
  --pac-border: rgba(255,255,255,0.55);
  --pac-white: #ffffff;
  --pac-ink: #111827;
  --pac-success-bg: #dff8ec;
  --pac-success-text: #102018;
}
/* ======================================================
   PAC MEMBERPRESS / CLUBSUITE UI OVERHAUL
   Designed for PAC dark Lens-style ecosystem
====================================================== */

/* ---------- GLOBAL PAC COLORS ---------- */

:root{
  --pac-bg:#0a0b2d;
  --pac-bg2:#11154a;
  --pac-panel:rgba(14,18,60,0.78);
  --pac-panel-solid:#13174f;

  --pac-border:rgba(145,170,255,0.28);

  --pac-text:#f4f7ff;
  --pac-muted:#aeb8da;

  --pac-blue:#2e6bff;
  --pac-blue2:#5ea2ff;

  --pac-success-bg:#dff5ea;
  --pac-success-text:#173126;

  --pac-input-bg:#0e123d;
}

/* ---------- MAIN WRAPPERS ---------- */

.mepr-account-container,
.mp_wrapper,
[class*="club"],
[class*="directory"],
[class*="profile"]{
  color:var(--pac-text) !important;
}

/* ---------- WHITE CARD FIX ---------- */

.mepr-account-form,
.mepr-account-table,
.mepr-profile-details,
.mepr-profile-wrapper,
.mepr-account-container .card,
.mp_wrapper .card,
[class*="club"] .card,
[class*="directory"] .card,
[class*="profile"] .card,
[class*="profile"] .panel,
[class*="directory"] .panel{
  background:var(--pac-panel) !important;

  backdrop-filter:blur(14px);

  border:1px solid var(--pac-border) !important;

  border-radius:18px !important;

  box-shadow:
    0 10px 35px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.04);

  color:var(--pac-text) !important;
}

/* ---------- HEADINGS ---------- */

.mepr-account-container h1,
.mepr-account-container h2,
.mepr-account-container h3,
.mepr-account-container h4,
[class*="profile"] h1,
[class*="profile"] h2,
[class*="directory"] h1,
[class*="directory"] h2{
  color:var(--pac-text) !important;
  font-weight:700;
  letter-spacing:-0.02em;
}

/* ---------- BODY TEXT ---------- */

.mepr-account-container p,
.mepr-account-container span,
.mepr-account-container div,
.mepr-account-container td,
.mepr-account-container th,
[class*="profile"] p,
[class*="profile"] span,
[class*="directory"] p{
  color:var(--pac-text) !important;
}

/* ---------- MUTED LABELS ---------- */

.mepr-account-container label,
.mepr-account-container small,
.mepr-account-container .mepr-account-label,
[class*="profile"] label{
  color:var(--pac-muted) !important;
}

/* ---------- SUCCESS / WELCOME BAR ---------- */

.mepr_updated,
.mepr_success,
.notice-success,
.alert-success,
[class*="success"],
[class*="notice"]{

  background:var(--pac-success-bg) !important;

  border:none !important;

  border-left:4px solid #47c987 !important;

  border-radius:12px !important;

  color:var(--pac-success-text) !important;

  padding:16px 18px !important;
}

/* force all text inside welcome bar dark */
.mepr_updated *,
.mepr_success *,
.notice-success *,
.alert-success *,
[class*="success"] *,
[class*="notice"] *{
  color:var(--pac-success-text) !important;
}

/* ---------- LEFT SIDEBAR ---------- */

.mepr-account-nav{

  background:
    linear-gradient(
      180deg,
      #114eb1 0%,
      #0e43a0 100%
    ) !important;

  border-right:
    1px solid rgba(255,255,255,0.08);
}

.mepr-account-nav a{
  color:#ffffff !important;

  font-weight:500;

  transition:all .2s ease;
}

/* hover */
.mepr-account-nav a:hover{
  background:rgba(255,255,255,0.10) !important;
}

/* active tab */
.mepr-active-nav-tab a{
  background:
    rgba(255,255,255,0.14) !important;

  border-left:
    3px solid #84b8ff !important;
}

/* ---------- BUTTONS ---------- */

.mepr-account-container button,
.mepr-account-container .button,
.mepr-account-container input[type=submit]{

  background:
    linear-gradient(
      180deg,
      #1c63ff,
      #1049c9
    ) !important;

  border:1px solid rgba(255,255,255,0.15) !important;

  border-radius:10px !important;

  color:#ffffff !important;

  font-weight:600;

  box-shadow:
    0 4px 14px rgba(17,88,255,0.28);

  transition:all .2s ease;
}

.mepr-account-container button:hover,
.mepr-account-container .button:hover,
.mepr-account-container input[type=submit]:hover{

  transform:translateY(-1px);

  box-shadow:
    0 8px 24px rgba(17,88,255,0.36);
}

/* ---------- INPUT FIELDS ---------- */

.mepr-account-container input,
.mepr-account-container textarea,
.mepr-account-container select,
[class*="directory"] input,
[class*="profile"] input{

  background:var(--pac-input-bg) !important;

  border:
    1px solid rgba(255,255,255,0.12) !important;

  color:#ffffff !important;

  border-radius:10px !important;

  padding:12px !important;
}

/* placeholder text */
.mepr-account-container input::placeholder,
.mepr-account-container textarea::placeholder{
  color:#8290bd !important;
}

/* ---------- TABLES ---------- */

.mepr-account-container table{
  background:transparent !important;
}

.mepr-account-container th,
.mepr-account-container td{

  border-color:
    rgba(255,255,255,0.08) !important;

  color:var(--pac-text) !important;
}

/* ---------- DIRECTORY SEARCH BAR ---------- */

[class*="directory"] input[type="search"]{

  background:
    rgba(12,18,58,0.88) !important;

  color:#ffffff !important;

  border:
    1px solid rgba(120,160,255,0.20) !important;
}

/* ---------- LINKS ---------- */

.mepr-account-container a,
[class*="profile"] a,
[class*="directory"] a{
  color:#8bb8ff !important;
}

.mepr-account-container a:hover,
[class*="profile"] a:hover,
[class*="directory"] a:hover{
  color:#d6e6ff !important;
}
/* =========================================================
   PAC MEMBERPRESS DIRECTORY FIX
   Exact fix for MemberPress Directory / ClubSuite profile pages
   ========================================================= */

/* Page foundation */
body.mpdir-profile-page,
body.mpdir-directory-page,
body[class*="mpdir"],
body[class*="memberpress-directory"] {
  background: #101037 !important;
  color: #f4f7ff !important;
}

/* Main page wrapper */
body.mpdir-profile-page #page,
body.mpdir-profile-page .site,
body.mpdir-profile-page .site-main,
body.mpdir-profile-page .entry-content,
body.mpdir-directory-page #page,
body.mpdir-directory-page .site,
body.mpdir-directory-page .site-main,
body.mpdir-directory-page .entry-content {
  background: #101037 !important;
  color: #f4f7ff !important;
}

/* Profile page title */
body.mpdir-profile-page .entry-title,
body.mpdir-profile-page .memberpress_page_header,
body.mpdir-directory-page .entry-title,
body.mpdir-directory-page .memberpress_page_header {
  color: #f4f7ff !important;
  background: #101037 !important;
}

/* Profile header card */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-header,
body.mpdir-profile-page .profile-info-container,
body.mpdir-profile-page .profile-info-container-flex,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-name,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-name > div {
  background: #101037 !important;
  color: #f4f7ff !important;
}

/* Name block */
body.mpdir-profile-page .mpdir-profile-name-title,
body.mpdir-profile-page .mpdir-profile-name-title span,
body.mpdir-profile-page .mpdir-profile-name-title__name,
body.mpdir-profile-page .mpdir-profile-name-location {
  color: #f4f7ff !important;
}

/* Main white profile sections */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section {
  background: #151850 !important;
  color: #f4f7ff !important;
  border: 1px solid rgba(105, 171, 251, 0.45) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28) !important;
}

/* Profile section inner content */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section *,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section-content,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-fields,
body.mpdir-profile-page .profile-field-stacked,
body.mpdir-profile-page .profile-field-inline,
body.mpdir-profile-page .profile-field-label,
body.mpdir-profile-page .profile-field-value {
  color: #f4f7ff !important;
}

/* Section headings */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h1,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h2,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section h3,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section .wp-block-heading {
  color: #ffffff !important;
  font-weight: 800 !important;
}

/* Field labels */
body.mpdir-profile-page .profile-field-label {
  color: #9ec5ff !important;
  font-weight: 700 !important;
}

/* Field values */
body.mpdir-profile-page .profile-field-value,
body.mpdir-profile-page .profile-field-value span,
body.mpdir-profile-page .profile-field-value p {
  color: #f4f7ff !important;
}

/* Links inside profile */
body.mpdir-profile-page .profile-field-value a,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section a {
  color: #69abfb !important;
}

body.mpdir-profile-page .profile-field-value a:hover,
body.mpdir-profile-page .wp-block-memberpress-directory-profile-section a:hover {
  color: #ffffff !important;
}

/* Borders between fields */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-fields,
body.mpdir-profile-page [data-profile-fields-block="true"],
body.mpdir-profile-page .wp-block-group {
  border-color: rgba(105, 171, 251, 0.35) !important;
}

/* Icons */
body.mpdir-profile-page .wp-block-memberpress-directory-profile-icons,
body.mpdir-profile-page .profile-icon,
body.mpdir-profile-page .profile-icon .dashicons {
  color: #69abfb !important;
}

/* Edit buttons / small icon buttons */
body.mpdir-profile-page button.dashicons,
body.mpdir-profile-page .profile-field-visibility button,
body.mpdir-profile-page .profile-field-edit-bio,
body.mpdir-profile-page .photo-upload-button {
  color: #9ec5ff !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.mpdir-profile-page button.dashicons:hover,
body.mpdir-profile-page .profile-field-visibility button:hover,
body.mpdir-profile-page .profile-field-edit-bio:hover {
  color: #ffffff !important;
  background: rgba(105, 171, 251, 0.15) !important;
}

/* Change cover button */
body.mpdir-profile-page .profile-edit-button,
body.mpdir-profile-page .cover-change-wrapper button {
  background: #06429e !important;
  color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

body.mpdir-profile-page .profile-edit-button:hover,
body.mpdir-profile-page .cover-change-wrapper button:hover {
  background: #1e73be !important;
  color: #ffffff !important;
}

/* Modal editor fix */
body.mpdir-profile-page .modal__container,
body.mpdir-profile-page .modal__content,
body.mpdir-profile-page .profile-form,
body.mpdir-profile-page .profile-form__column,
body.mpdir-profile-page .profile-form__social-options {
  background: #151850 !important;
  color: #f4f7ff !important;
  border-color: rgba(105, 171, 251, 0.35) !important;
}

/* Modal labels */
body.mpdir-profile-page .profile-form__label,
body.mpdir-profile-page .profile-form__section-title,
body.mpdir-profile-page .profile-form__social-option,
body.mpdir-profile-page .profile-form__social-option span {
  color: #f4f7ff !important;
}

/* Inputs remain white for usability */
body.mpdir-profile-page input,
body.mpdir-profile-page textarea,
body.mpdir-profile-page select,
body.mpdir-directory-page input,
body.mpdir-directory-page textarea,
body.mpdir-directory-page select {
  background: #ffffff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  border: 2px solid #9ec5ff !important;
  border-radius: 8px !important;
  opacity: 1 !important;
}

/* Placeholder text */
body.mpdir-profile-page input::placeholder,
body.mpdir-profile-page textarea::placeholder,
body.mpdir-directory-page input::placeholder,
body.mpdir-directory-page textarea::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

/* Save / update buttons */
body.mpdir-profile-page .modal__btn-primary,
body.mpdir-profile-page .profile-field-bio-save,
body.mpdir-profile-page button[type="submit"],
body.mpdir-profile-page input[type="submit"] {
  background: #06429e !important;
  color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Cancel / secondary buttons */
body.mpdir-profile-page .modal__btn,
body.mpdir-profile-page .profile-field-bio-cancel {
  background: #e8edff !important;
  color: #101037 !important;
  border: 1px solid #9ec5ff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Bio counter */
body.mpdir-profile-page .profile-field-bio-counter {
  background: #101037 !important;
  color: #f4f7ff !important;
  border: 1px solid rgba(105, 171, 251, 0.35) !important;
}

/* Social icons */
body.mpdir-profile-page .mpdir-social-link svg {
  color: #ffffff !important;
  fill: currentColor !important;
}

/* Website social icon specifically, currently gray-on-light */
body.mpdir-profile-page .mpdir-social-link-website {
  background: #06429e !important;
  color: #ffffff !important;
}

body.mpdir-profile-page .mpdir-social-link-website svg,
body.mpdir-profile-page .mpdir-social-link-website path {
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Jetpack share / like blocks */
body.mpdir-profile-page .sharedaddy,
body.mpdir-profile-page .sharedaddy *,
body.mpdir-profile-page .sd-sharing,
body.mpdir-profile-page .sd-sharing *,
body.mpdir-profile-page .sd-like,
body.mpdir-profile-page .sd-like * {
  color: #f4f7ff !important;
}

/* =========================================================
   DIRECTORY LIST PAGE FIX
   This targets the All Users directory screen
   ========================================================= */

body.mpdir-directory-page .wp-block-memberpress-directory,
body.mpdir-directory-page .wp-block-memberpress-directory *,
body[class*="mpdir"] .wp-block-memberpress-directory,
body[class*="mpdir"] .wp-block-memberpress-directory * {
  color: #f4f7ff !important;
}

/* Directory cards */
body.mpdir-directory-page article,
body.mpdir-directory-page .mpdir-profile,
body.mpdir-directory-page .mpdir-card,
body.mpdir-directory-page .member-card,
body.mpdir-directory-page .profile-card,
body.mpdir-directory-page [class*="profile-card"],
body.mpdir-directory-page [class*="member-card"],
body.mpdir-directory-page [class*="directory-card"] {
  background: #151850 !important;
  color: #f4f7ff !important;
  border: 1px solid rgba(105, 171, 251, 0.45) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Directory search/filter buttons */
body.mpdir-directory-page button,
body.mpdir-directory-page .button,
body.mpdir-directory-page a.button,
body.mpdir-directory-page input[type="submit"] {
  background: #06429e !important;
  color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* View Profile button */
body.mpdir-directory-page a[href*="user-profile"],
body.mpdir-directory-page a[href*="profile"] {
  color: #ffffff !important;
}

/* White strips / tab bars */
body.mpdir-directory-page .wp-block-group,
body.mpdir-directory-page nav,
body.mpdir-directory-page [class*="tab"],
body.mpdir-directory-page [class*="filter"],
body.mpdir-directory-page [class*="directory"] {
  border-color: rgba(105, 171, 251, 0.35) !important;
}

/* Kill accidental white blocks inside mpdir pages */
body.mpdir-profile-page .has-background:not(input):not(textarea):not(select),
body.mpdir-directory-page .has-background:not(input):not(textarea):not(select) {
  background-color: #151850 !important;
  color: #f4f7ff !important;
}
/* =========================================================
   PAC MEMBERPRESS ACCOUNT PAGE FIX
   Fixes Join the PAC / My Profile / Payments / Subscriptions / Courses / Directories page
   ========================================================= */

/* Account page foundation */
body.mepr-account-page,
body.mepr-account-page #page,
body.mepr-account-page .site,
body.mepr-account-page .site-main,
body.mepr-account-page .entry-content,
body.mepr-account-page .mepr-account-container {
  background: #101037 !important;
  color: #f4f7ff !important;
}

/* Page title */
body.mepr-account-page .entry-title,
body.mepr-account-page .memberpress_page_header,
body.mepr-account-page h1,
body.mepr-account-page h2,
body.mepr-account-page h3 {
  color: #f4f7ff !important;
}

/* Main account content area */
body.mepr-account-page .mepr-account-content,
body.mepr-account-page .mepr-account-content.mp_wrapper,
body.mepr-account-page .mp_wrapper {
  background: #101037 !important;
  color: #f4f7ff !important;
  padding: 2rem !important;
}

/* Account sidebar/nav */
body.mepr-account-page #mepr-account-nav,
body.mepr-account-page .mepr-nav,
body.mepr-account-page .mepr-account-nav {
  background: #06429e !important;
  color: #ffffff !important;
}

/* Sidebar nav items */
body.mepr-account-page #mepr-account-nav .mepr-nav-item,
body.mepr-account-page #mepr-account-nav li,
body.mepr-account-page .mepr-nav-item {
  background: #06429e !important;
  color: #ffffff !important;
}

/* Sidebar nav links */
body.mepr-account-page #mepr-account-nav a,
body.mepr-account-page .mepr-nav-item a {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Active sidebar item */
body.mepr-account-page #mepr-account-nav .mepr-active-nav-tab,
body.mepr-account-page #mepr-account-nav .mepr-active-nav-tab a,
body.mepr-account-page #mepr-account-nav .mepr-nav-item.mepr-active-nav-tab,
body.mepr-account-page #mepr-account-nav li.current,
body.mepr-account-page #mepr-account-nav li.current a {
  background: #2f65b8 !important;
  color: #ffffff !important;
}

/* Sidebar hover */
body.mepr-account-page #mepr-account-nav a:hover,
body.mepr-account-page .mepr-nav-item a:hover {
  background: #1e73be !important;
  color: #ffffff !important;
}

/* Text inside account area */
body.mepr-account-page .mepr-account-content,
body.mepr-account-page .mepr-account-content p,
body.mepr-account-page .mepr-account-content span,
body.mepr-account-page .mepr-account-content div,
body.mepr-account-page .mepr-account-content label,
body.mepr-account-page .mepr-account-content strong,
body.mepr-account-page .mepr-account-content td,
body.mepr-account-page .mepr-account-content th {
  color: #f4f7ff !important;
}

/* Links */
body.mepr-account-page .mepr-account-content a {
  color: #69abfb !important;
}

body.mepr-account-page .mepr-account-content a:hover {
  color: #ffffff !important;
}

/* Profile URL box and form fields */
body.mepr-account-page .mepr-account-content input,
body.mepr-account-page .mepr-account-content textarea,
body.mepr-account-page .mepr-account-content select {
  background: #ffffff !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827 !important;
  border: 2px solid #9ec5ff !important;
  border-radius: 8px !important;
  opacity: 1 !important;
}

/* Placeholder text */
body.mepr-account-page .mepr-account-content input::placeholder,
body.mepr-account-page .mepr-account-content textarea::placeholder {
  color: #4b5563 !important;
  opacity: 1 !important;
}

/* Buttons */
body.mepr-account-page .mepr-account-content button,
body.mepr-account-page .mepr-account-content .button,
body.mepr-account-page .mepr-account-content input[type="submit"],
body.mepr-account-page .mepr-account-content a.button {
  background: #06429e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1px solid #69abfb !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

/* Button hover */
body.mepr-account-page .mepr-account-content button:hover,
body.mepr-account-page .mepr-account-content .button:hover,
body.mepr-account-page .mepr-account-content input[type="submit"]:hover,
body.mepr-account-page .mepr-account-content a.button:hover {
  background: #1e73be !important;
  color: #ffffff !important;
}

/* Tables, payment/subscription blocks */
body.mepr-account-page .mepr-account-content table,
body.mepr-account-page .mepr-account-content thead,
body.mepr-account-page .mepr-account-content tbody,
body.mepr-account-page .mepr-account-content tr,
body.mepr-account-page .mepr-account-content td,
body.mepr-account-page .mepr-account-content th {
  background: #151850 !important;
  color: #f4f7ff !important;
  border-color: rgba(105, 171, 251, 0.35) !important;
}

/* Directory white strip inside account page */
body.mepr-account-page .mepr-account-content .mepr-pro-template,
body.mepr-account-page .mepr-account-content .mepr-directory,
body.mepr-account-page .mepr-account-content .mpdir-directory,
body.mepr-account-page .mepr-account-content [class*="directory"],
body.mepr-account-page .mepr-account-content [class*="Directory"] {
  background: #151850 !important;
  color: #f4f7ff !important;
  border-color: rgba(105, 171, 251, 0.35) !important;
}

/* Directory tabs / All Users strip */
body.mepr-account-page .mepr-account-content [class*="tab"],
body.mepr-account-page .mepr-account-content [class*="tabs"],
body.mepr-account-page .mepr-account-content [class*="filter"],
body.mepr-account-page .mepr-account-content nav {
  background: #151850 !important;
  color: #f4f7ff !important;
  border-color: rgba(105, 171, 251, 0.35) !important;
}

/* Kill remaining white content blocks, but not form fields */
body.mepr-account-page .mepr-account-content .has-background:not(input):not(textarea):not(select),
body.mepr-account-page .mepr-account-content .wp-block-group,
body.mepr-account-page .mepr-account-content section,
body.mepr-account-page .mepr-account-content article {
  background-color: #151850 !important;
  color: #f4f7ff !important;
}

/* Cards inside account content */
body.mepr-account-page .mepr-account-content [class*="card"],
body.mepr-account-page .mepr-account-content [class*="profile"],
body.mepr-account-page .mepr-account-content [class*="member"] {
  background: #151850 !important;
  color: #f4f7ff !important;
  border-color: rgba(105, 171, 251, 0.45) !important;
}

/* Copy URL icon/button */
body.mepr-account-page .mepr-account-content button[aria-label*="copy" i],
body.mepr-account-page .mepr-account-content button[class*="copy"],
body.mepr-account-page .mepr-account-content [class*="copy"] {
  background: #06429e !important;
  color: #ffffff !important;
  border-color: #69abfb !important;
}

/* Jetpack sharing/likes on account page */
body.mepr-account-page .sharedaddy,
body.mepr-account-page .sharedaddy *,
body.mepr-account-page .sd-sharing,
body.mepr-account-page .sd-sharing *,
body.mepr-account-page .sd-like,
body.mepr-account-page .sd-like * {
  color: #f4f7ff !important;
}
/* =========================================================
   PAC FIX: ClubSuite / MemberPress Directories
   Fix light blue text on white directory rows
   Page: /account/?action=directories
   ========================================================= */

/* Main directory row container */
.mepr-account-container .mpdl-list__row,
.mepr-account-container .mpdl-list__row *,
.mepr-directories-wrapper .mpdl-list__row,
.mepr-directories-wrapper .mpdl-list__row * {
  color: #111827 !important;
}

/* Keep the white cards/rows clean and readable */
.mepr-account-container .mpdl-list__row,
.mepr-directories-wrapper .mpdl-list__row {
  background: #ffffff !important;
  border-bottom: 1px solid #d7dce8 !important;
}

/* Directory names and profile links */
.mepr-account-container .mpdl-list__row a,
.mepr-directories-wrapper .mpdl-list__row a {
  color: #0b4f8a !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Hover state for links */
.mepr-account-container .mpdl-list__row a:hover,
.mepr-directories-wrapper .mpdl-list__row a:hover {
  color: #12355b !important;
  text-decoration: underline !important;
}

/* Directory headings / labels inside rows */
.mepr-account-container .mpdl-list__row h1,
.mepr-account-container .mpdl-list__row h2,
.mepr-account-container .mpdl-list__row h3,
.mepr-account-container .mpdl-list__row h4,
.mepr-account-container .mpdl-list__row h5,
.mepr-account-container .mpdl-list__row h6,
.mepr-directories-wrapper .mpdl-list__row h1,
.mepr-directories-wrapper .mpdl-list__row h2,
.mepr-directories-wrapper .mpdl-list__row h3,
.mepr-directories-wrapper .mpdl-list__row h4,
.mepr-directories-wrapper .mpdl-list__row h5,
.mepr-directories-wrapper .mpdl-list__row h6 {
  color: #0b1026 !important;
}

/* Muted/meta text should still be visible */
.mepr-account-container .mpdl-list__row small,
.mepr-account-container .mpdl-list__row .description,
.mepr-account-container .mpdl-list__row .meta,
.mepr-directories-wrapper .mpdl-list__row small,
.mepr-directories-wrapper .mpdl-list__row .description,
.mepr-directories-wrapper .mpdl-list__row .meta {
  color: #4b5563 !important;
}

/* Row hover, subtle PAC-style blue tint */
.mepr-account-container .mpdl-list__row:hover,
.mepr-directories-wrapper .mpdl-list__row:hover {
  background: #f3f7fb !important;
}

/* Buttons inside directory rows */
.mepr-account-container .mpdl-list__row button,
.mepr-account-container .mpdl-list__row .button,
.mepr-account-container .mpdl-list__row input[type="submit"],
.mepr-directories-wrapper .mpdl-list__row button,
.mepr-directories-wrapper .mpdl-list__row .button,
.mepr-directories-wrapper .mpdl-list__row input[type="submit"] {
  background: #0b4f8a !important;
  color: #ffffff !important;
  border: 1px solid #0b4f8a !important;
}

/* Button hover */
.mepr-account-container .mpdl-list__row button:hover,
.mepr-account-container .mpdl-list__row .button:hover,
.mepr-account-container .mpdl-list__row input[type="submit"]:hover,
.mepr-directories-wrapper .mpdl-list__row button:hover,
.mepr-directories-wrapper .mpdl-list__row .button:hover,
.mepr-directories-wrapper .mpdl-list__row input[type="submit"]:hover {
  background: #12355b !important;
  border-color: #12355b !important;
  color: #ffffff !important;
}