/* Proporcje i rytm formularza z frontend/src/theme/welcome.css GuitarStudio.
   Arkusz jest ładowany wyłącznie na ekranie logowania. */
.program-welcome { --welcome-bg: #101319; --welcome-blue: #b2d0ff; background: var(--welcome-bg); }
.program-welcome .entry-screen { grid-template-columns: 58.6% minmax(0, 1fr); min-height: 100dvh; }
.program-welcome .entry-art { overflow: hidden; }
.program-welcome .entry-art::after { background: linear-gradient(90deg, transparent 91%, #101319d9); }
.program-welcome .entry-panel {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  background: radial-gradient(ellipse at 40% 1%, #1a1e26, transparent 55%), var(--welcome-bg);
  padding: clamp(26px,4.5vh,48px) clamp(30px,4.45vw,75px) 16px;
}
.program-welcome .entry-content { width: min(100%,520px); margin-inline: auto; }
.program-welcome .entry-language { top: clamp(10px,2.4dvh,26px); right: clamp(18px,3vw,49px); gap: 7px; }
.program-welcome .entry-language a { font-size: 13px; padding: 3px 6px; }
.program-welcome .entry-brand { margin-bottom: clamp(12px,2.6vh,24px); }
.program-welcome .entry-brand h1 { font-size: clamp(29px,3.55vw,59px); font-weight: 700; }
.program-welcome .entry-logo { width: clamp(44px,4.9vw,77px); }
.program-welcome .entry-brand p { margin-top: 5px; font-size: clamp(14px,1.22vw,20px); }
.program-welcome h2 { font-size: clamp(27px,2.35vw,40px); margin-bottom: 12px; }
.program-welcome form label { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.welcome-field { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 13px; margin-bottom: 9px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(#2d323d,#272c35); color: var(--muted); }
.welcome-field:focus-within { border-color: var(--accent); }
.welcome-field input { border: 0; min-height: 44px; margin: 0; padding: 5px 0; background: transparent; outline: 0; }
.welcome-field input:focus-visible { outline: none; }
.welcome-field input::-ms-reveal { display: none; }
.password-toggle { display: grid; place-items: center; flex: 0 0 40px; min-height: 44px; margin-right: -9px; border: 0; padding: 0; background: transparent; color: var(--muted); }
.password-toggle[hidden] { display: none; }
.password-toggle:hover { color: white; }
.program-welcome #program-login-form button[type=submit], .program-welcome .entry-content > form > button[type=submit] {
  margin-top: 5px; min-height: 46px; border-color: #f9b66d; border-radius: 13px; font-size: 19px; font-weight: 650;
  box-shadow: inset 0 1px #ffe0aa80, 0 3px 14px #09070640;
}
.program-welcome .entry-form-links { justify-content: center; margin-top: 6px; }
.program-welcome .entry-form-links a, .welcome-tour { color: var(--welcome-blue); text-decoration: none; }
.program-welcome .entry-form-links a:hover, .welcome-tour:hover { text-decoration: underline; }
.welcome-purchase, .welcome-tour { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 12px; text-align: center; text-decoration: none; border-radius: 13px; font-weight: 650; }
.welcome-purchase { width: 94%; margin-inline: auto; }
.welcome-actions { display: grid; gap: 5px; margin-top: 12px; }
.welcome-purchase { background: linear-gradient(112deg,#503524,#2b2221 75%,#372821); border: 1px solid #efa86c; color: #ffe4ca; box-shadow: inset 0 1px #ffe4be45; }
.welcome-purchase:hover { background: #51392b; }
.welcome-purchase { gap: 14px; }
.welcome-purchase svg { flex: none; color: #ffc684; }
.welcome-tour { min-height: 36px; gap: 10px; }
.welcome-tour svg { flex: none; }
@media (max-height: 740px), (max-width: 800px) and (max-height: 880px) {
  .welcome-purchase, .welcome-tour { gap: 6px; }
  .welcome-purchase svg, .welcome-tour svg { width: 20px; height: 20px; }
}
@media (max-width: 800px) and (max-height: 665px) {
  .welcome-purchase, .welcome-tour { gap: 4px; }
  .welcome-purchase svg, .welcome-tour svg { width: 17px; height: 17px; }
}
.welcome-info { color: #d2d7e2; font-size: 14px; margin-top: .45rem; }
.welcome-legal { display: flex; flex-wrap: wrap; gap: .3rem .85rem; margin-top: .55rem; font-size: 12px; }
.welcome-legal a { color: var(--muted); text-underline-offset: .15em; }
@media (max-width: 1100px) {
  .program-welcome .entry-screen { grid-template-columns: 51% minmax(0,1fr); }
  .program-welcome .entry-panel { padding-inline: 30px; }
}
@media (max-width: 800px) {
  .program-welcome .entry-screen { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto; }
  .program-welcome .entry-art { height: clamp(70px,13.5dvh,172px); }
  .program-welcome .entry-art img { object-position: 50% 47%; }
  .program-welcome .entry-art::after { background: linear-gradient(180deg,transparent 62%,#101319); }
  .program-welcome .entry-panel { padding: 32px clamp(16px,5vw,40px) 14px; justify-content: flex-start; }
  .program-welcome .entry-content { width: min(100%,490px); }
  .program-welcome .entry-brand h1 { font-size: clamp(28px,8vw,48px); }
  .program-welcome .entry-language { top: 4px; }
  .welcome-purchase { width: 100%; }
}
