/* Shared styles for authentication, content and customer portal pages. */
.portal-page {
  min-height: 100vh;
  color: var(--body);
  background: #f4f8f6;
}

.portal-page .site-navbar {
  z-index: 1035;
}

.portal-navbar .nav-link.active {
  color: var(--green-700);
}

[data-auth-nav] {
  display: flex;
  align-items: center;
  gap: 9px;
}

.portal-balance-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  color: var(--green-900);
  background: #edfaf3;
  border: 1px solid #cdebdc;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.portal-balance-link:hover {
  color: #fff;
  background: var(--green-700);
}

.portal-user-button {
  min-height: 42px;
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 700;
}

.portal-user-button:hover,
.portal-user-button:focus,
.portal-user-button.show {
  color: #fff;
  background: var(--green-900);
  border-color: var(--green-900);
}

.auth-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(33, 173, 109, 0.13), transparent 30%),
    radial-gradient(circle at 92% 85%, rgba(89, 201, 47, 0.1), transparent 28%),
    #f4f8f6;
}

.auth-section {
  padding: 70px 0 82px;
}

.auth-shell {
  max-width: 1060px;
  overflow: hidden;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(4, 71, 55, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(4, 71, 55, 0.14);
}

.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-950), var(--green-500));
}

.auth-shell-register .auth-visual {
  min-height: 760px;
}

.auth-visual::before,
.auth-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.auth-visual::before {
  top: -100px;
  right: -115px;
  width: 330px;
  height: 330px;
}

.auth-visual::after {
  bottom: -140px;
  left: -130px;
  width: 390px;
  height: 390px;
  background: rgba(255, 255, 255, 0.04);
}

.auth-visual-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 54px 45px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 11px;
  color: #f4ffe9;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-visual h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
}

.auth-visual-content > p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.auth-benefits {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
}

.auth-benefits i {
  display: grid;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  place-items: center;
  font-size: 1.1rem;
}

.auth-support {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-support > i {
  font-size: 1.6rem;
}

.auth-support strong,
.auth-support span {
  display: block;
}

.auth-support span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.auth-panel {
  display: flex;
  align-items: center;
  background: #fff;
}

.auth-card {
  width: 100%;
  padding: 48px 52px;
}

.auth-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}

.auth-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-500), var(--green-900));
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(6, 88, 69, 0.22);
  place-items: center;
  font-size: 1.35rem;
}

.auth-kicker {
  margin: 0 0 2px;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.auth-heading h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 800;
}

.auth-description {
  margin-bottom: 25px;
  color: #66736e;
}

.auth-input-group .input-group-text {
  min-width: 46px;
  justify-content: center;
  color: var(--green-700);
  background: #f2faf6;
  border-color: #cbd5d1;
}

.auth-input-group .form-control {
  min-height: 48px;
}

.auth-password-toggle {
  color: var(--green-700);
  background: #fff;
  border-color: #cbd5d1;
}

.auth-password-toggle:hover {
  color: #fff;
  background: var(--green-700);
}

.auth-text-link,
.auth-switch a {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.auth-text-link:hover,
.auth-switch a:hover {
  text-decoration: underline;
}

.auth-submit {
  min-height: 50px;
}

.auth-switch {
  margin-top: 23px;
  text-align: center;
}

.auth-security-note {
  margin-top: 20px;
  padding: 12px 14px;
  color: #5a6863;
  background: #f3f8f5;
  border-radius: 9px;
  font-size: 0.78rem;
  text-align: center;
}

.portal-footer > .container {
  padding-top: 31px !important;
  padding-bottom: 28px !important;
}

.portal-footer {
  color: #fff;
  background: var(--green-800);
}

.portal-footer .footer-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
}

.portal-footer .footer-inline-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.portal-footer .footer-inline-links a:hover {
  color: #99f6e4;
}

/* Internal page hero */
.portal-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(107, 222, 95, 0.25), transparent 28%),
    linear-gradient(115deg, var(--green-950), var(--green-500));
}

