/* ============================================
   Mirobyte CRM - Login Sayfası Stilleri
   ============================================ */

.login-page {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  overflow: hidden;
}

.login-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  z-index: 1;
}

/* Arkaplan şekilleri */
.login-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.login-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.shape-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -100px; left: -150px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px; height: 400px;
  background: var(--secondary);
  bottom: -80px; right: -100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px; height: 300px;
  background: var(--accent);
  top: 50%; left: 60%;
  animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(20px, -20px) scale(1.05); }
  66%  { transform: translate(-10px, 15px) scale(0.95); }
}

/* Kart */
.login-card {
  background: rgba(26,29,39,0.85);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 36px 28px;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.login-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.logo-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.login-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.login-form { margin-top: 8px; }

.forgot-link {
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 500;
}

.forgot-link:hover { text-decoration: underline; }

.btn-login {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  border-radius: var(--radius);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.btn-login::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-login:hover::after { transform: translateX(100%); }

.login-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .login-card { padding: 28px 24px 20px; }
  .login-title { font-size: 20px; }
}
