/* CampusHub giriş, kayıt ve şifre sayfaları — "Gün Işığı" teması (Pages/Shared/_AuthLayout.cshtml).
   Telefonda akıcı olsun diye: degrade animasyonu, backdrop-filter ve filter: blur yok; animasyonlar yalnızca
   transform/opacity ile ve bir kez oynar. Sürekli hareket eden süsler yalnızca geniş ekranda çalışır. */

:root {
    /* campus-shell.css ile aynı değerler (bu sayfalar ana kabuğu yüklemez). */
    --ch-blue: #004d9f;
    --ch-blue-600: #1363df;
    --ch-blue-soft: #eaf2ff;
    --ch-orange: #ff6b35;
    --ch-orange-soft: #fff1ea;
    --ch-ink: #142b45;
    --ch-ink-2: #3b4a5e;
    --ch-muted: #66758a;
    --ch-line: #e3e8f0;
    --ch-line-2: #d3dae5;
    --ch-bg: #f4f7fc;
    --ch-hard-ink: #0d0f12;
    --ch-orange-ink: #a63a12;
    --ch-hard: 5px 5px 0 0 var(--ch-hard-ink);
    --ch-hard-sm: 3px 3px 0 0 var(--ch-hard-ink);
    --ch-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --ch-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
    --au-bad: #c4320a;
    --au-bad-soft: #fef3f2;
    --au-bad-ink: #7a271a;
    --au-ok: #067647;
    --au-ok-soft: #ecfdf3;
    --au-warn: #b54708;
    --au-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

body.au-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--ch-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ch-ink);
    background: var(--ch-bg);
    -webkit-font-smoothing: antialiased;
}

.au-body a { color: var(--ch-blue); }
.au-body h1, .au-body h2, .au-body h3, .au-body p { margin: 0; }

.au-skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 8px 14px;
    background: var(--ch-orange);
    color: var(--ch-hard-ink);
    border: 2px solid var(--ch-hard-ink);
    border-radius: 10px;
    font-weight: 800;
}
.au-skip:focus { left: 8px; }

.au-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Kabuk: solda mavi tanıtım paneli, sağda form ===== */
.au-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    min-height: 100vh;
    min-height: 100dvh;
}
.au-body--wide .au-shell { grid-template-columns: minmax(0, .78fr) minmax(0, 1.42fr); }

/* Geniş ekranda panel ekran boyunda sabit kalır; form kayarken akış ve şerit görünür kalır. */
.au-aside {
    position: sticky;
    top: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-color: var(--ch-blue);
    /* Sabit ızgara deseni; hareket etmez, yeniden boyanmaz. */
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 32px 32px;
    color: #fff;
    border-right: 2px solid var(--ch-hard-ink);
}
.au-aside__inner {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vh, 28px);
    padding: clamp(24px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px) 20px;
}

/* Dönen kelime: turuncu tabela içinde kelimeler yukarı kayar (tek katman, transform). */
.au-rotator {
    display: inline-block;
    box-sizing: content-box;
    height: 1.16em;
    margin: .12em 0 .16em;
    padding: 0 .3em;
    overflow: hidden;
    vertical-align: bottom;
    text-align: center;
    background: var(--ch-orange);
    color: var(--ch-hard-ink);
    border: 3px solid var(--ch-hard-ink);
    border-radius: 14px;
    box-shadow: var(--ch-hard);
    transform: rotate(-2deg);
}
.au-rotator__track { display: block; animation: au-words 12s cubic-bezier(.75, 0, .25, 1) infinite; will-change: transform; }
.au-rotator__track > span { display: block; height: 1.16em; line-height: 1.16em; white-space: nowrap; }
@keyframes au-words {
    0%, 16% { transform: translate3d(0, 0, 0); }
    20%, 36% { transform: translate3d(0, -16.6667%, 0); }
    40%, 56% { transform: translate3d(0, -33.3333%, 0); }
    60%, 76% { transform: translate3d(0, -50%, 0); }
    80%, 96% { transform: translate3d(0, -66.6667%, 0); }
    100% { transform: translate3d(0, -83.3333%, 0); }
}

