/* Login i registracija u stilu novog landinga (nadopuna na novi-dizajn.css) */
.auth-body { min-height: 100vh; background: var(--navy-950); }
.auth-shell { display: flex; flex-direction: column; min-height: 100vh; }
.auth-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.auth-header .brand img { width: 160px; height: 50px; object-fit: contain; }
.auth-header-link { color: rgba(255,255,255,.84); font-size: .94rem; font-weight: 700; }
.auth-header-link a { margin-left: 8px; }

.auth-main { position: relative; z-index: 1; flex: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 68px; align-items: center; padding: 40px 0 64px; }
.auth-intro h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.auth-intro .lead { color: #dbe8ff; }

.auth-card { position: relative; max-width: 460px; width: 100%; margin-left: auto; padding: 36px; color: var(--ink); background: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.auth-card .mini-label { color: var(--blue-600); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.auth-card h2 { margin: 6px 0 8px; font-size: 1.7rem; }
.auth-card > p { margin-bottom: 20px; color: var(--muted); font-size: .92rem; }

.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; margin-bottom: 6px; color: #35415f; font-size: .86rem; font-weight: 800; }
.auth-input-wrap { position: relative; }
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] { width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); border: 1px solid #dbe3f0; border-radius: 12px; background: #fbfcff; font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease; }
.auth-field input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(24,151,255,.15); background: #fff; }
.auth-field input.is-invalid { border-color: var(--pink-500); }
.auth-input-wrap input[type="password"],
.auth-input-wrap input[data-password] { padding-right: 84px; }
.toggle-password { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 7px 10px; color: var(--blue-600); border: 0; background: transparent; border-radius: 8px; font-size: .8rem; font-weight: 800; cursor: pointer; }
.toggle-password:hover { background: #eef6ff; }
.toggle-password:focus-visible { outline: 3px solid var(--cyan-400); }
.field-error { display: block; margin-top: 6px; color: #d11d56; font-size: .8rem; font-weight: 700; }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; font-size: .86rem; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; color: #35415f; font-weight: 700; cursor: pointer; }
.auth-check input { width: 17px; height: 17px; accent-color: var(--blue-600); }
.auth-card a { color: var(--blue-600); font-weight: 800; }
.auth-card .button { width: 100%; }
.auth-card .button + .button { margin-top: 12px; }
.auth-card .button--primary, .auth-card .button--blue { cursor: pointer; }
.button--facebook { color: #fff !important; background: #1877f2; box-shadow: 0 14px 30px rgba(24,119,242,.22); }
.auth-card .button--ghost-dark { color: var(--navy-900); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #8b95aa; font-size: .78rem; font-weight: 700; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-note { margin: 16px 0 0; color: #68748d; font-size: .8rem; text-align: center; }

.auth-alert { margin-bottom: 18px; padding: 12px 14px; color: #8a4b00; background: #fff6e5; border: 1px solid #ffd9a0; border-radius: 12px; font-size: .88rem; font-weight: 700; }
.auth-alert p { margin: 0; }

.auth-info { margin-top: 18px; border-radius: 12px; background: #f5f8ff; }
.auth-info summary { padding: 13px 48px 13px 14px; color: #35415f; font-size: .86rem; }
.auth-info summary::after { top: 9px; }
.auth-info div { padding: 0 14px 14px; color: var(--muted); font-size: .85rem; }
.auth-info div p { margin: 0 0 10px; padding: 0; }

.auth-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.10); color: #8294bd; font-size: .78rem; }
.auth-footer a { color: #becaec; text-decoration: none; }
.auth-footer a:hover { color: #fff; }

@media (max-width: 960px) {
  .auth-main { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .auth-card { margin: 0 auto; max-width: 520px; }
  .auth-intro { text-align: left; }
}

@media (max-width: 560px) {
  .auth-card { padding: 26px 20px; }
  .auth-footer { flex-direction: column; gap: 6px; }
  .auth-header .brand img { width: 142px; height: auto; }
  .auth-intro .hero-reassurance { display: none; }
}
