/* ==============================================
   IKONIC DESIGN SYSTEM
   ============================================== */

:root {
  /* ========================
     COLORS - Brand
     ======================== */
  --color-primary: #842bb5;
  --color-primary-dark: #6b2291;
  --color-primary-light: #a855d6;
  --color-secondary: #606ed7;
  --color-secondary-dark: #4c58b0;
  --color-secondary-light: #7b87e3;
  --color-accent: #37ca37;
  --color-accent-dark: #2da62d;
  --color-accent-hover: #2f9e2f;

  /* Gradient */
  --gradient-primary: linear-gradient(115deg, #842bb5 20%, #606ed7 90%);
  --gradient-primary-hover: linear-gradient(115deg, #6b2291 20%, #4c58b0 90%);

  /* ========================
     COLORS - Semantic
     ======================== */
  --color-error: #e93d3d;
  --color-error-light: #fef2f2;
  --color-error-dark: #c72c2c;
  --color-success: #37ca37;
  --color-success-light: #f0fdf4;
  --color-success-dark: #2da62d;
  --color-warning: #f59e0b;
  --color-warning-light: #fffbeb;
  --color-warning-dark: #d97706;
  --color-info: #3b82f6;
  --color-info-light: #eff6ff;

  /* ========================
     COLORS - Neutrals
     ======================== */
  --color-dark: #1e1e1e;
  --color-text: #1a1a2e;
  --color-text-muted: #6b7280;
  --color-text-light: #4b5563;
  --color-text-inverse: #ffffff;

  /* ========================
     COLORS - Backgrounds
     ======================== */
  --color-bg-page: #f4f4f8;
  --color-bg-card: #ffffff;
  --color-bg-light: #f9f9fc;
  --color-bg-muted: #f0f0f5;
  --color-bg-dark: #1e1e1e;
  --color-bg-sidebar: #1e1e1e;
  --color-bg-sidebar-hover: #2a2a2a;
  --color-bg-sidebar-active: #252525;
  --color-bg-sidebar-submenu: #252525;
  --color-bg-sidebar-l3: #2a2a2a;

  /* ========================
     COLORS - Borders
     ======================== */
  --color-border: #e2e4e9;
  --color-border-light: #f0f0f5;
  --color-border-dark: #d1d5db;
  --color-border-input: #d1d5db;
  --color-border-input-focus: #842bb5;

  /* ========================
     TYPOGRAPHY
     ======================== */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'Consolas', monospace;

  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-size-3xl: 36px;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ========================
     SPACING
     ======================== */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* ========================
     LAYOUT
     ======================== */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 60px;
  --topbar-height: 56px;
  --container-max-width: 1200px;

  /* ========================
     BORDERS & RADIUS
     ======================== */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 50%;

  /* ========================
     SHADOWS
     ======================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-topbar: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-dropdown: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1);

  /* ========================
     TRANSITIONS
     ======================== */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* ========================
     Z-INDEX
     ======================== */
  --z-dropdown: 100;
  --z-sidebar: 998;
  --z-topbar: 999;
  --z-modal-backdrop: 1000;
  --z-modal: 1001;
  --z-tooltip: 1100;

  /* Legacy aliases (for gradual migration) */
  --color-green: var(--color-accent);
  --color-green-dark: var(--color-accent-dark);
  --color-green-hover: var(--color-accent-hover);
  --color-bg-yellow: #fffef3;
}

/* This invisibly “pulls” the scroll position up by 40px */
.anchor-offset {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

 /*CSS added by salman*/
.help_link{margin-top: 35px;margin-left: 35px;}
.active_step{color:var(--color-success)}

.card {
    padding:15px; }
.fab {
    color: var(--color-text);
/*    margin-right: 10px; */
}
.fas {
    color: var(--color-text);
/*    margin-right: 10px; */
}
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  background: var(--color-bg-page);
  width: 100%;
  overflow: hidden;
  }

.footer {
  margin-top: 1rem;
  background: var(--color-bg-dark); }

h1, h2, h3, h4, h5, h6 {
  /*font-family: "Cabin", sans-serif;*/
  font-family: var(--font-primary);
  font-weight: 500; }

.title strong.step {
  font-family: var(--font-primary);
  font-weight: 700 !important; }

.bolder {
  font-weight: 900 !important; }

.has-border-bottom {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem; }

.button {
  letter-spacing: 1px;
  font-weight: 500;
  padding: 5px 30px;
  border: none;
  line-height: normal !important;
  height: 42px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: var(--transition-normal);
}
.button-grey, .button.is-ghost {
  letter-spacing: 1px;
  font-weight: 300;
  background-color: var(--color-bg-page);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.button-grey:hover, .button.is-ghost:hover {
  background-color: var(--color-bg-muted);
  border-color: var(--color-border-dark);
}

/* Secondary button - outlined purple */
.button.is-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition-normal);
}
.button.is-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* Accent button - green for save/complete */
.button.is-accent {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  transition: var(--transition-normal);
}
.button.is-accent:hover {
  filter: brightness(1.1);
  box-shadow: var(--shadow-sm);
}

/* Danger button - red for delete */
.button.is-danger {
  background-color: var(--color-error);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  transition: var(--transition-normal);
}
.button.is-danger:hover {
  filter: brightness(1.1);
  box-shadow: var(--shadow-sm);
}

  .button i {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    margin: 0 5px; }
    .button i.dark {
      color: var(--color-dark) !important;
      opacity: 0.45; }

.mt0 {
  margin-top: 0 !important; }

.mt05 {
  margin-top: 0.5rem !important; }

.mt1 {
  margin-top: 1rem !important; }

.mt2 {
  margin-top: 2rem !important; }

.mt3 {
  margin-top: 3rem !important; }

.mt4 {
  margin-top: 4rem !important; }

.mt5 {
  margin-top: 5rem !important; }

.mb0 {
  margin-bottom: 0 !important; }

.mb05 {
  margin-bottom: 0.5rem !important; }

.mb1 {
  margin-bottom: 1rem !important; }

.mb2 {
  margin-bottom: 2rem !important; }

.mb3 {
  margin-bottom: 3rem !important; }

.mb4 {
  margin-bottom: 4rem !important; }

.mb5 {
  margin-bottom: 5rem !important; }

.ml0 {
  margin-left: 0 !important; }

.ml05 {
  margin-left: 0.5rem !important; }

.ml1 {
  margin-left: 1rem !important; }

.ml2 {
  margin-left: 2rem !important; }

.ml3 {
  margin-left: 3rem !important; }

.ml4 {
  margin-left: 4rem !important; }

.ml5 {
  margin-left: 5rem !important; }

.mr0 {
  margin-right: 0 !important; }

.mr05 {
  margin-right: 0.5rem !important; }

.mr1 {
  margin-right: 1rem !important; }

.mr2 {
  margin-right: 2rem !important; }

.mr3 {
  margin-right: 3rem !important; }

.mr4 {
  margin-right: 4rem !important; }

.mr5 {
  margin-right: 5rem !important; }

.p0 {
  padding: 0 !important; }

.p1 {
  padding: 1rem; }

.p2 {
  padding: 2rem; }

.primbg {
  background: var(--color-primary) !important; }

.primc {
/*  color: #FFF !important; */
}

.is-red {
  color: var(--color-error) !important; }

.faded {
  opacity: 0.7; }

.secbg {
  background: var(--color-dark) !important; }

.green {
  color: var(--color-accent) !important;
}

.is-green {
  background: var(--color-accent);
  border-color: var(--color-accent-dark);
  color: var(--color-text-inverse); }
  .is-green:hover, .is-green:focus {
    background: var(--color-accent);
    border-color: var(--color-accent-hover);
    color: #fdf8ea; }

.is-gray {
  background: var(--color-border-light);
  border-color: var(--color-border-light);
  color: var(--color-text-muted); }
  .is-gray:hover, .is-gray:focus {
    background: var(--color-accent);
    border-color: #446e1b;
    color: var(--color-text-inverse); }

label {
  font-weight: 600;
  padding-bottom: 0px;
  padding-top: 8px;
  display: inline-block;
  font-size: 14px; }

.disabled {
  cursor: not-allowed !important;
  opacity: 0.7; }

.container {
  max-width: 1200px; }

.yellowish {
  background: #fffef3; }

.sys-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e2dfe5;
  /* border-radius: 6px; */
  overflow: hidden;
}
.sys-table thead {
  background: #f6f4f8;
}
.sys-table thead tr th {
  color: #555;
  font-weight: 600;
  font-size: 12px;
  padding: 10px 12px;
  border-bottom: 2px solid #e2dfe5 !important;
  border-right: none !important;
  border-left: none !important;
  border-top: none !important;
}
.sys-table tbody td {
  color: #333;
  font-weight: 400;
  font-size: 13px;
  padding: 8px 12px;
  border-color: var(--color-border-light) !important;
}
.sys-table tbody tr:hover td {
  background-color: #f8f5fb;
}

/* Payment method page */
#payment-method_page .cc-icons { margin-bottom: 12px; }
#payment-method_page .stripe-input {
  border: 1px solid #dbdbdb;
  border-radius: 4px;
  box-shadow: inset 0 0.0625em 0.125em rgba(10,10,10,.05);
  padding: 5px 10px;
  height: 2.5em;
  background: #fff;
}
#payment-method_page .stripe-input iframe {
  margin-top: 3px;
}

