/* ============================================================
   NEW MEMBERS PORTAL
   ============================================================ */

.members-login-page {
  min-height: 100vh;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  padding: 40px 20px;

  background: #f5f6f2;

  color: #1d211d;

  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


/* ============================================================
   BRAND
   ============================================================ */

.members-login-brand {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-bottom: 24px;

  font-size: 20px;
  font-weight: 700;

  color: #20241f;
}

.members-login-brand img {
  width: 34px;
  height: 34px;

  object-fit: contain;
}


/* ============================================================
   CARD
   ============================================================ */

.members-login-card {
  width: 100%;
  max-width: 430px;

  box-sizing: border-box;

  padding: 38px;

  background: #ffffff;

  border: 1px solid #e3e5df;

  border-radius: 18px;

  box-shadow:
    0 18px 50px rgba(25, 30, 25, 0.07);
}


/* ============================================================
   HEADING
   ============================================================ */

.members-login-heading {
  text-align: center;

  margin-bottom: 28px;
}

.members-eyebrow {
  display: block;

  margin-bottom: 9px;

  color: #df6b3c;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.13em;
}

.members-login-heading h1 {
  margin: 0;

  color: #20231f;

  font-size: 30px;
  line-height: 1.2;

  letter-spacing: -0.025em;
}

.members-login-heading p {
  margin: 10px auto 0;

  max-width: 330px;

  color: #747970;

  font-size: 14px;
  line-height: 1.55;
}


/* ============================================================
   ERROR
   ============================================================ */

.members-login-error {
  margin-bottom: 18px;

  padding: 11px 13px;

  border: 1px solid #f1c8bf;
  border-radius: 9px;

  background: #fff3f0;

  color: #b84b37;

  font-size: 13px;
}


/* ============================================================
   FORM
   ============================================================ */

.members-field {
  margin-bottom: 18px;
}

.members-field label {
  display: block;

  margin-bottom: 7px;

  color: #343832;

  font-size: 13px;
  font-weight: 600;
}

.members-field input {
  width: 100%;
  height: 48px;

  box-sizing: border-box;

  padding: 0 14px;

  border: 1px solid #d9dcd5;
  border-radius: 9px;

  outline: none;

  background: #ffffff;

  color: #20231f;

  font-family: inherit;
  font-size: 14px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.members-field input::placeholder {
  color: #a1a59e;
}

.members-field input:focus {
  border-color: #df6b3c;

  box-shadow:
    0 0 0 3px rgba(223, 107, 60, 0.10);
}


/* ============================================================
   PASSWORD
   ============================================================ */

.members-password {
  position: relative;
}

.members-password input {
  padding-right: 65px;
}

.members-password button {
  position: absolute;

  top: 50%;
  right: 7px;

  transform: translateY(-50%);

  border: 0;

  background: transparent;

  color: #777d74;

  font-family: inherit;
  font-size: 12px;
  font-weight: 600;

  cursor: pointer;
}

.members-password button:hover {
  color: #df6b3c;
}


/* ============================================================
   OPTIONS
   ============================================================ */

.members-login-options {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin: 4px 0 22px;

  font-size: 13px;
}

.members-login-options label {
  display: flex;

  align-items: center;
  gap: 7px;

  color: #60665d;

  cursor: pointer;
}

.members-login-options input {
  width: 15px;
  height: 15px;

  accent-color: #df6b3c;

  cursor: pointer;
}

.members-link {
  padding: 0;

  border: 0;

  background: transparent;

  color: #d96135;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
}

.members-link:hover {
  text-decoration: underline;
}


/* ============================================================
   LOGIN BUTTON
   ============================================================ */

.members-login-button {
  width: 100%;
  height: 50px;

  border: 0;
  border-radius: 9px;

  background: #df6b3c;
  color: #ffffff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.members-login-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.members-login-button:active:not(:disabled) {
  transform: translateY(0);
}

.members-login-button:disabled {
  opacity: 0.65;

  cursor: not-allowed;
}


/* ============================================================
   FOOTER
   ============================================================ */

.members-login-footer {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 5px;

  margin-top: 24px;

  color: #7a8077;

  font-size: 13px;
}

.members-login-footer a {
  color: #d96135;

  font-weight: 600;

  text-decoration: none;
}

.members-login-footer a:hover {
  text-decoration: underline;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

  .members-login-page {
    padding: 25px 16px;
  }

  .members-login-brand {
    margin-bottom: 18px;
  }

  .members-login-card {
    padding: 28px 22px;

    border-radius: 15px;
  }

  .members-login-heading h1 {
    font-size: 27px;
  }

  .members-login-options {
    align-items: flex-start;

    gap: 12px;
  }

}


/* ============================================================
   DARK MODE
   Add .dark to the page/root later when authentication/theme
   is connected.
   ============================================================ */

.dark .members-login-page {
  background: #141714;
  color: #f0f2ed;
}

.dark .members-login-card {
  background: #1c201c;

  border-color: #30352f;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.25);
}

.dark .members-login-heading h1 {
  color: #f2f4ef;
}

.dark .members-login-heading p {
  color: #a4aaa0;
}

.dark .members-field label {
  color: #d6dad2;
}

.dark .members-field input {
  background: #171a17;

  border-color: #373c35;

  color: #f2f4ef;
}

.dark .members-login-brand {
  color: #f2f4ef;
}

.dark .members-login-options label {
  color: #aeb4aa;
}

.dark .members-login-footer {
  color: #9da39a;
}

/* =========================================================
   MEMBER DASHBOARD
========================================================= */

.member-dashboard {
  min-height: 100vh;
  width: 100%;
  background: #f7f7f4;
  color: #20201d;
  font-family: Inter, Arial, sans-serif;
}


/* =========================================================
   SIDEBAR
========================================================= */

.member-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;

  width: 235px;

  background: #ffffff;
  border-right: 1px solid #e9e9e5;

  display: flex;
  flex-direction: column;

  box-sizing: border-box;
}


/* BRAND */

.member-sidebar-brand {
  height: 76px;

  padding: 0 23px;

  display: flex;
  align-items: center;

  gap: 10px;

  border-bottom: 1px solid #f0f0ed;
}


.member-sidebar-brand img {
  width: 30px;
  height: 30px;

  object-fit: contain;
}


.member-sidebar-brand span {
  color: #1d1d1a;

  font-size: 18px;
  font-weight: 700;
}


/* NAV */

.member-sidebar-nav {
  flex: 1;

  overflow-y: auto;

  padding: 18px 14px;
}


.member-nav-section {
  margin: 20px 9px 8px;

  color: #a2a19b;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.4px;
}


.member-nav-section:first-child {
  margin-top: 2px;
}


.member-nav-item {
  width: 100%;

  min-height: 39px;

  margin: 2px 0;

  padding: 0 10px;

  border: 0;
  border-radius: 7px;

  background: transparent;

  color: #74746e;

  display: flex;
  align-items: center;

  gap: 11px;

  font-family: inherit;
  font-size: 12px;

  text-align: left;

  cursor: pointer;
}


.member-nav-item:hover {
  background: #f7f7f4;
  color: #252522;
}


.member-nav-item.active {
  background: #efede8;
  color: #22221f;

  font-weight: 600;
}


.member-nav-icon {
  width: 19px;
  height: 19px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #888881;

  font-size: 12px;
}


.member-nav-item.active .member-nav-icon {
  color: #e35f47;
}


/* NOTIFICATION */

.member-notification-count {
  margin-left: auto;

  min-width: 18px;
  height: 18px;

  padding: 0 5px;

  border-radius: 10px;

  background: #e8473f;

  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 8px;
  font-weight: 700;
}


/* SIDEBAR USER */

.member-sidebar-bottom {
  padding: 14px;

  border-top: 1px solid #eeeeea;
}


.member-sidebar-user {
  display: flex;
  align-items: center;

  gap: 9px;

  padding: 4px 7px;
}


.member-avatar {
  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: #e8473f;

  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 12px;
  font-weight: 700;

  flex-shrink: 0;
}


.member-sidebar-user-info {
  display: flex;
  flex-direction: column;

  gap: 3px;
}


.member-sidebar-user-info strong {
  color: #292925;

  font-size: 11px;
}


.member-sidebar-user-info span {
  color: #9e9d97;

  font-size: 9px;
}


/* =========================================================
   MAIN
========================================================= */

.member-dashboard-main {
  margin-left: 235px;

  min-height: 100vh;

  width: calc(100% - 235px);
}


/* =========================================================
   HEADER
========================================================= */

.member-dashboard-header {
  min-height: 76px;

  padding: 0 32px;

  background: #ffffff;

  border-bottom: 1px solid #e9e9e5;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.member-page-label {
  display: block;

  margin-bottom: 5px;

  color: #a09f98;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 1.4px;
}


.member-dashboard-header h1 {
  margin: 0;

  color: #22221f;

  font-size: 23px;
  font-weight: 650;
}


/* HEADER RIGHT */

.member-header-actions {
  display: flex;
  align-items: center;

  gap: 18px;
}


.member-header-button {
  border: 0;

  background: transparent;

  color: #777770;

  font-family: inherit;

  font-size: 11px;

  cursor: pointer;
}


.member-header-button:hover {
  color: #e15e47;
}


.member-profile {
  display: flex;
  align-items: center;

  gap: 9px;
}


.member-profile-info {
  display: flex;
  flex-direction: column;

  gap: 3px;
}


.member-profile-info strong {
  color: #292925;

  font-size: 11px;
}


.member-profile-info span {
  color: #9e9d97;

  font-size: 9px;
}


/* =========================================================
   CONTENT
========================================================= */

.member-dashboard-content {
  padding: 30px 32px 45px;
}


/* WELCOME */

.member-welcome {
  margin-bottom: 25px;
}


.member-eyebrow {
  color: #e15f47;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 1.5px;
}


.member-welcome h2 {
  margin: 8px 0 6px;

  color: #22221f;

  font-size: 27px;
  font-weight: 650;
}


.member-welcome p {
  margin: 0;

  color: #85857f;

  font-size: 12px;
}


/* =========================================================
   STAT CARDS
========================================================= */

.member-stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;

  margin-bottom: 18px;
}


