/* ValuTrek central sign-in (/valutrek). Design: ValuTrek Deep Green. */

/* URW Gothic (urw-base35-fonts, AGPL-3 with font exception) -- see FONT-LICENSE.txt */
@font-face {
  font-family: GothicDisplay;
  src: url("gothic-display.woff2") format("woff2");
  font-display: swap;
}

:root { --green: #00461c; --bronze: #9d7d4f; --white: #fff; }

h1 span, .trademark { color: var(--bronze); }
.trademark {
  display: inline-block;
  font: 600 .16em/1 Arial, sans-serif;
  letter-spacing: 0;
  vertical-align: top;
  margin: .7em 0 0 .1em;
}
.slogan {
  margin: .15rem 0 0;
  font-size: clamp(.71rem, 2vw, 1.05rem);
  letter-spacing: .24em;
  color: var(--white);
}
* { box-sizing: border-box; }
body { margin: 0; background: #00461c; color: var(--white); font: 1rem Inter, Arial, sans-serif; color-scheme: dark; }
main {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse clamp(18rem, 45vw, 52rem) clamp(14rem, 46vh, 34rem) at 50% 43%, #00451f 0%, #00351c 39%, transparent 100%),
    linear-gradient(155deg, #001f12, #00150e 68%, #000e09);
}
.entry { text-align: center; padding: 2rem 1rem; position: relative; }
h1 { font: 400 clamp(4rem, 12.2vw, 11.5rem)/1.07 GothicDisplay, sans-serif; letter-spacing: -.073em; margin: 0; padding: .04em .09em .08em 0; color: var(--white); }
button { font: inherit; cursor: pointer; }
.enter {
  display: inline-block; margin-top: clamp(1.4rem, 4vh, 3rem); padding: 13px 22px 11px 26px;
  background: transparent; border: 0; border-bottom: 1px solid var(--bronze); color: var(--white);
  font-size: .875rem; letter-spacing: .27em; text-transform: uppercase; text-decoration: none; transition: background .2s;
}
.enter:hover { background: #ebd7ac10; }
.switch-account { display: block; margin: 1.1rem auto 0; background: none; border: 0; color: #d4cbbc; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid #e4cda7; outline-offset: 4px; }

dialog { width: min(380px, calc(100% - 36px)); border: 1px solid #786e55; border-radius: 14px; padding: 32px; background: #002f17; color: #f8efdf; box-shadow: 0 24px 90px #0008; }
dialog::backdrop { background: #03100cd9; backdrop-filter: blur(12px); }
dialog[open]:not(:modal) { position: fixed; inset: 0; margin: auto; z-index: 10; }
h2 { font: 400 2.35rem GothicDisplay, sans-serif; letter-spacing: -.06em; margin: 0 0 24px; }
.close { position: absolute; right: 12px; top: 12px; color: #efe6d5; background: none; border: 0; font-size: 1.45rem; width: 44px; height: 44px; }
label { display: block; margin: 18px 0 8px; font-size: .9rem; }
input { width: 100%; font: inherit; padding: 12px; border: 1px solid #617266; border-radius: 5px; background: #091c16; color: white; }
.submit { width: 100%; margin-top: 24px; border: 0; border-radius: 5px; background: var(--bronze); color: #001409; padding: 13px; font-weight: 600; }
.submit[disabled] { opacity: .7; cursor: progress; }
.note { font-size: .875rem; color: #d4cbbc; line-height: 1.5; margin: 15px 0 0; }

/* Additions: keep signed in, forgot password, notices, area chooser */
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .85rem; color: #e7dcc7; cursor: pointer; }
.check input { width: 16px; height: 16px; padding: 0; margin: 0; accent-color: var(--bronze); }
.link { background: none; border: 0; padding: 0; color: #e4cda7; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: #fff; }
.back { display: block; margin: 18px auto 0; }
.lead { font-size: .9rem; color: #d4cbbc; line-height: 1.5; margin: -12px 0 6px; }
.notice { margin: 0 0 6px; padding: 10px 12px; border-radius: 6px; font-size: .875rem; line-height: 1.45; }
.notice--error { background: #3a1410; border: 1px solid #8a3b2e; color: #f6d6cf; }
.notice--success { background: #0d3a22; border: 1px solid #4f7a55; color: #dcefd9; }
.choices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.choice {
  width: 100%; text-align: left; display: grid; gap: 2px; padding: 12px 14px; border-radius: 6px;
  border: 1px solid #617266; background: #091c16; color: #f8efdf; transition: border-color .15s, background .15s;
}
.choice:hover { border-color: var(--bronze); background: #0d2519; }
.choice__area { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #c9ab7c; }
.choice__name { font-size: .95rem; font-weight: 600; overflow-wrap: anywhere; }
[hidden] { display: none !important; }

@media (max-width: 420px) { dialog { padding: 28px 20px; } }
@media (forced-colors: active) { h1, h1 span, .trademark { color: CanvasText; } }
