body.login-view {
  background-color: #f8fafc;
  font-family: 'Inter', 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

body.login-view main {
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin-left: 0 !important;
  padding: 2.25rem 1.5rem;
  transition: none !important;
}

body.login-view #appContainer {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.login-wrapper {
  position: relative;
  padding-top: 2.5rem;
}

.login-floating {
  position: absolute;
  top: -1.4rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.35rem;
  pointer-events: none;
}

.login-floating-logo {
  width: 68px;
  height: 68px;
  object-fit: contain;
  pointer-events: none;
}

.login-language-floating {
  pointer-events: auto;
}

.login-card-illustrated {
  position: relative;
  background: #f3f3f3;
  min-height: 560px;
  padding: 2.6rem 2.3rem 7rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.login-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.login-brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #171717;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.login-brand-badge sup {
  font-size: 12px;
  margin-left: 2px;
}

.login-brand-letter {
  margin-right: 1px;
}

.login-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.login-brand-title {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.login-brand-subtitle {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.login-language {
  display: inline-flex;
  align-items: center;
}

.login-language-select {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.35rem 0.65rem;
  font-size: 18px;
  color: #111827;
  height: 36px;
  text-align: center;
}

.login-language-select:focus {
  outline: none;
  border-color: #111827;
}

.login-illustration {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  width: 100%;
  height: auto;
  pointer-events: none;
  object-fit: contain;
  transform: translateY(8px);
}

.login-card {
  width: 100%;
  background: #f3f3f3;
  border-radius: 16px;
  padding: 2.4rem 2.4rem 2.6rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
  overflow: hidden;
}

.login-google {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.login-subtitle {
  font-size: 0.95rem;
  color: #9ca3af;
  font-weight: 500;
}

.google-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}

.google-login-btn:hover {
  background: #f7f7f7;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.google-login-btn img {
  width: 28px;
  height: 28px;
}

.google-login-btn::after {
  content: none;
}

.login-divider {
  position: relative;
  font-size: 0.9rem;
  color: #9ca3af;
  text-align: center;
  letter-spacing: -0.01em;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: #d1d5db;
}

.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

.login-form {
  width: 100%;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.login-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
  height: 48px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.login-input::placeholder {
  color: #9ca3af;
}

.login-input:focus {
  outline: none;
  border-color: #111827;
  background: #ffffff;
}

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

.login-password-toggle {
  position: absolute;
  inset-block: 0;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.login-password-toggle:hover {
  color: #4b5563;
}

.primary-login-btn {
 width: 50% !important;
     z-index: 100;
  margin-left: auto !important;
  display: block !important;
  background: #111;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  height: 50px;
  box-shadow: none;
  transition: background 0.15s ease;
}

.primary-login-btn:hover {
  background: #3a3a3a;
}

.login-illustration {
  display: block;
}

@media (max-width: 768px) {
  #appContainer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 640px) {
  .login-card {
    padding: 2.25rem 1.75rem 2.75rem;
  }

  .login-card-illustrated {
    min-height: 520px;
    padding: 1.6rem 1.65rem 6.5rem;
  }

  .login-card-header {
    align-items: flex-start;
  }

  #login img {
    width: 72px;
    height: 72px;
  }

  #login input {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  body.login-view main {
    padding-top: 2rem;
  }

  .login-card-illustrated {
    padding: 2.2rem 1.5rem 6.4rem;
  }
}