.member-stat-card {
  min-height: 105px;

  padding: 18px;

  background: #ffffff;

  border: 1px solid #e9e9e5;

  border-radius: 11px;

  display: flex;
  align-items: center;

  gap: 14px;
}


.member-stat-icon {
  width: 39px;
  height: 39px;

  border-radius: 9px;

  background: #f5ece9;

  color: #e15f47;

  display: flex;
  align-items: center;
  justify-content: center;
}


.member-stat-card div:last-child {
  display: flex;
  flex-direction: column;

  gap: 6px;
}


.member-stat-card span {
  color: #92918b;

  font-size: 10px;
}


.member-stat-card strong {
  color: #252521;

  font-size: 22px;
}


/* =========================================================
   GRID
========================================================= */

.member-dashboard-grid {
  display: grid;

  grid-template-columns: 1.5fr 1fr;

  gap: 18px;
}


/* PANEL */

.member-panel {
  background: #ffffff;

  border: 1px solid #e9e9e5;

  border-radius: 12px;

  overflow: hidden;
}


.member-panel-header {
  min-height: 74px;

  padding: 17px 20px;

  border-bottom: 1px solid #eeeeea;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.member-panel-label {
  display: block;

  margin-bottom: 5px;

  color: #a09f98;

  font-size: 8px;
  font-weight: 700;

  letter-spacing: 1.2px;
}


