/* ==========================================================================
   FEC LMS Account Area
   ========================================================================== */

.fec-account {
  padding: 56px 0 72px;
  background: #F5F7FB;
}

.fec-account__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.fec-account-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.fec-account-shell__sidebar {
  background: #171F2E;
  border: 1px solid #00349B;
  border-radius: 0;
  padding: 24px;
  position: sticky;
  top: 24px;
  box-shadow: none;
}

.fec-account-shell__brand {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.fec-account-shell__eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.fec-account-shell__brand h1 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
  color: #FFFFFF;
}

.fec-account-shell__brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  word-break: break-word;
}

.fec-account-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fec-account-nav__link {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fec-account-nav__link:visited,
.fec-account-nav__link:focus,
.fec-account-nav__link:hover {
  color: #FFFFFF !important;
  text-decoration: none;
}

.fec-account-nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.fec-account-nav__link.is-active {
  background: #00349b;
  border-color: #FFFFFF;
  color: #fff !important;
}

.fec-account-nav__link.is-active:visited,
.fec-account-nav__link.is-active:hover,
.fec-account-nav__link.is-active:focus {
  color: #fff !important;
}

.fec-account-shell__sidebar-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fec-account-shell__content {
  min-width: 0;
}

.fec-account-page-header,
.fec-account-page-header--dashboard {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}

.fec-account-page-header__eyebrow {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C6B80;
}

.fec-account-page-header h2 {
  margin: 0 0 10px;
  font-size: 54px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #00349B;
}

.fec-account-page-header p {
  max-width: 760px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5E6C82;
}

.fec-account-page-header__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fec-account-metrics--dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.fec-account-metric {
  padding: 22px 22px 18px;
  border: 1px solid #D9E1EC;
  background: #FFFFFF;
  border-radius: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: none;
}

.fec-account-metric span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C6B80;
}

.fec-account-metric strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 42px;
  line-height: 1;
  color: #00349B;
}

.fec-account-metric small {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #6B778C;
}

.fec-account-metric--featured {
  background: #00349B;
  border-color: #00349B;
}

.fec-account-metric--featured span,
.fec-account-metric--featured strong,
.fec-account-metric--featured small {
  color: #FFFFFF;
}

.fec-account-dashboard-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fec-account-dashboard-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fec-account-panel {
  background: #FFFFFF;
  border: 1px solid #D9E1EC;
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
}

.fec-account-panel--full {
  width: 100%;
}

.fec-account-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E6ECF3;
}

.fec-account-panel__header h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  color: #00349B;
}

.fec-account-panel__header p {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6B778C;
}

.fec-account-panel__header a {
  font-size: 14px;
  font-weight: 700;
  color: #00349B;
  text-decoration: none;
}

.fec-account-course-list--dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fec-account-course-row--dashboard {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #E3E9F1;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account .fec-account-course-row__image,
.elementor .fec-account .fec-account-course-row__image {
  width: 112px;
  height: 112px;
  min-width: 112px;
  overflow: hidden;
  border-radius: 0;
  background: #EAF0F7;
}

.fec-account .fec-account-course-row__image img,
.elementor .fec-account .fec-account-course-row__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.fec-account-course-row__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fec-account-course-row__progress-label {
  font-size: 13px;
  font-weight: 700;
  color: #5D6980;
}

.fec-account-course-row--dashboard h4 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
  color: #171F2E;
}

.fec-account-course-row--dashboard p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: #5E6C82;
}

.fec-account-course-row__actions--stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fec-account-status {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.fec-account-status--not_started {
  background: #EEF3FA;
  color: #5E6C82;
}

.fec-account-status--in_progress {
  background: #E6F8FD;
  color: #007DA0;
}

.fec-account-status--completed,
.fec-account-status--passed {
  background: #EAF8EE;
  color: #21824A;
}

.fec-account-status--failed {
  background: #FDECEC;
  color: #B42318;
}

.fec-account-progress-bar,
.fec-account-progress-bar--dashboard {
  height: 8px;
  border-radius: 0;
  background: #DCE6F3;
  overflow: hidden;
}

.fec-account-progress-bar span,
.fec-account-progress-bar--dashboard span {
  display: block;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, #00D4F7 0%, #00349B 100%);
}

.fec-account-profile-card--dashboard {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fec-account-profile-card--dashboard .fec-account-profile-card__row {
  padding: 14px 0;
  border-bottom: 1px solid #E7EDF5;
}

.fec-account-profile-card--dashboard .fec-account-profile-card__row:first-child {
  padding-top: 0;
}

.fec-account-profile-card--dashboard .fec-account-profile-card__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fec-account-profile-card--dashboard .fec-account-profile-card__row span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A7790;
}

.fec-account-profile-card--dashboard .fec-account-profile-card__row strong {
  display: block;
  font-size: 17px;
  line-height: 1.45;
  color: #171F2E;
  word-break: break-word;
}

.fec-account-order-table--dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fec-account-order-table__row--card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid #E3E9F1;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account-order-table__main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fec-account-order-table__main strong {
  font-size: 18px;
  color: #171F2E;
}

