* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height: 100vh;
  background: #0f1716;
  color: #ecf3f0;
}
.account-open {
  --highlight: #4fce8e;
}
.account-security {
  --highlight: #ef6474;
}
.account-rent {
  --highlight: #2563eb;
  background: #eef4fa;
  color: #182840;
}
.account-layout {
  width: min(540px,calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}
.account-back {
  color: inherit;
  opacity: .8;
  text-decoration: none;
  font-weight: 700;
}
.account-panel {
  margin-top: 24px;
  padding: clamp(22px,5vw,42px);
  background: #172320;
  border: 1px solid #3b4b45;
  border-radius: 22px;
  box-shadow: 0 20px 50px #0002;
}
.account-rent .account-panel {
  background: #fff;
  border-color: #dbe5ee;
}
.account-kicker {
  color: var(--highlight);
  font-size: .76rem;
  letter-spacing: .12em;
  font-weight: 800;
  text-transform: uppercase;
}
.account-panel h1 {
  font-size: clamp(1.65rem,4.8vw,2.35rem);
  line-height: 1.2;
  margin: 15px 0;
}
.account-panel p {
  line-height: 1.7;
  opacity: .86;
  margin: 0 0 22px;
}
.account-panel label {
  display: block;
  font-weight: 750;
  margin: 15px 0 8px;
}
.account-panel input {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid #8998a2;
  background: transparent;
  color: inherit;
  font: inherit;
}
.account-panel button {
  padding: 13px 18px;
  border: 0;
  border-radius: 11px;
  opacity: 1;
  cursor: pointer;
  margin: 14px 0;
  font-weight: 750;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 24px;
}
.account-actions a {
  padding: 12px 15px;
  color: inherit;
  border: 1px solid #798c83;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 720;
}
.account-actions .account-main-action {
  background: var(--highlight);
  color: #071015;
  border-color: transparent;
}
.account-rent .account-actions a:not(.account-main-action) {
  border-color: #cbd5e1;
}
a:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
}
.account-panel button {
  background: var(--highlight);
  color: #071015;
}
.account-panel button:hover {
  filter: brightness(1.08);
}
.account-panel .account-notice {
  padding: 14px;
  border-radius: 12px;
  background: #164632;
  color: #edfef5;
}
.account-panel .account-error {
  padding: 14px;
  border-radius: 12px;
  background: #6b2430;
  color: #fff;
}
.account-linked-sites {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px;
  margin: 10px 0 23px;
  border: 1px solid color-mix(in srgb,var(--highlight) 35%,transparent);
  border-radius: 16px;
  background: color-mix(in srgb,var(--highlight) 9%,transparent);
}
.account-linked-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--highlight);
  background: color-mix(in srgb,var(--highlight) 16%,transparent);
}
.account-linked-sites strong {
  display: block;
  margin: 2px 0 5px;
  font-size: 1rem;
}
.account-linked-sites p {
  margin: 0 0 9px;
  font-size: .91rem;
  line-height: 1.5;
  opacity: .85;
}
.account-linked-sites a {
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 750;
}
.account-linked-sites a:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
}
.account-open .account-portals {
  display: block;
  padding: 17px 18px 18px;
  margin: 18px 0 24px;
  border-color: color-mix(in srgb,var(--highlight) 35%,#334a40);
  background: linear-gradient(145deg,rgba(79,206,142,.09),rgba(79,206,142,.025));
}
.account-open .account-portals-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.account-open .account-portals-heading .account-linked-icon {
  flex: 0 0 42px;
}
.account-open .account-portals-heading strong {
  font-size: 1.13rem;
  margin: 0 0 5px;
}
.account-open .account-portals-heading p {
  margin: 0 0 16px;
  line-height: 1.55;
  font-size: .9rem;
  opacity: .86;
}
.account-open .account-portal-links {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}
.account-open .account-portal-links a {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  padding: 10px;
  border: 1px solid #4b6c5b;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-size: .86rem;
  font-weight: 750;
  overflow-wrap: anywhere;
  background: rgba(4,16,10,.2);
}
.account-open .account-portal-links a:hover {
  background: rgba(79,206,142,.15);
  border-color: var(--highlight);
}
.account-open .account-portal-links a>span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.account-open .account-portal-mark {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #1b583c;
  color: #a7f2c7;
  font-size: .65rem;
  font-weight: 900;
}
.account-open .account-portal-mark-security {
  background: #60212a;
  color: #ffaab2;
}
@media(max-width:410px) {
  .account-open .account-portal-links {
    grid-template-columns: 1fr;
  }
}
.account-panel .account-register-row {
  margin-bottom: 12px;
}
.account-panel .account-register-link:link,.account-panel .account-register-link:visited {
  color: var(--highlight)!important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.account-panel .account-register-link:hover {
  filter: brightness(1.12);
}
.account-panel .account-register-link:focus-visible {
  outline: 2px solid var(--highlight);
  outline-offset: 3px;
}

.account-open .account-back{display:inline-flex;align-items:center;gap:8px;min-height:30px;margin:0;padding:0;border:0;border-radius:0;background:none;color:#70e5a5;opacity:1;text-decoration:none;font-size:.92rem;font-weight:750;line-height:1.3;white-space:normal}
.account-open .account-back:hover,.account-open .account-back:focus-visible{color:#9ff3c6;text-decoration:underline;text-underline-offset:4px}

.account-open .account-portal-links a[href^="https://varnakoda.si/"]:is(:hover, :focus-visible) {
  color: #ff3b4a;
  border-color: #ff3b4a;
  background: rgba(255, 59, 74, .10);
}
.account-open .account-portal-links a[href^="https://varnakoda.si/"]:is(:hover, :focus-visible) .account-portal-mark-security {
  background: #7b2531;
  color: #ffe7e9;
}