.member-panel-header h3 {
  margin: 0;

  color: #272722;

  font-size: 16px;
}


.member-panel-link {
  border: 0;

  background: transparent;

  color: #e15f47;

  font-size: 10px;

  cursor: pointer;
}


/* =========================================================
   CONTENT LIST
========================================================= */

.member-content-list {
  padding: 5px 20px;
}


.member-content-row {
  min-height: 70px;

  border-bottom: 1px solid #eeeeea;

  display: flex;
  align-items: center;

  gap: 12px;
}


.member-content-row:last-child {
  border-bottom: 0;
}


.member-content-icon {
  width: 36px;
  height: 36px;

  border-radius: 7px;

  background: #f5f3ed;

  color: #777770;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 8px;
  font-weight: 700;
}


.member-content-info {
  display: flex;
  flex-direction: column;

  gap: 4px;
}


.member-content-info strong {
  color: #32322e;

  font-size: 11px;
}


.member-content-info span {
  color: #a09f98;

  font-size: 9px;
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.member-actions {
  padding: 5px 14px;
}


.member-actions button {
  width: 100%;

  min-height: 70px;

  padding: 10px 7px;

  border: 0;

  border-bottom: 1px solid #eeeeea;

  background: transparent;

  display: flex;
  align-items: center;

  gap: 11px;

  text-align: left;

  cursor: pointer;
}


.member-actions button:last-child {
  border-bottom: 0;
}


.member-actions button:hover {
  background: #fafaf7;
}


.action-icon {
  width: 34px;
  height: 34px;

  border-radius: 8px;

  background: #f5ece9;

  color: #e15f47;

  display: flex;
  align-items: center;
  justify-content: center;
}


.member-actions button div {
  flex: 1;

  display: flex;
  flex-direction: column;

  gap: 4px;
}


.member-actions strong {
  color: #33332f;

  font-size: 11px;
}


.member-actions small {
  color: #9a9992;

  font-size: 9px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .member-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-dashboard-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 700px) {

  .member-sidebar {
    width: 210px;
  }

  .member-dashboard-main {
    margin-left: 210px;

    width: calc(100% - 210px);
  }

  .member-dashboard-content {
    padding: 22px 18px;
  }

  .member-profile-info {
    display: none;
  }

}


@media (max-width: 500px) {

  .member-sidebar {
    width: 190px;
  }

  .member-dashboard-main {
    margin-left: 190px;

    width: calc(100% - 190px);
  }

  .member-stats {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   CALCULATOR PAGE
========================================================= */

.member-calculator-page {
  width: 100%;
  min-height: calc(100vh - 90px);
  padding: 32px 36px;
  box-sizing: border-box;
}

.member-calculator-header {
  width: 100%;
  margin-bottom: 18px;
}

.member-calculator-container {
  width: 100%;
  height: calc(100vh - 230px);
  min-height: 650px;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}

.member-calculator-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  border: none;
  margin: 0;
  padding: 0;
}

.member-chart-page {
  width: 100%;
  min-height: calc(100vh - 90px);
  padding: 32px 36px;
  box-sizing: border-box;
}

.member-chart-header {
  width: 100%;
  margin-bottom: 20px;
}

.member-chart-container {
  width: 100%;
  height: calc(100vh - 240px);
  min-height: 650px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.tradingview-widget-container {
  width: 100%;
  height: 100%;
}

.tradingview-widget-container__widget {
  width: 100%;
  height: calc(100% - 32px);
}

/* =========================================================
   MEMBER PORTAL THEME
   Uses existing data-theme + wl-theme
   ========================================================= */

.member-dashboard {
  background: #f5f6f8;
  color: #17191c;
  min-height: 100vh;
  transition: background .25s ease, color .25s ease;
}


/* =========================
   DARK MODE
   ========================= */

html[data-theme="dark"] .member-dashboard {
  background: #111315;
  color: #f3f5f7;
}


/* =========================
   SIDEBAR
   ========================= */

html[data-theme="dark"] .member-sidebar {
  background: #15181b;
  color: #aeb5bd;
  border-color: #30353c;
}

html[data-theme="dark"] .member-sidebar-brand span {
  color: #f3f5f7;
}

html[data-theme="dark"] .member-nav-section {
  color: #858d97;
}

html[data-theme="dark"] .member-nav-item {
  color: #aeb5bd;
}

html[data-theme="dark"] .member-nav-item:hover,
html[data-theme="dark"] .member-nav-item.active {
  background: #252a30;
  color: #ffffff;
}


/* =========================
   MAIN AREA
   ========================= */

html[data-theme="dark"] .member-dashboard-main {
  background: #111315;
  color: #f3f5f7;
}


/* =========================
   HEADER
   ========================= */

html[data-theme="dark"] .member-dashboard-header {
  background: #15181b;
  color: #f3f5f7;
  border-color: #30353c;
}

html[data-theme="dark"] .member-page-label,
html[data-theme="dark"] .member-eyebrow,
html[data-theme="dark"] .member-panel-label {
  color: #858d97;
}


/* =========================
   HEADINGS
   ========================= */

html[data-theme="dark"] .member-dashboard h1,
html[data-theme="dark"] .member-dashboard h2,
html[data-theme="dark"] .member-dashboard h3,
html[data-theme="dark"] .member-dashboard h4 {
  color: #f3f5f7;
}


/* =========================
   TEXT
   ========================= */

html[data-theme="dark"] .member-dashboard p,
html[data-theme="dark"] .member-dashboard small,
html[data-theme="dark"] .member-profile-info span,
html[data-theme="dark"] .member-sidebar-user-info span {
  color: #a9b0b8;
}


/* =========================
   TOP BUTTONS
   ========================= */

html[data-theme="dark"] .member-header-button {
  background: #181b1f;
  color: #f3f5f7;
  border-color: #30353c;
}

html[data-theme="dark"] .member-header-button:hover {
  background: #252a30;
}


/* =========================
   STAT CARDS
   ========================= */

html[data-theme="dark"] .member-stat-card {
  background: #181b1f;
  color: #f3f5f7;
  border-color: #30353c;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

html[data-theme="dark"] .member-stat-card span {
  color: #a9b0b8;
}

html[data-theme="dark"] .member-stat-card strong {
  color: #f3f5f7;
}


/* =========================
   PANELS
   ========================= */

html[data-theme="dark"] .member-panel {
  background: #181b1f;
  color: #f3f5f7;
  border-color: #30353c;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
}

html[data-theme="dark"] .member-panel h3 {
  color: #f3f5f7;
}

html[data-theme="dark"] .member-panel-link {
  color: #f3f5f7;
}


/* =========================
   ARTICLES
   ========================= */

html[data-theme="dark"] .member-content-row {
  border-color: #30353c;
}

html[data-theme="dark"] .member-content-info strong {
  color: #f3f5f7;
}

html[data-theme="dark"] .member-content-info span {
  color: #a9b0b8;
}


/* =========================
   QUICK ACCESS
   ========================= */

html[data-theme="dark"] .member-actions button {
  background: transparent;
  color: #f3f5f7;
  border-color: #30353c;
}

html[data-theme="dark"] .member-actions button:hover {
  background: #20242a;
}

html[data-theme="dark"] .member-actions strong {
  color: #f3f5f7;
}

html[data-theme="dark"] .member-actions small {
  color: #a9b0b8;
}


/* =========================
   PROFILE
   ========================= */

html[data-theme="dark"] .member-profile-info strong,
html[data-theme="dark"] .member-sidebar-user-info strong {
  color: #f3f5f7;
}


/* =========================
   CHART
   ========================= */

html[data-theme="dark"] .member-chart-container {
  background: #181b1f;
  border-color: #30353c;
}


/* =========================
   CALCULATOR
   ========================= */

html[data-theme="dark"] .member-calculator-container {
  background: #181b1f;
  border-color: #30353c;
}


/* =========================
   INPUTS
   ========================= */

html[data-theme="dark"] .member-dashboard input,
html[data-theme="dark"] .member-dashboard textarea,
html[data-theme="dark"] .member-dashboard select {
  background: #20242a;
  color: #f3f5f7;
  border-color: #363c44;
}

html[data-theme="dark"] .member-dashboard input::placeholder,
html[data-theme="dark"] .member-dashboard textarea::placeholder {
  color: #858d97;
}

/* =========================================================
   MEMBER COURSE VIDEOS
========================================================= */

.member-course-page {
  width: 100%;
  min-height: 100vh;
  padding: 32px 40px 60px;
  box-sizing: border-box;
}

.member-course-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */

.member-course-header {
  margin-bottom: 28px;
}

.member-course-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #e8473f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.member-course-header h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  color: #222522;
}

.member-course-header p {
  margin: 8px 0 0;
  color: #777c78;
  font-size: 14px;
}

/* COURSE GRID */

.member-course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

/* CARD */

.member-course-card {
  background: #fff;
  border: 1px solid #e6e8e5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.member-course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.09);
}

/* THUMBNAIL */

.member-course-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.member-course-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* PLAY */

.member-course-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 54px;
  height: 54px;

  border: 0;
  border-radius: 50%;

  background: #e8473f;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  cursor: pointer;

  box-shadow: 0 7px 20px rgba(0,0,0,.3);
}

/* BODY */

.member-course-body {
  padding: 18px;
}

.member-course-category {
  display: block;
  margin-bottom: 7px;

  color: #e8473f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.member-course-body h3 {
  margin: 0 0 8px;

  font-size: 18px;
  line-height: 1.3;

  color: #242724;
}

.member-course-body p {
  margin: 0;

  min-height: 42px;

  font-size: 13px;
  line-height: 1.55;

  color: #777c78;
}

/* FOOTER */

.member-course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  margin-top: 18px;
}

.member-course-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-course-price small {
  color: #929792;
  font-size: 10px;
}

.member-course-price strong {
  color: #222522;
  font-size: 18px;
}

.member-course-button {
  border: 0;
  border-radius: 8px;

  padding: 10px 16px;

  background: #e8473f;
  color: #fff;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

.member-course-button:hover {
  opacity: .9;
}

/* =========================================================
   VIDEO MODAL
========================================================= */

.member-course-modal {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(0,0,0,.72);
}

.member-course-modal-card {
  width: min(900px, 100%);
  max-height: 92vh;

  overflow: auto;

  background: #fff;
  border-radius: 16px;

  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.member-course-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 22px;

  border-bottom: 1px solid #eceeeb;
}

.member-course-modal-header h3 {
  margin: 3px 0 0;
  font-size: 20px;
}

.member-course-close {
  width: 36px;
  height: 36px;

  border: 0;
  border-radius: 50%;

  background: #f1f2ef;
  color: #333;

  font-size: 22px;
  cursor: pointer;
}

/* VIDEO */

.member-course-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.member-course-video iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* =========================================================
   10 SECOND LOCK
========================================================= */

.member-course-lock {
  position: absolute;
  inset: 0;

  z-index: 5;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 30px;

  background: rgba(10,10,10,.88);
  color: #fff;
}

.member-course-lock-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.member-course-lock-label {
  color: #ff8b82;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.member-course-lock h3 {
  margin: 8px 0;
  font-size: 25px;
}

.member-course-lock p {
  max-width: 450px;
  margin: 0 0 18px;

  color: rgba(255,255,255,.7);
  font-size: 13px;
  line-height: 1.5;
}

.member-course-buy {
  border: 0;
  border-radius: 8px;

  padding: 12px 22px;

  background: #e8473f;
  color: #fff;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
}

.member-course-buy:hover {
  opacity: .9;
}

/* TIMER */

.member-course-timer {
  padding: 10px 18px;

  text-align: center;

  background: #fff5f3;
  color: #c9423b;

  font-size: 12px;
}

.member-course-timer strong {
  font-weight: 800;
}

/* PURCHASED */

.member-course-unlocked {
  padding: 13px 18px;

  background: #f0f8f1;
  color: #35713c;

  font-size: 12px;
  font-weight: 600;
}

/* MODAL FOOTER */

.member-course-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 16px 22px;

  border-top: 1px solid #eceeeb;
}

.member-course-modal-footer span {
  display: block;
  margin-bottom: 3px;

  color: #858a85;
  font-size: 11px;
}

.member-course-modal-footer strong {
  font-size: 20px;
  color: #222522;
}


/* =========================================================
   DARK THEME
========================================================= */

[data-theme="dark"] .member-course-page {
  background: #111412;
}

[data-theme="dark"] .member-course-header h1,
[data-theme="dark"] .member-course-body h3,
[data-theme="dark"] .member-course-price strong {
  color: #f3f5ef;
}

[data-theme="dark"] .member-course-header p,
[data-theme="dark"] .member-course-body p {
  color: #9ba19b;
}

[data-theme="dark"] .member-course-card {
  background: #191c1a;
  border-color: #2a2e2b;
}

[data-theme="dark"] .member-course-modal-card {
  background: #191c1a;
  color: #f3f5ef;
}

[data-theme="dark"] .member-course-modal-header {
  border-color: #2a2e2b;
}

[data-theme="dark"] .member-course-close {
  background: #292d2a;
  color: #fff;
}

[data-theme="dark"] .member-course-modal-footer {
  border-color: #2a2e2b;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .member-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {

  .member-course-page {
    padding: 24px 16px 45px;
  }

  .member-course-grid {
    grid-template-columns: 1fr;
  }

  .member-course-header h1 {
    font-size: 26px;
  }

  .member-course-modal {
    padding: 12px;
  }

  .member-course-modal-card {
    border-radius: 12px;
  }

  .member-course-footer {
    align-items: flex-start;
  }
}

/* =========================================================
   NEWSLETTER
========================================================= */

.member-newsletter-page {
  width: 100%;
  padding: 10px 0 50px;
}

.member-newsletter-header {
  margin-bottom: 28px;
}

.member-newsletter-header h2 {
  margin: 5px 0 8px;
  font-size: 30px;
}

.member-newsletter-header p {
  margin: 0;
  color: #777;
  font-size: 14px;
}


/* GRID */

.member-newsletter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* CARD */

.member-newsletter-card {
  display: flex;
  flex-direction: column;

  background: #fff;
  border: 1px solid #e5e7e4;
  border-radius: 14px;

  padding: 20px;

  min-height: 260px;

  box-shadow: 0 5px 18px rgba(0,0,0,.05);
}

.member-newsletter-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #fff0ed;
  color: #e8473f;

  font-size: 11px;
  font-weight: 800;
}