/* Profile page */
#profile_page .label {
  padding-top: 5px;
  padding-bottom: 0;
}
#profile_page .columns {
  gap: 40px;
}
#profile_page .field-hint {
  font-size: 12px;
  font-weight: normal;
}
#profile_page .field-note {
  font-size: 12px;
}
#profile_page .founder-badge {
  float: right;
  color: grey;
}

.fake-input {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid #ddd6d9;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1rem;
  height: 2.25em;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  line-height: 1.5;
  padding-bottom: calc(0.375em - 1px);
  padding-left: calc(0.625em - 1px);
  padding-right: calc(0.625em - 1px);
  padding-top: calc(0.375em - 1px);
  position: relative;
  vertical-align: top;
  background-color: white;
  color: var(--color-dark);
  -webkit-box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  max-width: 100%;
  width: 100%; }
  .fake-input:hover {
    border-color: var(--color-accent); }

.field.has-addons .fake-input {
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important; }

.wwrap {
  background: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
}

.select-label {
  padding: 0.3rem 0;
  display: inline-block;
  font-weight: 600; }

.inner-page-wrap {
    background-color: #fff;
    padding: 5px 30px 40px;
/*    filter: drop-shadow(6.784px 4.239px 13.5px rgba(2,3,2,0.26)); */
    width: 100%;
}

.fullw {
  width: 100% !important; }

hr {
  background: var(--color-border);
  border: none;
  display: block;
  height: 1px;
  margin: 1rem 0; }

.button.is-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-family: var(--font-primary);
  font-size: 22px;
  padding: 5px 30px;
  height: auto;
  transition: var(--transition-normal);
}
  .button.is-primary:hover, .button.is-primary.is-hovered {
    background: var(--color-primary);
    filter: brightness(1.1);
    box-shadow: var(--shadow-md);
    color: var(--color-text-inverse) !important; }
  .button.is-primary:active, .button.is-primary.is-active {
    background: var(--color-primary);
    filter: brightness(0.95);
    color: var(--color-text-inverse); }
.button.is-primary:focus:not(:active), .button.is-primary.is-focused:not(:active){
    background: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(132, 43, 181, 0.3);
    color: var(--color-text-inverse) !important; }

/* Button size overrides (must come after .button.is-primary) */
.button.is-small,
.button.is-primary.is-small {
  height: auto;
  padding: 4px 14px;
  font-size: 0.75rem;
}
.button.is-medium,
.button.is-primary.is-medium {
  height: 48px;
  padding: 8px 36px;
  font-size: 1.1rem;
}

/* --- Page Title (WriteIncludeHeader) --- */
.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}
.page-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin: 0;
  letter-spacing: 0.02em;
}
.page-title-link {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  white-space: nowrap;
}
.page-title-link:hover {
  color: var(--color-primary-dark);
}

/* --- Commission Summary Cards --- */
.comm-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.comm-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md, 8px);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
  border: 1px solid var(--color-border-light, #eee);
  transition: var(--transition-fast);
}
.comm-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.comm-card-value {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: 4px;
}
.comm-card-label {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
@media (max-width: 1024px) {
  .comm-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .comm-cards { grid-template-columns: repeat(2, 1fr); }
  .comm-card { padding: 14px 10px; }
  .comm-card-value { font-size: var(--font-size-lg); }
}

/* --- Income/Payout/Balance Cards --- */
.income-summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.income-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md, 8px);
  padding: 20px;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
  border: 1px solid var(--color-border-light, #eee);
}
.income-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.income-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.income-card-title {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.income-card-amounts {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.income-card-col {
  text-align: center;
  flex: 1;
}
.income-card-col-label {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.income-card-col-value {
  display: block;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}
.income-card.is-income .income-card-icon {
  background: rgba(55, 202, 55, 0.1);
  color: var(--color-success);
}
.income-card.is-paidout .income-card-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-info);
}
.income-card.is-balance .income-card-icon {
  background: rgba(132, 43, 181, 0.1);
  color: var(--color-primary);
}
.income-card.is-balance {
  border-color: var(--color-primary-light);
  background: linear-gradient(135deg, rgba(132, 43, 181, 0.03), rgba(96, 110, 215, 0.03));
}
@media (max-width: 768px) {
  .income-summary-cards { grid-template-columns: 1fr; }
}

/* --- Shared Tab System --- */
.tab-nav {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #dbdbdb;
}
.tab-nav li {
  margin: 0 0 -1px 0;
}
.tab-nav li a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-primary);
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background: transparent;
  color: var(--color-text-light);
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
}
.tab-nav li a:hover {
  background-color: #f5f5f5;
  color: var(--color-text);
}
.tab-nav li.is-active a {
  background-color: #fff;
  border-color: #dbdbdb;
  border-bottom-color: transparent;
  color: var(--color-primary);
}
.tab-nav.is-small li a {
  font-size: 13px;
  padding: 6px 12px;
}

.video-wrap {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem; }
  .video-wrap .subtitle {
    font-weight: 700; }

ul.styled {
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 1rem; }
  ul.styled li {
    line-height: 2.5rem;
    border-bottom: 1px solid var(--color-border-light); }
    ul.styled li i {
      color: var(--color-text);
      opacity: 0.7;
      margin-right: 5px; }

.gravatar img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  max-width: 130px;
  max-height: 130px;
  margin: 0 auto;
  border: 10px solid var(--color-border-light); }

#products {
  top: 80px;
  position: absolute;
  z-index: 200;
  width: 100%; }
  #products .overlay {
    width: 100%;
    height: 100vh;
    z-index: 200;
    background: rgba(0, 0, 0, 0.5); }
  #products ul li {
    width: 25%;
    float: left;
    position: relative; }
    #products ul li.locked img {
      opacity: 0.2; }
    #products ul li .navbar-item img {
      max-height: 4.5rem;
      margin-bottom: 1rem; }
    #products ul li .icofont-ui-lock {
      color: var(--color-text);
      font-size: 3rem;
      position: absolute;
      display: inline-block;
      margin: 0 auto;
      left: 0;
      top: 25%;
      width: 100%;
      text-align: center;
      text-shadow: 0 1px 0 white;
      z-index: 120; }
    #products ul li a {
      padding: 2rem 0 1rem 0;
      display: block;
      color: var(--color-text);
      width: 100%;
      background: white;
      text-align: center;
      font-weight: 600;
      font-size: 0.9rem;
      border-right: 1px solid var(--color-border-light);
      border-bottom: 1px solid var(--color-border-light); }
      #products ul li a:hover {
        color: var(--color-text-inverse);
        background: var(--color-accent);
        border-color: var(--color-accent-hover); }

