.fonter-user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  min-width: 260px;
  padding: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.16);
  display: none;
  z-index: 1200;
}

.fonter-user-dropdown.is-open {
  display: block;
}

.fonter-user-dropdown-meta {
  font-size: 13px;
  color: #475569;
  margin-bottom: 8px;
}

.fonter-user-dropdown-name {
  display: block;
  color: #0f172a;
}

.fonter-user-dropdown-account-link {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  text-decoration: none;
}

.fonter-user-dropdown-logout {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}

#user-menu {
  position: relative;
  display: inline-block;
}

#user-open-login {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.login-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
}

.login-modal-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 420px;
  width: 90%;
  padding: 20px;
  z-index: 1100;
  display: none;
}

.login-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.login-btn-google {
  background: #fff;
}

.login-btn-email {
  background: #f7f7f7;
}

.login-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.login-email-form {
  display: none;
  margin-top: 12px;
}

.login-form-label {
  display: block;
  font-size: 0.9em;
  margin-bottom: 6px;
}

.login-form-input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.login-form-actions {
  display: flex;
  gap: 8px;
}

.login-form-actions .login-btn {
  flex: 1;
}

.login-btn-secondary {
  margin-top: 8px;
  background: #fff;
}

.login-status {
  margin-top: 8px;
  font-size: 0.95em;
  color: #333;
}

.login-status.is-error {
  color: #b00020;
}