/* Akış: modülleri bildirim kartı gibi gösteren, sürekli yukarı kayan sütun (yalnızca geniş ekran). */
.au-feed { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 12px; max-width: 30rem; }
.au-feed__label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ch-mono);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}
.au-feed__label i { color: var(--ch-orange); transform-origin: 50% 0; animation: au-ring 3s ease-in-out infinite; }
.au-feed__window { position: relative; flex: 1; min-height: 150px; overflow: hidden; }
.au-feed__window::before, .au-feed__window::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 44px; pointer-events: none; }
.au-feed__window::before { top: 0; background: linear-gradient(var(--ch-blue), rgba(0, 77, 159, 0)); }
.au-feed__window::after { bottom: 0; background: linear-gradient(rgba(0, 77, 159, 0), var(--ch-blue)); }
/* İki kopya + alt boşluk = tam yarım tur; -50% kayınca dikiş görünmez. */
.au-feed__track { display: grid; gap: 12px; padding: 0 12px 12px 4px; animation: au-feed 36s linear infinite; will-change: transform; }
.au-feed__window:hover .au-feed__track { animation-play-state: paused; }
@keyframes au-feed { to { transform: translate3d(0, -50%, 0); } }
.au-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    color: var(--ch-ink);
    background: #fff;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 14px;
    box-shadow: var(--ch-hard-sm);
}
.au-note:nth-child(odd) { margin-right: 22px; transform: rotate(-1.2deg); }
.au-note:nth-child(even) { margin-left: 22px; transform: rotate(.9deg); }
.au-note__ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; color: var(--ch-blue); background: var(--ch-blue-soft); border-radius: 11px; }
.au-note:nth-child(even) .au-note__ic { color: var(--ch-orange-ink); background: var(--ch-orange-soft); }
.au-note__body { flex: 1; min-width: 0; }
.au-note__body strong { display: block; font-size: .92rem; line-height: 1.25; }
.au-note__body small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; color: var(--ch-muted); }
.au-note__dot { flex: none; width: 9px; height: 9px; background: var(--ch-orange); border-radius: 50%; box-shadow: 0 0 0 3px var(--ch-orange-soft); }

/* Alt şerit: modül adları sola kayar. */
.au-marquee {
    position: relative;
    z-index: 1;
    flex: none;
    overflow: hidden;
    color: var(--ch-hard-ink);
    background: var(--ch-orange);
    border-top: 2px solid var(--ch-hard-ink);
}
.au-marquee__track {
    display: flex;
    width: max-content;
    padding: 11px 0;
    font-family: var(--ch-mono);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
    animation: au-marquee 30s linear infinite;
    will-change: transform;
}
.au-marquee__track span { padding: 0 14px; }
.au-marquee__track b { color: #fff; font-weight: 400; }
@keyframes au-marquee { to { transform: translate3d(-50%, 0, 0); } }

.au-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    color: #fff !important;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -.02em;
}
.au-logo {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--ch-orange);
    color: #fff;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 13px;
    box-shadow: var(--ch-hard-sm);
    font-size: 1.15rem;
    animation: au-pop .55s var(--au-ease) .1s both;
}

.au-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ch-mono);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .88);
}
.au-kicker::before {
    content: "";
    flex: none;
    width: 22px;
    height: 3px;
    background: var(--ch-orange);
    border-radius: 2px;
}
.au-aside__title {
    margin-top: 12px !important;
    font-size: clamp(2rem, 3.1vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
}
/* Fosforlu kalem: turuncu şerit yazının alt yarısında (satır kırılınca her satırda tekrarlanır). */
.au-aside__title mark {
    padding: 0 .06em;
    background: none;
    color: #fff;
    box-shadow: inset 0 -.3em 0 var(--ch-orange);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.au-aside__lead {
    max-width: 34rem;
    margin-top: 14px !important;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .86);
}

.au-features {
    display: grid;
    gap: 10px;
    max-width: 34rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.au-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .07);
    border: 1.5px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    animation: au-rise .5s var(--au-ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 150ms);
}
.au-features__ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: #fff;
    color: var(--ch-blue);
    border: 2px solid var(--ch-hard-ink);
    border-radius: 12px;
    box-shadow: 2px 2px 0 0 var(--ch-hard-ink);
}
.au-features li:nth-child(even) .au-features__ic { background: var(--ch-orange); color: #fff; }
.au-features strong { display: block; font-size: .98rem; }
.au-features small { display: block; font-size: .86rem; line-height: 1.4; color: rgba(255, 255, 255, .76); }

.au-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.au-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    font-family: var(--ch-mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .9);
    border: 1.5px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
}
.au-chips span::before { content: ""; width: 6px; height: 6px; background: var(--ch-orange); border-radius: 50%; }