#header .navbar {
  background: var(--color-bg-page);
  background-size: 100% auto; }
  #header .navbar .navbar-brand img {
    max-height: 70px;
    padding: 10px 0 5px 0; }
  #header .navbar a.navbar-item.active {
    background: #fff; }
    #header .navbar a.navbar-item.active .name {
      color: var(--color-text) !important; }
    #header .navbar a.navbar-item.active:hover .name {
      color: var(--color-text-inverse); }
    #header .navbar a.navbar-item.active:hover .fa, #header .navbar a.navbar-item.active:hover .oi {
      color: var(--color-text);
      background-color: var(--color-primary);
    }
  #header .navbar .navbar-item {
    font-size: 0.85rem;
    position: relative;
    text-align: center;
  }
    #header .navbar .navbar-item .navbar-dropdown {
      padding: 0;
      box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      border-radius: 0;
      margin-top: 0; }
      #header .navbar .navbar-item .navbar-dropdown a.navbar-item {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid var(--color-border-light);
        text-align: left;
        position: relative;
		color: var(--color-dark);
      }
        #header .navbar .navbar-item .navbar-dropdown a.navbar-item:hover {
            background: var(--color-text-muted);
            border-color: var(--color-text-muted);
        }
          #header .navbar .navbar-item .navbar-dropdown a.navbar-item:hover .name {
            color: #000; }

          #header .navbar .navbar-item .navbar-dropdown a.navbar-item:hover .fa, #header .navbar .navbar-item .navbar-dropdown a.navbar-item:hover .fas, #header .navbar .navbar-item .navbar-dropdown a.navbar-item:hover .oi {
            color: #fff !important; }
        #header .navbar .navbar-item .navbar-dropdown a.navbar-item .fa, #header .navbar .navbar-item .navbar-dropdown a.navbar-item .oi {
          color: var(--color-dark);
          margin-right: 10px; }
        #header .navbar .navbar-item .navbar-dropdown a.navbar-item .name {
          color: var(--color-dark);
          position: relative;
          font-size: 0.8rem;
          /*font-weight: 600;*/
          margin: 0 10px 0 0; }
    #header .navbar .navbar-item.has-dropdown {
      padding: 0; }
      #header .navbar .navbar-item.has-dropdown.disabled a {
        cursor: not-allowed; }
      #header .navbar .navbar-item.has-dropdown.disabled .navbar-dropdown {
        display: none !important; }
    #header .navbar .navbar-item .ico {
      font-size: 1.25rem;
      /*color: #1bfbfb;*/
      color: var(--color-dark);
      display: inline-block;
      width: 100%;
      float: left;
      position: absolute;
      top: 0;
      margin-top: 1.1rem;
      text-align: center;
      padding-bottom: 1rem; }
      #header .navbar .navbar-item .ico.xl {
        font-size: 1.25rem !important; }
    #header .navbar .navbar-item .name {
      position: relative;
      display: inline-block;
      margin: 2.25rem 15px 0 15px;
      bottom: 0;
      color: var(--color-text);
      font-size: 10px;
      text-transform: uppercase;
      font-weight: 500; }
    #header .navbar .navbar-item:hover {
      -webkit-box-shadow: inset 0 0 1px gray;
      -moz-box-shadow: inset 0 0 1px gray;
      box-shadow: inset 0 0 1px gray;
      background: var(--color-text-muted); }
  #header .navbar #b1:hover #b1t {
    display: block; }
  /* #header .navbar #b2:hover #b2t {
    display: block; } */
  #header .navbar #b3:hover #b3t {
    display: block; }
  #header .navbar #b4:hover #b4t {
    display: block; }
  #header .navbar #b5:hover #b5t {
    display: block; }
  #header .navbar .dropwrapper {
    position: relative; }
    #header .navbar .dropwrapper .dropout {
      box-shadow: 3px 10px 20px rgba(0, 0, 0, 0.4);
      position: absolute;
      top: 0;
	  padding-left: 0px;
      margin-left: 100%;
      background: #fff;
      display: none; }
      #header .navbar .dropwrapper .dropout li a {
		font-family: var(--font-primary);
		font-weight: 400;
		text-transform: uppercase;
        font-size: 13px; }
        #header .navbar .dropwrapper .dropout li a:hover {
          color: #fff; }
          
#subnav {
  background: var(--color-bg-sidebar-hover); }
  #subnav .columns {
    margin: 0;
    padding: 0; }
  #subnav .column {
    padding: 0;
    margin: 0; }
  #subnav li {
    font-family: var(--font-primary);
    display: inline-block; }
    #subnav li a {
      font-size: 13px;
      font-weight: 400;
      padding: 0.9rem 1.25rem;
      color: var(--color-text-inverse);
      display: inline-block;
      text-transform: uppercase; }
      #subnav li a:hover {
        background: var(--color-border-light);
        color: var(--color-dark); }
        #subnav li a:hover i {
          background: linear-gradient(to top, var(--color-accent) 20%, var(--color-accent) 80%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent; }
      #subnav li a.active {
        background: var(--color-border-light);
        color: var(--color-dark);
        font-weight: 600; }
      #subnav li a i {
        font-size: 12px !important;
        margin-right: 5px;
        color: var(--color-text); }

#stepnav {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.5); }
  #stepnav .columns {
    margin: 0;
    padding: 0; }
  #stepnav .column {
    padding: 0;
    margin: 0; }
  #stepnav #steps {
    display: inline-block;
    width: 100%;
    padding: 5px 0 0 0;
    margin: 0;
    text-align: center; }
    #stepnav #steps li {
      background: url("../assets/img/subnav-triangle.png") no-repeat center right;
      background-size: auto 100%;
      display: inline-block;
      position: relative;
      width: auto;
      padding: 0 7px 0 0; }
      #stepnav #steps li:last-child {
        background: transparent; }
      #stepnav #steps li.is-active, #stepnav #steps li.is-unlocked {
        opacity: 1 !important; }
        #stepnav #steps li.is-active .step-w > span {
          color: var(--color-accent) !important; }
      #stepnav #steps li.active-current a, #stepnav #steps li.unlocked-current a{
        opacity: 1 !important;
        cursor: wait; }
      #stepnav #steps li.is-disabled {
        cursor: not-allowed;
        opacity: 0.5 !important; }
      #stepnav #steps li:hover {
        opacity: 1; }
        #stepnav #steps li:hover .title-w a {
          color: blue;
          text-decoration: underline; }
      #stepnav #steps li .status {
        display: none;
        height: 100%;
        width: 30%;
        margin: 0;
        color: var(--color-text-inverse);
        padding: 8px 0;
        font-size: 15px;
        text-align: center;
        line-height: 1.8rem;
        position: absolute;
        top: 0;
        right: 0; }
        #stepnav #steps li .status.finished {
          background: var(--color-accent);
          border: 1px solid var(--color-accent-hover);
          border-left: 0; }
          #stepnav #steps li .status.finished i {
            text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); }
        #stepnav #steps li .status.unfinished {
          background: transparent; }
          #stepnav #steps li .status.unfinished i {
            opacity: 0.75;
            color: #f0c14f;
            text-shadow: 0 1px 0 white; }
        #stepnav #steps li .status.next {
          color: #3969ad; }
          #stepnav #steps li .status.next i {
            text-shadow: 0 1px 0 rgba(225, 225, 225, 0.3); }
      #stepnav #steps li .title-w {
        font-family: var(--font-primary);
        display: none;
        width: 73%;
        padding: 0 0 0 10px;
        line-height: 1.25rem; }
        #stepnav #steps li .title-w a {
          padding: 10px 0 10px 0;
          color: var(--color-dark);
          display: block;
          height: 100%;
          width: 100%;
          font-size: 0.8rem;
          font-weight: 600;
          letter-spacing: -0.5px; }
      #stepnav #steps li .step-w {
        background: transparent;
        display: inline-block;
        float: left;
        width: 70%;
      }
        #stepnav #steps li .step-w span {
          display: inline-block;
          width: 100%;
          text-align: center; }
          #stepnav #steps li .step-w span.t {
            font-size: 8px;
            line-height: 0;
            color: var(--color-text-muted);
            font-weight: bold; }
          #stepnav #steps li .step-w span.n {
            position: relative;
            padding-left: 5px;
            top: 8px;
            font-weight: bold;
            font-size: 1.2rem;
            line-height: 0;
            font-family: var(--font-primary) !important;
            color: #6d6d6d; }
            #stepnav #steps li .step-w span.n i {
              font-size: 50%;
              position: relative;
              top: -7px; }
            #stepnav #steps li .step-w span.n small {
              font-weight: 500;
              font-size: 50%;
              position: relative;
              top: -7px;
              right: -1px; }
            #stepnav #steps li.active-current .step-w{
                border-bottom: 2px solid var(--color-accent);
            }
            #stepnav #steps li.unlocked-current .step-w{
                border-bottom: 2px solid var(--color-text-muted);
            }
            #stepnav #steps li.disabled-current .step-w{
                border-bottom: 2px solid #6d6d6d;
            }
      #stepnav #steps li div {
        display: inline-block;
        float: left; }

#content {
  padding-top: 1rem;
  padding-bottom: 2rem; }

  #content ul.sidenav {
    background: var(--color-dark);
    color: var(--color-text-inverse);
    border-top: 1px solid #d2d4d7;
    position: relative;
    top: -1px; }
#content ul.custum-sidenav {
    background: #FFF;
}
    #content ul.sidenav li a{
        padding-top:10px;
/*        padding-bottom:10px;*/
      list-style: none;
      border-bottom: 1px solid #2b2b2b; }
      #content ul.sidenav li.selected {
        background: #fff;
        position: relative; }
        #content ul.sidenav li.selected .navbar-item {
          color: var(--color-dark);
          border-bottom: 0;
          /*font-weight: 600;*/ }
      #content ul.sidenav li a {
        position: relative;
        /*font-weight: 600;*/
        font-size: 0.9rem;