.member-newsletter-content {
  flex: 1;
}

.member-newsletter-date {
  display: block;

  margin-top: 18px;

  color: #999;
  font-size: 11px;
}

.member-newsletter-content h3 {
  margin: 6px 0 8px;

  font-size: 18px;
  line-height: 1.3;
}

.member-newsletter-content p {
  margin: 0;

  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

.member-newsletter-button {
  width: 100%;

  margin-top: 20px;
  padding: 11px 15px;

  border: none;
  border-radius: 8px;

  background: #e8473f;
  color: white;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}

.member-newsletter-button:hover {
  opacity: .9;
}


/* =========================================================
   PDF MODAL
========================================================= */

.member-pdf-overlay {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;

  background: rgba(0,0,0,.7);
}

.member-pdf-modal {
  width: min(950px, 100%);
  height: 90vh;

  display: flex;
  flex-direction: column;

  background: white;
  border-radius: 14px;

  overflow: hidden;
}

.member-pdf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 15px 20px;

  border-bottom: 1px solid #eee;
}

.member-pdf-header span {
  font-size: 9px;
  font-weight: 800;
  color: #e8473f;
  letter-spacing: 1px;
}

.member-pdf-header h3 {
  margin: 4px 0 0;
}

.member-pdf-close {
  width: 35px;
  height: 35px;

  border: none;
  border-radius: 50%;

  background: #f1f1f1;

  font-size: 22px;
  cursor: pointer;
}