/* Yalnızca geniş ekranda süzülen üç şekil: bulanıklık yok, yalnızca transform. */
.au-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.au-deco span {
    position: absolute;
    display: block;
    border: 2px solid var(--ch-hard-ink);
    animation: au-drift 14s ease-in-out infinite alternate;
}
.au-deco span:nth-child(1) { right: -50px; bottom: -44px; width: 150px; height: 150px; background: var(--ch-orange); border-radius: 50%; box-shadow: var(--ch-hard); }
.au-deco span:nth-child(2) { right: 19%; bottom: -16px; width: 62px; height: 62px; background: #fff; border-radius: 15px; box-shadow: var(--ch-hard-sm); animation-duration: 11s; animation-delay: -4s; }
.au-deco span:nth-child(3) { right: 6%; top: -70px; width: 190px; height: 190px; border-color: rgba(255, 255, 255, .28); border-width: 2px; border-radius: 50%; animation-duration: 18s; }

/* ===== Form tarafı ===== */
.au-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-width: 0;
    padding: clamp(20px, 4vw, 52px) clamp(16px, 4vw, 52px);
}
.au-body--wide .au-main { justify-content: flex-start; }

.au-card {
    width: 100%;
    max-width: 468px;
    padding: clamp(22px, 3.2vw, 36px);
    background: #fff;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 20px;
    box-shadow: var(--ch-hard);
    animation: au-rise .45s var(--au-ease) both;
}
.au-body--wide .au-card { max-width: 740px; }

/* Sabit nokta deseni (boyanır, hareket etmez). */
.au-main {
    background-image: radial-gradient(var(--ch-line-2) 1.1px, transparent 1.5px);
    background-size: 22px 22px;
}
.au-stage { position: relative; width: 100%; max-width: 468px; }
.au-body--wide .au-stage { max-width: 740px; }
.au-stage .au-card { max-width: none; }

/* Kartın köşesinde dönen rozet: yalnızca SVG döner, gölgesi sabit durur. */
.au-sticker {
    position: absolute;
    top: -40px;
    right: -34px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 100px;
    height: 100px;
    pointer-events: none;
    animation: au-pop .6s var(--au-ease) .35s both;
}
.au-sticker::before { content: ""; position: absolute; inset: 3px; background: var(--ch-hard-ink); border-radius: 50%; transform: translate(4px, 4px); }
.au-sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: au-spin 18s linear infinite; will-change: transform; }
.au-sticker circle { fill: var(--ch-orange); stroke: var(--ch-hard-ink); stroke-width: 2.5; }
.au-sticker text { font-family: var(--ch-mono); font-size: 9.4px; font-weight: 700; fill: var(--ch-hard-ink); }
.au-sticker i {
    position: relative;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    font-size: 1rem;
    color: #fff;
    background: var(--ch-blue);
    border: 2px solid var(--ch-hard-ink);
    border-radius: 50%;
}

/* Kart içeriği ve her kayıt adımı sırayla kayarak gelir (bir kez, transform/opacity). */
.au-card > *, .au-card .au-form > *, .au-pane.is-active > * { animation: au-fade .45s var(--au-ease) both; }
.au-card > :nth-child(2), .au-card .au-form > :nth-child(2), .au-pane.is-active > :nth-child(2) { animation-delay: .06s; }
.au-card > :nth-child(3), .au-card .au-form > :nth-child(3), .au-pane.is-active > :nth-child(3) { animation-delay: .12s; }
.au-card > :nth-child(4), .au-card .au-form > :nth-child(4), .au-pane.is-active > :nth-child(4) { animation-delay: .18s; }
.au-card > :nth-child(5), .au-card .au-form > :nth-child(5), .au-pane.is-active > :nth-child(5) { animation-delay: .24s; }
.au-card > :nth-child(6), .au-card .au-form > :nth-child(6), .au-pane.is-active > :nth-child(6) { animation-delay: .3s; }
.au-card > :nth-child(n + 7), .au-card .au-form > :nth-child(n + 7), .au-pane.is-active > :nth-child(n + 7) { animation-delay: .36s; }