/*        padding: 0.75rem;*/
        color: var(--color-text-inverse); }
      #content ul.sidenav li lessonHeader a {
          color: var(--color-text);
      }
        #content ul.sidenav li a:hover {
/*          color: #; */
          background: var(--color-border);
}
        #content ul.sidenav li a i {
          color: var(--color-text-inverse);
          margin-right: 10px; }
    #content ul.sidenav .sublist {
      padding-bottom: 0;
      background: #fff; }
      #content ul.sidenav .sublist li {
    background: var(--color-bg-page);
        padding: 0;
        border: 0;
	
	 }
        #content ul.sidenav .sublist li a {
          color: var(--color-text-muted);
          font-weight: 500;
          font-size: 0.8rem;
          width: 100%;
          display: inline-block;
          padding: 0.75rem 1rem; }
          #content ul.sidenav .sublist li a:hover {
            background: var(--color-text-muted);
            color: var(--color-text-inverse); }
          #content ul.sidenav .sublist li a i {
            color: var(--color-text); }
          #content ul.sidenav .sublist li a:after {
            content: ''; }
        #content ul.sidenav .sublist li.is-active a {
          color: var(--color-text);
          
          /*font-weight: 700;*/
/*          background: #fff; */
          position: relative;
          right: 0;
          border-right: 1px solid #e4dfe1;
          border-top: 1px solid #e4dfe1;
          border-bottom: 1px solid #d1c9cd;
          box-shadow: -1px 2px 2px -1px rgba(0, 0, 0, 0.2); }
        #content ul.sidenav .sublist li.is-active i {
          color: #3969ad; }
        #content ul.sidenav .sublist li.is-active:hover a {
          color: var(--color-dark); }
        #content ul.sidenav .sublist li.is-active:hover i {
          color: #3969ad; }
  #content .sub-wrap .title {
    padding: 0.75rem 1rem;
    font-weight: 300; }
  #content .sub-wrap .sys-tabs {
    padding: 0;
    background: #fffdf5;
    margin: 0; }
    #content .sub-wrap .sys-tabs ul {
      border: 0; }
      #content .sub-wrap .sys-tabs ul li {
        margin: 0;
        border-left: 1px solid var(--color-border-light);
        border-right: 1px solid var(--color-border-light);
        border-top: 1px solid var(--color-border-light);
        background: #f6f5f6; }
        #content .sub-wrap .sys-tabs ul li:hover a {
          background: #fff;
          box-shadow: 0 5px 25px #959595;
          z-index: 100;
          position: relative; }
        #content .sub-wrap .sys-tabs ul li a {
          padding: 0.75rem 1.25rem;
          background: var(--color-border-light);
          border: 0;
          border-radius: 2px;
          font-weight: 600;
          font-size: 1rem; }
        #content .sub-wrap .sys-tabs ul li.is-active a {
          background: #fff !important; }
  #content .sidebar .title {
    background: var(--color-dark);
    color: var(--color-text-inverse);
    padding: 0.75rem 1rem;
    text-align: center;
	font-weight:500;
	}
  #content .sidebar .row .inside {
    padding: 0 1rem 1rem 1rem; }
  #content .sidebar .featured-icon {
    font-size: 5rem;
    color: var(--color-text);
    text-align: center;
    line-height: 4rem; }
    #content .sidebar .featured-icon .left {
      font-size: 3rem;
      position: relative;
      top: -1rem;
      left: 1rem;
      opacity: 0.5; }
    #content .sidebar .featured-icon .right {
      font-size: 3rem;
      position: relative;
      top: -1rem;
      right: 1rem;
      opacity: 0.5; }
  #content .sidebar #weekly-call {
    margin-bottom: 2rem; }
    #content .sidebar #weekly-call .show-title {
      font-size: 1.25rem;
      color: var(--color-text);
      font-weight: 800;
      font-family: var(--font-primary); }
    #content .sidebar #weekly-call .date {
      background: var(--color-border-light);
      display: block;
      margin: 7px;
      position: relative;
      top: -5px;
      left: -5px; }
      #content .sidebar #weekly-call .date .day {
        color: var(--color-dark);
        font-weight: 300;
        font-size: 1.5rem;
        line-height: 2.5rem; }
      #content .sidebar #weekly-call .date strong {
        font-size: 12px;
        background: darkred;
        color: var(--color-text-inverse);
        width: 100%;
        display: block; }
  #content #step-video-side {
    position: relative; }
    #content #step-video-side .title {
      font-family: var(--font-primary);
      font-weight: 400; }
      #content #step-video-side .title strong {
        font-weight: 700; }
    #content #step-video-side .ico-wrap {
      color: var(--color-text);
      margin-top: 1rem;
      font-size: 4rem;
      opacity: 0.5; }
    #content #step-video-side .stick-bottom {
      position: absolute;
      bottom: 11px;
      left: 0;
      right: 0;
      margin: 0 13px; }
    #content #step-video-side .checkbox {
      margin: 0.5rem auto 1rem auto; }
    #content #step-video-side .complete-wrap {
      background: #fdf8ea;
      border: 1px solid #f0c14f; }
      #content #step-video-side .complete-wrap p.date-complete {
        margin-bottom: 5px; }
  #content .step-content .main-title {
    color: var(--color-dark);
    padding: 17px 10px 16px 10px;
    margin: 0;
    border-bottom: 1px solid #edeaeb; }
  #content .step-content .lesson {
    padding: 1rem; }
  #content .top-page-logo {
    text-align: center;
    width: 100%;
    background: #fff;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
    padding: 10px 0; }
    #content .top-page-logo img {
      max-height: 50px; }

#fast-email-member .dropdown-content {
  padding: 0; }
#fast-email-member .menu-list li {
  border-bottom: 1px solid var(--color-border-light); }
  #fast-email-member .menu-list li a {
    width: 100%; }
    #fast-email-member .menu-list li a i {
      position: relative;
      right: 0;
      float: right;
      top: 3px; }

#funnels .page-wrap {
  background: white url("../../assets/img/web-bg.jpg") top left no-repeat;
  padding-top: 12px;
  display: inline-block;
  position: relative;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border: 0;
  border-radius: 3px;
  background-size: 100%;  }
  #funnels .page-wrap:hover img {
    opacity: 0.7; }
  #funnels .page-wrap:hover .is-wrapping a {
    opacity: 1; }
  #funnels .page-wrap img {
    min-height: 210px;
    width: 100%;
    height: 100%;
    display: inline-block;
    margin-bottom: -5px; 
	min-width: 260px;}
  #funnels .page-wrap .is-wrapping {
    text-align: center;
    display: -moz-inline-stack; }
    #funnels .page-wrap .is-wrapping a {
      position: absolute;
      bottom: 0;
      display: block;
      margin: 0 auto !important;
      width: 100%;
      height: 3.5rem;
      /*line-height: 3rem;*/
      z-index: 100;
      border: 0;
      background: #fffef3;
      color: #3969ad;
      white-space: unset;
      line-height: 1;
      padding-top: 15px;
	  }
      #funnels .page-wrap .is-wrapping a:hover {
        background: var(--color-accent);
        color: #fff; }
#funnels .url-wrap {
  background: #fffef3;
  padding: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;  }
  #funnels .url-wrap .control .fake-input {
    width: 100%; }
#funnels .field.has-addons .button {
  font-weight: 700;
  height: 2.25rem;
  line-height: 2.25rem;
  font-size: 0.9rem; }
#funnels .field.has-addons .control:not(:last-child) {
  max-width: 493px; }
/* Funnels - non-tab overrides */
#funnels .ui-widget.ui-widget-content {
  border: 0;
  padding: 0; }
#funnels .ui-tabs .card {
  border: 0;
  box-shadow: none; }
#funnels .ui-tabs .ui-tabs-nav li a .icofont {
  font-size: 1.05rem;
  color: var(--color-text);
  opacity: 0.4; }
#funnels .fake-input {
  overflow: hidden;
  word-break: keep-all;
  white-space: nowrap;
  height: 2.25rem;
  line-height: 2.25rem;
  font-size: 1rem;
  word-wrap: break-word; }

/* Clean tab styling - Bulma-like */
#lead #tabs {
  padding: 1rem;
  border: 0;
  border-top-left-radius: 0; }
#lead .ui-tabs .ui-widget-header {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--color-border);
  padding: 0;
  margin-bottom: 20px; }
#lead .ui-tabs .ui-tabs-panel {
  padding: 0;
  border: 0; }
#lead .ui-tabs .ui-tabs-nav {
  padding: 0;
  background: transparent;
  border: 0; }
#lead .ui-tabs .ui-tabs-nav li {
  margin: 0 0 -1px 0;
  border: 0;
  background: transparent !important; }
