/* Account experience: the same NicerVPN identity, designed for completing tasks. */
.portal-page {
  background: #f7fafb;
  color: #101e3b;
  --ink: #101e3b;
  --muted: #586a88;
  --line: #dfe8ed;
  --green: #237f53;
  --green-ink: #fff;
  font-size: 15px;
  line-height: 1.55;
}
.portal-page main {
  max-width: 1248px;
  padding: 0 32px;
  min-height: 65vh;
}
.portal-page .site-header {
  border-bottom: 1px solid var(--line);
  height: 82px;
}
.portal-page .header-account {
  color: #185b3c;
}
.portal-page .button {
  border-radius: 28px;
  background: #237f53;
  color: white;
  border-color: #237f53;
  gap: 12px;
  min-height: 46px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 11px 19px;
  text-decoration: none;
}
.portal-page .button.outline {
  background: #fff;
  color: #19394e;
  border-color: #ccd9df;
}
.portal-page .button:disabled {
  cursor: not-allowed;
  opacity: 1;
  background: #e8edef;
  color: #576472;
  border-color: #dbe3e7;
}
.portal-page input,
.portal-page textarea {
  border-radius: 12px;
  border: 1px solid #c8d5df;
  background: white;
  min-height: 48px;
  padding: 12px 14px;
  color: #101e3b;
  max-width: 100%;
  font-size: 16px;
}
.portal-page input:focus,
.portal-page textarea:focus {
  border-color: #237f53;
}
.portal-page h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 800;
  margin: 9px 0 12px;
}
.portal-page h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 0 0 12px;
  line-height: 1.25;
}
.portal-page h3 {
  font-size: 16px;
  margin: 0 0 5px;
}
.portal-page p {
  color: #586a88;
}
.portal-page label {
  font-size: 14px;
  color: #283e5a;
  font-weight: 700;
  margin: 16px 0 7px;
}
.portal-page .fine {
  font-size: 13px;
  line-height: 1.6;
}
.portal-page .eyebrow,
.portal-page .section-kicker {
  color: #28724e;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.portal-page .panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 27px;
  background: #fff;
  box-shadow: 0 5px 18px #17304a03;
  margin: 0 0 20px;
}
.portal-page .badge {
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 0.3px;
  background: #eef4f7;
  color: #3c536f;
  border: 1px solid #dce7ed;
  white-space: normal;
  text-align: center;
}
.portal-page .badge.active,
.portal-page .badge.paid,
.portal-page .badge.ready {
  color: #17613d;
  background: #e7f6ee;
  border-color: #cce8d8;
}
.portal-page .badge.payment_failed,
.portal-page .badge.suspended {
  background: #fff0ed;
  color: #943e2f;
  border-color: #f1d8cf;
}
.portal-page .notice {
  background: #f0f7f3;
  border: 1px solid #cfe5d7;
  border-radius: 14px;
  color: #234b3a;
  padding: 15px 17px;
  font-size: 13px;
  margin: 15px 0;
}
.portal-page .notice p {
  margin: 5px 0 10px;
  color: #426453;
}
.portal-page .checkout-notice {
  background: #f2f6fa;
  border-color: #dce5ef;
  color: #294866;
}
.portal-page .checkout-notice p {
  color: #536980;
}
.portal-page .verification-notice {
  display: block;
}
.portal-page .notice .button {
  font-size: 12px;
  min-height: 42px;
}
.portal-page .form-error {
  background: #fff0ed;
  border: 1px solid #eecac1;
  border-radius: 12px;
  padding: 12px;
  color: #963929;
  font-size: 14px;
}
.portal-page .inline-result {
  background: #edf8f1;
  border-radius: 12px;
  padding: 12px;
  color: #17613d;
}
.portal-page .auth-stage {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 90px;
  max-width: 1040px;
  margin: 64px auto 75px;
  align-items: start;
}
.portal-page .auth-story {
  padding-top: 24px;
}
.portal-page .auth-story h1 {
  font-size: 55px;
  letter-spacing: -2px;
  margin: 19px 0 23px;
}
.portal-page .auth-story p {
  font-size: 16px;
  line-height: 1.75;
}
.portal-page .auth-art {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(125deg, #e4f5ec, #edf5fb);
  border-radius: 23px;
  padding: 25px;
  margin-top: 38px;
  max-width: 350px;
  font-size: 18px;
  color: #334e66;
}
.portal-page .auth-art img {
  width: 77px;
  height: 77px;
  object-fit: contain;
}
.portal-page .auth-panel {
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 12px 32px #17304a05;
}
.portal-page .progress-label {
  color: #236644;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 23px;
  line-height: 1.6;
}
.portal-page .progress-label span {
  color: #586a88;
  font-weight: 400;
  margin-left: 9px;
}
.portal-page .form-intro {
  font-size: 14px;
  margin: 0 0 20px;
}
.portal-page .intent-summary {
  background: #f3f8f5;
  border: 1px solid #d5e8dc;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 20px 0;
}
.portal-page .intent-summary > span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #476a55;
}
.portal-page .intent-summary > strong {
  display: block;
  font-size: 17px;
  margin: 3px 0;
}
.portal-page .intent-summary p {
  font-size: 12px;
  margin: 3px 0 7px;
}
.portal-page summary {
  cursor: pointer;
  min-height: 36px;
  display: list-item;
  font-size: 13px;
  color: #235e40;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 7px 0;
}
.portal-page .password-field {
  display: flex;
  align-items: center;
  border: 1px solid #c8d5df;
  border-radius: 12px;
}
.portal-page .password-field input {
  width: 100%;
  border: 0;
  background: transparent;
  min-width: 0;
}
.portal-page .password-field button {
  background: none;
  border: 0;
  color: #276548;
  font-size: 12px;
  font-weight: 700;
  min-width: 56px;
  min-height: 46px;
}
.portal-page .auth-helper {
  display: flex;
  justify-content: flex-end;
  font-size: 13px;
  margin: 13px 0 20px;
}
.portal-page .auth-switch {
  font-size: 14px;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 24px;
}
.portal-page .legal-note {
  text-align: center;
  font-size: 12px;
  margin: 18px 0 0;
}
.portal-page .auth-panel form > .button {
  margin-top: 17px;
}
.portal-page .recovery-card {
  max-width: 470px;
  margin: 60px auto 80px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.portal-page .recovery-card h1 {
  font-size: 32px;
}
.portal-page .recovery-card > p {
  font-size: 14px;
}
.portal-page .recovery-card input {
  width: 100%;
  display: block;
}
.portal-page .recovery-card form > .button {
  margin-top: 23px;
}
.portal-page .account-shell {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 46px;
  padding: 36px 0 60px;
}
.portal-page .account-sidebar {
  padding-top: 9px;
}
.portal-page .sidebar-label {
  color: #7c8b9d;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 10px;
  margin: 0 16px 18px;
}
.portal-page .account-sidebar nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  font-size: 14px;
}
.portal-page .account-sidebar nav a {
  padding: 12px 16px;
  border-radius: 13px;
  text-decoration: none;
  min-height: 46px;
  font-weight: 600;
  color: #50617b;
  display: flex;
  gap: 12px;
  align-items: center;
}
.portal-page .account-sidebar nav a[aria-current] {
  background: #e7f3ec;
  color: #195f3d;
}
.portal-page .account-sidebar nav a span {
  font-size: 18px;
  width: 19px;
}
.portal-page .sidebar-bottom {
  border-top: 1px solid var(--line);
  margin: 28px 10px 0;
  padding-top: 18px;
}
.portal-page .sidebar-bottom p {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.portal-page .sidebar-bottom .button {
  font-size: 12px;
  width: 100%;
}
.portal-page .account-content {
  min-width: 0;
  max-width: 835px;
}
.portal-page .account-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.portal-page .account-heading .badge {
  margin-top: 31px;
}
.portal-page .account-heading h1 {
  font-size: 32px;
  letter-spacing: -1px;
}
.portal-page .account-heading p {
  font-size: 14px;
  margin: 9px 0 0;
  max-width: 580px;
}
.portal-page .panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.portal-page .selected-price {
  font-size: 32px;
  color: #101e3b !important;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 13px 0 0;
}
.portal-page .selected-price span {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: #586a88;
}
.portal-page .purchase-panel > .fine {
  margin: 4px 0 14px;
}
.portal-page .offer-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.portal-page .offer-option {
  padding: 17px 14px;
  border: 1px solid #d5e0e6;
  border-radius: 16px;
  background: white;
  color: #101e3b;
  text-align: left;
  min-width: 0;
}
.portal-page .offer-option.selected {
  border: 2px solid #28875d;
  padding: 16px 13px;
  background: #f0faf5;
}
.portal-page .offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-size: 14px;
}
.portal-page .choice-dot {
  border: 1px solid #c5d4dc;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
}
.portal-page .selected .choice-dot {
  background: #237f53;
  border-color: #237f53;
}
.portal-page .offer-price {
  font-size: 24px;
  font-weight: 800;
  display: block;
  margin: 13px 0 6px;
  letter-spacing: -0.7px;
}
.portal-page .offer-price small {
  font-size: 11px;
  color: #586a88;
  font-weight: 400;
  letter-spacing: 0;
  display: block;
}
.portal-page .offer-detail {
  font-size: 11px;
  color: #586a88;
  line-height: 1.5;
  display: block;
}
.portal-page .change-offer {
  margin: 12px 0;
}
.portal-page .intent-summary .offer-options {
  grid-template-columns: 1fr;
}
.portal-page .intent-summary .offer-price small {
  display: inline;
}
.portal-page .intent-summary .offer-option {
  padding: 12px;
}
.portal-page .intent-summary .offer-price {
  margin: 4px 0;
  font-size: 20px;
}
.portal-page .review-summary {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.portal-page .review-summary > .fine {
  margin: 5px 0 16px;
}
.portal-page .order-list {
  margin: 14px 0 24px;
}
.portal-page .order-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.portal-page .order-item > div:last-child {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}
.portal-page .order-item p {
  margin: 5px 0;
}
.portal-page .empty-state {
  padding: 25px 0;
}
.portal-page .empty-state p {
  font-size: 14px;
  max-width: 400px;
}
.portal-page .connection-steps {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}
.portal-page .connection-steps li {
  display: flex;
  gap: 17px;
  padding: 0 0 28px;
}
.portal-page .connection-steps li > span {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e7f5ed;
  color: #237f53;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.portal-page .connection-steps p {
  font-size: 14px;
  margin: 5px 0 12px;
}
.portal-page .connection-steps a {
  font-size: 13px;
}
.portal-page .app-links {
  flex-wrap: wrap;
}
.portal-page .app-links .button {
  font-size: 12px;
}
.portal-page .next-step-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  background: #eaf5ef;
  border: 1px solid #d1e8da;
  border-radius: 20px;
  padding: 24px;
  color: #1d573a;
}
.portal-page .next-step-card span {
  font-size: 12px;
}
.portal-page .next-step-card strong {
  font-size: 19px;
}
.portal-page .credentials {
  background: #f5f8fa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px;
  margin: 20px 0;
}
.portal-page .credential-value {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.portal-page .policy {
  max-width: 780px;
  margin: 50px auto 75px;
  background: white;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 23px;
}
.portal-page .policy h2 {
  margin-top: 30px;
}
.portal-page .policy p {
  font-size: 15px;
  line-height: 1.8;
}
.portal-page .page {
  padding-top: 35px;
}
.portal-page .page-header h1 {
  font-size: 34px;
}
.portal-page .stats {
  gap: 14px;
}
.portal-page .stat {
  border-radius: 18px;
  border-color: var(--line);
  padding: 20px;
}
.portal-page .tabs {
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 7px;
}
.portal-page .tabs button {
  min-height: 44px;
  border-radius: 22px;
  white-space: nowrap;
  font-size: 13px;
}
.portal-page .tabs button[aria-selected="true"] {
  background: #e3f2e9;
  color: #1b6842;
}
.portal-page td,
.portal-page th {
  font-size: 13px;
  padding: 15px 12px;
}
.portal-page .admin-tools input {
  max-width: 350px;
}
.portal-page .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.portal-page .row-actions {
  flex-wrap: wrap;
}
.portal-page dialog {
  max-width: min(450px, calc(100vw - 30px));
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 30px;
  color: #101e3b;
}
.portal-page dialog input,
.portal-page dialog textarea {
  width: 100%;
}
.portal-page .site-footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
  margin-top: 0;
}
.portal-page .site-footer > span,
.portal-page .site-footer small {
  color: #586a88;
}
.portal-page .auth-panel a,
.portal-page .recovery-card a,
.portal-page .support-panel a {
  color: #1d6742;
}
@media (max-width: 900px) {
  .portal-page .auth-stage {
    gap: 30px;
    grid-template-columns: 1fr 420px;
  }
  .portal-page .auth-story h1 {
    font-size: 42px;
  }
  .portal-page .account-shell {
    gap: 25px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .portal-page .offer-options {
    grid-template-columns: 1fr;
  }
  .portal-page .offer-option {
    padding: 13px 15px;
  }
  .portal-page .offer-option.selected {
    padding: 12px 14px;
  }
  .portal-page .offer-price {
    margin: 4px 0;
    font-size: 23px;
  }
  .portal-page .offer-price small {
    display: inline;
  }
  .portal-page .auth-stage {
    margin-top: 40px;
  }
}
@media (max-width: 700px) {
  .portal-page main {
    padding: 0 16px;
  }
  .portal-page .site-header {
    height: 69px;
    padding: 0 16px;
    gap: 15px;
  }
  .portal-page .site-header nav {
    display: none;
  }
  .portal-page .header-account {
    display: block;
    font-size: 12px;
  }
  .portal-page .wordmark {
    font-size: 20px;
  }
  .portal-page .auth-stage {
    display: block;
    margin: 25px auto 35px;
    max-width: 450px;
  }
  .portal-page .auth-story {
    display: none;
  }
  .portal-page .auth-panel {
    padding: 24px 21px;
  }
  .portal-page .auth-panel h2 {
    font-size: 25px;
  }
  .portal-page .auth-panel .progress-label {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .portal-page .recovery-card {
    margin: 28px auto 40px;
    padding: 26px 22px;
  }
  .portal-page .recovery-card h1 {
    font-size: 29px;
  }
  .portal-page .account-shell {
    display: block;
    padding: 0 0 30px;
  }
  .portal-page .account-sidebar {
    padding: 14px 0 0;
  }
  .portal-page .sidebar-label,
  .portal-page .sidebar-bottom {
    display: none;
  }
  .portal-page .account-sidebar nav {
    flex-direction: row;
    gap: 4px;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    margin-bottom: 22px;
  }
  .portal-page .account-sidebar nav a {
    padding: 9px 8px;
    min-height: 44px;
    font-size: 11px;
    gap: 0;
    justify-content: center;
    border-radius: 11px;
    flex: 1;
    white-space: nowrap;
  }
  .portal-page .account-sidebar nav a span {
    display: none;
  }
  .portal-page .account-sidebar nav a[href="/admin"] {
    position: absolute;
    top: 76px;
    right: 17px;
    font-size: 10px;
    padding: 4px;
    min-height: 20px;
  }
  .portal-page .account-sidebar:has(a[href="/admin"]) nav {
    padding-top: 20px;
  }
  .portal-page .account-heading {
    gap: 12px;
    margin-bottom: 19px;
  }
  .portal-page .account-heading h1 {
    font-size: 26px;
    margin: 7px 0 9px;
    letter-spacing: -0.8px;
  }
  .portal-page .account-heading .eyebrow {
    font-size: 10px;
  }
  .portal-page .account-heading p {
    font-size: 13px;
    margin: 8px 0 0;
  }
  .portal-page .account-heading .badge {
    font-size: 10px;
    margin-top: 27px;
    max-width: 80px;
  }
  .portal-page .panel {
    padding: 21px 19px;
    border-radius: 19px;
    margin-bottom: 16px;
  }
  .portal-page h2 {
    font-size: 21px;
  }
  .portal-page .selected-price {
    font-size: 29px;
    margin-top: 10px;
  }
  .portal-page .notice {
    padding: 12px 13px;
    margin: 12px 0;
    font-size: 12px;
  }
  .portal-page .notice p {
    font-size: 12px;
  }
  .portal-page .notice .button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .portal-page .review-summary {
    margin-top: 14px;
    padding-top: 15px;
    font-size: 14px;
  }
  .portal-page .button.full {
    font-size: 12px;
    gap: 8px;
    padding: 12px 14px;
  }
  .portal-page .policy {
    margin: 28px auto;
    padding: 25px 21px;
  }
  .portal-page .policy h1 {
    font-size: 32px;
  }
  .portal-page .page-header {
    display: block;
  }
  .portal-page .page-header h1 {
    font-size: 28px;
  }
  .portal-page .stats {
    grid-template-columns: 1fr 1fr;
  }
  .portal-page .stat {
    padding: 16px;
  }
  .portal-page .stat strong {
    font-size: 27px;
  }
  .portal-page .stat span {
    font-size: 11px;
  }
  .portal-page .admin-tools {
    flex-wrap: wrap;
    gap: 8px;
  }
  .portal-page .admin-tools input {
    width: 100%;
    max-width: 100%;
  }
  .portal-page .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .portal-page .connection-steps li {
    gap: 12px;
  }
  .portal-page .connection-steps .app-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-page .credentials {
    padding: 13px;
  }
  .portal-page .credential-value {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-page * {
    scroll-behavior: auto !important;
  }
}
.portal-page .header-account {
  background: #e7f3ec;
  color: #195f3d;
  border: 1px solid #cde4d6;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 24px;
  text-decoration: none;
}
.portal-page .account-sidebar nav a svg {
  width: 19px;
  height: 19px;
  display: block;
}
.portal-page .credential-label {
  color: #536982;
}
.portal-page .credential-value {
  color: #101e3b;
}
.portal-page .credentials .secret {
  background: #e7f3ec;
  color: #173f2a;
}
.portal-page .auth-story h2 {
  font-size: 55px;
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 19px 0 23px;
}
.portal-page .auth-panel h1 {
  font-size: 26px;
  letter-spacing: -0.7px;
  margin: 0 0 12px;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .portal-page .auth-story h2 {
    font-size: 42px;
  }
}
@media (max-width: 700px) {
  .portal-page .auth-panel h1 {
    font-size: 25px;
  }
}
.portal-page .sidebar-label {
  color: #596c83;
}