.portal-hero::after {
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 390px;
  height: 390px;
  content: "";
  border: 45px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.portal-hero .container {
  position: relative;
  z-index: 1;
}

.portal-hero .breadcrumb {
  margin-bottom: 14px;
}

.portal-hero .breadcrumb-item,
.portal-hero .breadcrumb-item a,
.portal-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.8);
}

.portal-hero h1 {
  max-width: 820px;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.portal-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
}

.portal-main {
  padding: 64px 0 84px;
  background: #f5f8f6;
}

.content-card,
.sidebar-card,
.portal-card,
.article-card {
  background: #fff;
  border: 1px solid #e2ebe7;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(4, 71, 55, 0.08);
}

.content-card,
.portal-card,
.article-card {
  padding: 26px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card + .sidebar-card {
  margin-top: 22px;
}

.sidebar-card h2,
.sidebar-card h3,
.portal-card > h2,
.portal-card > header h2 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 2px solid #d9eee3;
}

.article-content {
  color: #43504b;
  font-size: 1rem;
  line-height: 1.85;
}

.article-content h2,
.article-content h3 {
  color: var(--ink);
  font-weight: 800;
  scroll-margin-top: 100px;
}

.article-content h2 {
  margin: 38px 0 14px;
  font-size: 1.55rem;
}

.article-content h3 {
  margin: 28px 0 11px;
  font-size: 1.2rem;
}

.article-content img {
  width: 100%;
  border-radius: 13px;
  height: auto !important;
}

.article-content blockquote,
.article-callout {
  margin: 28px 0;
  padding: 20px 22px;
  color: #244e40;
  background: #edf9f3;
  border-left: 4px solid var(--green-500);
  border-radius: 0 12px 12px 0;
}

.article-callout {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.article-callout-icon {
  display: grid;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--green-700);
  border-radius: 12px;
  place-items: center;
  font-size: 1.15rem;
}

/* Account area */
.portal-shell {
  --bs-gutter-x: 1.5rem;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 100px;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #e2ebe7;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(4, 71, 55, 0.08);
}

.account-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px;
  background: linear-gradient(145deg, #effbf5, #fff);
  border-bottom: 1px solid #e2ebe7;
}

.account-summary .account-avatar {
  flex: 0 0 auto;
  margin: 0;
}

.account-menu {
  display: grid;
  padding: 11px;
}

.account-menu a,
.account-menu button {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #43514c;
  background: transparent;
  border: 0;
  border-radius: 9px;
  text-align: left;
  text-decoration: none;
}

.account-menu a:hover,
.account-menu a.active,
.account-menu button:hover {
  color: var(--green-900);
  background: #eef9f3;
}

.account-profile {
  padding: 25px 20px;
  text-align: center;
  background: linear-gradient(145deg, #effbf5, #fff);
  border-bottom: 1px solid #e2ebe7;
}

.account-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 11px;
  color: #fff;
  background: linear-gradient(145deg, var(--green-500), var(--green-900));
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(4, 71, 55, 0.18);
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.account-profile h2,
.account-profile h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.account-profile p {
  margin: 0;
  color: #7a8681;
  font-size: 0.8rem;
}

.account-nav {
  display: grid;
  padding: 11px;
}

.account-nav a,
.account-nav button {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #43514c;
  background: transparent;
  border: 0;
  border-radius: 9px;
  text-align: left;
  text-decoration: none;
}

.account-nav a:hover,
.account-nav a.active,
.account-nav button:hover {
  color: var(--green-900);
  background: #eef9f3;
}

.portal-content {
  min-width: 0;
}

.balance-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  color: #fff;
  background: linear-gradient(120deg, var(--green-950), var(--green-500));
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(4, 71, 55, 0.2);
}

.balance-card::after {
  position: absolute;
  top: -95px;
  right: -75px;
  width: 240px;
  height: 240px;
  content: "";
  border: 34px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.balance-card > * {
  position: relative;
  z-index: 1;
}

.balance-card .balance-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.balance-card [data-user-balance],
.balance-amount {
  display: block;
  margin: 5px 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}

.balance-card-compact {
  display: flex;
  min-width: 280px;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
}

.balance-card-compact .balance-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: var(--green-900);
  background: #fff;
  border-radius: 12px;
  place-items: center;
}

