/* Giriş sayfası (yeni arayüz). eb.css belirteçlerini kullanır; DevExtreme gerektirmez. */
.eb-auth { min-height: 100vh; }
.eb-auth__wrap { display: grid; grid-template-columns: minmax(360px, 46%) 1fr; min-height: 100vh; }

.eb-auth__hero {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 36px 44px;
  background: var(--eb-nav-bg); color: #c9cde6; overflow: hidden;
}
.eb-auth__hero::before, .eb-auth__hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.eb-auth__hero::before { width: 420px; height: 420px; right: -140px; top: -120px; background: #4f8ef7; }
.eb-auth__hero::after { width: 380px; height: 380px; left: -120px; bottom: -140px; background: #ec4899; opacity: .4; }
.eb-auth__hero > * { position: relative; z-index: 1; }
.eb-auth__pitch h2 { margin: 0 0 18px; font-size: 27px; line-height: 1.25; letter-spacing: -.02em; color: #fff; font-weight: 600; max-width: 420px; }
.eb-auth__pitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.eb-auth__pitch li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #c9cde6; }
.eb-auth__hero small { color: #6b7199; }

.eb-auth__main { position: relative; display: grid; place-items: center; padding: 32px 20px; background: var(--eb-bg); }
.eb-auth__theme { position: absolute; top: 16px; right: 16px; }
.eb-auth__card {
  width: 100%; max-width: 408px; padding: 32px 30px 26px; background: var(--eb-surface); border: 1px solid var(--eb-line);
  border-radius: var(--eb-radius-l); box-shadow: var(--eb-shadow-lg);
}
.eb-auth__card h1 { font-size: 22px; letter-spacing: -.01em; }
.eb-auth__sub { margin: 6px 0 20px; color: var(--eb-text-2); line-height: 1.5; }
.eb-auth__logo-m { display: none; margin-bottom: 22px; }
.eb-auth__fld { display: block; margin: 0 0 14px; }
.eb-auth__fld > span:first-child { display: block; margin: 0 0 5px; font-size: 12px; font-weight: 500; color: var(--eb-text-2); }
.eb-auth__fld input[type=text], .eb-auth__fld input[type=email], .eb-auth__fld input[type=password] {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--eb-line-strong); border-radius: var(--eb-radius-s);
  background: var(--eb-surface); color: var(--eb-text); font: 400 14px/1 var(--eb-font); transition: border-color var(--eb-ease), box-shadow var(--eb-ease);
}
.eb-auth__fld input:hover { border-color: var(--eb-primary-ring); }
.eb-auth__fld input:focus { outline: 0; border-color: var(--eb-primary); box-shadow: 0 0 0 3px var(--eb-primary-ring); }
.eb-auth__pw { position: relative; display: block; }
.eb-auth__pw input { padding-right: 42px !important; }
.eb-auth__pw button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--eb-text-3); cursor: pointer; display: grid; place-items: center; }
.eb-auth__pw button:hover { background: var(--eb-primary-soft); color: var(--eb-primary-text); }
.eb-auth__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 2px 0 18px; }
.eb-auth__chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--eb-text-2); font-size: 13px; }
.eb-auth__chk input { width: 16px; height: 16px; accent-color: var(--eb-primary); }
.eb-auth__links { display: grid; gap: 4px; text-align: right; font-size: 13px; }
.eb-auth__submit { width: 100%; height: 42px; font-size: 14px; }
.eb-auth__back { display: inline-block; margin-top: 16px; font-size: 13px; }
.eb-auth__terms { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--eb-line); font-size: 12px; color: var(--eb-text-3); }
.eb-auth__terms summary { cursor: pointer; color: var(--eb-text-2); font-weight: 500; }
.eb-auth__terms p { margin: 8px 0 0; line-height: 1.5; }
.eb-auth .eb-note { margin-bottom: 14px; }

@media (max-width: 880px) {
  .eb-auth__wrap { grid-template-columns: 1fr; }
  .eb-auth__hero { display: none; }
  .eb-auth__logo-m { display: inline-flex; }
  .eb-auth__card { box-shadow: none; border-color: transparent; background: transparent; padding-inline: 4px; }
}