#lead .ui-tabs .ui-tabs-nav li a {
  outline: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent !important;
  color: var(--color-text-light);
  padding: 10px 16px;
  margin-bottom: -1px;
  font-size: 14px; }
#lead .ui-tabs .ui-tabs-nav li a:hover {
  border-bottom-color: var(--color-text);
  color: var(--color-text);
  background: transparent !important; }
#lead .ui-tabs .ui-tabs-nav li a .icofont {
  font-size: 1.05rem;
  color: var(--color-text);
  opacity: 0.4; }
#lead .ui-tabs .ui-state-active,
#lead .ui-tabs .ui-tabs-nav li.ui-tabs-active {
  border: 0;
  background: transparent !important; }
#lead .ui-tabs .ui-state-active a,
#lead .ui-tabs .ui-tabs-nav li.ui-tabs-active a {
  border: 0;
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  background: transparent !important; }
#lead .messages-wrap p {
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 300;
  color: #000;
  opacity: 0.8; }
#lead .messages-wrap .subtitle {
  margin-bottom: 0.5rem; }

.select-step {
  margin: 0 0 20px 0;
  padding: 0.75rem 0.8rem;
  background: var(--color-border-light); }
  .select-step select strong {
    font-weight: 800;
    color: red; }

#youtube_mastery ul.sidenav {
  background: var(--color-error); }
  #youtube_mastery ul.sidenav li {
    border-color: #9f1e1e; }
    #youtube_mastery ul.sidenav li a i {
      color: var(--color-text-inverse);
      opacity: 0.7;
      font-size: 125%; }
    #youtube_mastery ul.sidenav li a:hover i {
      color: var(--color-dark); }
    #youtube_mastery ul.sidenav li.active i {
      color: var(--color-accent); }


#welcome-page .step-content {
  padding: 0 1rem; }
#welcome-page .styled {
  font-size: 2rem;
  margin-bottom: 0; }
  #welcome-page .styled .fa {
    font-size: 2rem; }
  #welcome-page .styled li {
    padding: 1.25rem 0; }
#welcome-page .coach-wrap {
  text-align: center;
  padding: 0; }
  #welcome-page .coach-wrap li {
    background: #fffef3;
    width: 100%;
    display: inline-block; }
/***************** SideBar *******************/
#tinynav1 {
  display: none;
}
.navbar-burger{height: 3.50rem;}
.navbar-burger span {
  background-color: #363636; }

/* Mobile navbar alignment */
@media screen and (max-width: 1023px) {
  .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; }
  .navbar-brand .navbar-burger {
    display: flex;
    align-items: center;
    margin-left: 0; }
  .navbar-brand > .navbar-item.is-hidden-desktop {
    position: absolute;
    right: 52px;
    display: flex;
    align-items: center; }
}
.toggle_lesson_menu,.toggle_navigation{margin-left: 0;width: 100%;display:none;height: 38px;align-items: center !important;margin-top: -22px;background-color: rgb(237, 237, 237);}
/* styles for mobile */
@media only screen and (max-width: 768px) {
	.toggle_lesson_menu,.toggle_navigation{display:block !important}
    .training_mobile{display:block !important}
    /*.training_desktop{display:none}*/
    .training_desktop{display:block}

  .step-video-side-mobile{ display:block !important}
  .step-video-side-desktop .editorSection{ display:none}
  .step-video-side-desktop #mark-step-complete{ display:none}
  .table-res-wrap {
    display: inline-block;
    width: 100%;
    overflow: scroll;
    border: 1px solid #e2dfe5;
    border-radius: 6px; }
    .table-res-wrap .table td, .table-res-wrap .table th {
      border: 1px solid var(--color-border-light);
      border-width: 0 0 1px;
      padding: 6px 10px;
      vertical-align: middle; }

  .tinynav {
    display: block;
    width: 100%;
    height: 3rem;
    line-height: 2rem;
    font-size: 1.5rem;
    padding: 0 1rem; }

  .sidenav {
    display: none; }

  #content #step-video-side .ico-wrap {
    display: none; }
  #content #step-video-side .stick-bottom {
    margin: 0; }

  #welcome-page .step-content {
    padding: 0 !important; }
  #welcome-page .title {
    font-size: 1.1rem !important;
    text-align: left !important; }
  #welcome-page .styled {
    font-size: 2rem;
    margin-bottom: 0; }
    #welcome-page .styled .fa {
      font-size: 2rem; }
    #welcome-page .styled li {
      padding: 0.75rem 1.5rem;
      text-align: center !important; }
  #welcome-page .mt2 {
    margin-top: 0 !important; }
  #welcome-page .p2 {
    padding: 1rem !important; }
  #welcome-page .coach-wrap {
    text-align: center;
    padding: 0; }
    #welcome-page .coach-wrap li {
      background: #fffef3;
      width: 100%;
      display: inline-block; }

  #header .navbar .navbar-menu {
    padding: 0; }
  #header .navbar .navbar-brand img {
    margin: 10px 0px 0px 0px;
    padding: 0 15px !important;
    max-height: 38px !important;
    }
  #header .navbar .navbar-dropdown .navbar-item {
    background: #fffef3; }
  #header .navbar .f-link {
    border: 1px solid #ddd6d9;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    padding: 0.75rem 0.5rem; }
  #header .navbar .navbar-item {
    background: #fff;
    color: var(--color-dark); }
    #header .navbar .navbar-item:hover, #header .navbar .navbar-item:focus {
      background: #fff;
      color: var(--color-accent); }
    #header .navbar .navbar-item .ico {
      font-size: 1.5rem;
      display: inline-block;
      width: auto;
      position: relative;
      top: 0;
      margin-top: 0;
      text-align: left;
      padding-bottom: 0;
      left: 10px; }
    #header .navbar .navbar-item .name {
      /*width: 80%;*/
      display: inline-block;
      margin: 0;
      padding: 0;
      font-size: 1.25rem;
      color: var(--color-dark);
      text-align: left !important; }

  #stepnav #steps li {
    padding: 0;
    /*width: 6.55%;*/ 
    width: 12%;
    }
    #stepnav #steps li .step-w span.t {
      display: none; }
    #stepnav #steps li .step-w span.n {
      position: relative;
      padding-left: 0;
      top: 0;
      font-weight: bold;
      font-size: 11px; }
      #stepnav #steps li .step-w span.n small {
        display: none; }

  #content {
    padding-top: 0;
    padding-bottom: 2rem; }

  /* Consolidated from duplicate 768px block */
  .column.is-4.custum-navbar {
    padding-right: 0px !important;
  }
  #header .navbar .navbar-item {
    text-align: left;
  }
  a.navbar-item .icofont {
    margin-right: 10px;
  }
  .responsive-menu-profile {
    position: initial !important;
  }
}

@media only screen and (min-width:350px) and (max-width: 390px)
{
	.yellow_alert font{font-size:12px;}
}
@media only screen and (max-width: 320px)
{
	#funnels .page-wrap img {min-height: 190px;min-width: 200px;}
}
@media only screen and (min-width:320px) and (max-width: 470px)
{
	.inner-page-wrap{padding-left: 6px;padding-right: 6px;}
    .help_link{margin-left: -3px; margin-top: 17px; font-size: 12px;}
    #header .navbar .navbar-brand img{padding:0px; margin:0px;padding-top: 12px !important; padding-bottom: 8px !important; height: 48px !important;}
}
@media only screen and (max-width:500px)
{
    #stepnav #steps li.custom-sub:nth-child(5) {
        width: 26% !important;
    }
    #stepnav #steps li{width: 15% !important;}
    #stepnav #steps li .step-w span.n{
        left: 10%;
        top: 3px;
    }
}
@media only screen and (max-width:560px)
{
	#last_lesson_msg_btn{ width:100% }
}
@media only screen and (min-width:320px) and (max-width: 408px)
{
	#last_lesson_msg_btn a {display: inline-block; }
}
@media only screen and (min-width:470px) and (max-width: 768px)
{
    .help_link{margin-top:25px;}
    .help_link{margin-left: 6%;}
}
@media only screen and (min-width:1024px) and (max-width: 1090px)
{
	#header .navbar .navbar-item .name{ margin: 2.25rem 10px 0 18px; }
	body{ overflow: hidden;}
}
@media only screen and (min-width:769px) and (max-width: 1050px)
{
.column.is-7{width: 80%;}
}
@media only screen and (min-width:768px) and (max-width: 1023px)
{
    .help_link{margin-left: 17%;}
	#header .navbar .navbar-item .ico{text-align: left;}
	#header .navbar .navbar-item .name{margin-left: 36px !important; margin-top: 6px !important;}
	#header .navbar .navbar-brand img{padding-top: 8px !important; padding-bottom: 9px !important;  height: 50px !important;}

    /* Consolidated from duplicate 768-1023px block */
    #header .navbar .navbar-item .name {
        font-family: var(--font-primary) !important;
        font-weight: 500;
        display: inline-block;
        margin: 0;
        padding: 0;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--color-dark);
        text-align: left !important;
    }
    #header .navbar .navbar-item {
        text-align: left;
        padding: 0.75rem 0.5rem;
    }
    #header .navbar .navbar-item:hover {
        background: white;
        color: black;
    }
    #header .navbar .navbar-item .icofont {
        display: inline-block;
        width: auto;
        position: static;
        top: 0;
        margin-top: 0;
        text-align: left;
        padding-bottom: 0;
        left: 10px;
        margin-right: 20px;
    }
    .responsive-menu-profile {
        position: initial !important;
        width: auto !important;
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
}
@media only screen and (min-width:1023px) and (max-width: 1100px)
{
    .help_link{margin-left: 0px;}
}
@media screen and (min-width:1024px) and (max-width:1632px){
        .dropout{
            margin-left: 0px;
            right:100%;
        }
        .navbar-dropdown{
            left:unset;
            right:0;
        }
        
    }