.balance-card-compact [data-user-balance] {
  margin: 0;
  font-size: 1.32rem;
}

.balance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-card {
  margin-top: 24px;
}

.portal-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5ece9;
}

.portal-card > header h2 {
  margin: 0 0 3px;
}

.portal-card > header p {
  margin: 0;
  color: #77837e;
  font-size: 0.82rem;
}

.portal-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: -2px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5ece9;
}

.portal-card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--green-700);
  background: #edf9f3;
  border-radius: 12px;
  place-items: center;
  font-size: 1.15rem;
}

.portal-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.form-note {
  color: #7b8782;
  font-size: 0.78rem;
}

.portal-form-message:empty {
  display: none;
}

.portal-form-message:not(:empty) {
  margin-top: 16px;
}

.history-filter {
  margin-bottom: 22px;
  padding: 18px;
  background: #f7faf8;
  border: 1px solid #e3ebe7;
  border-radius: 12px;
}

.history-table-wrap {
  border: 1px solid #e2eae6;
  border-radius: 12px;
}

.history-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 18px;
}

.table-scroll-hint {
  color: #7f8b86;
  font-size: 0.76rem;
}

.bank-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  margin-bottom: 11px;
  padding: 14px;
  background: #f7faf8;
  border: 1px solid #e0e9e5;
  border-radius: 12px;
}

.bank-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--green-700);
  border-radius: 12px;
  place-items: center;
  font-size: 1.2rem;
}

.bank-copy strong,
.bank-copy span,
.bank-copy small {
  display: block;
}

.bank-copy strong {
  color: var(--ink);
}

.bank-copy span {
  color: #4e5c57;
  font-family: Consolas, monospace;
  letter-spacing: 0.08em;
}

.bank-copy small {
  color: #87918d;
}

.empty-state {
  padding: 28px 18px;
  color: #7c8883;
  text-align: center;
}

.empty-state > i {
  display: block;
  margin-bottom: 9px;
  color: #9ccbb6;
  font-size: 2.2rem;
}

.empty-state h3 {
  margin: 0 0 5px;
  color: #3e4b46;
  font-size: 1rem;
  font-weight: 800;
}

.empty-state p {
  margin: 0;
}

.history-table {
  margin: 0;
  vertical-align: middle;
}

.history-table thead th {
  padding: 13px 11px;
  color: #66746e;
  background: #f5f9f7;
  border-bottom-color: #dce7e2;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.history-table tbody td {
  padding: 15px 11px;
  border-bottom-color: #e8eeeb;
}

.history-table td > small {
  display: block;
  margin-top: 3px;
  color: #8a9590;
  font-size: 0.7rem;
}

.history-provider {
  display: inline-block;
  padding: 4px 8px;
  color: var(--green-800);
  background: #ecf8f2;
  border-radius: 6px;
  font-weight: 700;
}

.history-type {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.history-type.type-exchange {
  color: var(--green-800);
  background: #e6f7f3;
}

.history-type.type-withdraw {
  color: #8a5700;
  background: #fff4d6;
}

.history-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-success {
  color: #087142;
  background: #dbf6e8;
}

.status-processing {
  color: #8a6300;
  background: #fff1c5;
}

.status-failed {
  color: #a52a2a;
  background: #fde4e4;
}

/* News listing and article */
.portal-sidebar {
  position: sticky;
  top: 102px;
}

.news-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--green-700);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.news-card .read-more:hover {
  color: var(--green-950);
  gap: 9px;
}

.category-list .list-group-item {
  padding: 11px 2px;
  color: #485650;
  background: transparent;
  border-color: #e7eeeb;
}

.category-list .list-group-item:hover {
  color: var(--green-800);
  background: #f2faf6;
}

.category-list .badge {
  color: var(--green-800);
  background: #e0f4e9;
}

.featured-posts {
  display: grid;
  gap: 15px;
}