.au-btn.is-success { background: var(--au-ok) !important; color: #fff !important; opacity: 1; }
.au-btn.is-success .au-btn__icon { display: inline-block; animation: au-pop .4s var(--au-ease) both; }

.au-card__head { margin-bottom: 22px; }
.au-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-family: var(--ch-mono);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--ch-orange-soft);
    color: var(--ch-orange-ink);
    border: 1.5px solid var(--ch-orange);
    border-radius: 999px;
}
.au-title {
    margin-top: 12px !important;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.03em;
}
.au-sub { margin-top: 6px !important; color: var(--ch-muted); }

.au-messages { display: grid; gap: 10px; margin-bottom: 18px; }
.au-messages:empty { display: none; }

/* ===== Uyarılar ===== */
.au-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.45;
    border: 1.5px solid;
    border-left-width: 5px;
    border-radius: 12px;
    overflow-wrap: anywhere;
    animation: au-fade .3s ease both;
}
.au-alert > i { margin-top: 3px; }
.au-alert > div { min-width: 0; }
.au-alert ul { margin: 6px 0 0; padding-left: 18px; font-weight: 500; }
.au-alert a { color: inherit; font-weight: 800; }
.au-alert.is-bad { background: var(--au-bad-soft); border-color: var(--au-bad); color: var(--au-bad-ink); }
.au-alert.is-ok { background: var(--au-ok-soft); border-color: var(--au-ok); color: var(--au-ok); }
.au-alert.is-info { background: var(--ch-blue-soft); border-color: var(--ch-blue); color: var(--ch-blue); }

/* ===== Alanlar ===== */
.au-form { display: grid; gap: 16px; }
.au-field { display: grid; gap: 7px; min-width: 0; }
.au-label, .au-field > label { font-size: .88rem; font-weight: 700; color: var(--ch-ink); }
.au-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.au-opt { font-size: .8rem; font-weight: 500; color: var(--ch-muted); }

.au-input { position: relative; min-width: 0; }
.au-input > i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--ch-muted);
    font-size: .95rem;
    pointer-events: none;
    transition: color .15s ease;
}
.au-input--area > i { top: 17px; transform: none; }
.au-input:focus-within > i { color: var(--ch-blue); }

.au-input input,
.au-input select,
.au-input textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 14px 0 44px;
    /* 16px: iOS odaklanınca sayfayı büyütmesin. */
    font: inherit;
    font-size: 16px;
    color: var(--ch-ink);
    background-color: #fff;
    border: 1.5px solid var(--ch-line-2);
    border-radius: 12px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.au-input--plain input, .au-input--plain select, .au-input--plain textarea { padding-left: 14px; }