.cool-link {
    display: inline-block;
    color: var(--color-text);
    text-decoration: none;
    width:100%;
}

.cool-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width .3s;
    margin-top: 10px;
}

.cool-link:hover::after {
    width: 100%;
    
    /*transition: width .3s;*/
}

#scroll_bottom{-moz-appearance: none;
-webkit-appearance: none;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
border-radius: 3px;
-webkit-box-shadow: none;
box-shadow: none;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
font-size: 1rem;
height: 2.25em;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
line-height: 1.5;
padding-bottom: calc(0.375em - 1px);
padding-left: calc(0.625em - 1px);
padding-right: calc(0.625em - 1px);
padding-top: calc(0.375em - 1px);
position: relative;
vertical-align: top;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: white;
border-color: #dbdbdb;
color: #363636;
cursor: pointer;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
padding-left: 0.75em;
padding-right: 0.75em;
text-align: center;
white-space: nowrap; }


/* css added to change the lesson sidenav */
.column.is-4.custum-navbar {
    padding-right: 20px !important;
}
.lessonHeader {
    background-color: black;
/*    background-image: url(https://tfe-my.s3.us-east-1.amazonaws.com/img/elements/gold-bar.png); */
    background-size: cover;
    color:white;
}

.custum-sidenav li {
margin-bottom: 5px;
}
.custum-sidenav li.lessonHeader:hover {
background: #fff;
}
.custum-sidenav li.lessonHeader a:hover {
    background-color: white;
    color:black;
}
.custum-sidenav li a.navbar-item{
 border:none !important;
}
.custum-sidenav ul.sublist{
background: transparent !important;
}
.custum-sidenav ul.sublist li a {
color: #000 !important;
}
.custum-sidenav li.is-active a {
color: var(--color-primary) !important;
}

.custum-sidenav ul li.lesson-selected a {
    background-color: #FFF;
   /* color: #1bfbfb !important; */
}

.custum-sidenav ul.sublist li a:hover {
   color: #FFF !important; 
}
.custum-sidenav ul {
margin-top: 0px;
}
.custum-sidenav a.custom-sub{
color: var(--color-accent);
font-weight: 700;
background: #fff;
position: relative;	
right: 0;
border-right: 1px solid #e4dfe1;
border-top: 1px solid #e4dfe1;
border-bottom: 1px solid #d1c9cd;
box-shadow: -1px 2px 2px -1px rgba(0, 0, 0, 0.2);
}

a.navbar-item.no-havor:hover
{
	color : #403c3cc4 !important ;
	background-color: transparent !important;
}

/* css to design multiline button on lesson training pages */
.MultilineButton{
	text-decoration: none !important;
	border: none;
	display: block;
   	text-align: center;
	font-weight: bold;
	text-align: center !important;
    text-decoration: none !important;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}
.MultilineButton:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-md);
}
/* Multiline button color variants (replaces inline background-color from PHP) */
.multiline-btn--green { background: var(--color-accent); color: var(--color-text-inverse); }
.multiline-btn--blue { background: var(--color-primary); color: var(--color-text-inverse); }
.multiline-btn--red { background: var(--color-error); color: var(--color-text-inverse); }
.ButtonMainIconArrow:before {
    font-family: FontAwesome;
    content: "\f054";
    margin-right: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ButtonMainIconCheck:before {
    font-family: FontAwesome;
    content: "\f00c";
    margin-right: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ButtonMainIconPlay:before {
    font-family: FontAwesome;
    content: "\f04b";
    margin-right: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ButtonMainHead{
	color: var(--color-text-inverse);
    font-size: 26px;
	display: block;
    text-align: center;
    width: 100%;
	margin-right: auto;
    margin-left: auto;
    font-weight: bold;
    display: inline-block;
    transition: all .2s ease-in-out;
    text-align: center !important;
    text-decoration: none !important;
	line-height: 40px
}

.ButtonSubHead{
	font-size: 14px;
	display: block;
    opacity: 0.7;
    font-weight: normal;
    text-align: center;
    width: 100%;
	margin-right: auto;
    margin-left: auto;
    color: var(--color-text-inverse);
    font-weight: bold;
    display: inline-block;
    transition: all .2s ease-in-out;
    text-align: center !important;
    text-decoration: none !important;
}
a.MultilineButton{
    margin: 0px !important;
    width: auto !important;
    overflow: hidden !important;
    text-align: center!important;
    padding: 10px 20px !important;
    display: inline-block !important;

}
.ButtonSubHead {
    overflow: hidden !important;
    text-align: center!important;
    display: block !important;
}
.ParentMultilineButton{
    display: block !important;
    font-size: 10pt !important;
    margin: 0 auto !important;
    text-align: center !important;	
}

/* Consolidated button styles for lesson navigation */
a.MarkLessonComplete,
a.prev-next-btn {
    background: var(--color-primary);
    border: none !important;
    border-radius: var(--radius-md);
    padding: 8px 16px;
    color: var(--color-text-inverse);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}
a.MarkLessonComplete:hover, a.MarkLessonComplete.is-hovered,
a.prev-next-btn:hover, a.prev-next-btn.is-hovered {
    filter: brightness(1.1);
    box-shadow: var(--shadow-md);
    color: var(--color-text-inverse) !important;
}
a.prev-next-btn:active {
    filter: brightness(0.95);
    color: var(--color-text-inverse);
}

a.prev-next-btn-new
{
    border: none;
    padding: 10px 20px;
    background: var(--color-primary);
    white-space: nowrap !important;
    color: var(--color-text-inverse);
    font-size: 26px;
    font-weight: bold;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-decoration: none;
}
a.prev-next-btn-new:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-md);
    color: var(--color-text-inverse);
}

.footer_action_buttons
{
	padding:15px 0 15px 0;
}

input#submit-form.custom_submit_button {
        border: none;
        background: var(--color-primary);
        color: var(--color-text-inverse);
        font-size: 1rem;
        font-weight: 500;
        padding: 8px 16px;
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: var(--transition-normal);
}
input#submit-form.custom_submit_button:hover {
        filter: brightness(1.1);
        box-shadow: var(--shadow-sm);
}
input#submit-form.custom_submit_button:active {
        background-color: var(--color-primary-dark);
        color: var(--color-text-inverse);
}

/* styles for i-pad */
@media only screen and (device-width: 768px) {
  .toggle_lesson_menu span, .toggle_navigation span {
    left: 4% !important;
  }
  .toggle_lesson_menu p, .toggle_navigation p {
    margin-left: 7% !important;
    padding-top: 7px !important;
  }
}

@media only screen and (max-width: 392px) {
    .footer_action_buttons {
        float: none !important;
        text-align: center;
}
}

#productWrap .productWrapper {
    background-image: linear-gradient(9deg, #F5F5F1 0%, #FFFFFF 74%);
    border: 1px solid rgba(0, 0, 0, 0.15);
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
}
#productWrap .productWrapper .imgwrp {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 0 0;
    max-height: 160px;
}
#productWrap .productWrapper img {
    display: block;
    max-height: 160px;
}
#productWrap .productWrapper .twrp {
    background: url(https://ikonic-members.s3.amazonaws.com/course-pics/freedom+era+background.png) top center no-repeat;
    background-size: 100% auto;
    min-height: 80px;
    padding: 22px 20px 15px 20px;
    font-size: 11px;
    line-height: 14px;
	text-align: center;
}
#productWrap {
    margin-top: 11px;
}
#productWrap .productWrapper .button {
    background: var(--color-primary);
    color: var(--color-text-inverse);
	font-family: var(--font-primary);
	font-weight: 500;
	border-radius: var(--radius-md);
	transition: var(--transition-normal);
}
#productWrap .productWrapper .button:hover {
    filter: brightness(1.1);
    box-shadow: var(--shadow-sm);
}
#productWrap #progressbar, #funnels #progressbar {
  background-color: rgba(0, 0, 0, 0.15);
  /* (height of inner div) / 2 + padding */
  padding: 3px;
  margin-bottom: 10px;
}