.featured-post {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.featured-post + .featured-post {
  padding-top: 15px;
  border-top: 1px solid #e8eeeb;
}

.featured-post img {
  width: 88px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}

.featured-post h3 {
  margin: 0 0 4px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.4;
}

.featured-post h3 a {
  color: #35423d;
  text-decoration: none;
}

.featured-post h3 a:hover {
  color: var(--green-700);
}

.featured-post time {
  color: #8a9590;
  font-size: 0.7rem;
}

.sidebar-support {
  color: #fff;
  background: linear-gradient(145deg, var(--green-950), var(--green-500));
  border: 0;
}

.sidebar-support h2 {
  color: #fff;
  border: 0;
}

.sidebar-support p {
  color: rgba(255, 255, 255, 0.84);
}

.sidebar-support-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  color: var(--green-800);
  background: #fff;
  border-radius: 50%;
  place-items: center;
  font-size: 1.6rem;
}

.pagination .page-link {
  color: var(--green-800);
  border-color: #dce7e2;
}
.pagination a {
  position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--bs-pagination-color);
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: var(--green-800);
  border-color: #dce7e2;

}

.pagination a:not(:first-child) {
    margin-left: calc(-1 * var(--bs-border-width));
}
.pagination .page-item.active .page-link {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
}
.pagination strong {position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--bs-pagination-color);
    text-decoration: none;
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  
     color: #fff;
    background: var(--green-700);
    border-color: var(--green-700);
}

.portal-hero-compact {
  padding: 42px 0;
}

.article-header {
  margin-bottom: 26px;
}

.article-header h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #7e8a85;
  font-size: 0.78rem;
}

.article-cover {
  display: block;
  width: 100%;
  max-height: 520px;
  margin: 0 0 28px;
  object-fit: cover;
  border-radius: 14px;
}

.article-toc {
  margin: 26px 0;
  padding: 20px 22px;
  background: #f3f8f5;
  border: 1px solid #deebe4;
  border-radius: 12px;
}

.article-toc ol,
.side-toc {
  margin: 12px 0 0;
  padding-left: 20px;
}

.article-toc a,
.side-toc a {
  color: #4a5b54;
  text-decoration: none;
}

.article-toc a:hover,
.side-toc a:hover {
  color: var(--green-700);
}

.article-steps {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.article-step {
  position: relative;
  padding: 20px 20px 20px 70px;
  background: #f8fbf9;
  border: 1px solid #e0eae5;
  border-radius: 12px;
}

.article-step::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  content: counter(article-step);
  color: #fff;
  background: var(--green-700);
  border-radius: 50%;
  place-items: center;
  font-weight: 800;
}

.article-steps {
  counter-reset: article-step;
}

.article-step {
  counter-increment: article-step;
}

.article-step > span {
  display: none;
}

.article-step h3 {
  margin-top: 0;
}

.article-tip {
  padding: 18px;
  background: #fffaf0;
  border: 1px solid #f2dfae;
  border-radius: 12px;
}

.article-tip > i {
  color: var(--green-700);
  font-size: 1.45rem;
}

.article-tip h3 {
  margin: 11px 0 7px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.article-tip p {
  margin: 0;
}

.article-checklist {
  display: grid;
  gap: 9px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  padding-left: 28px;
}

.article-checklist li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--green-500);
  content: "✓";
  font-weight: 900;
}

.article-checklist li > i {
  display: none;
}

.article-conclusion {
  margin-top: 32px;
  padding: 23px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
  border-radius: 14px;
}

.article-conclusion h2,
.article-conclusion h3 {
  color: #fff;
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #e1e9e5;
}

.article-share {
  display: flex;
  gap: 8px;
}

.article-share a {
  display: grid;
  width: 37px;
  height: 37px;
  color: var(--green-800);
  background: #edf8f2;
  border-radius: 50%;
  place-items: center;
  text-decoration: none;
}

/* About page */
.about-hero {
  min-height: 430px;
  display: flex;
  align-items: center;
}

.about-hero-mark {
  position: relative;
  width: 350px;
  height: 300px;
  margin-left: auto;
}