.member-pdf-frame {
  flex: 1;

  width: 100%;

  border: none;
}

.member-pdf-footer {
  padding: 12px 20px;

  border-top: 1px solid #eee;

  text-align: right;
}

.member-pdf-open {
  color: #e8473f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}


/* =========================================================
   DARK MODE
========================================================= */

[data-theme="dark"] .member-newsletter-card {
  background: #191c1a;
  border-color: #2b2f2c;
}

[data-theme="dark"] .member-newsletter-header h2,
[data-theme="dark"] .member-newsletter-content h3 {
  color: #f3f5ef;
}

[data-theme="dark"] .member-newsletter-header p,
[data-theme="dark"] .member-newsletter-content p {
  color: #999f99;
}

[data-theme="dark"] .member-pdf-modal {
  background: #191c1a;
}

[data-theme="dark"] .member-pdf-header {
  border-color: #2b2f2c;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 950px) {

  .member-newsletter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

  .member-newsletter-grid {
    grid-template-columns: 1fr;
  }

  .member-pdf-overlay {
    padding: 10px;
  }

  .member-pdf-modal {
    height: 95vh;
  }

}


/* =========================================================
   SEMINAR REGISTRATIONS
========================================================= */

.seminar-registration-page {
  width: 100%;
  padding: 30px;
  box-sizing: border-box;
}

.seminar-registration-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.seminar-registration-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #e8473f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.seminar-registration-header h1 {
  margin: 0;
  font-size: 28px;
}

