/* Paginile de intrare (intrare, cont nou, demo, parolă): card în două părți — aplicația în stânga, formularul în dreapta. */
.au { margin: 0; min-height: 100vh; background: linear-gradient(135deg, #eefaf6 0%, #eaf4fb 55%, #f3f7ff 100%); position: relative; overflow-x: hidden; }
.au-bg {
  position: fixed; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%2399d5c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.55'%3E%3Cpath d='M40 30c-8 0-13 6-13 14 0 9 4 14 6 22 2 6 3 14 7 14 3 0 4-6 5-10 1-3 2-5 4-5s3 2 4 5c1 4 2 10 5 10 4 0 5-8 7-14 2-8 6-13 6-22 0-8-5-14-13-14-5 0-7 3-9 3s-4-3-9-3z'/%3E%3Cpath d='M160 150h16m-8-8v16'/%3E%3Ccircle cx='168' cy='150' r='14'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(transparent 49.6%, rgba(14,124,134,.08) 50%, transparent 50.4%);
  background-size: 220px 220px, 100% 100%;
}
.au-wrap { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.au-card { width: 100%; max-width: 980px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(15, 60, 70, .35), 0 2px 6px rgba(0,0,0,.04); }

/* stânga */
.au-side { position: relative; min-height: 600px; color: #fff; background: #0b4f57; overflow: hidden; }
.au-side::before { content: ""; position: absolute; inset: 0; background: var(--shot) no-repeat 0 0 / 165% auto; transform: rotate(-4deg) scale(1.15) translate(4%, 6%); opacity: .4; filter: saturate(.9); }
.au-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 78, 86, .55) 0%, rgba(8, 62, 70, .82) 45%, rgba(6, 44, 52, .96) 100%); }
.au-side-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; }
.au-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 26px; }
.au-brand:hover { text-decoration: none; }
.au-brand b { font-weight: 800; }
.au-logo { width: 38px; height: 38px; border-radius: 11px; background: #2a9d8f; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.au-logo svg { width: 22px; height: 22px; color: #fff; }
.au-head { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; color: #fff; }
.au-sub { margin: 0 0 26px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.55; max-width: 380px; }
.au-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 380px; }
.au-chips div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.au-chips b { display: block; color: #7ee0c9; font-size: 17px; font-weight: 800; }
.au-chips span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.75); margin-top: 2px; font-weight: 600; }

/* dreapta */
.au-main { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.au-main h1 { font-size: 28px; letter-spacing: -.02em; margin: 0; }
.au-lead { color: var(--muted); margin: 6px 0 24px; font-size: 14.5px; }
.au-main .field { margin-bottom: 16px; }
.au-main input[type=email], .au-main input[type=password], .au-main input[type=text], .au-main input[type=tel] { height: 48px; border-radius: 12px; font-size: 15px; padding: 0 14px; }
.au-pw { position: relative; }
.au-pw input { padding-right: 52px !important; }
.au-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px; color: var(--muted); cursor: pointer; border-radius: 8px; }
.au-pw button:hover { color: var(--ink); background: var(--bg); }
.au-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 20px; flex-wrap: wrap; }
.au-row a { font-weight: 600; font-size: 14px; }
.au-btn { height: 50px; border-radius: 12px; font-size: 16px; font-weight: 700; width: 100%; justify-content: center; box-shadow: 0 10px 22px -10px var(--brand); }
.au-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.au-alt a { font-weight: 650; }
.au-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 22px 0 14px; text-transform: uppercase; letter-spacing: .06em; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-demo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px dashed #b9dcd5; border-radius: 14px; background: #f5fbf9; color: inherit; }
.au-demo:hover { text-decoration: none; border-color: var(--brand); }
.au-demo .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; flex: none; }
.au-demo .ic svg { width: 19px; height: 19px; }
.au-demo b { display: block; font-size: 14.5px; }
.au-demo span { font-size: 13px; color: var(--muted); }
.au-foot { margin: 18px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* formulare mai lungi (cont nou, demo): cardul se lungește, panoul rămâne lipit sus */
.au-long .au-side-in { justify-content: flex-start; padding-top: 70px; }

@media (max-width: 860px) {
  .au-wrap { padding: 0; justify-content: flex-start; }
  .au-card { grid-template-columns: 1fr; border-radius: 0; box-shadow: none; min-height: 100vh; }
  .au-side { min-height: 0; }
  .au-side::before { background-size: 260% auto; opacity: .35; }
  .au-side-in, .au-long .au-side-in { padding: 26px 20px 24px; }
  .au-brand { margin-bottom: 14px; font-size: 17px; }
  .au-head { font-size: 22px; margin-bottom: 6px; }
  .au-sub { font-size: 13.5px; margin-bottom: 0; }
  .au-chips { display: none; }
  .au-main { padding: 26px 20px 30px; justify-content: flex-start; }
  .au-main h1 { font-size: 24px; }
  .au-foot { padding: 0 16px 24px; }
}