.about-hero-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.about-hero-ring-one {
  inset: 20px 45px;
}

.about-hero-ring-two {
  inset: 55px 80px;
  background: rgba(255, 255, 255, 0.06);
}

.about-hero-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 110px;
  height: 110px;
  color: var(--green-800);
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  place-items: center;
  transform: translate(-50%, -50%) rotate(-7deg);
  font-size: 3rem;
}

.about-floating-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: var(--green-900);
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
}

.about-badge-top {
  top: 35px;
  right: 0;
}

.about-badge-bottom {
  bottom: 33px;
  left: 4px;
}

.about-intro {
  background: #fff;
}

.about-intro-visual {
  position: relative;
  min-height: 410px;
  padding: 45px;
  background: linear-gradient(145deg, #eaf9f1, #cfeee0);
  border-radius: 25px;
}

.about-visual-main {
  display: flex;
  min-height: 300px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 35px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 15px 32px rgba(4, 71, 55, 0.1);
  text-align: center;
}

.about-visual-main p {
  margin: 20px 0;
  color: var(--green-800);
  font-weight: 700;
}

.about-visual-icons {
  display: flex;
  gap: 14px;
}

.about-visual-icons span,
.about-signature > span,
.about-value-icon,
.about-step-icon {
  display: grid;
  width: 52px;
  height: 52px;
  color: #fff;
  background: var(--green-700);
  border-radius: 14px;
  place-items: center;
  font-size: 1.2rem;
}

.about-visual-note {
  position: absolute;
  right: 23px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 9px 23px rgba(4, 71, 55, 0.15);
}

.about-visual-note > i {
  color: var(--green-500);
  font-size: 1.5rem;
}

.about-visual-note strong,
.about-visual-note span span,
.about-signature strong,
.about-signature small {
  display: block;
}

.about-visual-note span,
.about-signature small {
  color: #7c8883;
  font-size: 0.72rem;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 13px;
}

.about-stats {
  color: #fff;
  background: var(--green-950);
}

.about-stat {
  display: flex;
  min-height: 180px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 25px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.about-stat i {
  margin-bottom: 7px;
  color: #5eead4;
  font-size: 1.6rem;
}

.about-stat strong,
.about-stat span {
  display: block;
}

.about-stat strong {
  font-size: 1.7rem;
}

.about-stat span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
}

.about-values {
  background: #f4f8f6;
}

.about-value-card {
  position: relative;
  overflow: hidden;
  padding: 31px 26px;
  background: #fff;
  border: 1px solid #e0eae5;
  border-radius: 16px;
  box-shadow: 0 9px 24px rgba(4, 71, 55, 0.08);
}

.about-value-number {
  position: absolute;
  top: 14px;
  right: 18px;
  color: #e7f2ed;
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1;
}

.about-value-card h3,
.about-step h3 {
  margin: 18px 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.about-value-card p,
.about-step p {
  margin: 0;
  color: #65716c;
}

.about-process {
  background: #fff;
}

.about-step {
  position: relative;
  padding: 29px 24px;
  background: #f7faf8;
  border: 1px solid #e0e9e5;
  border-radius: 16px;
  text-align: center;
}

.about-step-icon {
  margin: 0 auto;
}

.about-step-number {
  position: absolute;
  top: 13px;
  right: 17px;
  color: #b8d8c8;
  font-size: 1.6rem;
  font-weight: 900;
}

.about-commitment {
  background: #eef7f2;
}

.about-commitment-list {
  display: grid;
  gap: 14px;
  margin-top: 25px;
}

.about-commitment-list > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
}

.about-commitment-list i {
  display: grid;
  width: 36px;
  height: 36px;
  color: #fff;
  background: var(--green-500);
  border-radius: 50%;
  place-items: center;
}

.about-commitment-list strong,
.about-commitment-list span span {
  display: block;
}

.about-quote {
  position: relative;
  padding: 42px;
  color: #fff;
  background: var(--green-950);
  border-radius: 22px;
}

.about-quote > i {
  color: rgba(255, 255, 255, 0.18);
  font-size: 4rem;
  line-height: 1;
}

.about-quote blockquote {
  margin: 12px 0 20px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.55;
}

.about-quote p {
  margin: 0;
  color: #5eead4;
  font-weight: 700;
}

.about-cta-section {
  background: #fff;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 40px;
  color: #fff;
  background: linear-gradient(120deg, var(--green-950), var(--green-500));
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(4, 71, 55, 0.18);
}

.about-cta h2 {
  margin: 0 0 9px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
}

.about-cta .eyebrow {
  color: #99f6e4;
}

.about-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

/* Withdrawal page */
.withdraw-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(94, 234, 212, 0.28), transparent 30%),
    linear-gradient(118deg, var(--green-950), var(--green-700));
}

