/* ============================================================
   Trio Tour — Login Sayfası
   /assets/css/login.css
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body.login-page {
  margin: 0; padding: 0;
  min-height: 100vh;
  background: var(--dark);
  font-family: var(--font);
  overflow-x: hidden;
}

/* ── Animasyonlu arkaplan ── */
.auth-bg {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.auth-bg-shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
  animation: authFloat 12s ease-in-out infinite;
}
.s1 {
  width: 500px; height: 500px; top: -120px; left: -100px;
  background: var(--p); animation-delay: 0s;
}
.s2 {
  width: 380px; height: 380px; bottom: -80px; right: -80px;
  background: var(--p-lt); animation-delay: -4s;
}
.s3 {
  width: 280px; height: 280px; top: 40%; left: 35%;
  background: var(--accent); opacity: .15; animation-delay: -8s;
}
@keyframes authFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(18px, -22px) scale(1.05); }
  66%       { transform: translate(-12px, 14px) scale(.97); }
}

/* ── Wrapper: 2 kolonlu layout ── */
.auth-wrap {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 991px) {
  .auth-wrap { grid-template-columns: 1fr; }
}

/* ════════════════════════════
   SOL PANEL
════════════════════════════ */
.auth-left {
  display: flex; flex-direction: column;
  padding: 2.5rem 3rem 2.5rem;
  position: relative;
  background: rgba(255,255,255,.02);
  border-right: 1px solid rgba(255,255,255,.06);
}
@media (max-width: 991px) { .auth-left { display: none; } }

.auth-logo {
  display: flex; align-items: center; gap: .45rem;
  font-size: 1.35rem; font-weight: 800; color: #fff;
  text-decoration: none; letter-spacing: -.4px; margin-bottom: auto;
}
.auth-logo .brand-mark { display: flex; gap: 3px; align-items: center; }
.auth-logo .brand-dot:nth-child(1) { background: var(--p-lt); }
.auth-logo .brand-dot:nth-child(2) { background: rgba(255,255,255,.6); }
.auth-logo .brand-dot:nth-child(3) { background: var(--accent); opacity: .7; }

.auth-left-content {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 0;
}
.auth-left-content h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 900; color: #fff; line-height: 1.12;
  letter-spacing: -.04em; margin-bottom: 1.25rem;
}
.auth-left-content p {
  font-size: 1rem; color: rgba(255,255,255,.45);
  line-height: 1.7; max-width: 360px; margin-bottom: 2.5rem;
}