#productWrap #progressbar>div, #funnels #progressbar>div {
	color: var(--color-text-inverse);
  background-color: var(--color-primary);
  height: 20px;
  padding: 1px;
  text-align: center;
  font-family: var(--font-primary);
  font-weight: 500;
}
.twrp p{font-size: 14px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase; }
@media screen and (min-width: 1408px) {
  #section_content_resource-founders .meet-wrapper .container {
    width: 1100px !important;
  }
}

@media only screen and (min-width: 1216px)  {
  #section_content_resource-founders .meet-wrapper .container {
    width: 1100px !important;
  }
}
@media screen and (min-width: 1023px){
  #header .navbar #b2:hover #b2t {
      display: block;
  }
}

/* ========================================
   Header styles (moved from header.php)
   ======================================== */
header.site-header {
  background: #fff;
  z-index: 999;
  margin: 0 auto;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0px 0px 5px 2px;
}

.main-content .inner-wrapper {
  background-color: unset !important;
  position: relative;
}

.gold-heading {
  background-color: var(--color-text);
  color: #fff;
  background-size: cover;
  text-align: center;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: var(--font-primary);
  font-size: 32px;
}

.authentic_font {
  font-family: authentic_fonts;
  color: var(--color-text);
}

.authentic_font.head {
  font-size: 84px;
  text-align: center;
}

.header-banner-nbo [style*="font-family: authentic_fonts"] {
  color: #fff;
  margin-bottom: 0px;
  line-height: 1;
}

.header-banner-white [style*="font-family: authentic_fonts"] {
  color: var(--color-text);
  margin-bottom: 0px;
  line-height: 1;
}

.header-banner-nbo .authentic_font {
  color: #fff;
}

@media only screen and (max-width: 768px) {
  .header-banner-nbo {
    background-size: cover;
  }
  .main-content .inner-wrapper {
    position: relative;
  }
  .header-banner-nbo .header-banner-white [style*="font-family: authentic_fonts"] {
    font-size: 48px !important;
  }
  .authentic_font.head {
    font-size: 48px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1000px) {
  .header-banner-nbo .header-banner-white [style*="font-family: authentic_fonts"] {
    font-size: 60px !important;
  }
}

/* ========================================
   Slider styles (moved from header.php)
   ======================================== */
.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-container .slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-container .slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #fff;
  text-align: center;
}

.slider-container .dots {
  display: flex;
  justify-content: center;
  position: relative;
  top: -40px;
}

.slider-container .dots .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.slider-container .dots .dot.active {
  background-color: #808080;
}

/* ========================================
   Bulma Navbar Customizations
   ======================================== */

/* Fixed navbar spacing */
.navbar.is-fixed-top {
  z-index: 999;
  box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.1);
}

/* Navbar styling */
.navbar {
  font-family: var(--font-primary);
  text-transform: uppercase;
  font-size: 13px;
  min-height: 4rem;
}

/* More whitespace above top menu items */
.navbar-end {
  padding-top: 0.5rem;
  margin-left: auto; /* Keep menu right-aligned at all widths */
}

/* Ensure navbar menu stays right-aligned at all viewport widths */
@media screen and (min-width: 1024px) {
  .navbar > .container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none; /* Override Bulma's max-width constraints */
  }
  .navbar > .container > .navbar-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
  }
}

.navbar-item, .navbar-link {
  color: var(--color-text);
  font-weight: 400;
}

/* Cyan highlight on hover for all top-level menu items */
.navbar-end > a.navbar-item:hover,
.navbar-end > .has-dropdown > .navbar-link:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-text) !important;
}

/* Top-level menu items without dropdowns (DMO, CRM, Wellness Hub) */
.navbar-end > a.navbar-item {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Dropdown container needs no padding - padding goes on the link inside */
.navbar-end > .has-dropdown {
  padding: 0;
}

/* Dropdown items - navbar-link inside dropdown container */
.navbar-end > .has-dropdown > .navbar-link {
  padding-left: 0.75rem;
  padding-right: 1.8rem;
}

.navbar-link:not(.is-arrowless)::after {
  border-color: var(--color-text);
  margin-left: 0.625rem;
}

.navbar-dropdown {
  border-top: 2px solid var(--color-primary);
}

.navbar-dropdown .navbar-item:hover {
  background-color: var(--color-primary);
  color: var(--color-text);
}

/* Level 3 nested dropdown support (desktop) */
@media screen and (min-width: 1024px) {
  .navbar-dropdown .has-dropdown {
    position: relative;
  }

  /* Match height of regular dropdown items for items with sub-menus */
  .navbar-dropdown .has-dropdown > .navbar-link {
    padding: 0.8rem 2.5rem 0.8rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Right-justify arrow on Level 2/3 items with submenus */
  .navbar-dropdown .has-dropdown > .navbar-link::after {
    transform: rotate(-45deg);
    position: absolute;
    right: 0.75rem;
    margin-left: auto;
  }

  /* Hide nested dropdowns by default - override Bulma's is-hoverable cascade */
  .navbar-dropdown .navbar-dropdown {
    position: absolute;
    left: 100%;
    top: -0.5rem;
    display: none !important;
    min-width: 200px;
  }

  /* Only show Level 3 when directly hovering Level 2 item */
  .navbar-dropdown .has-dropdown:hover > .navbar-dropdown {
    display: block !important;
  }

  /* Edge detection - position dropdown on left when near right edge */
  .navbar-dropdown .has-dropdown.is-right .navbar-dropdown {
    left: auto;
    right: 100%;
  }
}

/* Mobile dropdown styles */
@media screen and (max-width: 1023px) {
  /* Mobile menu starts hidden, shown when is-active */
  .navbar-menu {
    display: none;
    max-height: 80vh;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    padding: 0.5rem 0;
  }

  .navbar-menu.is-active {
    display: block;
  }

  .navbar-dropdown {
    display: none;
    padding-left: 1rem;
  }

  .has-dropdown.is-active > .navbar-dropdown {
    display: block;
  }

  /* Nested dropdowns on mobile */
  .navbar-dropdown .has-dropdown .navbar-dropdown {
    padding-left: 1rem;
    background-color: #f5f5f5;
  }

  .navbar-dropdown .navbar-item,
  .navbar-dropdown .navbar-link {
    font-size: 12px;
  }

  /* Show arrow on all items with dropdowns (Level 1, 2, 3) */
  .has-dropdown > .navbar-link::after {
    display: inline-block;
    border: 3px solid var(--color-text);
    border-radius: 2px;
    border-right: 0;
    border-top: 0;
    content: " ";
    height: 0.625em;
    width: 0.625em;
    margin-left: 0.5em;
    transform: rotate(-45deg);
    position: absolute;
    right: 1rem;
    top: 50%;
    margin-top: -0.375em;
  }

  /* Arrow rotation when dropdown is active (points down) */
  .has-dropdown.is-active > .navbar-link::after {
    transform: rotate(-225deg);
    margin-top: -0.125em;
  }

  /* Ensure Level 1 dropdown items show properly */
  .navbar-end > .has-dropdown.is-active > .navbar-dropdown {
    display: block;
  }
}

/* Chat badge styling */
.chat_menu_icon {
  position: relative;
}

.chat_menu_icon .badge {
  position: absolute;
  top: -5px;
  right: -8px;
  font-size: 8px;
  padding: 2px 4px;
  background-color: #fa3e3e;
  color: white;
  border-radius: 50%;
}

/* ========================================
   Sidebar Navigation
   ======================================== */

/* --- Top Bar --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--color-dark);
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sidebar-toggle {
  background: none;
  border: none;
  font-size: 18px;
  color: #ccc;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.sidebar-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.topbar-logo img {
  height: 40px;
  display: block;
}

.topbar-icon {
  color: #ccc;
  font-size: 18px;
  position: relative;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.topbar-icon:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.topbar-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  font-size: 9px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
  background-color: #fa3e3e;
  color: white;
  border-radius: 50%;
  font-weight: 600;
}

/* Profile dropdown in top bar */
.topbar-profile {
  position: relative;
}

.topbar-profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
  color: #ccc;
}
.topbar-profile-btn:hover {
  background: rgba(255,255,255,0.1);
}

.topbar-profile-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.topbar-profile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  min-width: 180px;
  z-index: 1000;
  overflow: hidden;
}
.topbar-profile-menu.is-open {
  display: block;
}