.fec-account-order-table__main span,
.fec-account-order-table__main small {
  color: #617086;
}

.fec-account-order-table__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #5D6980;
}

.fec-account-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fec-account-course-card {
  background: #FFFFFF;
  border: 1px solid #D9E1EC;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.fec-account .fec-account-course-card__media,
.elementor .fec-account .fec-account-course-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0;
  background: #EAF0F7;
}

.fec-account .fec-account-course-card__media img,
.elementor .fec-account .fec-account-course-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}

.fec-account-course-card__body {
  padding: 22px;
}

.fec-account-course-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.fec-account-course-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C6B80;
}

.fec-account-course-card__body h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.1;
  color: #171F2E;
}

.fec-account-course-card__body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #5E6C82;
}

.fec-account-course-card__progress {
  margin-bottom: 18px;
}

.fec-account-course-card__progress-meta {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5D6980;
}

.fec-account-course-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fec-account-course-card__certificate {
  margin-top: 16px;
}

.fec-account-course-card__certificate a {
  font-size: 14px;
  font-weight: 700;
  color: #00349B;
  text-decoration: none;
}

.fec-account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fec-account-order-card {
  background: #FFFFFF;
  border: 1px solid #D9E1EC;
  border-radius: 0;
  padding: 24px;
  box-shadow: none;
}

.fec-account-order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.fec-account-order-card__head h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #171F2E;
}

.fec-account-order-card__head p {
  margin: 0;
  color: #617086;
}

.fec-account-order-card__status {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 0;
  background: #EEF3FA;
  color: #00349B;
  font-size: 12px;
  font-weight: 700;
}

.fec-account-order-card__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.fec-account-order-card__summary-item {
  padding: 16px;
  border: 1px solid #E5EBF4;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account-order-card__summary-item span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A7790;
}

.fec-account-order-card__summary-item strong {
  font-size: 17px;
  color: #171F2E;
}

.fec-account-order-card__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.fec-account-order-card__item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #E7EDF5;
}

.fec-account-order-card__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fec-account-order-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fec-account-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fec-account-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fec-account-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fec-account-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fec-account-form label span {
  font-size: 13px;
  font-weight: 700;
  color: #171F2E;
}

.fec-account-form input,
.fec-account-form select,
.fec-account-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #D6E0ED;
  border-radius: 0;
  background: #FFFFFF;
  font-size: 15px;
  color: #171F2E;
  box-sizing: border-box;
}

.fec-account-form textarea {
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
}

.fec-account-form input:focus,
.fec-account-form select:focus,
.fec-account-form textarea:focus {
  outline: none;
  border-color: #00349B;
  box-shadow: none;
}

.fec-account-course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) 340px;
  gap: 24px;
  align-items: start;
}

.fec-account-course-layout__main,
.fec-account-course-layout__aside {
  min-width: 0;
}

.fec-account-course-hero-clean {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 280px;
  gap: 24px;
  align-items: start;
}

.fec-account-course-hero-clean__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.fec-account-course-hero-clean__content h3 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.05;
  color: #171F2E;
}

.fec-account-course-hero-clean__content p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: #5E6C82;
}

.fec-account-chip,
.fec-account-course-page__chips span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 0;
  background: #EEF3FA;
  color: #00349B;
  font-size: 12px;
  font-weight: 700;
}

.fec-account-course-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.fec-account-course-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fec-account-course-progress-card {
  padding: 24px;
  border: 1px solid #E5EBF4;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account-course-progress-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A7790;
}

.fec-account-course-progress-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1;
  color: #00349B;
}

.fec-account-progress-bar--large {
  height: 10px;
  margin-bottom: 14px;
}

.fec-account-course-progress-card p {
  margin: 0;
  font-size: 14px;
  color: #617086;
}

.fec-account-course-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.fec-account-course-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fec-account-course-summary-card {
  padding: 18px;
  border: 1px solid #E5EBF4;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account-course-summary-card span {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6A7790;
}

.fec-account-course-summary-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  color: #171F2E;
}

.fec-account-certificate-card--clean {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid #E5EBF4;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account-certificate-card--clean h4,
.fec-account-empty-state h4 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #171F2E;
}

.fec-account-certificate-card--clean p,
.fec-account-empty-state p {
  margin: 0;
  color: #617086;
  line-height: 1.6;
}