.seminar-registration-header p {
  margin: 7px 0 0;
  color: #888;
  font-size: 13px;
}

.seminar-export-btn {
  border: 0;
  border-radius: 9px;
  padding: 11px 18px;
  background: #e8473f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.seminar-export-btn:hover {
  opacity: .9;
}

.seminar-registration-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}

.seminar-registration-toolbar input {
  width: 400px;
  max-width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 9px;
  outline: none;
  background: #fff;
  font-size: 13px;
}

.seminar-registration-toolbar input:focus {
  border-color: #e8473f;
}

.seminar-registration-toolbar span {
  color: #888;
  font-size: 12px;
}

.seminar-registration-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}

.seminar-registration-table {
  width: 100%;
  min-width: 1100px;
  border-collapse: collapse;
}

.seminar-registration-table th {
  padding: 14px;
  text-align: left;
  background: #fafafa;
  border-bottom: 1px solid #e6e6e6;
  color: #888;
  font-size: 10px;
  letter-spacing: .7px;
  white-space: nowrap;
}

.seminar-registration-table td {
  padding: 14px;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  white-space: nowrap;
}

.seminar-registration-table tbody tr:hover {
  background: #fff8f7;
}

.seminar-status-paid,
.seminar-status-pending {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}

.seminar-status-paid {
  background: #e8f7ed;
  color: #238345;
}