/* ---- giriş sayfası görseli: canvas dünya + cam kartlar (public/ui/js/eb-auth-hero.js) ---- */
.eb-auth__hero { isolation: isolate; }
.eb-auth__hero > .eb-auth__cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.eb-auth__hero > .eb-auth__scrim { position: absolute; inset: auto 0 0 0; height: 46%; z-index: 0; pointer-events: none; background: linear-gradient(0deg, rgba(15, 15, 35, .94) 8%, rgba(15, 15, 35, .55) 55%, rgba(15, 15, 35, 0) 100%); }
.eb-auth__hero::before, .eb-auth__hero::after { z-index: 0; }
.eb-hc { position: absolute !important; z-index: 2 !important; padding: 12px 15px; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 40px rgba(5, 5, 25, .45); animation: eb-hc-float 7s ease-in-out infinite; }
.eb-hc--a { top: 15%; right: 6%; width: 188px; }
.eb-hc--b { top: 42%; left: 5%; display: flex; gap: 11px; align-items: center; max-width: 252px; animation-delay: -2.4s; }
.eb-hc--c { top: 56%; right: 8%; width: 168px; animation-delay: -4.6s; }
.eb-hc__h { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #c9cde6; }
.eb-hc__v { margin: 6px 0 2px; font: 600 28px/1.1 var(--eb-mono); letter-spacing: -.02em; }
.eb-hc__v small { margin-left: 5px; font: 500 12px var(--eb-font); color: #9aa0c8; letter-spacing: 0; }
.eb-hc__sp { display: block; width: 100%; height: 30px; margin-top: 4px; }
.eb-hc__ic { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #f59e0b, #ec4899); box-shadow: 0 6px 16px -4px rgba(236, 72, 153, .6); }
.eb-hc__ic .eb-i { width: 19px; height: 19px; color: #fff; }
.eb-hc__t { font-size: 13px; font-weight: 600; }
.eb-hc__s { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: #b4b9dc; }
.eb-hc__bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 8px; }
.eb-hc__bars i { flex: 1; border-radius: 3px; background: linear-gradient(0deg, #4f8ef7, #a855f7 60%, #ec4899); opacity: .9; }
@keyframes eb-hc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-height: 760px) { .eb-hc--c { display: none; } }
@media (max-width: 1180px) { .eb-hc--b { display: none; } }
@media (prefers-reduced-motion: reduce) { .eb-hc { animation: none; } }

.eb-auth__hero > .eb-auth__pitch { margin-top: auto; }

/* ---- tam ekran düzen: animasyon tüm ekranı kaplar, giriş formu ortada cam kart olarak durur ---- */
.eb-auth__wrap { display: block; position: relative; min-height: 100vh; background: var(--eb-nav-bg); }
.eb-auth__hero { position: fixed; inset: 0; z-index: 0; padding: 30px 44px; }
.eb-auth__hero > .eb-auth__scrim { height: 34%; }
.eb-auth__main { position: relative; z-index: 2; min-height: 100vh; background: transparent; padding: 32px 20px; }
.eb-auth__card {
  background: color-mix(in srgb, var(--eb-surface) 90%, transparent); border-color: rgba(255, 255, 255, .2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 90px rgba(4, 4, 24, .6), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.eb-auth__theme { z-index: 3; color: #c9cde6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.eb-auth__theme:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.eb-auth__logo-m { display: none !important; }
.eb-auth__hero > .eb-logo { position: relative; }
@media (max-width: 880px) {
  .eb-auth__hero { display: flex; padding: 22px 20px; }
  .eb-auth__card { background: color-mix(in srgb, var(--eb-surface) 92%, transparent); border-color: rgba(255, 255, 255, .2); padding: 26px 20px 20px; box-shadow: 0 24px 70px rgba(4, 4, 24, .55); }
}
@media (max-width: 1000px) { .eb-auth__hero > .eb-auth__pitch, .eb-hc { display: none !important; } }
