/* Shared theme auth (login / register) — Lumina shell, all themes */
.auth-page {
  /* Tüm temalarda aynı Lumina auth paleti */
  --auth-teal: #1B4D5C;
  --auth-teal-deep: #123A46;
  --auth-coral: #E85D4C;
  --auth-coral-dark: #C94A3B;
  --auth-coral-glow: rgba(232, 93, 76, .25);
  --auth-gold: #D4A03C;
  --auth-ink: #12151C;
  --auth-muted: #6B7B8C;
  --auth-surface: #F0F2F5;
  --auth-border: #E4E8ED;
  --auth-white: #FFFFFF;

  padding: 48px 0 72px;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, rgba(27, 77, 92, .06) 0%, #fff 45%, rgba(232, 93, 76, .05) 100%);
}

.auth-page .container {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  background: var(--auth-white);
  border: 1px solid var(--auth-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 21, 28, .1);
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}

.auth-brand {
  background: linear-gradient(160deg, var(--auth-teal) 0%, var(--auth-teal-deep) 100%);
  color: white;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.auth-brand::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(232, 93, 76, .18);
  right: -80px;
  bottom: -60px;
  pointer-events: none;
}

.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.auth-brand-logo img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.auth-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--auth-coral) 0%, var(--auth-gold) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.3rem;
}

.auth-brand h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  margin: 0;
  color: white;
}

.auth-brand > p {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34ch;
  position: relative;
  z-index: 1;
  margin: 0;
}

.auth-perks {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.auth-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}

.auth-perks i {
  color: var(--auth-gold);
  font-size: 1.15rem;
}

.auth-role-note {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  position: relative;
  z-index: 1;
}

.auth-role-note i {
  font-size: 1.5rem;
  color: var(--auth-gold);
}

.auth-role-note strong {
  display: block;
  margin-bottom: 2px;
}

.auth-role-note span {
  font-size: .82rem;
  color: rgba(255, 255, 255, .78);
}

.auth-card {
  padding: 40px 36px;
}

.auth-page .crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--auth-muted);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.auth-page .crumb a {
  color: var(--auth-muted);
  font-weight: 600;
  text-decoration: none;
}

.auth-page .crumb a:hover {
  color: var(--auth-coral);
}

.auth-page .crumb i {
  font-size: .75rem;
  opacity: .5;
}

.auth-page .crumb span {
  color: var(--auth-ink);
  font-weight: 700;
}

.auth-card h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--auth-ink);
  margin: 0 0 6px;
}

.auth-lead {
  color: var(--auth-muted);
  margin-bottom: 22px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
}

.auth-page .lbl {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--auth-ink);
  margin-bottom: 6px;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--auth-muted);
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.auth-page .auth-input-wrap .input,
.auth-page .auth-input-wrap input[type="email"],
.auth-page .auth-input-wrap input[type="password"],
.auth-page .auth-input-wrap input[type="text"] {
  width: 100%;
  padding: 12px 16px 12px 44px !important;
  border-radius: 12px;
  border: 1.5px solid var(--auth-border);
  background: var(--auth-surface);
  font-family: inherit;
  font-size: .95rem;
  color: var(--auth-ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  box-sizing: border-box;
}

.auth-page .auth-input-wrap .input:focus,
.auth-page .auth-input-wrap input[type="email"]:focus,
.auth-page .auth-input-wrap input[type="password"]:focus,
.auth-page .auth-input-wrap input[type="text"]:focus {
  border-color: var(--auth-coral);
  box-shadow: 0 0 0 3px rgba(232, 93, 76, .12);
  background: var(--auth-white);
}

.auth-page .auth-input-wrap .input.is-invalid,
.auth-page .auth-input-wrap input.is-invalid {
  border-color: var(--auth-coral);
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--auth-ink);
  cursor: pointer;
  line-height: 1.4;
}

.auth-check input {
  margin-top: 3px;
  accent-color: var(--auth-coral);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.auth-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.auth-page .btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.auth-page .btn-block {
  width: 100%;
}

.auth-page .auth-card .btn.btn-primary {
  background: var(--auth-coral) !important;
  color: white !important;
  box-shadow: 0 8px 28px var(--auth-coral-glow);
}

.auth-page .auth-card .btn.btn-primary:hover {
  background: var(--auth-coral-dark) !important;
  transform: translateY(-2px);
}

.auth-switch {
  text-align: center;
  margin-top: 22px;
  color: var(--auth-muted);
  font-size: .92rem;
}

.auth-switch a {
  color: var(--auth-coral);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.auth-page .alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: .92rem;
}

.auth-page .alert-ok {
  background: rgba(27, 77, 92, .08);
  color: var(--auth-teal);
}

.auth-page .alert-err {
  background: rgba(232, 93, 76, .12);
  color: var(--auth-coral-dark);
}

.auth-page .field-error {
  color: var(--auth-coral);
  font-size: .82rem;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    display: none;
  }

  .auth-card {
    padding: 28px 22px;
  }

  .auth-page {
    padding: 28px 0 48px;
    min-height: auto;
  }

  .auth-page .form-grid {
    grid-template-columns: 1fr;
  }
}
