/* sellos-otinus.pl - strona wyboru wersji Sellos (2026-10-28). Wygląd jak strona logowania Sellos v3. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: #060e1a;
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: #111827;
}
.wrap { display: flex; min-height: 100vh; }

/* lewa część - ilustracja jak w v3 */
.left {
  flex: 1 1 60%;
  position: relative;
  background: url("bg-machines.svg") center center / cover no-repeat, #0a1628;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,14,26,.32) 0%, rgba(6,14,26,.08) 60%, rgba(6,14,26,.55) 100%);
}
.left-inner { position: relative; z-index: 1; padding: 48px 52px; }
.brand {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
  line-height: 1;
}
.tagline { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.55); letter-spacing: .02em; }

/* prawa część - wybór wersji */
.right {
  flex: 0 0 460px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
  padding: 32px 0;
}
.panel { width: 100%; max-width: 380px; padding: 0 24px; }
h1 { font-size: 1.6rem; font-weight: 700; color: #0f172a; margin: 0 0 6px; letter-spacing: -.02em; }
.subtitle { font-size: .85rem; color: #6b7280; margin: 0 0 24px; }

.card {
  display: block;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
  transition: transform .12s, box-shadow .12s;
}
a.card:hover, a.card:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.name { font-size: 1.15rem; font-weight: 700; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.note { margin: 8px 0 0; font-size: .78rem; opacity: .75; }

/* v3 - kolory nowego Sellos */
.card-v3 { background: linear-gradient(135deg, #005fa3 0%, #0078d4 100%); }
.buttons { display: flex; gap: 10px; margin-top: 14px; }
.btn {
  flex: 1;
  text-align: center;
  padding: 11px 8px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .03em;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.btn:hover, .btn:focus-visible { filter: brightness(1.12); }
.btn-pl { background: #c62828; }   /* znacznik V3 PROD */
.btn-usa { background: #ad1457; }  /* znacznik V3 USAPROD */

/* v2 - ciemny styl poprzedniej wersji */
.card-v2 { background: #2b333a; border-left: 5px solid #6aa2eb; }
.card-v2 .tag { color: #6aa2eb; opacity: 1; }

/* OLD - archiwum */
.card-old { background: #3a3f44; border-left: 5px solid #e0c344; }
.card-old .tag { color: #e0c344; opacity: 1; }

.footer { margin-top: 28px; text-align: center; font-size: .75rem; color: #9ca3af; }

a:focus-visible { outline: 3px solid #0078d4; outline-offset: 2px; }

/* telefon / wąski ekran */
@media (max-width: 860px) {
  .wrap { flex-direction: column; }
  .left { flex: 0 0 180px; }
  .left-inner { padding: 28px 24px; }
  .brand { font-size: 2rem; }
  .right { flex: 1 1 auto; box-shadow: none; padding: 28px 0 36px; }
  .panel { padding: 0 16px; }
}

/* środowiska testowe v3 - celowo mniej widoczne */
.envs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.env {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
}
.env::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.env:hover, .env:focus-visible { color: #fff; background: rgba(255,255,255,.18); }
.env-stg::before { background: #f57c00; }     /* znacznik V3 STG */
.env-usastg::before { background: #7b1fa2; }  /* znacznik V3 USASTG */
.env-dev::before { background: #1565c0; }     /* znacznik V3 DEV */
.env-demo::before { background: #388e3c; }    /* znacznik V3 DEMO */