.au-input textarea { min-height: 112px; padding-top: 13px; padding-bottom: 13px; resize: vertical; }
.au-input select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23142b45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
}
.au-input input[type="date"] { line-height: 47px; }
.au-input input::-webkit-date-and-time-value { text-align: left; }
.au-input input::placeholder, .au-input textarea::placeholder { color: #9aa6b6; }
.au-input input:focus, .au-input select:focus, .au-input textarea:focus {
    border-color: var(--ch-blue);
    box-shadow: 0 0 0 4px var(--ch-blue-soft);
}
.au-input .is-invalid, .au-input .input-validation-error {
    border-color: var(--au-bad);
    box-shadow: 0 0 0 4px var(--au-bad-soft);
}
.au-input .is-valid { border-color: #7cc9a1; }
.au-input input:disabled, .au-input select:disabled { background-color: var(--ch-bg); color: var(--ch-muted); cursor: not-allowed; }

.au-input--pw input { padding-right: 52px; }
.au-eye {
    position: absolute;
    top: 50%;
    right: 6px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--ch-muted);
    background: transparent;
    border: 0;
    border-radius: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}
.au-eye:hover, .au-eye:focus-visible { color: var(--ch-blue); background: var(--ch-blue-soft); outline: none; }

.au-hint { font-size: .8rem; color: var(--ch-muted); }
.au-hint.is-ok { color: var(--au-ok); font-weight: 600; }
.au-hint.is-bad { color: var(--au-bad); font-weight: 600; }
.field-validation-error { font-size: .82rem; font-weight: 600; color: var(--au-bad); }
.field-validation-valid { display: none; }

.au-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Onay kutusu (SVG işaret; tüm tarayıcılarda aynı görünür) */
.au-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    line-height: 1.45;
    color: var(--ch-ink-2);
    cursor: pointer;
}
.au-check input {
    flex: none;
    width: 21px;
    height: 21px;
    margin: 0;
    background: #fff center / 13px no-repeat;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 6px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background-color .12s ease;
}
.au-check input:checked {
    background-color: var(--ch-blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.4 3.3L11 1.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.au-check input:focus-visible { outline: 3px solid var(--ch-blue-soft); outline-offset: 2px; }
.au-check input.is-invalid { border-color: var(--au-bad); box-shadow: 0 0 0 4px var(--au-bad-soft); }
.au-check a { font-weight: 700; text-decoration: none; }
.au-check a:hover { text-decoration: underline; }

/* Seçim kartları (hesap türü) ve fişler (ilgi alanları) */
.au-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.au-seg label { position: relative; cursor: pointer; }
.au-seg input, .au-chipset input { position: absolute; opacity: 0; pointer-events: none; }
.au-seg__box {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 14px;
    background: #fff;
    border: 2px solid var(--ch-line-2);
    border-radius: 14px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.au-seg__box i {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--ch-blue);
    background: var(--ch-blue-soft);
    border-radius: 11px;
}
.au-seg__box strong { display: block; font-size: .95rem; }
.au-seg__box small { display: block; font-size: .8rem; color: var(--ch-muted); line-height: 1.35; }
.au-seg input:checked + .au-seg__box { border-color: var(--ch-hard-ink); box-shadow: var(--ch-hard-sm); }
.au-seg input:checked + .au-seg__box i { background: var(--ch-orange); color: #fff; }
.au-seg input:focus-visible + .au-seg__box, .au-chipset input:focus-visible + span { outline: 3px solid var(--ch-blue); outline-offset: 2px; }

.au-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.au-chipset label { position: relative; cursor: pointer; }
.au-chipset span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ch-ink-2);
    background: #fff;
    border: 1.5px solid var(--ch-line-2);
    border-radius: 999px;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.au-chipset input:checked + span { background: var(--ch-blue); border-color: var(--ch-blue); color: #fff; }

/* ===== Düğmeler ===== */
.au-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 13px;
    box-shadow: var(--ch-hard-sm);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.au-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--ch-hard-ink); }
.au-btn:focus-visible { outline: 3px solid var(--ch-blue-600); outline-offset: 3px; }
.au-btn--primary { background: var(--ch-blue); color: #fff !important; }
.au-btn--orange { background: var(--ch-orange); color: var(--ch-hard-ink) !important; }
.au-btn--ghost { background: #fff; color: var(--ch-ink) !important; }
.au-btn--block { width: 100%; }
.au-btn:disabled, .au-btn.is-busy { cursor: progress; opacity: .88; transform: none; box-shadow: var(--ch-hard-sm); }
.au-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: au-spin .7s linear infinite;
}
.is-busy .au-spinner { display: inline-block; }
.is-busy .au-btn__icon { display: none; }

@media (hover: hover) {
    .au-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 var(--ch-hard-ink); }
    .au-btn--primary:hover { background: var(--ch-blue-600); }
    .au-seg label:hover .au-seg__box { border-color: var(--ch-hard-ink); }
    .au-chipset label:hover span { border-color: var(--ch-hard-ink); }
    .au-logo:hover { transform: rotate(-8deg); transition: transform .2s ease; }
}

.au-link { font-size: .88rem; font-weight: 700; text-decoration: none; }
.au-link:hover { text-decoration: underline; }
.au-link--muted { color: var(--ch-muted) !important; font-weight: 600; }
.au-center { justify-self: center; text-align: center; }

.au-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 16px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ch-muted);
}
.au-divider::before, .au-divider::after { content: ""; flex: 1; height: 1.5px; background: var(--ch-line); }

