.tegos-vpn {
  --tegos-blue: #2864eb;
  --tegos-ink: #101828;
  --tegos-muted: #667085;
  --tegos-border: #dbe3f0;
  color: var(--tegos-ink);
  font-size: 16px;
}

.tegos-vpn *, .tegos-vpn *::before, .tegos-vpn *::after { box-sizing: border-box; }
.tegos-vpn h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.2; }
.tegos-vpn p { margin: 8px 0 14px; }
.tegos-vpn__auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tegos-vpn__auth-grid--single { grid-template-columns: minmax(0, 1fr); }
.tegos-vpn__auth-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tegos-vpn__auth-heading h2 { margin-bottom: 0; }
.tegos-vpn__auth-heading a { white-space: nowrap; }
main.tegos-account-shell { width: 100%; max-width: 1200px; padding: 32px 12px 48px; }
.tegos-account-shell > article.tegos-account-article { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tegos-account-article > .tegos-account-title { margin: 0 0 16px; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; }
.tegos-vpn__auth-grid--single { width: 100%; max-width: 760px; margin-inline: auto; }
.tegos-vpn__login-page { min-height: calc(100vh - 80px); background: #f8fafc; }
.tegos-vpn__login-layout { display: grid; min-height: inherit; place-items: center; padding: 48px 16px; }
.tegos-vpn__login-card { width: min(100%, 520px); }
.tegos-vpn__login-card h1 { margin: 0 0 14px; color: var(--tegos-ink); font-size: 30px; line-height: 1.2; }
.tegos-vpn__login-card .tegos-vpn__button { width: 100%; }
.tegos-vpn__login-register { margin-top: 18px !important; }
.tegos-vpn__card { margin: 0 0 20px; padding: 24px; border: 1px solid var(--tegos-border); border-radius: 18px; background: #fff; box-shadow: 0 8px 30px rgba(16, 24, 40, .05); }
.tegos-vpn__form { display: grid; gap: 14px; }
.tegos-vpn__form--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.tegos-vpn__form label, .tegos-vpn__connect > label { display: grid; gap: 6px; color: #344054; font-weight: 600; }
.tegos-vpn input[type="text"], .tegos-vpn input[type="email"], .tegos-vpn input[type="password"], .tegos-vpn select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #101828; font: inherit; }
.tegos-vpn input:focus, .tegos-vpn select:focus { outline: 3px solid rgba(40, 100, 235, .15); border-color: var(--tegos-blue); }
.tegos-vpn__check { display: flex !important; align-items: center; gap: 8px !important; font-weight: 400 !important; }
.tegos-vpn__legal-consent { align-items: flex-start; color: #344054; font-size: 14px; line-height: 1.45; }
.tegos-vpn__legal-consent input { flex: 0 0 auto; margin-top: 4px; }
.tegos-vpn__legal-consent a { color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.tegos-vpn__button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 11px 20px; border: 0; border-radius: 11px; background: var(--tegos-blue); color: #fff !important; font-weight: 700; text-decoration: none !important; cursor: pointer; }
.tegos-vpn__payment-result-link { position: relative; z-index: 1; display: flex; width: 100%; min-height: 56px; margin: 24px auto 0; touch-action: manipulation; -webkit-tap-highlight-color: rgba(255, 255, 255, .25); }
.tegos-vpn__button:hover { background: #1e50c7; }
.tegos-vpn__button--secondary { margin-top: 12px; background: #eef4ff; color: #1d4ed8 !important; }
.tegos-vpn__button--secondary:hover, .tegos-vpn__button--secondary:focus-visible { background: #dbe8ff; color: #1d4ed8 !important; }
.tegos-vpn__copy-row .tegos-vpn__button--secondary { margin-top: 0; }
.tegos-vpn__link-button { padding: 0; border: 0; background: transparent; color: #1d4ed8; font: inherit; font-weight: 600; cursor: pointer; }
.tegos-vpn__auth-grid--single [data-generate-password] { display: block; width: 100%; line-height: 1.4; text-align: center; }
.tegos-vpn__link-button--danger { color: #b42318; }
.tegos-vpn__check input[type="checkbox"] { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--tegos-blue); cursor: pointer; }
.tegos-vpn__check input[type="checkbox"]:focus-visible { outline: 3px solid rgba(40, 100, 235, .25); outline-offset: 2px; }
.tegos-vpn__topline, .tegos-vpn__section-head, .tegos-vpn__device { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tegos-vpn__topline { margin-bottom: 20px; }
.tegos-vpn__logout { display: flex; justify-content: flex-end; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--tegos-border); }
.tegos-vpn__topline span, .tegos-vpn__device span { color: var(--tegos-muted); }
.tegos-vpn__identity { flex: 1; }
.tegos-vpn__home-link { color: #1d4ed8; font-weight: 700; text-decoration: none; white-space: nowrap; }
.tegos-vpn__badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #eef4ff; color: #1d4ed8; font-size: 13px; font-weight: 700; }
.tegos-vpn__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.tegos-vpn__stats div { padding: 14px; border-radius: 12px; background: #f8fafc; }
.tegos-vpn__stats dt { margin-bottom: 4px; color: var(--tegos-muted); font-size: 13px; }
.tegos-vpn__stats dd { margin: 0; font-weight: 700; }
.tegos-vpn__status--positive { color: #067647; }
.tegos-vpn__status--warning { color: #b54708; }
.tegos-vpn__status--negative { color: #b42318; }
.tegos-vpn__status--neutral { color: #475467; }
.tegos-vpn__badge--status.tegos-vpn__status--positive { background: #ecfdf3; color: #067647; }
.tegos-vpn__badge--status.tegos-vpn__status--warning { background: #fffaeb; color: #b54708; }
.tegos-vpn__badge--status.tegos-vpn__status--negative { background: #fef3f2; color: #b42318; }
.tegos-vpn__badge--status.tegos-vpn__status--neutral { background: #f2f4f7; color: #475467; }
.tegos-vpn__expiry-warning { color: #b42318; font-weight: 600; }
.tegos-vpn__promo-warning { color: #b42318; font-size: 14px; font-weight: 500; }
.tegos-vpn__notice { margin: 0 0 20px; padding: 14px 16px; border: 1px solid; border-radius: 12px; }
.tegos-vpn__notice p { margin: 0 0 8px; }
.tegos-vpn__notice--success { border-color: #a6f4c5; background: #ecfdf3; color: #067647; }
.tegos-vpn__notice--error { border-color: #fecdca; background: #fef3f2; color: #b42318; }
.tegos-vpn__notice--warning { border-color: #fedf89; background: #fffaeb; color: #93370d; }
.tegos-vpn__copy-row { display: flex; gap: 10px; }
.tegos-vpn__copy-row input { flex: 1; }
.tegos-vpn__email-verification { margin: 18px 0; padding: 16px; border: 1px solid #f1b4ad; border-radius: 14px; background: #fff7f6; color: #7a271a; }
.tegos-vpn__email-verification > strong { display: block; color: #b42318; font-size: 20px; line-height: 1.3; }
.tegos-vpn__email-verification p { margin: 8px 0 10px; color: #344054; font-weight: 400; }
.tegos-vpn__email-resend { color: #b42318; text-decoration: underline; text-underline-offset: 2px; }
.tegos-vpn__connection-lock { filter: blur(4px); opacity: .52; pointer-events: none; user-select: none; }
.tegos-vpn__connection-lock input:disabled { background: #f8fafc; color: #667085; -webkit-text-fill-color: #667085; }
.tegos-vpn__muted { color: var(--tegos-muted); font-size: 14px; font-weight: 400; }
.tegos-vpn__orders, .tegos-vpn__devices { display: grid; gap: 12px; }
.tegos-vpn__order { padding: 16px; border: 1px solid var(--tegos-border); border-radius: 12px; }
.tegos-vpn__order p { margin: 7px 0; }
.tegos-vpn__order-total { font-size: 18px; font-weight: 800; }
.tegos-vpn__quote { grid-column: 1 / -1; padding: 16px; border: 1px solid #bfd0f5; border-radius: 14px; background: #f5f8ff; }
.tegos-vpn__quote-message { margin-bottom: 8px; color: var(--tegos-muted); font-size: 14px; }
.tegos-vpn__quote-breakdown { display: grid; gap: 5px; color: #344054; font-size: 14px; }
.tegos-vpn__quote-total { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #d9e3f7; font-size: 20px; font-weight: 800; }
.tegos-vpn__payment-methods { display: flex; align-self: stretch; gap: 16px; margin: 0; padding: 12px 14px; border: 1px solid var(--tegos-border); border-radius: 12px; }
.tegos-vpn__payment-methods legend { padding: 0 5px; color: #344054; font-weight: 700; }
.tegos-vpn__payment-methods .tegos-vpn__check { flex: 1 1 0; min-width: 150px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--tegos-border); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.tegos-vpn__payment-methods .tegos-vpn__check:hover { border-color: #9bb7f3; background: #f8faff; }
.tegos-vpn__payment-methods .tegos-vpn__check:has(input:checked) { border-color: #9bb7f3; background: #f3f7ff; box-shadow: inset 0 0 0 1px rgba(40, 100, 235, .12); }
.tegos-vpn__payment-methods .tegos-vpn__check:focus-within { outline: 3px solid rgba(40, 100, 235, .18); outline-offset: 2px; }
.tegos-vpn__payment-methods input[type="radio"] { display: grid; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; padding: 0; appearance: none; border: 1.5px solid #98a2b3; border-radius: 50%; background: #fff; color: var(--tegos-blue); cursor: pointer; place-content: center; }
.tegos-vpn__payment-methods input[type="radio"]::before { width: 8px; height: 8px; border-radius: 50%; background: #fff; content: ""; transform: scale(0); transition: transform .12s ease-in-out; }
.tegos-vpn__payment-methods input[type="radio"]:checked { border-color: var(--tegos-blue); background: var(--tegos-blue); }
.tegos-vpn__payment-methods input[type="radio"]:checked::before { transform: scale(1); }
.tegos-vpn__payment-methods input[type="radio"]:focus-visible { outline: none; }
.tegos-vpn__recurring-consent { grid-column: 1 / -1; padding: 16px; border: 1px solid #b8d6ff; border-radius: 14px; background: #f3f8ff; }
.tegos-vpn__recurring-consent[hidden] { display: none; }
.tegos-vpn__recurring-consent p { margin: 0 0 10px; }
.tegos-vpn__renewal { margin: 16px 0; padding: 16px; border: 1px solid var(--tegos-border); border-radius: 14px; background: #f8fafc; }
.tegos-vpn__renewal h3 { margin: 0 0 8px; font-size: 18px; }
.tegos-vpn__order-form > [data-quote-submit] { grid-column: 1 / -1; }
.tegos-vpn__order-form > .tegos-vpn__legal-consent { grid-column: 1 / -1; }
.tegos-vpn__button:disabled { background: #98a2b3; cursor: not-allowed; }
.tegos-vpn__turnstile { width: 100%; min-height: 65px; overflow: hidden; }
.tegos-vpn__device { padding: 13px 0; border-bottom: 1px solid #edf2f7; }
.tegos-vpn__device:last-child { border-bottom: 0; }
.tegos-vpn__device-detail { display: block; margin-top: 3px; color: var(--tegos-muted); font-size: 13px; font-weight: 400; }

@media (max-width: 720px) {
  .tegos-vpn__auth-grid, .tegos-vpn__form--inline, .tegos-vpn__stats { grid-template-columns: 1fr; }
  .tegos-vpn__auth-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tegos-vpn__auth-heading h2 { font-size: 22px; }
  .tegos-vpn__auth-heading a { justify-self: end; max-width: 100%; white-space: normal; text-align: right; }
  .tegos-vpn__card { padding: 18px; }
  .tegos-vpn__copy-row { flex-direction: column; }
  .tegos-vpn__device { align-items: flex-start; }
  .tegos-vpn__topline { flex-wrap: wrap; }
  .tegos-vpn__identity { flex-basis: calc(100% - 120px); order: -1; }
  .tegos-vpn__check { gap: 10px !important; }
  .tegos-vpn__check input[type="checkbox"] { flex-basis: 24px; width: 24px; height: 24px; }
  .tegos-vpn__legal-consent input[type="checkbox"] { margin-top: 2px; }
}

@media (max-width: 420px) {
  .tegos-vpn__payment-methods { flex-wrap: wrap; gap: 8px; }
  .tegos-vpn__payment-methods .tegos-vpn__check { flex-basis: 100%; }
}