.withdraw-hero .withdraw-hero-eyebrow {
  color: #99f6e4;
  letter-spacing: 0.12em;
}

.withdraw-hero-icon {
  color: #99f6e4;
}

.withdraw-main {
  padding: 42px 0 78px;
  background:
    radial-gradient(circle at 8% 8%, rgba(20, 184, 166, 0.08), transparent 26%),
    #f3f8f7;
}

.withdraw-demo-alert {
  margin-bottom: 24px;
  border-color: #bfe8df;
  background: #eafaf7;
}

.withdraw-form-card,
.withdraw-bank-card {
  border-color: #d2e8e3;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.1);
}

.withdraw-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e1eeeb;
}

.withdraw-card-header .eyebrow {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.withdraw-form .form-label {
  color: var(--ink);
}

.withdraw-form .form-control,
.withdraw-form .form-select,
.withdraw-amount-group .input-group-text {
  border-color: #cbded9;
}

.withdraw-form .form-control:focus,
.withdraw-form .form-select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 0.25rem rgba(20, 184, 166, 0.14);
}

.withdraw-amount-group .input-group-text {
  color: var(--green-800);
  background: #effaf8;
}

.withdraw-quick-amounts .btn {
  min-width: 102px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 800;
}

.withdraw-quick-amounts .btn.active {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
}

.withdraw-summary {
  background: #f0fdfa !important;
  border-color: #ccebe5 !important;
}

.withdraw-confirm {
  padding: 13px 14px 13px 40px;
  background: #fafdfc;
  border: 1px solid #dfebe8;
  border-radius: 12px;
}

.withdraw-confirm .form-check-input {
  margin-left: -25px;
}

.withdraw-submit {
  min-height: 54px;
}

.withdraw-balance-card {
  padding: 26px;
}

.withdraw-balance-card .balance-amount {
  margin-bottom: 12px;
}

.withdraw-bank-list {
  display: grid;
  gap: 10px;
}

.withdraw-bank-option {
  display: grid;
  width: 100%;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  color: #4a5a55;
  background: #f8fbfa;
  border: 1px solid #dce9e6;
  border-radius: 12px;
  text-align: left;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.withdraw-bank-option:hover,
.withdraw-bank-option.selected {
  background: #edfaf7;
  border-color: var(--green-500);
  transform: translateY(-1px);
}

.withdraw-bank-option-icon {
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--green-700);
  border-radius: 11px;
  place-items: center;
}

.withdraw-bank-option-copy,
.withdraw-bank-option-copy strong,
.withdraw-bank-option-copy span,
.withdraw-bank-option-copy small {
  display: block;
  min-width: 0;
}

.withdraw-bank-option-copy strong {
  color: var(--ink);
}

.withdraw-bank-option-copy span {
  font-family: Consolas, monospace;
  letter-spacing: 0.05em;
}

.withdraw-bank-option-copy small {
  overflow: hidden;
  color: #778680;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.withdraw-bank-check {
  color: var(--green-500);
  opacity: 0;
}

.withdraw-bank-option.selected .withdraw-bank-check {
  opacity: 1;
}

.withdraw-security-alert {
  color: #735000;
  background: #fff8e5;
  border-color: #f0d995;
}

.withdraw-help .card {
  border: 1px solid #d8e8e4 !important;
}