.au-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    max-width: 740px;
    font-size: .8rem;
}
.au-legal a { color: var(--ch-muted); text-decoration: none; }
.au-legal a:hover { color: var(--ch-blue); text-decoration: underline; }

/* ===== Kayıt: adımlar ===== */
.au-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}
.au-steps li { display: grid; gap: 8px; min-width: 0; font-size: .8rem; font-weight: 700; color: var(--ch-muted); }
.au-steps__bar { position: relative; height: 6px; overflow: hidden; background: var(--ch-line); border-radius: 99px; }
.au-steps__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ch-blue);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--au-ease);
}
.au-steps li.is-active, .au-steps li.is-done { color: var(--ch-ink); }
.au-steps li.is-active .au-steps__bar::after, .au-steps li.is-done .au-steps__bar::after { transform: scaleX(1); }
.au-steps li.is-done .au-steps__bar::after { background: var(--ch-hard-ink); }
.au-steps__label { display: flex; align-items: center; gap: 6px; min-width: 0; }
.au-steps__label span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-steps__num { font-family: var(--ch-mono); }
.au-steps li.is-done .au-steps__num::after { content: " ✓"; color: var(--au-ok); }

.au-pane { display: none; }
.au-pane.is-active { display: grid; gap: 18px; animation: au-fade .28s ease both; }
.au-pane__title { font-size: 1.2rem; font-weight: 900; letter-spacing: -.02em; }
.au-pane__title:focus { outline: none; }
.au-subsection { display: grid; gap: 14px; padding: 16px; background: var(--ch-bg); border: 1.5px solid var(--ch-line); border-radius: 14px; }

.au-actions { display: flex; gap: 10px; margin-top: 4px; }
.au-actions .au-btn { flex: 1 1 0; }
.au-actions .au-btn--ghost { flex: 0 1 auto; }

/* Belge yükleme */
.au-upload {
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 22px 16px;
    text-align: center;
    background: var(--ch-bg);
    border: 2px dashed var(--ch-line-2);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.au-upload:hover, .au-upload.is-drag { background: var(--ch-blue-soft); border-color: var(--ch-blue); }
.au-upload.is-invalid { border-color: var(--au-bad); background: var(--au-bad-soft); }
.au-upload__ic {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 4px;
    font-size: 1.2rem;
    color: var(--ch-blue);
    background: #fff;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 13px;
    box-shadow: var(--ch-hard-sm);
}
.au-upload strong { font-size: .95rem; }
.au-upload small { font-size: .8rem; color: var(--ch-muted); max-width: 30rem; }
/* Dosya alanı görünmez ama klavyeyle odaklanabilir; tıklamayı üstündeki etiket (label for) karşılar. */
.au-sr-file { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; border: 0; }
.au-sr-file:focus-visible + .au-upload { outline: 3px solid var(--ch-blue); outline-offset: 2px; }

.au-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 14px;
    box-shadow: var(--ch-hard-sm);
    animation: au-fade .25s ease both;
}
.au-file > i { font-size: 1.6rem; color: var(--au-ok); }
.au-file__meta { flex: 1; min-width: 0; }
.au-file__meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.au-file__meta small { color: var(--ch-muted); font-size: .8rem; }
.au-icon-btn {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    color: var(--au-bad);
    background: var(--au-bad-soft);
    border: 1.5px solid var(--au-bad);
    border-radius: 11px;
    cursor: pointer;
}

