/* Fitamine Müşteri Giriş — modern login */
.login-page {
  min-height: 100vh;
  display: flex;
  font-family: "ubuntu-regular", sans-serif;
  background: #0f0a1a;
  overflow: hidden;
}

.login-hero {
  flex: 1.1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
  color: #fff;
  overflow: hidden;
}

.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(154, 85, 255, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(218, 140, 255, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(7, 205, 174, 0.2) 0%, transparent 50%),
    linear-gradient(145deg, #1a0f2e 0%, #0f0a1a 50%, #12082a 100%);
  z-index: 0;
}

.login-hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  animation: loginFloat 8s ease-in-out infinite;
}

.login-hero-shape--1 {
  width: 320px;
  height: 320px;
  background: #9a55ff;
  top: -80px;
  right: -60px;
}

.login-hero-shape--2 {
  width: 240px;
  height: 240px;
  background: #07cdae;
  bottom: 10%;
  left: -60px;
  animation-delay: -3s;
}

.login-hero-shape--3 {
  width: 180px;
  height: 180px;
  background: #da8cff;
  top: 45%;
  right: 15%;
  animation-delay: -5s;
}

@keyframes loginFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.login-hero-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}

.login-hero-logo img {
  height: 52px;
  width: auto;
  margin-bottom: 2.5rem;
  filter: brightness(0) invert(1);
}

.login-hero-title {
  font-family: "ubuntu-bold", sans-serif;
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.login-hero-title span {
  background: linear-gradient(90deg, #da8cff, #07cdae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-hero-desc {
  font-family: "ubuntu-light", sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.5rem;
}

.login-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-features li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.login-features li i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  color: #da8cff;
  flex-shrink: 0;
}

.login-panel {
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #fafafa;
  position: relative;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 20px 60px rgba(154, 85, 255, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
  animation: loginSlideUp 0.6s ease-out;
}

@keyframes loginSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-card-header .login-mobile-logo {
  display: none;
  margin-bottom: 1.5rem;
}

.login-card-header .login-mobile-logo img {
  height: 44px;
}

.login-card-header h2 {
  font-family: "ubuntu-bold", sans-serif;
  font-size: 1.65rem;
  color: #1a1a2e;
  margin: 0 0 0.5rem;
}

.login-card-header p {
  font-family: "ubuntu-light", sans-serif;
  color: #8e8e9a;
  font-size: 0.95rem;
  margin: 0;
}

.login-field {
  margin-bottom: 1.25rem;
}

.login-field label {
  display: block;
  font-family: "ubuntu-medium", sans-serif;
  font-size: 0.82rem;
  color: #5a5a6e;
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #b0b0bc;
  pointer-events: none;
  transition: color 0.2s;
}

.login-input-wrap:focus-within i {
  color: #9a55ff;
}

.login-input-wrap input.login-input,
.login-input-wrap .login-input {
  width: 100%;
  height: 52px;
  padding: 0 1rem 0 2.85rem;
  border: 1.5px solid #e8e8ef;
  border-radius: 14px;
  font-family: "ubuntu-regular", sans-serif;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.login-input-wrap input.login-input:focus,
.login-input-wrap .login-input:focus {
  outline: none;
  border-color: #9a55ff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(154, 85, 255, 0.12);
}

.login-btn {
  width: 100%;
  height: 52px;
  margin-top: 0.5rem;
  border: none;
  border-radius: 14px;
  font-family: "ubuntu-medium", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #da8cff 0%, #9a55ff 50%, #7b3fe4 100%);
  background-size: 200% auto;
  box-shadow: 0 8px 24px rgba(154, 85, 255, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, background-position 0.3s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(154, 85, 255, 0.45);
  background-position: right center;
}

.login-btn:active {
  transform: translateY(0);
}

.login-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  background: #fff5f5;
  border: 1px solid #fecaca;
  color: #b91c1c;
  animation: loginShake 0.4s ease;
}

.login-alert i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

@keyframes loginShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.login-card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f5;
  text-align: center;
}

.login-card-footer p {
  font-size: 0.8rem;
  color: #aaa;
  margin: 0;
}

.login-card-footer a {
  color: #9a55ff;
  text-decoration: none;
}

/* Mobil */
@media (max-width: 991px) {
  .login-page {
    flex-direction: column;
  }

  .login-hero {
    flex: none;
    padding: 2.5rem 1.75rem 3rem;
    min-height: auto;
  }

  .login-hero-title {
    font-size: 2rem;
  }

  .login-features {
    display: none;
  }

  .login-panel {
    flex: 1;
    padding: 0 1.25rem 2rem;
    margin-top: -1.5rem;
    background: transparent;
  }

  .login-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  .login-card-header .login-mobile-logo {
    display: block;
  }

  .login-hero-logo {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-hero {
    padding: 2rem 1.25rem 2.5rem;
  }

  .login-hero-title {
    font-size: 1.65rem;
  }

  .login-card {
    padding: 1.75rem 1.25rem;
  }
}
