:root {
  --primary: #1d4ed8;
  --primary2: #60a5fa;
  --dark: #172033;
  --text: #334155;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100vw;
  height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(37, 99, 235, .32), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(59, 130, 246, .36), transparent 32%),
    radial-gradient(circle at 50% 95%, rgba(29, 78, 216, .28), transparent 36%),
    linear-gradient(145deg, #e8f1ff 0%, #d7e8ff 42%, #bfd6ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.login-page {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}

.login-page::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .14);
  left: -260px;
  top: -260px;
}

.login-page::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .18);
  right: -260px;
  bottom: -280px;
}

.login-center {
  width: min(460px, 100%);
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-form {
  width: 100%;
  display: grid;
  gap: 18px;
  padding: 38px;
  background: linear-gradient(145deg, rgba(219, 234, 254, .62), rgba(239, 246, 255, .38));
  border: 1px solid rgba(147, 197, 253, .75);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .13), inset 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: blur(24px);
}

.form-group label {
  display: block;
  color: #1e293b;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 8px;
}

.input-wrap {
  height: 58px;
  border: 1px solid rgba(147, 197, 253, .82);
  border-radius: 19px;
  background: rgba(248, 250, 252, .58);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  transition: .22s;
}

.input-wrap:focus-within {
  background: rgba(255, 255, 255, .58);
  border-color: #60a5fa;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.input-wrap i {
  color: #475569;
  font-size: 15px;
  width: 18px;
  text-align: center;
}

.input-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #0f172a;
  font-size: 15px;
  font-weight: 650;
}

.input-wrap input::placeholder {
  color: #64748b;
}

.password-toggle {
  border: none;
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 15px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #475569;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
}

.forgot {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.login-btn {
  height: 60px;
  border: none;
  border-radius: 19px;
  background: linear-gradient(135deg, #1d4ed8, #60a5fa);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 34px rgba(37, 99, 235, .25);
  transition: .22s;
  margin-top: 6px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(37, 99, 235, .32);
}

.login-footer {
  margin-top: 22px;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
}

.login-footer a {
  color: var(--primary);
  font-weight: 900;
}

/* HAREKETLİ DAİRESEL İKONLAR */

.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.float-icon {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, .16), rgba(96, 165, 250, .14));
  border: 1px solid rgba(147, 197, 253, .70);
  color: #1d4ed8;
  backdrop-filter: blur(16px);
  box-shadow:
    0 22px 48px rgba(15, 23, 42, .12),
    inset 0 1px 0 rgba(255, 255, 255, .58);
  animation: floatMove 7s ease-in-out infinite;
}

.float-icon i {
  font-size: 24px;
}

/* pulse efekti daha görünür */
.float-icon::before,
.float-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.float-icon::before {
  inset: -10px;
  border: 2px solid rgba(29, 78, 216, .28);
  box-shadow: 0 0 0 6px rgba(96, 165, 250, .08);
  animation: pulseRing 2.2s ease-out infinite;
}

.float-icon::after {
  inset: -18px;
  border: 1.5px solid rgba(59, 130, 246, .22);
  animation: pulseRing2 2.2s ease-out infinite;
}

.fi-1 {
  top: 10%;
  left: 13%;
  animation-delay: 0s;
}

.fi-2 {
  top: 18%;
  right: 17%;
  width: 60px;
  height: 60px;
  animation-delay: .7s;
}

.fi-2 i {
  font-size: 19px;
}

.fi-3 {
  top: 48%;
  left: 9%;
  width: 68px;
  height: 68px;
  animation-delay: 1.4s;
}

.fi-4 {
  top: 44%;
  right: 10%;
  width: 76px;
  height: 76px;
  animation-delay: 2s;
}

.fi-5 {
  left: 19%;
  bottom: 12%;
  width: 58px;
  height: 58px;
  animation-delay: 2.8s;
}

.fi-5 i {
  font-size: 19px;
}

.fi-6 {
  right: 18%;
  bottom: 13%;
  width: 68px;
  height: 68px;
  animation-delay: 3.4s;
}

.fi-7 {
  top: 28%;
  left: 28%;
  width: 54px;
  height: 54px;
  animation-delay: 1.1s;
}

.fi-7 i {
  font-size: 18px;
}

.fi-8 {
  bottom: 28%;
  right: 28%;
  width: 56px;
  height: 56px;
  animation-delay: 2.4s;
}

.fi-8 i {
  font-size: 18px;
}

/* yeni eklenenler */
.fi-9 {
  top: 66%;
  left: 6%;
  width: 62px;
  height: 62px;
  animation-delay: 1.9s;
}

.fi-9 i {
  font-size: 20px;
}

.fi-10 {
  top: 67%;
  right: 6%;
  width: 64px;
  height: 64px;
  animation-delay: 2.9s;
}

.fi-10 i {
  font-size: 20px;
}

@keyframes floatMove {
  0%, 100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }

  35% {
    transform: translateY(-18px) translateX(10px) rotate(5deg);
  }

  70% {
    transform: translateY(12px) translateX(-8px) rotate(-4deg);
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(.82);
    opacity: .85;
  }

  70% {
    opacity: .28;
  }

  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes pulseRing2 {
  0% {
    transform: scale(.88);
    opacity: .70;
  }

  75% {
    opacity: .22;
  }

  100% {
    transform: scale(1.62);
    opacity: 0;
  }
}

@media (max-width: 920px) {
  body {
    overflow: auto;
  }

  .login-page {
    min-height: 100vh;
    height: auto;
    padding: 28px 18px;
  }

  .login-center {
    margin: 50px 0;
  }

  .float-icon {
    opacity: .55;
  }
}

@media (max-width: 560px) {
  .login-page {
    padding: 18px;
  }

  .login-form {
    padding: 24px;
    border-radius: 26px;
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .float-icon {
    display: none;
  }
}

/* Mobil tarayıcı — masaüstü zorunluluğu uyarısı */
.login-mobile-block {
  width: 100%;
  padding: 32px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.login-mobile-block__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, #f59e0b, #d97706);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.35);
}

.login-mobile-block__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.login-mobile-block__text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.55;
}

.login-mobile-block__hint {
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
}

.login-mobile-block__hint i {
  font-size: 18px;
}

/* Alt orta toast */
.login-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(88vw, 360px);
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(120%);
  transition: transform .28s ease, opacity .28s ease;
}

.login-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.login-toast--success {
  background: rgba(5, 150, 105, 0.72);
}

.login-toast--error {
  background: rgba(220, 38, 38, 0.72);
}

.login-toast--info {
  background: rgba(29, 78, 216, 0.72);
}

.login-toast-icon {
  font-size: 18px;
  flex-shrink: 0;
  opacity: 0.95;
}