.seminar-status-pending {
  background: #fff2dc;
  color: #ad7100;
}

.seminar-registration-loading {
  padding: 70px 20px;
  text-align: center;
  color: #888;
}

.seminar-registration-error {
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 9px;
  background: #fff0ef;
  color: #c03932;
  font-size: 13px;
}

.seminar-empty {
  padding: 60px !important;
  text-align: center;
  color: #999;
}

@media (max-width: 700px) {

  .seminar-registration-page {
    padding: 20px;
  }

  .seminar-registration-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .seminar-registration-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .seminar-registration-toolbar input {
    width: 100%;
  }

}

/* =========================================================
   COURSE SEARCH BAR
========================================================= */

.member-course-search {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 32px;

  height: 56px;

  display: flex;
  align-items: center;

  position: relative;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 14px;

  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.06);

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;

  box-sizing: border-box;
}


/* SEARCH ICON */

.member-course-search-icon {
  width: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;

  color: #777;

  flex-shrink: 0;
}


/* INPUT */

.member-course-search input {
  width: 100%;
  height: 100%;

  border: none;
  outline: none;

  background: transparent;

  padding: 0 52px 0 0;

  font-family: inherit;

  font-size: 16px;

  color: #222;

  box-sizing: border-box;
}


/* PLACEHOLDER */

.member-course-search input::placeholder {
  color: #9ca3af;
  opacity: 1;
}


/* FOCUS */

.member-course-search:focus-within {
  border-color: #e8473f;

  box-shadow:
    0 0 0 4px rgba(232, 71, 63, 0.10),
    0 8px 24px rgba(0, 0, 0, 0.08);

  transform: translateY(-1px);
}


/* CLEAR BUTTON */

.member-course-search-clear {
  position: absolute;

  right: 14px;
  top: 50%;

  transform: translateY(-50%);

  width: 30px;
  height: 30px;

  border: none;
  border-radius: 50%;

  background: #f3f4f6;

  color: #666;

  font-size: 20px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}


.member-course-search-clear:hover {
  background: #e8473f;

  color: #ffffff;

  transform:
    translateY(-50%)
    scale(1.05);
}


/* =========================================================
   COURSE HEADER
========================================================= */

.member-course-header {
  margin-bottom: 30px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .member-course-search {
    max-width: 100%;

    height: 52px;

    margin-bottom: 24px;

    border-radius: 12px;
  }

  .member-course-search-icon {
    width: 48px;

    font-size: 18px;
  }

  .member-course-search input {
    font-size: 15px;

    padding-right: 48px;
  }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

  .member-course-search {
    height: 50px;

    border-radius: 11px;
  }

  .member-course-search-icon {
    width: 44px;

    font-size: 17px;
  }

  .member-course-search input {
    font-size: 14px;
  }

}

/* =========================================================
   WEEKLY ROUNDUP PAGE
   ========================================================= */

.weekly-roundup-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 42px 70px;
  box-sizing: border-box;
  color: #202124;
}

.weekly-roundup-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.weekly-roundup-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #999;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.weekly-roundup-top h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.8px;
}

.weekly-roundup-top p {
  margin: 0;
  max-width: 700px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.weekly-roundup-dashboard-button,
.weekly-roundup-back {
  border: 1px solid #dedede;
  border-radius: 9px;
  padding: 11px 17px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.weekly-roundup-dashboard-button:hover,
.weekly-roundup-back:hover {
  border-color: #e8473f;
  color: #e8473f;
}

.weekly-roundup-line {
  width: 100%;
  height: 1px;
  margin-bottom: 30px;
  background: #e8e8e8;
}


/* =========================================================
   INTRO
   ========================================================= */

.weekly-roundup-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px 22px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fafafa;
}

.weekly-roundup-intro-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);

  font-size: 22px;
}

.weekly-roundup-intro h2 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 700;
}

.weekly-roundup-intro p {
  margin: 0;
  color: #777;
  font-size: 13px;
  line-height: 1.6;
}


/* =========================================================
   CARDS
   ========================================================= */

.weekly-roundup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.weekly-roundup-card {
  display: flex;
  flex-direction: column;

  min-height: 280px;
  padding: 24px;

  border: 1px solid #e4e4e4;
  border-radius: 16px;

  background: #fff;

  box-sizing: border-box;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.weekly-roundup-card:hover {
  transform: translateY(-3px);
  border-color: #ddd;
  box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

.weekly-roundup-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;
  margin-bottom: 20px;
}

.weekly-roundup-category {
  color: #e8473f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.weekly-roundup-date {
  color: #999;
  font-size: 11px;
}

.weekly-roundup-card h3 {
  margin: 0 0 12px;
  color: #222;
  font-size: 19px;
  line-height: 1.35;
}

.weekly-roundup-card p {
  flex: 1;

  margin: 0;

  color: #666;
  font-size: 13px;
  line-height: 1.7;
}


/* =========================================================
   READ MORE
   ========================================================= */

.weekly-roundup-read-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  margin-top: 22px;
  padding: 13px 0 0;

  border: 0;
  border-top: 1px solid #eee;

  background: transparent;

  color: #e8473f;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;
  text-align: left;
}

