.login-page {
  min-height: 100vh;
  padding: 40px 0;
  background: linear-gradient(135deg, rgba(91, 33, 182, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%);
}

.login-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.login-box {
  background: #fff;
  border: 1px solid #dbe3ee;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.login-header {
  text-align: center;
}

.login-logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.login-logo img {
  filter: drop-shadow(0 8px 16px rgba(91, 33, 182, 0.12));
}

.login-header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: #111827;
}

.login-subtitle {
  margin: 0;
  color: #5f6b7a;
  font-size: 1.05rem;
}

.login-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.auth-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-section h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #111827;
}

.section-description {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tiktok-btn {
  gap: 10px;
  padding: 14px 24px;
  font-size: 1rem;
  background: #000;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tiktok-btn:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.tiktok-icon {
  width: 20px;
  height: 20px;
  display: block;
  color: #fff;
}

.divider {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 8px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 12px);
  height: 1px;
  background: #dbe3ee;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.permissions-section,
.security-section {
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #eef2ff;
}

.permissions-section h3,
.security-section h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: #111827;
}

.permissions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.permission-item {
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
}

.permission-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.permission-icon {
  font-size: 1.4rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.permission-item h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #111827;
}

.permission-item p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: #5f6b7a;
}

.security-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dbe3ee;
}

.check-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ede9fe;
  color: #5b21b6;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex: 0 0 auto;
}

.security-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
  color: #111827;
}

.security-item p {
  margin: 0;
  font-size: 0.85rem;
  color: #5f6b7a;
}

.login-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #dbe3ee;
}

.login-footer p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.85rem;
}

.login-footer a {
  color: #5b21b6;
  text-decoration: none;
  font-weight: 600;
}

.login-footer a:hover {
  text-decoration: underline;
}

.login-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.login-illustration svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(91, 33, 182, 0.1));
}

@media (max-width: 1024px) {
  .login-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .login-box {
    padding: 36px;
  }

  .login-illustration {
    display: none;
  }

  .login-header h1 {
    font-size: 1.75rem;
  }
}

@media (max-width: 640px) {
  .login-page {
    padding: 20px 0;
  }

  .login-box {
    padding: 24px;
    gap: 20px;
  }

  .login-content {
    gap: 20px;
  }

  .login-header h1 {
    font-size: 1.5rem;
  }

  .permissions-section,
  .security-section {
    padding: 16px;
  }

  .permission-item,
  .security-item {
    padding: 10px;
  }

  .tiktok-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}