.fec-account-empty-state {
  padding: 20px;
  border: 1px dashed #D8E2EF;
  border-radius: 0;
  background: #FBFCFE;
}

.fec-account-course-outline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fec-account-course-outline__unit {
  padding: 20px;
  border: 1px solid #E5EBF4;
  border-radius: 0;
  background: #FFFFFF;
}

.fec-account-course-outline__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.fec-account-course-outline__index {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: #00349B;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex: 0 0 42px;
}

.fec-account-course-outline__copy h4 {
  margin: 0 0 4px;
  font-size: 22px;
  color: #171F2E;
}

.fec-account-course-outline__copy p {
  margin: 0;
  color: #617086;
}

.fec-account-course-outline__lessons {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fec-account-course-outline__lesson {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #E7EDF5;
}

.fec-account-course-outline__lesson:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fec-account-course-outline__lesson span {
  color: #171F2E;
}

.fec-account-course-outline__lesson strong {
  color: #617086;
}

.fec-button--block {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.fec-button--disabled {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .fec-account-shell {
    grid-template-columns: 1fr;
  }

  .fec-account-shell__sidebar {
    position: static;
  }

  .fec-account-metrics--dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fec-account-dashboard-two-col {
    grid-template-columns: 1fr;
  }

  .fec-account-courses-grid,
  .fec-account-settings-grid,
  .fec-account-course-info-grid,
  .fec-account-order-card__summary {
    grid-template-columns: 1fr;
  }

  .fec-account-course-layout {
    grid-template-columns: 1fr;
  }

  .fec-account-course-hero-clean {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .fec-account {
    padding: 36px 0 52px;
  }

  .fec-account__inner {
    padding: 0 16px;
  }

  .fec-account-shell__sidebar,
  .fec-account-panel,
  .fec-account-order-card,
  .fec-account-course-card {
    padding: 18px;
  }

  .fec-account-page-header,
  .fec-account-page-header--dashboard {
    flex-direction: column;
    align-items: flex-start;
  }

  .fec-account-page-header h2 {
    font-size: 40px;
  }

  .fec-account-metrics--dashboard,
  .fec-account-form__row {
    grid-template-columns: 1fr;
  }

  .fec-account-course-row--dashboard {
    grid-template-columns: 1fr;
  }

  .fec-account-course-row__image {
    width: 100%;
    height: 200px;
  }

  .fec-account-course-row__actions--stack,
  .fec-account-course-card__actions,
  .fec-account-course-page__actions,
  .fec-account-order-card__actions {
    flex-direction: column;
  }

  .fec-account-order-table__row--card,
  .fec-account-order-card__head,
  .fec-account-certificate-card--clean,
  .fec-account-course-outline__lesson {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   FEC Auth / Login / Register
   ========================================================================== */

.fec-auth-clean {
    min-height: calc(100vh - 160px);
    padding: 56px 24px;
    background:
        radial-gradient(circle at top left, rgba(0, 212, 247, 0.05) 0%, rgba(0, 212, 247, 0) 20%),
        linear-gradient(180deg, #f7faff 0%, #eff4fb 100%);
    display: flex;
    align-items: center;
}

.fec-auth-clean,
.fec-auth-clean * {
    box-sizing: border-box;
}

.fec-auth-clean__shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 520px);
    gap: 48px;
    align-items: center;
}

.fec-auth-clean__side {
    position: relative;
    padding-right: 24px;
}

.fec-auth-clean__logo-wrap {
    margin-bottom: 24px;
}

.fec-auth-clean__logo {
    display: block;
    width: auto;
    max-width: 220px;
    height: auto;
}

.fec-auth-clean__eyebrow {
    margin-bottom: 14px;
    color: #00349B;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.fec-auth-clean__title {
    margin: 0 0 18px;
    color: #171F2E;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: clamp(40px, 4vw, 62px);
    font-weight: 700;
    max-width: 560px;
    line-height: 1.18;
    letter-spacing: -0.001em;
}

.fec-auth-clean__intro {
    margin: 0;
    max-width: 520px;
    color: #59667d;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.75;
}

.fec-auth-clean__main {
    min-width: 0;
}

.fec-auth-clean__card {
    background: #ffffff;
    border: 1px solid rgba(0, 52, 155, 0.1);
    box-shadow: 0 24px 64px rgba(0, 52, 155, 0.08);
    padding: 32px;
}

.fec-auth-clean__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    margin-bottom: 28px;
    background: #f3f7fd;
    border: 1px solid #dbe5f1;
}

.fec-auth-clean__tab {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #5d6a80;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fec-auth-clean__tab.is-active {
    background: #ffffff;
    color: #00349B;
    box-shadow: 0 8px 20px rgba(0, 52, 155, 0.08);
}

.fec-auth-clean__header {
    margin-bottom: 24px;
}

.fec-auth-clean__header h2 {
    margin: 0 0 8px;
    color: #171F2E;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.fec-auth-clean__header p {
    margin: 0;
    color: #6a768c;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.fec-auth-clean__alert {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(214, 54, 56, 0.18);
    background: #fff6f6;
}

.fec-auth-clean__alert strong {
    display: block;
    margin-bottom: 4px;
    color: #9d2325;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.fec-auth-clean__alert p {
    margin: 0;
    color: #7f2c2d;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.fec-auth-clean__form {
    display: grid;
    gap: 18px;
}

.fec-auth-clean__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fec-auth-clean__field {
    display: grid;
    gap: 8px;
}

.fec-auth-clean__field span {
    color: #171F2E;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.fec-auth-clean__field input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #ccd7e4;
    background: #ffffff;
    color: #171F2E;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.fec-auth-clean__field input::placeholder {
    color: rgba(23, 31, 46, 0.42);
}

.fec-auth-clean__field input:hover {
    border-color: #b8c8dc;
}

.fec-auth-clean__field input:focus {
    outline: none;
    border-color: #00349B;
    box-shadow: 0 0 0 4px rgba(0, 52, 155, 0.08);
}

.fec-auth-clean__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 6px;
    border: 0;
    background: #00349B;
    color: #ffffff;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fec-auth-clean__submit:hover {
    background: #022d84;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 52, 155, 0.16);
}

.fec-auth-clean__note {
    margin-top: 18px;
    color: #7a879c;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
}

.fec-auth-clean__note a {
    color: #00349B;
    text-decoration: none;
    font-weight: 700;
}

.fec-auth-clean__note a:hover {
    text-decoration: underline;
}

/* hide older auth styling from previous version if still present */
.fec-auth > .fec-auth__inner > .fec-auth__hero,
.fec-auth > .fec-auth__inner > .fec-auth__switch,
.fec-auth > .fec-auth__inner > .fec-auth__grid {
    display: none;
}

@media (max-width: 980px) {
    .fec-auth-clean__shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fec-auth-clean__side {
        padding-right: 0;
    }

    .fec-auth-clean__title {
        max-width: none;
    }

    .fec-auth-clean__intro {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .fec-auth-clean {
        min-height: auto;
        padding: 28px 16px 40px;
    }

    .fec-auth-clean__card {
        padding: 20px;
    }

    .fec-auth-clean__logo {
        max-width: 180px;
    }

    .fec-auth-clean__title {
        font-size: 34px;
    }

    .fec-auth-clean__intro {
        font-size: 15px;
        line-height: 1.65;
    }

    .fec-auth-clean__header h2 {
        font-size: 28px;
    }

    .fec-auth-clean__row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fec-auth-clean__field input,
    .fec-auth-clean__submit {
        min-height: 50px;
    }

    .fec-auth-clean__tabs {
        margin-bottom: 22px;
    }

    .fec-auth-clean__tab {
        min-height: 44px;
        font-size: 13px;
    }
}
.fec-auth-clean__brand {
    max-width: 250px;
	    margin-bottom: 30px;
}
/* ==========================================================================
   FEC Auth - Forgot Password / Links / Success Alerts
   ========================================================================== */

.fec-auth-clean__form-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: -6px;
    margin-bottom: -2px;
}

.fec-auth-clean__form-meta a,
.fec-auth-clean__links a {
    color: #00349B;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.fec-auth-clean__form-meta a:hover,
.fec-auth-clean__links a:hover {
    color: #00AFCF;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.fec-auth-clean__links {
    margin-top: 2px;
    text-align: center;
}

.fec-auth-clean__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Success version of the alert, e.g. password reset email sent */
.fec-auth-clean__alert.is-success {
    border-color: rgba(0, 52, 155, 0.14);
    background: #F2F8FF;
}

.fec-auth-clean__alert.is-success strong {
    color: #00349B;
}

.fec-auth-clean__alert.is-success p {
    color: #263B5E;
}
/* Reset password expired state button */
.fec-auth-clean__reset-actions .fec-auth-clean__submit--link {
    width: 100%;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    background: #00349B;
    color: #ffffff !important;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fec-auth-clean__reset-actions .fec-auth-clean__submit--link:hover,
.fec-auth-clean__reset-actions .fec-auth-clean__submit--link:focus {
    background: #022d84;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 52, 155, 0.16);
}

.fec-auth-clean__reset-actions .fec-auth-clean__links {
    margin-top: 2px;
    text-align: center;
}

.fec-auth-clean__reset-actions .fec-auth-clean__links a {
    color: #00349B !important;
    font-family: "Axiforma", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.fec-auth-clean__reset-actions .fec-auth-clean__links a:hover {
    color: #00AFCF !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}