.weekly-roundup-read-button span {
  font-size: 18px;
  transition: transform .2s ease;
}

.weekly-roundup-read-button:hover span {
  transform: translateX(5px);
}


/* =========================================================
   NOTE
   ========================================================= */

.weekly-roundup-note {
  margin-top: 30px;
  padding: 18px 20px;

  border-radius: 12px;

  background: #f7f7f7;
}

.weekly-roundup-note strong {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}

.weekly-roundup-note p {
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.6;
}


/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.weekly-roundup-header {
  margin-bottom: 25px;
}

.weekly-roundup-article {
  max-width: 850px;
  margin: 0 auto;
  padding: 38px;

  border: 1px solid #e5e5e5;
  border-radius: 18px;

  background: #fff;
}

.weekly-roundup-article-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

.weekly-roundup-article-meta span:first-child {
  color: #e8473f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.weekly-roundup-article-meta span:last-child {
  color: #999;
  font-size: 11px;
}

.weekly-roundup-article h1 {
  margin: 0 0 15px;
  font-size: 34px;
  line-height: 1.25;
}

.weekly-roundup-article-summary {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

.weekly-roundup-divider {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: #e8e8e8;
}

.weekly-roundup-article-content p {
  margin: 0 0 20px;
  color: #444;
  font-size: 15px;
  line-height: 1.9;
}


/* =========================================================
   LOADING / EMPTY
   ========================================================= */

.weekly-roundup-loading,
.weekly-roundup-empty {
  padding: 60px 20px;

  border: 1px solid #e5e5e5;
  border-radius: 16px;

  background: #fff;

  text-align: center;
}

.weekly-roundup-empty-icon {
  margin-bottom: 12px;
  font-size: 34px;
}

.weekly-roundup-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.weekly-roundup-empty p {
  margin: 0;
  color: #777;
  font-size: 13px;
}


/* =========================================================
   DARK MODE
   ========================================================= */

[data-theme="dark"] .weekly-roundup-page {
  color: #eee;
}

[data-theme="dark"] .weekly-roundup-card,
[data-theme="dark"] .weekly-roundup-article,
[data-theme="dark"] .weekly-roundup-loading,
[data-theme="dark"] .weekly-roundup-empty {
  border-color: #333;
  background: #1b1b1b;
}

[data-theme="dark"] .weekly-roundup-top h1,
[data-theme="dark"] .weekly-roundup-card h3,
[data-theme="dark"] .weekly-roundup-article h1 {
  color: #fff;
}

[data-theme="dark"] .weekly-roundup-top p,
[data-theme="dark"] .weekly-roundup-card p,
[data-theme="dark"] .weekly-roundup-article-summary,
[data-theme="dark"] .weekly-roundup-article-content p {
  color: #bbb;
}

[data-theme="dark"] .weekly-roundup-intro,
[data-theme="dark"] .weekly-roundup-note {
  border-color: #333;
  background: #181818;
}

[data-theme="dark"] .weekly-roundup-dashboard-button,
[data-theme="dark"] .weekly-roundup-back {
  border-color: #444;
  background: #1b1b1b;
  color: #eee;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

  .weekly-roundup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 650px) {

  .weekly-roundup-page {
    padding: 25px 18px 50px;
  }

  .weekly-roundup-top {
    flex-direction: column;
  }

  .weekly-roundup-dashboard-button {
    width: 100%;
  }

  .weekly-roundup-top h1 {
    font-size: 30px;
  }

  .weekly-roundup-grid {
    grid-template-columns: 1fr;
  }

  .weekly-roundup-card {
    min-height: 250px;
  }

  .weekly-roundup-article {
    padding: 24px;
  }

  .weekly-roundup-article h1 {
    font-size: 28px;
  }

}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.calculator-card {
  width: 100%;
  border: 1px solid var(--member-border, #e5e7eb);
  background: var(--member-card, #ffffff);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}

.calculator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.calculator-card > div {
  flex: 1;
}

.calculator-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.calculator-card p {
  margin: 0;
  opacity: 0.7;
  font-size: 14px;
  line-height: 1.5;
}

.calculator-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.05);
}

.calculator-card-featured {
  grid-column: 1 / -1;
}

.calculator-viewer {
  width: 100%;
}

.calculator-viewer-header {
  margin-bottom: 15px;
}

.member-calculator-frame {
  width: 100%;
  height: calc(100vh - 180px);
  min-height: 700px;
  border: 0;
  border-radius: 14px;
  background: #fff;
}

@media (max-width: 800px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .calculator-card-featured {
    grid-column: auto;
  }

  .member-calculator-frame {
    height: calc(100vh - 140px);
    min-height: 600px;
  }
}