.topbar-profile-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  font-family: var(--font-primary);
  transition: background 0.15s;
}
.topbar-profile-menu a:hover {
  background: #f5f5f5;
}

/* --- Sidebar --- */
.sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: 260px;
  background: #1e1e1e;
  z-index: 998;
  overflow-y: auto;
  overflow-x: hidden;
  transition: width 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: #444 #1e1e1e;
}
.sidebar::-webkit-scrollbar {
  width: 5px;
}
.sidebar::-webkit-scrollbar-track {
  background: #1e1e1e;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 3px;
}

/* Collapsed state */
.sidebar.is-collapsed {
  width: 60px;
}
.sidebar.is-collapsed .sidebar-text,
.sidebar.is-collapsed .sidebar-arrow {
  display: none;
}
.sidebar.is-collapsed .sidebar-link {
  justify-content: center;
  padding: 14px 0;
}
.sidebar.is-collapsed .sidebar-icon {
  margin-right: 0;
  width: 100%;
  text-align: center;
}
.sidebar.is-collapsed .sidebar-submenu,
.sidebar.is-collapsed .sidebar-submenu-l3 {
  display: none !important;
}
.sidebar.is-collapsed .sidebar-collapse-btn {
  justify-content: center;
}
.sidebar.is-collapsed .sidebar-collapse-btn .sidebar-icon {
  margin-right: 0;
}
.sidebar.is-collapsed #collapseIcon {
  transform: rotate(180deg);
}

/* Sidebar menu */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.sidebar-item {
  position: relative;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-primary);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
.sidebar-link:hover {
  background: var(--color-bg-sidebar-hover);
  color: var(--color-text-inverse);
}

.sidebar-icon {
  width: 20px;
  text-align: center;
  margin-right: 12px;
  font-size: 15px;
  flex-shrink: 0;
  color: #888;
  transition: color 0.15s;
}
.sidebar-link:hover .sidebar-icon {
  color: var(--color-primary);
}

.sidebar-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-arrow {
  margin-left: auto;
  font-size: 10px;
  transition: transform 0.2s;
  color: #666;
  flex-shrink: 0;
  padding-left: 8px;
}
.sidebar-item.is-open > .sidebar-link .sidebar-arrow {
  transform: rotate(180deg) translateY(2px);
}

/* Active state for current page */
.sidebar-item.is-active > .sidebar-link {
  color: var(--color-text-inverse);
  border-left: 3px solid var(--color-primary);
  padding-left: 13px;
}
.sidebar-item.is-active > .sidebar-link .sidebar-icon {
  color: var(--color-primary);
}

/* Level 2 submenu */
.sidebar-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  background: var(--color-bg-sidebar-submenu);
}
.sidebar-item.is-open > .sidebar-submenu {
  display: block;
}

.sidebar-submenu > li > a {
  display: block;
  padding: 9px 16px 9px 48px;
  color: #aaa;
  font-size: 12px;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-submenu > li > a:hover {
  color: #fff;
  background: var(--color-bg-sidebar-l3);
}

/* Level 3 submenu */
.has-submenu-l3 > a {
  display: flex !important;
  align-items: center;
  cursor: pointer;
}

.sidebar-submenu-l3 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  background: var(--color-bg-sidebar-l3);
}
.has-submenu-l3.is-open > .sidebar-submenu-l3 {
  display: block;
}
.has-submenu-l3.is-open > a .sidebar-arrow {
  transform: rotate(180deg) translateY(2px);
}

.sidebar-submenu-l3 > li > a {
  display: block;
  padding: 8px 16px 8px 64px;
  color: #999;
  font-size: 11px;
  font-family: var(--font-primary);
  text-decoration: none;
  transition: all 0.15s;
}
.sidebar-submenu-l3 > li > a:hover {
  color: #fff;
  background: #333;
}

/* Collapse button at bottom */
.sidebar-collapse-btn {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-family: var(--font-primary);
  cursor: pointer;
  border-top: 1px solid var(--color-bg-sidebar-hover);
  margin-top: auto;
  transition: all 0.15s;
  text-transform: uppercase;
  white-space: nowrap;
}
.sidebar-collapse-btn:hover {
  color: var(--color-border);
  background: var(--color-bg-sidebar-hover);
}
.sidebar-collapse-btn .sidebar-icon {
  margin-right: 12px;
  color: var(--color-text-muted);
  transition: transform 0.3s;
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 997;
}
.sidebar-overlay.is-visible {
  display: block;
}

/* --- Content area offset --- */
.sidebar-content {
  margin-left: 260px;
  margin-top: 56px;
  transition: margin-left 0.3s ease;
  min-height: calc(100vh - 56px);
  overflow-x: hidden;
}
.sidebar-content.is-collapsed {
  margin-left: 60px;
}

/* Override Bulma fixed-width containers to fit within sidebar layout */
.sidebar-content .container {
  max-width: 100%;
  width: auto;
}

/* Hide old header fixed styling since topbar replaces it */
header.site-header {
  position: static;
  box-shadow: none;
  border-bottom: none;
  background: transparent;
}

/* Override old header-margin since topbar handles spacing */
.header-margin {
  margin-top: 0 !important;
  display: none;
}

/* --- Desktop (>= 1024px) --- */
@media screen and (min-width: 1024px) {
  /* Profile is shown in both sidebar and topbar on desktop */
}

/* --- Mobile / Tablet (< 1024px) --- */
@media screen and (max-width: 1023px) {
  .sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.is-open {
    transform: translateX(0);
  }
  .sidebar.is-collapsed {
    width: 280px;
    transform: translateX(-100%);
  }
  .sidebar.is-collapsed.is-open {
    transform: translateX(0);
  }
  .sidebar.is-collapsed .sidebar-text,
  .sidebar.is-collapsed .sidebar-arrow {
    display: inline;
  }
  .sidebar.is-collapsed .sidebar-link {
    justify-content: flex-start;
    padding: 12px 16px;
  }
  .sidebar.is-collapsed .sidebar-icon {
    margin-right: 12px;
    width: 20px;
    text-align: center;
  }
  .sidebar.is-collapsed .sidebar-submenu,
  .sidebar.is-collapsed .sidebar-submenu-l3 {
    display: none !important;
  }
  .sidebar.is-collapsed .sidebar-item.is-open > .sidebar-submenu {
    display: block !important;
  }
  .sidebar.is-collapsed .has-submenu-l3.is-open > .sidebar-submenu-l3 {
    display: block !important;
  }

  .sidebar-content {
    margin-left: 0;
  }
  .sidebar-content.is-collapsed {
    margin-left: 0;
  }

  .sidebar-collapse-btn {
    display: none;
  }

  /* Show profile in sidebar on mobile, hide from topbar */
  .sidebar-profile-item {
    display: block;
  }
  .topbar-profile {
    display: none;
  }
}

/* ==============================================
   SEARCH FILTERS BAR
   ============================================== */
.search-filters {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  /* border-radius: var(--radius-lg); */
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-lg);
}

.search-filters-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-md);
}

.search-filters-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.search-filters-field--date {
  flex: 0 0 150px;
}

.search-filters-field--keyword {
  flex: 1 1 200px;
}

.search-filters-field--select {
  flex: 0 0 140px;
}

.search-filters-label {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.search-filters-input-wrap {
  position: relative;
}

.search-filters .input {
  height: 36px;
  font-size: var(--font-size-sm);
  font-family: var(--font-primary);
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md);
  padding: 6px 10px;
  width: 100%;
  background: var(--color-bg-card);
  transition: var(--transition-fast);
  box-shadow: none;
}

.search-filters .input:focus {
  border-color: var(--color-border-input-focus);
  box-shadow: 0 0 0 3px rgba(132, 43, 181, 0.12);
  outline: none;
}

.search-filters-input-wrap--icon .input {
  padding-left: 32px;
}

.search-filters-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  pointer-events: none;
  z-index: 1;
}

.search-filters .select {
  width: 100%;
}

.search-filters .select select {
  width: 100%;
  height: 36px;
  font-size: var(--font-size-sm);
  font-family: var(--font-primary);
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.search-filters-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: 18px;
}

.search-filters-actions .button.is-primary {
  font-size: var(--font-size-sm) !important;
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.search-filters-clear {
  font-family: var(--font-primary);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.search-filters-clear:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .search-filters-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .search-filters-field--date,
  .search-filters-field--keyword,
  .search-filters-field--select {
    flex: 1 1 100%;
  }

  .search-filters-actions {
    padding-top: 0;
    justify-content: flex-start;
  }
}