.auth-features { display: flex; flex-direction: column; gap: 1rem; }
.auth-feat {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1.1rem; border-radius: var(--r-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.auth-feat:hover { background: rgba(255,255,255,.07); }
.auth-feat-icon {
  width: 38px; height: 38px; border-radius: var(--r-xs);
  background: linear-gradient(135deg, var(--p) 0%, var(--p-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem; flex-shrink: 0;
}
.auth-feat div { display: flex; flex-direction: column; gap: .12rem; }
.auth-feat strong { font-size: .875rem; font-weight: 700; color: #fff; }
.auth-feat span   { font-size: .78rem; color: rgba(255,255,255,.38); }

.auth-left-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.auth-tursab {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.3);
}
.auth-tursab i { color: var(--p-lt); }

/* ════════════════════════════
   SAĞ PANEL
════════════════════════════ */
.auth-right {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 2.5rem 2rem;
  min-height: 100vh;
}

/* Mobil logo (sadece küçük ekranda) */
.auth-logo-mobile {
  display: none; align-items: center; gap: .45rem;
  font-size: 1.25rem; font-weight: 800; color: #fff;
  text-decoration: none; letter-spacing: -.4px;
  margin-bottom: 2rem;
}
.auth-logo-mobile .brand-mark { display: flex; gap: 3px; align-items: center; }
.auth-logo-mobile .brand-dot:nth-child(1) { background: var(--p-lt); }
.auth-logo-mobile .brand-dot:nth-child(2) { background: rgba(255,255,255,.6); }
.auth-logo-mobile .brand-dot:nth-child(3) { background: var(--accent); opacity: .7; }
@media (max-width: 991px) { .auth-logo-mobile { display: flex; } }

/* Kart */
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,.3);
}

.auth-card-head { margin-bottom: 1.5rem; }
.auth-card-head h2 {
  font-size: 1.55rem; font-weight: 800;
  color: var(--dark); letter-spacing: -.03em; margin-bottom: .25rem;
}
.auth-card-head p { font-size: .875rem; color: var(--text3); }

/* Google butonu */
.btn-google {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  width: 100%; padding: .8rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--white); color: var(--dark);
  font-size: .875rem; font-weight: 600;
  text-decoration: none; transition: all var(--t);
}
.btn-google:hover {
  border-color: var(--p); background: var(--p-bg); color: var(--p);
  transform: translateY(-1px);
}

/* Divider */
.auth-divider {
  display: flex; align-items: center; gap: .75rem;
  margin: 1.25rem 0; color: var(--text3); font-size: .78rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Form alanları */
.auth-form { display: flex; flex-direction: column; gap: 1rem; }

.auth-field { display: flex; flex-direction: column; gap: .45rem; }
.auth-field label {
  font-size: .8rem; font-weight: 700; color: var(--dark);
}
.auth-field-top {
  display: flex; align-items: center; justify-content: space-between;
}
.auth-forgot {
  font-size: .78rem; font-weight: 600; color: var(--p);
  text-decoration: none; transition: opacity var(--t);
}
.auth-forgot:hover { opacity: .75; }

.auth-input-wrap {
  position: relative; display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg); transition: border-color var(--t), box-shadow var(--t);
}
.auth-input-wrap.focused {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
  background: var(--white);
}
.auth-input-icon {
  position: absolute; left: .85rem; color: var(--text3); font-size: .9rem;
  pointer-events: none;
}
.auth-input-wrap input {
  width: 100%; padding: .78rem .85rem .78rem 2.5rem;
  border: none; background: transparent; font-family: var(--font);
  font-size: .875rem; color: var(--dark); outline: none;
}
.auth-input-wrap input::placeholder { color: var(--text3); }
.auth-pw-toggle {
  position: absolute; right: .75rem;
  background: none; border: none; cursor: pointer;
  color: var(--text3); font-size: .9rem; padding: .25rem;
  transition: color var(--t); display: flex; align-items: center;
}
.auth-pw-toggle:hover { color: var(--p); }

/* Checkbox */
.auth-remember {
  display: flex; align-items: center; gap: .55rem;
  cursor: pointer; font-size: .82rem; color: var(--text2); user-select: none;
}
.auth-remember input[type="checkbox"] { display: none; }
.auth-check-box {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  border: 1.5px solid var(--border); background: var(--bg);
  transition: all .15s; position: relative; display: flex;
  align-items: center; justify-content: center;
}
.auth-remember input:checked + .auth-check-box {
  background: var(--p); border-color: var(--p);
}
.auth-remember input:checked + .auth-check-box::after {
  content: '';
  width: 10px; height: 5.5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
  display: block;
}

/* Submit butonu */
.btn-auth-submit {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  width: 100%; padding: .9rem;
  border: none; border-radius: var(--r-sm); cursor: pointer;
  background: linear-gradient(135deg, var(--p) 0%, var(--p-dk) 100%);
  color: #fff; font-size: .975rem; font-weight: 800; font-family: var(--font);
  letter-spacing: .01em;
  box-shadow: 0 4px 18px rgba(26,86,219,.4);
  transition: transform .2s, box-shadow .2s, background .2s;
  margin-top: .25rem;
}
.btn-auth-submit:hover {
  background: linear-gradient(135deg, var(--p-dk) 0%, #0e3699 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,86,219,.52);
}
.btn-auth-submit:active { transform: translateY(0); }

/* Kart alt */
.auth-card-foot {
  margin-top: 1.35rem; text-align: center;
  font-size: .82rem; color: var(--text3);
}
.auth-card-foot a { color: var(--p); font-weight: 700; text-decoration: none; }
.auth-card-foot a:hover { text-decoration: underline; }

/* Trust badges */
.auth-trust {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 1.35rem; flex-wrap: wrap; justify-content: center;
}
.auth-trust-item {
  display: flex; align-items: center; gap: .35rem;
  font-size: .73rem; font-weight: 600; color: rgba(255,255,255,.3);
}
.auth-trust-item i { font-size: .8rem; color: rgba(255,255,255,.22); }
.auth-trust-sep { color: rgba(255,255,255,.15); font-size: .75rem; }

/* ── Responsive ── */
@media (max-width: 479px) {
  .auth-card { padding: 1.75rem 1.35rem; border-radius: var(--r-lg); }
  .auth-right { padding: 1.5rem 1rem; }
}
