/* =========================================================================
   Fıstıklık — Login page styles
   ========================================================================= */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  z-index: 1;
}

.login-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px circle at 20% 20%, rgba(6, 193, 103, 0.35), transparent 55%),
    radial-gradient(700px circle at 80% 80%, rgba(30, 215, 96, 0.25), transparent 50%),
    #0b0b0b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px;
}
.login-visual .v-brand { display: flex; align-items: center; gap: 14px; }
.login-visual .v-brand img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 8px 24px rgba(6,193,103,0.45); }
.login-visual .v-brand span { font-size: 1.3rem; font-weight: 700; }

.login-visual .v-hero h2 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 800;
  max-width: 460px;
  margin-bottom: 18px;
}
.login-visual .v-hero p { color: var(--muted); max-width: 400px; font-size: 1rem; }

.login-visual .v-features { display: flex; gap: 26px; flex-wrap: wrap; }
.login-visual .v-features .vf { display: flex; align-items: center; gap: 10px; color: #d6d6d6; font-size: 0.9rem; }
.login-visual .v-features .vf i {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(6,193,103,0.16); color: var(--green-hover);
}

/* floating decorative blobs */
.login-visual::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px; right: -60px; top: 40%;
  background: radial-gradient(circle, rgba(6,193,103,0.28), transparent 70%);
  filter: blur(20px);
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.login-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; background: var(--bg);
}
.login-card {
  width: 100%; max-width: 400px;
  animation: fadeUp 0.5s ease both;
}
.login-card .mobile-brand { display: none; }
.login-card h1 { font-size: 1.8rem; margin-bottom: 6px; }
.login-card .sub { color: var(--muted); margin-bottom: 30px; font-size: 0.95rem; }

.login-input-wrap { position: relative; }
.login-input-wrap i.lead {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
}
.login-input-wrap input { padding-left: 44px; }
.login-input-wrap .toggle-pass {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted);
}
.login-input-wrap .toggle-pass:hover { color: var(--text); }

.login-error {
  display: none;
  align-items: center; gap: 10px;
  background: rgba(229,57,53,0.12);
  border: 1px solid rgba(229,57,53,0.3);
  color: #ff7b78;
  padding: 12px 14px; border-radius: 10px;
  font-size: 0.86rem; margin-bottom: 18px;
}
.login-error.show { display: flex; animation: fadeIn 0.2s ease; }

.login-hint {
  margin-top: 22px; padding: 14px; border-radius: 10px;
  background: var(--glass-strong); border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--muted); text-align: center;
}
.login-hint b { color: var(--text); }

@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-card .mobile-brand {
    display: flex; align-items: center; gap: 12px;
    justify-content: center; margin-bottom: 26px;
  }
  .login-card .mobile-brand img { width: 46px; height: 46px; border-radius: 12px; }
  .login-card .mobile-brand span { font-size: 1.2rem; font-weight: 700; }
  .login-card { text-align: center; }
  .login-card .field { text-align: left; }
}