/* Şifre gücü */
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.au-meter span { height: 5px; background: var(--ch-line); border-radius: 99px; transition: background-color .2s ease; }
.au-meter[data-level="1"] span:nth-child(-n + 1) { background: var(--au-bad); }
.au-meter[data-level="2"] span:nth-child(-n + 2) { background: var(--au-warn); }
.au-meter[data-level="3"] span:nth-child(-n + 3) { background: var(--ch-blue); }
.au-meter[data-level="4"] span { background: var(--au-ok); }
.au-rules { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding: 0; list-style: none; font-size: .8rem; color: var(--ch-muted); }
.au-rules li::before { content: "○"; display: inline-block; width: 1.1em; }
.au-rules li.is-ok { color: var(--au-ok); font-weight: 600; }
.au-rules li.is-ok::before { content: "✓"; }

/* Gönderim sırasında */
.au-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(244, 247, 252, .88);
}
.au-overlay__box {
    max-width: 340px;
    padding: 26px 28px;
    text-align: center;
    background: #fff;
    border: 2px solid var(--ch-hard-ink);
    border-radius: 18px;
    box-shadow: var(--ch-hard);
    animation: au-rise .3s var(--au-ease) both;
}
.au-overlay__box .au-spinner { display: inline-block; width: 30px; height: 30px; margin-bottom: 12px; color: var(--ch-blue); }
.au-overlay__box strong { display: block; font-size: 1.05rem; }
.au-overlay__box p { margin-top: 4px !important; font-size: .88rem; color: var(--ch-muted); }

/* ===== Hareket ===== */
@keyframes au-rise { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes au-fade { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }
@keyframes au-pop { 0% { opacity: 0; transform: scale(.6) rotate(-14deg); } 70% { opacity: 1; transform: scale(1.08) rotate(3deg); } 100% { transform: none; } }
@keyframes au-shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes au-spin { to { transform: rotate(360deg); } }
@keyframes au-ring { 0%, 58%, 100% { transform: none; } 64% { transform: rotate(16deg); } 70% { transform: rotate(-13deg); } 76% { transform: rotate(9deg); } 82% { transform: rotate(-5deg); } 88% { transform: rotate(2deg); } }
@keyframes au-drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-16px, -24px, 0) rotate(14deg); } }
/* Kart içi kayma animasyonundan sonra gelsin diye özgüllüğü yüksek. */
.au-body .au-shake { animation: au-shake .38s ease both; }

/* ===== Tablet ve telefon: tek sütun, tanıtım paneli kısa bir başlığa dönüşür ===== */
@media (max-width: 991.98px) {
    .au-shell, .au-body--wide .au-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .au-aside { position: relative; height: auto; border-right: 0; border-bottom: 2px solid var(--ch-hard-ink); }
    .au-aside__inner { gap: 0; padding: 18px 16px 18px; }
    .au-brand { font-size: 1.1rem; }
    .au-logo { width: 40px; height: 40px; border-radius: 11px; }
    .au-aside__intro { margin-top: 16px; }
    .au-aside__title { font-size: 1.5rem; margin-top: 6px !important; }
    .au-aside__lead { margin-top: 6px !important; font-size: .92rem; }
    .au-features, .au-chips, .au-deco, .au-feed { display: none; }
    .au-marquee__track { padding: 8px 0; font-size: .7rem; }
    .au-sticker { top: -34px; right: -8px; width: 80px; height: 80px; }
    .au-sticker text { font-size: 9.4px; }
    .au-sticker i { width: 32px; height: 32px; font-size: .85rem; }
    .au-main, .au-body--wide .au-main { justify-content: flex-start; padding: 18px 12px 28px; }
}

@media (max-width: 560px) {
    .au-row2 { grid-template-columns: minmax(0, 1fr); }
    .au-seg__box { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
    .au-steps__label span:last-child { font-size: .74rem; }
    /* Uzun kayıt formunda Geri/Devam her zaman parmak altında. */
    .au-body--wide .au-actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 4px -16px -20px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1.5px solid var(--ch-line);
    }
}

@media (max-width: 480px) {
    .au-main, .au-body--wide .au-main { padding: 0 0 24px; gap: 18px; }
    .au-card {
        padding: 22px 16px 20px;
        border-inline: 0;
        border-top: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .au-legal { padding: 0 16px; }
    .au-sticker { top: -30px; right: 12px; width: 74px; height: 74px; }
    .au-aside__lead { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .au-deco { display: none; }
}