/* Fees page */
.fees-hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(94, 234, 212, 0.28), transparent 28%),
    linear-gradient(118deg, var(--green-950), var(--green-700));
}

.fees-hero .eyebrow,
.fees-section .eyebrow,
.fees-withdraw .eyebrow,
.fees-transparency .eyebrow {
  color: var(--green-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fees-hero .eyebrow {
  color: #99f6e4;
}

.fees-summary-card {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.fees-summary-card span {
  color: rgba(255, 255, 255, 0.8);
}

.fees-section,
.fees-transparency {
  background: #f2fbf9;
}

.fees-card,
.fees-withdraw-card,
.fees-note-item {
  border: 1px solid #d7ebe7 !important;
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.09) !important;
}

.fees-card .card-header {
  background: linear-gradient(135deg, #f0fdfa, #fff) !important;
}

.fees-table thead th {
  color: var(--ink);
  background: #e8f8f5;
  border-bottom-color: #cde9e4;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fees-table tbody th,
.fees-table tbody td {
  border-bottom-color: #e5f0ee;
}

.fees-table-scroll {
  position: relative;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--green-500) #e7f2ef;
  scrollbar-width: thin;
}

.fees-table-scroll:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.28);
  outline-offset: -3px;
}

.fees-table-scroll::-webkit-scrollbar {
  height: 9px;
}

.fees-table-scroll::-webkit-scrollbar-track {
  background: #e7f2ef;
}

.fees-table-scroll::-webkit-scrollbar-thumb {
  background: var(--green-500);
  border: 2px solid #e7f2ef;
  border-radius: 999px;
}

.fees-matrix-table {
  min-width: 1100px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

.fees-matrix-table > :not(caption) > * > * {
  height: 54px;
  padding: 0.8rem 0.75rem;
  border-color: #d9e4e1;
  vertical-align: middle;
}

.fees-matrix-head th {
  color: #152b28;
  background: linear-gradient(180deg, #f8faf9, #edf2f1) !important;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.fees-matrix-corner,
.fees-matrix-provider {
  position: sticky;
  left: 0;
  min-width: 155px;
  box-shadow: 1px 0 0 #d9e4e1;
}

.fees-matrix-corner {
  z-index: 3;
}

.fees-matrix-provider {
  z-index: 2;
  color: #102421;
  background: #fff !important;
  font-weight: 800;
}

.fees-matrix-denomination,
.fees-matrix-rate,
.fees-matrix-empty {
  min-width: 105px;
}

.fees-matrix-rate {
  color: #162a27;
  background: #fff;
  font-variant-numeric: tabular-nums;
}

.fees-matrix-empty {
  background-color: #f7f9f8 !important;
  background-image: linear-gradient(135deg, transparent 49.4%, #edf2f0 50%, transparent 50.6%);
}

.fees-matrix-body tr:hover .fees-matrix-provider,
.fees-matrix-body tr:hover .fees-matrix-rate {
  background: #effbf8 !important;
}

.fees-table-hint {
  background: #f7fbfa;
}

.fees-provider {
  color: var(--ink);
  font-weight: 800;
}

.fees-provider i {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  background: #ccfbf1;
  border-radius: 10px;
  place-items: center;
}

.fees-status {
  min-width: 92px;
}

.fees-notes {
  color: #704b00;
  background: #fff7dd;
}

.fees-withdraw-card,
.fees-note-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fees-withdraw-card:hover,
.fees-note-item:hover {
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.14) !important;
  transform: translateY(-3px);
}

.fees-withdraw-list .list-group-item {
  background: transparent;
  border-color: #e3eeeb;
}

.fees-cta .text-bg-success {
  background: linear-gradient(120deg, var(--green-900), var(--green-700)) !important;
}

@media (max-width: 991.98px) {
  [data-auth-nav] {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .portal-balance-link,
  .portal-user-button {
    justify-content: center;
  }

  .auth-visual,
  .auth-shell-register .auth-visual {
    min-height: auto;
  }

  .auth-visual-content {
    padding: 42px;
  }

  .auth-panel {
    display: block;
  }

  .account-sidebar {
    position: static;
  }

  .account-profile {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 13px;
    text-align: left;
  }

  .account-avatar {
    width: 56px;
    height: 56px;
    grid-row: 1 / 3;
    margin: 0;
  }

  .account-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .account-nav a,
  .account-nav button {
    justify-content: center;
    text-align: center;
  }

  .account-menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .account-menu a,
  .account-menu button {
    justify-content: center;
    text-align: center;
  }

  .portal-footer .footer-inline-links {
    justify-content: flex-start;
  }

  .portal-sidebar {
    position: static;
  }

  .about-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .portal-page {
    padding-bottom: 0;
  }

  .auth-section {
    padding: 34px 0 54px;
  }

  .auth-shell {
    border-radius: 17px;
  }

  .auth-visual-content,
  .auth-card {
    padding: 32px 25px;
  }

  .auth-visual h2 {
    font-size: 1.8rem;
  }

  .portal-hero {
    padding: 42px 0;
  }

  .portal-main {
    padding: 42px 0 62px;
  }

  .article-header h1 {
    font-size: 1.85rem;
  }

  .article-step {
    padding: 64px 17px 18px;
  }

  .article-step::before {
    top: 15px;
    left: 17px;
  }

  .content-card,
  .portal-card,
  .article-card {
    padding: 19px;
  }

  .account-nav {
    grid-template-columns: 1fr;
  }

  .account-nav a,
  .account-nav button {
    justify-content: flex-start;
    text-align: left;
  }

  .account-menu {
    grid-template-columns: 1fr;
  }

  .account-menu a,
  .account-menu button {
    justify-content: flex-start;
    text-align: left;
  }

  .portal-form-footer,
  .history-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .balance-card-compact {
    width: 100%;
    min-width: 0;
  }

  .about-intro-visual {
    min-height: 340px;
    padding: 23px;
  }

  .about-visual-main {
    min-height: 285px;
  }

  .about-stat {
    min-height: 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-quote {
    padding: 28px;
  }

  .about-cta {
    padding: 29px 23px;
  }

  .about-cta-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .balance-card {
    padding: 23px 20px;
  }

  .history-table thead {
    display: none;
  }

  .history-table,
  .history-table tbody,
  .history-table tr,
  .history-table td {
    display: block;
    width: 100%;
  }

  .history-table tbody {
    display: grid;
    gap: 14px;
  }

  .history-table tr {
    overflow: hidden;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e1e9e5;
    border-radius: 12px;
  }

  .history-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 13px;
    border: 0;
    text-align: right;
  }

  .history-table tbody td::before {
    flex: 0 0 40%;
    content: attr(data-label);
    color: #7b8681;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: left;
  }

  .history-table td > small {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .portal-page .navbar-brand img {
    width: min(178px, 50vw);
  }

  .withdraw-main {
    padding: 28px 0 56px;
  }

  .withdraw-form-card,
  .withdraw-bank-card {
    padding: 19px;
  }

  .withdraw-card-header {
    gap: 12px;
    flex-direction: row;
  }

  .withdraw-quick-amounts .btn {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }

  .withdraw-bank-option {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding: 11px;
  }

  .withdraw-bank-option-icon {
    width: 40px;
    height: 40px;
  }

  .auth-visual-content,
  .auth-card {
    padding: 28px 19px;
  }

  .auth-benefits li {
    grid-template-columns: 38px 1fr;
  }

  .auth-benefits i {
    width: 38px;
    height: 38px;
  }

  .auth-heading {
    align-items: flex-start;
  }

  .auth-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .portal-card > header {
    flex-direction: column;
  }

  .bank-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    padding: 11px;
  }

  .bank-icon {
    width: 42px;
    height: 42px;
  }

  .featured-post {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .featured-post img {
    width: 78px;
    height: 58px;
  }

  .about-visual-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .about-visual-main {
    padding: 25px 15px 70px;
  }

  .about-cta-actions,
  .about-cta-actions .btn {
    width: 100%;
  }
}
