/* ===== LOGIN LAYOUT (DUŻE ZDJĘCIE DESKTOP) ===== */
.wo-login{
  display:grid;
  grid-template-columns: 1.2fr .8fr; /* zdjęcie większe niż formularz */
  gap: 18px;
  min-height: calc(100vh - var(--wo-header-h) - 160px);
  align-items: stretch;
  padding: 6px;
}

.wo-login-hero{
  border-radius: 16px;
  overflow:hidden;
  background: var(--wo-soft);
  position: relative;
  min-height: 520px;
}
.wo-login-hero img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.wo-login-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  pointer-events:none;
}
.wo-login-hero-caption{
  position:absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: #fff;
  z-index: 2;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.wo-login-hero-caption strong{
  font-size: 14px;
  letter-spacing: .2px;
}
.wo-login-hero-caption span{
  font-size: 11px;
  opacity: .9;
  line-height: 1.35;
  max-width: 44ch;
}

.wo-login-panel{
  border-radius: 16px;
  background: var(--wo-panel);
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 520px;
}

.wo-login-sub{
  margin: 0 0 14px;
  font-size: 11px;
  color: color-mix(in srgb, var(--wo-muted) 90%, transparent);
  line-height: 1.5;
}

.wo-form{
  display:grid;
  gap: 10px;
  margin-top: 6px;
}

.wo-field{
  display:grid;
  gap: 6px;
}
.wo-label{
  font-size: 13px;
  color: color-mix(in srgb, var(--wo-muted) 92%, transparent);
}
.wo-input{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--wo-line);
  background: var(--wo-soft);
  padding: 0 12px;
  font-size: 12px;
  color: var(--wo-text);
  outline:none;
}
.wo-input:focus{
  border-color: color-mix(in srgb, var(--wo-accent) 55%, var(--wo-line));
  background: color-mix(in srgb, var(--wo-soft) 75%, var(--wo-panel));
}

.wo-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.wo-check{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 11px;
  color: color-mix(in srgb, var(--wo-muted) 92%, transparent);
  user-select:none;
}
.wo-check input{ accent-color: var(--wo-accent); }

.wo-link{
  font-size: 11px;
  color: color-mix(in srgb, var(--wo-text) 75%, var(--wo-accent));
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.wo-link:hover{ border-bottom-color: currentColor; }

.wo-btn{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid transparent;
  background: var(--wo-accent);
  color: #111;
  font-weight: 900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 4px;
}
.wo-btn:hover{
  background: color-mix(in srgb, var(--wo-accent) 88%, #fff);
}

.wo-divider{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 12px 0 10px;
  color: color-mix(in srgb, var(--wo-muted) 90%, transparent);
  font-size: 10px;
}
.wo-divider::before,
.wo-divider::after{
  content:"";
  height: 1px;
  background: var(--wo-line);
  flex: 1 1 auto;
}

.wo-btn-ghost{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid var(--wo-line);
  background: var(--wo-panel);
  color: var(--wo-text);
  font-weight: 900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
}
.wo-btn-ghost:hover{
  background: var(--wo-soft);
}


/* ===== REGISTER LAYOUT ===== */
.wo-register{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  min-height: calc(100vh - var(--wo-header-h) - 160px);
  align-items: stretch;
  padding: 6px;
}

.wo-register-hero{
  border-radius: var(--wo-border-radius);
  overflow:hidden;
  background: var(--wo-soft);
  position: relative;
  min-height: 560px;
}
.wo-register-hero img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.wo-register-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 58%);
  pointer-events:none;
}
.wo-register-hero-caption{
  position:absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  color: #fff;
  z-index: 2;
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.wo-register-hero-caption strong{
  font-size: 14px;
  letter-spacing: .2px;
}
.wo-register-hero-caption span{
  font-size: 11px;
  opacity: .92;
  line-height: 1.35;
  max-width: 52ch;
}

.wo-register-panel{
  border-radius: 16px;
  background: var(--wo-panel);
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 560px;
}

.wo-register-sub{
  margin: 0 0 14px;
  font-size: 11px;
  color: color-mix(in srgb, var(--wo-muted) 90%, transparent);
  line-height: 1.5;
}

.wo-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wo-check{
  display:inline-flex;
  align-items:flex-start;
  gap: 8px;
  font-size: 11px;
  color: color-mix(in srgb, var(--wo-muted) 92%, transparent);
  user-select:none;
  line-height: 1.35;
}
.wo-check input{ margin-top: 2px; accent-color: var(--wo-accent); }

.wo-hint{
  font-size: 10px;
  color: color-mix(in srgb, var(--wo-muted) 88%, transparent);
  line-height: 1.45;
  margin-top: 2px;
}

.wo-link{
  font-size: 11px;
  color: color-mix(in srgb, var(--wo-text) 75%, var(--wo-accent));
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.wo-link:hover{ border-bottom-color: currentColor; }

.wo-btn{
  height: 40px;
  border-radius: var(--wo-border-radius);
  border: 1px solid transparent;
  background: var(--wo-accent);
  color: #111;
  font-weight: 900;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-top: 4px;
}
.wo-btn:hover{
  background: color-mix(in srgb, var(--wo-accent) 88%, #fff);
}

.wo-divider{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 12px 0 10px;
  color: color-mix(in srgb, var(--wo-muted) 90%, transparent);
  font-size: 10px;
}
.wo-divider::before,
.wo-divider::after{
  content:"";
  height: 1px;
  background: var(--wo-line);
  flex: 1 1 auto;
}
